[Openstack] error with swift and keystone(AD)

Deepak G deepakrghuge at gmail.com
Thu Jun 12 10:48:49 UTC 2014


Hello,
       I am getting following error while creating container. Sorry for
long message.

[root at swiftProxyNode ~]# swift --debug post CONTAINER
REQ: curl -i -X POST http://controller:35357/v2.0/tokens -H "Content-Type:
application/json" -H "User-Agent: python-keystoneclient"
DEBUG:keystoneclient.httpclient:REQ: curl -i -X POST
http://controller:35357/v2.0/tokens -H "Content-Type: application/json" -H
"User-Agent: python-keystoneclient"
REQ BODY: {"auth": {"tenantName": "admin", "passwordCredentials":
{"username": "administrator", "password": "Passw0rd"}}}

DEBUG:keystoneclient.httpclient:REQ BODY: {"auth": {"tenantName": "admin",
"passwordCredentials": {"username": "administrator", "password":
"Passw0rd"}}}

INFO:urllib3.connectionpool:Starting new HTTP connection (1): controller
DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 2843
RESP: [200] {'date': 'Wed, 11 Jun 2014 22:44:13 GMT', 'content-type':
'application/json', 'content-length': '2843', 'vary': 'X-Auth-Token'}
RESP BODY: {"access": {"token": {"issued_at": "2014-06-11T22:44:13.455249",
"expires": "2014-06-11T23:44:13Z", "id":
"MIIFgwYJKoZIhvcNAQcCoIIFdDCCBXACAQExCTAHBgUrDgMCGjCCA9kGCSqGSIb3DQEHAaCCA8oEggPGeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wNi0xMVQyMjo0NDoxMy40NTUyNDkiLCAiZXhwaXJlcyI6ICIyMDE0LTA2LTExVDIzOjQ0OjEzWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiYWRtaW4iLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovL2NvbnRyb2xsZXI6ODA4MCIsICJyZWdpb24i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BMAcGBSsOAwIaMA0GCSqGSIb3DQEBAQUABIIBAAW61WKvgoL38uT-QF4EIjbK3amjowwi-FXcoX-ZUd4109CDtyo2hW+sy-tOhCj-WnjRMqn2gkGAAbhDMsJd03ed2I+uaVVCv-VMvnE0ye2RgWRmjsZmM341KQbZSy0RfJMHyt70VlJygPVmZFxQOo38+ny7W2uTOJQB52Xq7b4yJjEIVvmv09xS87BPxK1TO7uEfGcPXX-tzvQx-AoWUydq03BCuiuKsLH1gKKSxPofANZca3y8Ta2J668O6Dfh54r7lftMQHn+Zs1o4dFvnNMlyrPiEqpumLv29rOjWUkbucwJsJByek7aiyds6JZXYie8UlSapCLzKArcQHL9kOc=",
"tenant": {"enabled": true, "id": "admin", "name": "admin"}},
"serviceCatalog": [{"endpoints": [{"adminURL": "http://controller:8080",
"region": "regionOne", "internalURL": "http://controller:8080/v1/AUTH_admin",
"id": "6b76b1d4709647d7a086309484d9f523", "publicURL": "
http://controller:8080/v1/AUTH_admin"}], "endpoints_links": [], "type":
"object-store", "name": "swift"}, {"endpoints": [{"adminURL": "
http://9.122.125.5:35357/v2.0", "region": "regionOne", "internalURL": "
http://9.122.125.5:5000/v2.0", "id": "aa0b4cc6d7c8465daf7718f1492ce612",
"publicURL": "http://9.122.125.5:5000/v2.0"}], "endpoints_links": [],
"type": "identity", "name": "keystone"}], "user": {"username":
"Administrator", "roles_links": [], "id": "Administrator", "roles":
[{"name": "admin"}], "name": "Administrator"}, "metadata": {"is_admin": 0,
"roles": ["admin"]}}}

DEBUG:keystoneclient.httpclient:RESP: [200] {'date': 'Wed, 11 Jun 2014
22:44:13 GMT', 'content-type': 'application/json', 'content-length':
'2843', 'vary': 'X-Auth-Token'}
RESP BODY: {"access": {"token": {"issued_at": "2014-06-11T22:44:13.455249",
"expires": "2014-06-11T23:44:13Z", "id":
"MIIFgwYJKoZIhvcNAQcCoIIFdDCCBXACAQExCTAHBgUrDgMCGjCCA9kGCSqGSIb3DQEHAaCCA8oEggPGeyJhY2N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zdHJhdG9yIiwgInJvbGVzX2xpbmtzIjogW10sICJpZCI6ICJBZG1pbmlzdHJhdG9yIiwgInJvbGVzIjogW3sibmFtZSI6ICJhZG1pbiJ9XSwgIm5hbWUiOiAiQWRtaW5pc3RyYXRvciJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyJhZG1pbiJdfX19MYIBgTCCAX0CAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVW5zZXQxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNldDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tAgEBMAcGBSsOAwIaMA0GCSqGSIb3DQEBAQUABIIBAAW61WKvgoL38uT-QF4EIjbK3amjowwi-FXcoX-ZUd4109CDtyo2hW+sy-tOhCj-WnjRMqn2gkGAAbhDMsJd03ed2I+uaVVCv-VMvnE0ye2RgWRmjsZmM341KQbZSy0RfJMHyt70VlJygPVmZFxQOo38+ny7W2uTOJQB52Xq7b4yJjEIVvmv09xS87BPxK1TO7uEfGcPXX-tzvQx-AoWUydq03BCuiuKsLH1gKKSxPofANZca3y8Ta2J668O6Dfh54r7lftMQHn+Zs1o4dFvnNMlyrPiEqpumLv29rOjWUkbucwJsJByek7aiyds6JZXYie8UlSapCLzKArcQHL9kOc=",
"tenant": {"enabled": true, "id": "admin", "name": "admin"}},
"serviceCatalog": [{"endpoints": [{"adminURL": "http://controller:8080",
"region": "regionOne", "internalURL": "http://controller:8080/v1/AUTH_admin",
"id": "6b76b1d4709647d7a086309484d9f523", "publicURL": "
http://controller:8080/v1/AUTH_admin"}], "endpoints_links": [], "type":
"object-store", "name": "swift"}, {"endpoints": [{"adminURL": "
http://9.122.125.5:35357/v2.0", "region": "regionOne", "internalURL": "
http://9.122.125.5:5000/v2.0", "id": "aa0b4cc6d7c8465daf7718f1492ce612",
"publicURL": "http://9.122.125.5:5000/v2.0"}], "endpoints_links": [],
"type": "identity", "name": "keystone"}], "user": {"username":
"Administrator", "roles_links": [], "id": "Administrator", "roles":
[{"name": "admin"}], "name": "Administrator"}, "metadata": {"is_admin": 0,
"roles": ["admin"]}}}

DEBUG:iso8601.iso8601:Parsed 2014-06-11T23:44:13Z into {'tz_sign': None,
'second_fraction': None, 'hour': u'23', 'tz_hour': None, 'month': u'06',
'timezone': u'Z', 'second': u'13', 'tz_minute': None, 'year': u'2014',
'separator': u'T', 'day': u'11', 'minute': u'44'} with default timezone
<iso8601.iso8601.Utc object at 0x1152f90>
DEBUG:iso8601.iso8601:Got u'2014' for 'year' with default None
DEBUG:iso8601.iso8601:Got u'06' for 'month' with default None
DEBUG:iso8601.iso8601:Got u'11' for 'day' with default None
DEBUG:iso8601.iso8601:Got u'23' for 'hour' with default None
DEBUG:iso8601.iso8601:Got u'44' for 'minute' with default None
DEBUG:iso8601.iso8601:Got u'13' for 'second' with default None
DEBUG:swiftclient:REQ: curl -i
http://controller:8080/v1/AUTH_admin/CONTAINER -X POST -H "Content-Length:
0" -H "X-Auth-Token:
MIIFgwYJKoZIhvcNAQcCoIIFdDCCBXACAQExCTAHBgUrDgMCGjCCA9kGCSqGSIb3DQEHAaCCA8oEggPGeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wNi0xMVQyMjo0NDoxMy40NTUyNDkiLCAiZXhwaXJlcyI6ICIyMDE0LTA2LTExVDIzOjQ0OjEzWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiYWRtaW4iLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovL2NvbnRyb2xsZXI6ODA4MCIsICJyZWdpb24iOiAicmVnaW9uT25lIiwgImludGVybmFsVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjgwODAvdjEvQVVUSF9hZG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109CDtyo2hW+sy-tOhCj-WnjRMqn2gkGAAbhDMsJd03ed2I+uaVVCv-VMvnE0ye2RgWRmjsZmM341KQbZSy0RfJMHyt70VlJygPVmZFxQOo38+ny7W2uTOJQB52Xq7b4yJjEIVvmv09xS87BPxK1TO7uEfGcPXX-tzvQx-AoWUydq03BCuiuKsLH1gKKSxPofANZca3y8Ta2J668O6Dfh54r7lftMQHn+Zs1o4dFvnNMlyrPiEqpumLv29rOjWUkbucwJsJByek7aiyds6JZXYie8UlSapCLzKArcQHL9kOc="

DEBUG:swiftclient:RESP STATUS: 401

DEBUG:swiftclient:RESP BODY: <html><h1>Unauthorized</h1><p>This server
could not verify that you are authorized to access the document you
requested.</p></html>

REQ: curl -i -X POST http://controller:35357/v2.0/tokens -H "Content-Type:
application/json" -H "User-Agent: python-keystoneclient"
DEBUG:keystoneclient.httpclient:REQ: curl -i -X POST
http://controller:35357/v2.0/tokens -H "Content-Type: application/json" -H
"User-Agent: python-keystoneclient"
REQ BODY: {"auth": {"tenantName": "admin", "passwordCredentials":
{"username": "administrator", "password": "Passw0rd"}}}

DEBUG:keystoneclient.httpclient:REQ BODY: {"auth": {"tenantName": "admin",
"passwordCredentials": {"username": "administrator", "password":
"Passw0rd"}}}

INFO:urllib3.connectionpool:Starting new HTTP connection (1): controller
DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 2843
RESP: [200] {'date': 'Wed, 11 Jun 2014 22:44:14 GMT', 'content-type':
'application/json', 'content-length': '2843', 'vary': 'X-Auth-Token'}
RESP BODY: {"access": {"token": {"issued_at": "2014-06-11T22:44:14.592897",
"expires": "2014-06-11T23:44:14Z", "id":
"MIIFgwYJKoZIhvcNAQcCoIIFdDCCBXACAQExCTAHBgUrDgMCGjCCA9kGCSqGSIb3DQEHAaCCA8oEggPGeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wNi0xMVQyMjo0NDoxNC41OTI4OTciLCAiZXhwaX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I6ICJhZG1pbiJ9XSwgIm5hbWUiOiAiQWRtaW5pc3RyYXRvciJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyJhZG1pbiJdfX19MYIBgTCCAX0CAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVW5zZXQxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNldDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tAgEBMAcGBSsOAwIaMA0GCSqGSIb3DQEBAQUABIIBAD22qkOjh7fb1Cm5qu7k2gozi6JXs9MbYfBdV7O0mst0wS1JvAkm0qn21zEuIuPJPemSAL5b+cibvuJ7xnkCwLqHT9f57zpMAEdaR3R1WqFcAM1CMzFaE-IR565TsMIBrE+B51el+UTPAcq0Xk9YjIk+gQf7iJ9poAe43wY-Ix+LGZ8tvS2zWYrNXkHbIwuEem8M9FHh9mf5EWW5bc3rFS-46UmuVbRkf-aN9ufNVn7pGn2ZAsJ15+LDLbB02fz+19pWKzKX1+9wX-81TI8zFjFeWYwcLNPQqezKdZWmBxfgS5k0KyF0T7a9Urk9WKEUCKdm-wRwEkgxPFJKx69kYWQ=",
"tenant": {"enabled": true, "id": "admin", "name": "admin"}},
"serviceCatalog": [{"endpoints": [{"adminURL": "http://controller:8080",
"region": "regionOne", "internalURL": "http://controller:8080/v1/AUTH_admin",
"id": "6b76b1d4709647d7a086309484d9f523", "publicURL": "
http://controller:8080/v1/AUTH_admin"}], "endpoints_links": [], "type":
"object-store", "name": "swift"}, {"endpoints": [{"adminURL": "
http://9.122.125.5:35357/v2.0", "region": "regionOne", "internalURL": "
http://9.122.125.5:5000/v2.0", "id": "aa0b4cc6d7c8465daf7718f1492ce612",
"publicURL": "http://9.122.125.5:5000/v2.0"}], "endpoints_links": [],
"type": "identity", "name": "keystone"}], "user": {"username":
"Administrator", "roles_links": [], "id": "Administrator", "roles":
[{"name": "admin"}], "name": "Administrator"}, "metadata": {"is_admin": 0,
"roles": ["admin"]}}}

DEBUG:keystoneclient.httpclient:RESP: [200] {'date': 'Wed, 11 Jun 2014
22:44:14 GMT', 'content-type': 'application/json', 'content-length':
'2843', 'vary': 'X-Auth-Token'}
RESP BODY: {"access": {"token": {"issued_at": "2014-06-11T22:44:14.592897",
"expires": "2014-06-11T23:44:14Z", "id":
"MIIFgwYJKoZIhvcNAQcCoIIFdDCCBXACAQExCTAHBgUrDgMCGjCCA9kGCSqGSIb3DQEHAaCCA8oEggPGeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wNi0xMVQyMjo0NDoxNC41OTI4OTciLCAiZXhwaXJlcyI6ICIyMDE0LTA2LTExVDIzOjQ0OjE0WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiYWRtaW4iLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovL2NvbnRyb2xsZXI6ODA4MCIsICJyZWdpb24iOiAicmVnaW9uT25lIiwgImludGVybmFsVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjgwODAvdjEvQVVUSF9hZG1pbiIsICJpZCI6ICI2Yjc2YjFkNDcwOTY0N2Q3YTA4NjMwOTQ4NGQ5ZjUyMyIsICJwdWJsaWNVUkwiOiAiaHR0cDovL2NvbnRyb2xsZXI6ODA4MC92MS9BVVRIX2FkbWluIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogIm9iamVjdC1zdG9yZSIsICJuYW1lIjogInN3aWZ0In0sIHsiZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzkuMTIyLjEyNS41OjM1MzU3L3YyLjAiLCAicmVnaW9uIjogInJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8v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://controller:8080",
"region": "regionOne", "internalURL": "http://controller:8080/v1/AUTH_admin",
"id": "6b76b1d4709647d7a086309484d9f523", "publicURL": "
http://controller:8080/v1/AUTH_admin"}], "endpoints_links": [], "type":
"object-store", "name": "swift"}, {"endpoints": [{"adminURL": "
http://9.122.125.5:35357/v2.0", "region": "regionOne", "internalURL": "
http://9.122.125.5:5000/v2.0", "id": "aa0b4cc6d7c8465daf7718f1492ce612",
"publicURL": "http://9.122.125.5:5000/v2.0"}], "endpoints_links": [],
"type": "identity", "name": "keystone"}], "user": {"username":
"Administrator", "roles_links": [], "id": "Administrator", "roles":
[{"name": "admin"}], "name": "Administrator"}, "metadata": {"is_admin": 0,
"roles": ["admin"]}}}

DEBUG:iso8601.iso8601:Parsed 2014-06-11T23:44:14Z into {'tz_sign': None,
'second_fraction': None, 'hour': u'23', 'tz_hour': None, 'month': u'06',
'timezone': u'Z', 'second': u'14', 'tz_minute': None, 'year': u'2014',
'separator': u'T', 'day': u'11', 'minute': u'44'} with default timezone
<iso8601.iso8601.Utc object at 0x1152f90>
DEBUG:iso8601.iso8601:Got u'2014' for 'year' with default None
DEBUG:iso8601.iso8601:Got u'06' for 'month' with default None
DEBUG:iso8601.iso8601:Got u'11' for 'day' with default None
DEBUG:iso8601.iso8601:Got u'23' for 'hour' with default None
DEBUG:iso8601.iso8601:Got u'44' for 'minute' with default None
DEBUG:iso8601.iso8601:Got u'14' for 'second' with default None
DEBUG:swiftclient:REQ: curl -i
http://controller:8080/v1/AUTH_admin/CONTAINER -X POST -H "Content-Length:
0" -H "X-Auth-Token:
MIIFgwYJKoZIhvcNAQcCoIIFdDCCBXACAQExCTAHBgUrDgMCGjCCA9kGCSqGSIb3DQEHAaCCA8oEggPGeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wNi0xMVQyMjo0NDoxNC41OTI4OTciLCAiZXhwaXJlcyI6ICIyMDE0LTA2LTExVDIzOjQ0OjE0WiIsICJpZCI6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vciJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyJhZG1pbiJdfX19MYIBgTCCAX0CAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVW5zZXQxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNldDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tAgEBMAcGBSsOAwIaMA0GCSqGSIb3DQEBAQUABIIBAD22qkOjh7fb1Cm5qu7k2gozi6JXs9MbYfBdV7O0mst0wS1JvAkm0qn21zEuIuPJPemSAL5b+cibvuJ7xnkCwLqHT9f57zpMAEdaR3R1WqFcAM1CMzFaE-IR565TsMIBrE+B51el+UTPAcq0Xk9YjIk+gQf7iJ9poAe43wY-Ix+LGZ8tvS2zWYrNXkHbIwuEem8M9FHh9mf5EWW5bc3rFS-46UmuVbRkf-aN9ufNVn7pGn2ZAsJ15+LDLbB02fz+19pWKzKX1+9wX-81TI8zFjFeWYwcLNPQqezKdZWmBxfgS5k0KyF0T7a9Urk9WKEUCKdm-wRwEkgxPFJKx69kYWQ="

DEBUG:swiftclient:RESP STATUS: 401

DEBUG:swiftclient:RESP BODY: <html><h1>Unauthorized</h1><p>This server
could not verify that you are authorized to access the document you
requested.</p></html>

ERROR:swiftclient:Container POST failed:
http://controller:8080/v1/AUTH_admin/CONTAINER 401 Unauthorized  [first 60
chars of response] <html><h1>Unauthorized</h1><p>This server could not
verify t
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/swiftclient/client.py", line 1108,
in _retry
    rv = func(self.url, self.token, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/swiftclient/client.py", line 664,
in post_container
    http_response_content=body)
ClientException: Container POST failed:
http://controller:8080/v1/AUTH_admin/CONTAINER 401 Unauthorized  [first 60
chars of response] <html><h1>Unauthorized</h1><p>This server could not
verify t
Container POST failed: http://controller:8080/v1/AUTH_admin/CONTAINER 401
Unauthorized  [first 60 chars of response]
<html><h1>Unauthorized</h1><p>This server could not verify t
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140612/0c3c9921/attachment.html>


More information about the Openstack mailing list