Not able to perform Swift operations in multi-node install using RHEL guide [closed]

asked 2014-01-17 03:32:27 -0600

anonymous user

Anonymous

updated 2014-01-17 09:20:26 -0600

sgordon gravatar image

Hi,

I am installing swift in multi-node configuration (one node = proxy, another node = storage) and I am following the guide http://docs.openstack.org/trunk/install-guide/install/yum/content/ch_swift.html .

After completing the installation, there are steps listed in the guide to verify the swift installation and during this I am getting the below error;

[root@proxy1 ~]# swift --debug stat
REQ: curl -i -X POST http://9.122.122.156:35357/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient"
DEBUG:keystoneclient.httpclient:REQ: curl -i -X POST http://9.122.122.156:35357/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient"
REQ BODY: {"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "password"}}}

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

INFO:urllib3.connectionpool:Starting new HTTP connection (1): 9.122.122.156
DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 3208
RESP: [200] {'date': 'Fri, 17 Jan 2014 09:11:53 GMT', 'content-type': 'application/json', 'content-length': '3208', 'vary': 'X-Auth-Token'}
RESP BODY: {"access": {"token": {"issued_at": "2014-01-17T09:11:52.968931", "expires": "2014-01-18T09:11:52Z", "id": "MIIGIAYJKoZIhvcNAQcCoIIGETCCBg0CAQExCTAHBgUrDgMCGjCCBHYGCSqGSIb3DQEHAaCCBGcEggRjeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMS0xN1QwOToxMTo1Mi45Njg5MzEiLCAiZXhwaXJlcyI6ICIyMDE0LTAxLTE4VDA5OjExOjUyWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkI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U1MjI4MmI0YzkzYWE1IiwgInJvbGVzIjogW3sibmFtZSI6ICJhZG1pbiJ9XSwgIm5hbWUiOiAiYWRtaW4ifSwgIm1ldGFkYXRhIjogeyJpc19hZG1pbiI6IDAsICJyb2xlcyI6IFsiYjEwNzJkOWZjMjUzNDFhZjk5MWI4YTNlNGVjYmJmMGIiXX19fTGCAYEwggF9AgEBMFwwVzELMAkGA1UEBhMCVVMxDjAMBgNVBAgMBVVuc2V0MQ4wDAYDVQQHDAVVbnNldDEOMAwGA1UECgwFVW5zZXQxGDAWBgNVBAMMD3d3dy5leGFtcGxlLmNvbQIBATAHBgUrDgMCGjANBgkqhkiG9w0BAQEFAASCAQCmcJNGUE2DHT5uuMbn3LhUv8FICHIlLmUmkX3zQZFp3uO1YdIGJ+eFCzJijYZRhTZodbVNx9E9cNaiRgvXBWi0jwH65U7Azo1PeSvQI2NDc4RJfHIW0idgT2j4Xud89PIc-o3Cvymp5LTZslNEoQdEgsidg9awSXvOAE6FYdUgciDt7wBmZ7EgzYfca7+oXuWGkdtRM658vYaOT8uWohEGkiyx1MjcLyNZizNQIJpyqjRPgIYV4sn-ctf1VGTGYV1EDUcKx0fpLHMSAeNSXrkj0srUjXjMhqX3cU-Idc2Ib6wwtZbOUjc125pkn4nncaS-je23wXhfrCLU-ltIgO6m", "tenant": {"description": "Admin Tenant", "enabled": true, "id": "113fb3a037c8452392f8f3fe4cab184d", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://9.122.122.156:8080", "region": "regionOne", "internalURL": "http://9.122.122.156:8080/v1/AUTH_113fb3a037c8452392f8f3fe4cab184d", "id": "34c234ca7be54e0aae7853b6ccdc871f", "publicURL": "http://9.122.122.156:8080/v1/AUTH_113fb3a037c8452392f8f3fe4cab184d"}], "endpoints_links": [], "type": "object-store", "name": "swift"}, {"endpoints": [{"adminURL": "http://9.122.122.156:35357/v2.0", "region": "regionOne", "internalURL": "http://9.122.122.156:5000/v2.0", "id": "418050f5696b4985b2e1e3ca49e0ca75", "publicURL": "http://9.122.122.156:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "a4937ea5549d40518f552282b4c93aa5", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["b1072d9fc25341af991b8a3e4ecbbf0b"]}}}

DEBUG:keystoneclient.httpclient:RESP: [200] {'date': 'Fri, 17 Jan 2014 09:11:53 GMT', 'content-type': 'application/json', 'content-length': '3208', 'vary': 'X-Auth-Token'}
RESP BODY: {"access": {"token": {"issued_at": "2014-01-17T09:11:52.968931", "expires": "2014-01-18T09:11:52Z", "id": "MIIGIAYJKoZIhvcNAQcCoIIGETCCBg0CAQExCTAHBgUrDgMCGjCCBHYGCSqGSIb3DQEHAaCCBGcEggRjeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMS0xN1QwOToxMTo1Mi45Njg5MzEiLCAiZXhwaXJlcyI6ICIyMDE0LTAxLTE4VDA5OjExOjUyWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogIjExM2ZiM2EwMzdjODQ1MjM5MmY4ZjNmZTRjYWIxODRkIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly85LjEyMi4xMjIuMTU2OjgwODAiLCAicmVnaW9uIjogInJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vOS4xMjIuMTIyLjE1Njo4MDgwL3YxL0FVVEhfMTEzZmIzYTAzN2M4NDUyMzkyZjhmM2ZlNGNhYjE4NGQiLCAiaWQiOiAiMzRjMjM0Y2E3YmU1NGUwYWFlNzg1M2I2Y2NkYzg3MWY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n3LhUv8FICHIlLmUmkX3zQZFp3uO1YdIGJ+eFCzJijYZRhTZodbVNx9E9cNaiRgvXBWi0jwH65U7Azo1PeSvQI2NDc4RJfHIW0idgT2j4Xud89PIc-o3Cvymp5LTZslNEoQdEgsidg9awSXvOAE6FYdUgciDt7wBmZ7EgzYfca7+oXuWGkdtRM658vYaOT8uWohEGkiyx1MjcLyNZizNQIJpyqjRPgIYV4sn-ctf1VGTGYV1EDUcKx0fpLHMSAeNSXrkj0srUjXjMhqX3cU-Idc2Ib6wwtZbOUjc125pkn4nncaS-je23wXhfrCLU-ltIgO6m", "tenant": {"description": "Admin Tenant", "enabled": true, "id": "113fb3a037c8452392f8f3fe4cab184d", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://9.122.122.156:8080", "region": "regionOne", "internalURL": "http://9.122.122.156:8080/v1/AUTH_113fb3a037c8452392f8f3fe4cab184d", "id": "34c234ca7be54e0aae7853b6ccdc871f", "publicURL": "http://9.122.122.156:8080/v1/AUTH_113fb3a037c8452392f8f3fe4cab184d"}], "endpoints_links": [], "type": "object-store", "name": "swift"}, {"endpoints": [{"adminURL": "http://9.122.122.156:35357/v2.0", "region": "regionOne", "internalURL": "http://9.122.122.156:5000/v2.0", "id": "418050f5696b4985b2e1e3ca49e0ca75", "publicURL": "http://9.122.122.156:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "a4937ea5549d40518f552282b4c93aa5", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["b1072d9fc25341af991b8a3e4ecbbf0b"]}}}

DEBUG:iso8601.iso8601:Parsed 2014-01-18T09:11:52Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'09', 'tz_hour': None, 'month': u'01', 'timezone': u'Z', 'second': u'52', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'day': u'18', 'minute': u'11'} with default timezone <iso8601.iso8601.Utc object at 0x23d6f50>
DEBUG:iso8601.iso8601:Got u'2014' for 'year' with default None
DEBUG:iso8601.iso8601:Got u'01' for 'month' with default None
DEBUG:iso8601.iso8601:Got u ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by larsks
close date 2014-04-03 13:48:41.694443

Comments

Are any errors or additional details recorded in the keystone or swift log files on the server(s)?

sgordon gravatar imagesgordon ( 2014-01-17 09:21:46 -0600 )edit

Use http://paste.openstack.org to share large debug info and try to identify relevant details from the logs. The longer the question, the harder it is to parse it (and give you an answer or suggestions)

smaffulli gravatar imagesmaffulli ( 2014-01-24 19:18:54 -0600 )edit