<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi, <div><br></div><div>I am trying to deploy SWIFT with the following versions of rpm: </div><div><br></div><div><div>openstack-swift-1.10.0-2.el6.noarch</div><div>openstack-swift-container-1.10.0-2.el6.noarch</div><div>openstack-swift-plugin-swift3-1.7-1.el6.noarch</div><div>openstack-swift-proxy-1.10.0-2.el6.noarch</div><div>openstack-swift-object-1.10.0-2.el6.noarch</div><div>openstack-swift-account-1.10.0-2.el6.noarch</div></div><div><br></div><div>Deployment seems to be working fine but the test commends are not. </div><div><br></div><div>Following is the schema </div><div><br></div><div>1- proxy-server + storage ->  mist-os.xxx.xx</div><div>2 - storage ->  mist1.xxx.xx</div><div>3 - keystone -> mist.xxx.xx</div><div><br></div><div>All the services are running and no service level error in the logs. </div><div><br></div><div>using an ordinary account (myone)</div><div><br></div><div># swift stat</div><div>[Errno 111] Connection refused</div><div><br></div><div><div><font class="Apple-style-span" color="#e61610">[root@mist openstack-user]# clock</font></div><div><font class="Apple-style-span" color="#e61610">Wed Mar 12 11:50:36 2014  -0.609708 seconds</font></div></div><div># swift --debug stat</div><div><div>REQ: curl -i -X POST <a href="http://mist.xxx.xx:5000/v2.0/tokens">http://mist.xxx.xx:5000/v2.0/tokens</a> -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient"</div><div>DEBUG:keystoneclient.httpclient:REQ: curl -i -X POST <a href="http://mist.xxx.xx:5000/v2.0/tokens">http://mist.xxx.xx:5000/v2.0/tokens</a> -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient"</div><div>REQ BODY: {"auth": {"tenantName": "Local-Experiments", "passwordCredentials": {"username": "myone", "password": "myone"}}}</div><div><br></div><div>DEBUG:keystoneclient.httpclient:REQ BODY: {"auth": {"tenantName": "Local-Experiments", "passwordCredentials": {"username": "myone", "password": "myone"}}}</div><div><br></div><div>INFO:urllib3.connectionpool:Starting new HTTP connection (1): mist.xxx.xx</div><div>DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 6628</div><div>RESP: [200] {<font class="Apple-style-span" color="#ff3823">'date': 'Wed, 12 Mar 2014 10:51:16 GMT',</font> 'content-type': 'application/json', 'content-length': '6628', 'vary': 'X-Auth-Token'}</div></div><div><br></div><div><div>DEBUG:keystoneclient.httpclient:REQ BODY: {"auth": {"tenantName": "Local-Experiments", "passwordCredentials": {"username": "sztoor", "password": "sztoor"}}}</div><div><br></div><div>INFO:urllib3.connectionpool:Starting new HTTP connection (1): mist.xxx.xx</div><div>DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 6628</div><div>RESP: [200] <font class="Apple-style-span" color="#e61610">{'date': 'Wed, 12 Mar 2014 10:51:16 GMT', </font>'content-type': 'application/json', 'content-length': '6628', 'vary': 'X-Auth-Token'}</div><div>RESP BODY: {"access": {"token": {"issued_at": "2014-03-12T10:51:16.248840", "expires": "2014-03-13T10:51:16Z", "id": "--- XXXXX ----", "tenant": {"description": null, "enabled": true, "id": "32accaa0a629423395f7003902795ee2", "name": "Local-Experiments"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "<a href="http://mist.xxx.xx:8774/v2/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8774/v2/32accaa0a629423395f7003902795ee2</a>", "region": "regionOne", "internalURL": "<a href="http://mist.xxx.xx:8774/v2/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8774/v2/32accaa0a629423395f7003902795ee2</a>", "id": "196f3b8321c644fa8a60743813d02567", "publicURL": "<a href="http://mist.xxx.xx:8774/v2/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8774/v2/32accaa0a629423395f7003902795ee2</a>"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "<a href="http://mist.xxx.xx:8776/v2/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8776/v2/32accaa0a629423395f7003902795ee2</a>", "region": "regionOne", "internalURL": "<a href="http://mist.xxx.xx:8776/v2/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8776/v2/32accaa0a629423395f7003902795ee2</a>", "id": "1a60ea81e99d47fe897656a13f605f1b", "publicURL": "<a href="http://mist.xxx.xx:8776/v2/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8776/v2/32accaa0a629423395f7003902795ee2</a>"}], "endpoints_links": [], "type": "volumev2", "name": "cinderv2"}, {"endpoints": [{"adminURL": "<a href="http://mist.xxx.xx:9292">http://mist.xxx.xx:9292</a>", "region": "regionOne", "internalURL": "<a href="http://mist.xxx.xx:9292">http://mist.xxx.xx:9292</a>", "id": "1a1c7b415d184462ad5d1ca51859d5be", "publicURL": "<a href="http://mist.xxx.xx:9292">http://mist.xxx.xx:9292</a>"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "<a href="http://mist.xxx.xx:8776/v1/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8776/v1/32accaa0a629423395f7003902795ee2</a>", "region": "regionOne", "internalURL": "<a href="http://mist.xxx.xx:8776/v1/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8776/v1/32accaa0a629423395f7003902795ee2</a>", "id": "0cea17ee4a654a5b9e5b331321f0a2da", "publicURL": "<a href="http://mist.xxx.xx:8776/v1/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8776/v1/32accaa0a629423395f7003902795ee2</a>"}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "<a href="http://mist.xxx.xx:8080">http://mist.xxx.xx:8080</a>", "region": "regionOne", "internalURL": "<a href="http://mist.xxx.xx:8080/v1/AUTH_32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8080/v1/AUTH_32accaa0a629423395f7003902795ee2</a>", "id": "059911754bab471c92351c0e1844c7a6", "publicURL": "<a href="http://mist.xxx.xx:8080/v1/AUTH_32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8080/v1/AUTH_32accaa0a629423395f7003902795ee2</a>"}], "endpoints_links": [], "type": "object-store", "name": "swift"}, {"endpoints": [{"adminURL": "<a href="http://mist.xxx.xx:35357/v2.0">http://mist.xxx.xx:35357/v2.0</a>", "region": "regionOne", "internalURL": "<a href="http://mist.xxx.xx:5000/v2.0">http://mist.xxx.xx:5000/v2.0</a>", "id": "3cb9c393a893499dbcea7bf85db96375", "publicURL": "<a href="http://mist.xxx.xx:5000/v2.0">http://mist.xxx.xx:5000/v2.0</a>"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "sztoor", "roles_links": [], "id": "e8be74e1714e41d0847fec51aa466a50", "roles": [{"name": "_member_"}, {"name": "admin"}], "name": "sztoor"}, "metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab", "5ccc6a705ca74c81812e77b2694ea12c"]}}}</div><div><br></div><div>DEBUG:keystoneclient.httpclient:RESP: [200] {<font class="Apple-style-span" color="#e61610">'date': 'Wed, 12 Mar 2014 10:51:16 GMT'</font>, 'content-type': 'application/json', 'content-length': '6628', 'vary': 'X-Auth-Token'}</div><div>RESP BODY: {"access": {"token": {"issued_at": "2014-03-12T10:51:16.248840", "expires": "2014-03-13T10:51:16Z", "id": "---- XXXX ----", "tenant": {"description": null, "enabled": true, "id": "32accaa0a629423395f7003902795ee2", "name": "Local-Experiments"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "<a href="http://mist.xxx.xx:8774/v2/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8774/v2/32accaa0a629423395f7003902795ee2</a>", "region": "regionOne", "internalURL": "<a href="http://mist.xxx.xx:8774/v2/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8774/v2/32accaa0a629423395f7003902795ee2</a>", "id": "196f3b8321c644fa8a60743813d02567", "publicURL": "<a href="http://mist.xxx.xx:8774/v2/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8774/v2/32accaa0a629423395f7003902795ee2</a>"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "<a href="http://mist.xxx.xx:8776/v2/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8776/v2/32accaa0a629423395f7003902795ee2</a>", "region": "regionOne", "internalURL": "<a href="http://mist.xxx.xx:8776/v2/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8776/v2/32accaa0a629423395f7003902795ee2</a>", "id": "1a60ea81e99d47fe897656a13f605f1b", "publicURL": "<a href="http://mist.xxx.xx:8776/v2/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8776/v2/32accaa0a629423395f7003902795ee2</a>"}], "endpoints_links": [], "type": "volumev2", "name": "cinderv2"}, {"endpoints": [{"adminURL": "<a href="http://mist.xxx.xx:9292">http://mist.xxx.xx:9292</a>", "region": "regionOne", "internalURL": "<a href="http://mist.xxx.xx:9292">http://mist.xxx.xx:9292</a>", "id": "1a1c7b415d184462ad5d1ca51859d5be", "publicURL": "<a href="http://mist.xxx.xx:9292">http://mist.xxx.xx:9292</a>"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "<a href="http://mist.xxx.xx:8776/v1/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8776/v1/32accaa0a629423395f7003902795ee2</a>", "region": "regionOne", "internalURL": "<a href="http://mist.xxx.xx:8776/v1/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8776/v1/32accaa0a629423395f7003902795ee2</a>", "id": "0cea17ee4a654a5b9e5b331321f0a2da", "publicURL": "<a href="http://mist.xxx.xx:8776/v1/32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8776/v1/32accaa0a629423395f7003902795ee2</a>"}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "<a href="http://mist.xxx.xx:8080">http://mist.xxx.xx:8080</a>", "region": "regionOne", "internalURL": "<a href="http://mist.xxx.xx:8080/v1/AUTH_32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8080/v1/AUTH_32accaa0a629423395f7003902795ee2</a>", "id": "059911754bab471c92351c0e1844c7a6", "publicURL": "<a href="http://mist.xxx.xx:8080/v1/AUTH_32accaa0a629423395f7003902795ee2">http://mist.xxx.xx:8080/v1/AUTH_32accaa0a629423395f7003902795ee2</a>"}], "endpoints_links": [], "type": "object-store", "name": "swift"}, {"endpoints": [{"adminURL": "<a href="http://mist.xxx.xx:35357/v2.0">http://mist.xxx.xx:35357/v2.0</a>", "region": "regionOne", "internalURL": "<a href="http://mist.xxx.xx:5000/v2.0">http://mist.xxx.xx:5000/v2.0</a>", "id": "3cb9c393a893499dbcea7bf85db96375", "publicURL": "<a href="http://mist.xxx.xx:5000/v2.0">http://mist.xxx.xx:5000/v2.0</a>"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "sztoor", "roles_links": [], "id": "e8be74e1714e41d0847fec51aa466a50", "roles": [{"name": "_member_"}, {"name": "admin"}], "name": "sztoor"}, "metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab", "5ccc6a705ca74c81812e77b2694ea12c"]}}}</div><div><br></div><div><font class="Apple-style-span" color="#e61610">DEBUG:iso8601.iso8601:Parsed 2014-03-13T10:51:16Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'10', 'tz_hour': None, 'month': u'03', 'timezone': u'Z', 'second': u'16', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'day': u'13', 'minute': u'51'} with default timezone <iso8601.iso8601.Utc object at 0x1baadd0></font></div><div><font class="Apple-style-span" color="#e61610">DEBUG:iso8601.iso8601:Got u'2014' for 'year' with default None</font></div><div><font class="Apple-style-span" color="#e61610">DEBUG:iso8601.iso8601:Got u'03' for 'month' with default None</font></div><div><font class="Apple-style-span" color="#e61610">DEBUG:iso8601.iso8601:Got u'13' for 'day' with default None</font></div><div><font class="Apple-style-span" color="#e61610">DEBUG:iso8601.iso8601:Got u'10' for 'hour' with default None</font></div><div><font class="Apple-style-span" color="#e61610">DEBUG:iso8601.iso8601:Got u'51' for 'minute' with default None</font></div><div><font class="Apple-style-span" color="#e61610">DEBUG:iso8601.iso8601:Got u'16' for 'second' with default None</font></div><div><font class="Apple-style-span" color="#e61610">INFO:urllib3.connectionpool:Starting new HTTP connection (1): mist.xxx.xx</font></div><div><font class="Apple-style-span" color="#e61610">INFO:urllib3.connectionpool:Starting new HTTP connection (1): mist.xxx.xx</font></div><div><font class="Apple-style-span" color="#e61610">INFO:urllib3.connectionpool:Starting new HTTP connection (1): mist.xxx.xx</font></div><div><font class="Apple-style-span" color="#e61610">INFO:urllib3.connectionpool:Starting new HTTP connection (1): mist.xxx.xx</font></div><div><font class="Apple-style-span" color="#e61610">INFO:urllib3.connectionpool:Starting new HTTP connection (1): mist.xxx.xx</font></div><div><font class="Apple-style-span" color="#e61610">INFO:urllib3.connectionpool:Starting new HTTP connection (1): mist.xxx.xx</font></div><div><font class="Apple-style-span" color="#e61610">ERROR:swiftclient:[Errno 111] Connection refused</font></div><div>Traceback (most recent call last):</div><div>  File "/usr/lib/python2.6/site-packages/swiftclient/client.py", line 1192, in _retry</div><div>    rv = func(self.url, self.token, *args, **kwargs)</div><div>  File "/usr/lib/python2.6/site-packages/swiftclient/client.py", line 460, in head_account</div><div>    conn.request(method, parsed.path, '', headers)</div><div>  File "/usr/lib/python2.6/site-packages/swiftclient/client.py", line 187, in request</div><div>    files=files, **self.requests_args)</div><div>  File "/usr/lib/python2.6/site-packages/swiftclient/client.py", line 176, in _request</div><div>    return requests.request(*arg, **kwarg)</div><div>  File "/usr/lib/python2.6/site-packages/requests/api.py", line 44, in request</div><div>    return session.request(method=method, url=url, **kwargs)</div><div>  File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 279, in request</div><div>    resp = self.send(prep, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies)</div><div>  File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 374, in send</div><div>    r = adapter.send(request, **kwargs)</div><div>  File "/usr/lib/python2.6/site-packages/requests/adapters.py", line 206, in send</div><div>    raise ConnectionError(sockerr)</div><div>ConnectionError: [Errno 111] Connection refused</div><div>[Errno 111] Connection refused</div></div><div><br></div><div>I think one of the problem is the time difference. There is of one hour difference.  All the server are running ntpd and the clocks are synchronize.. Have no clue from where this new time is coming.  All the other services are fine and clients (glance, nova, cinder) returning correct timings ... </div><div><br></div><div>For example </div><div><br></div><div>---------------------------------------</div><div># glance  --debug image-list </div><div><br></div><div><div>HTTP/1.1 200 OK</div><div>date: Wed, 12 Mar 2014 11:05:05 GMT</div><div>content-length: 927</div><div>content-type: application/json; charset=UTF-8</div><div>x-openstack-request-id: req-29190e4f-23fa-45d2-a1e0-711687ebcae3</div><div><br></div><div>{"images": [{"status": "active", "name": "CirrOS-NEW 0.3.1", "deleted": false, "container_format": "bare", "created_at": "2014-03-05T11:47:33", "disk_format": "qcow2", "updated_at": "2014-03-05T11:47:34", "min_disk": 0, "protected": false, "id": "93b5efe1-ac39-4070-bd47-557bd554c228", "min_ram": 0, "checksum": "d972013792949d0d3ba628fbe8685bce", "owner": "e8fe1cc1567d4cb2bf50a24b0174c1c4", "is_public": true, "deleted_at": null, "properties": {}, "size": 13147648}, {"status": "active", "name": "Ubuntu 12.04 LTS", "deleted": false, "container_format": "bare", "created_at": "2014-03-06T11:23:24", "disk_format": "qcow2", "updated_at": "2014-03-11T14:26:05", "min_disk": 0, "protected": false, "id": "f060e305-163f-4e1c-b7ea-e79c4d876890", "min_ram": 0, "checksum": "73c5b7fa57ba32092e80e172b384ff6c", "owner": "f0bc8ee49a7f4eccb0f5945f409863b8", "is_public": true, "deleted_at": null, "properties": {}, "size": 258015744}]}</div></div><div>---------------------------------------</div><div><br></div><div><br></div><div>Can anybody please give me a hint that what causes this problem?</div><div><br></div><div>Thanks in advance. </div><div><br></div><div>Regards..</div><div>Salman. </div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div apple-content-edited="true">
<div>Salman Toor, PhD</div><div><a href="mailto:salman.toor@it.uu.se">salman.toor@it.uu.se</a></div><div><br></div><br class="Apple-interchange-newline">
</div>
<br></div></body></html>