swift proxy fails to start, get_logger gets connection refused
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
New
|
Undecided
|
Unassigned |
Bug Description
This happened during a tempest run for review [1] . Tempest fails quickly because it fails to upload the images to glance. console.html[2] shows that glance gets 400 Bad Request:
...
2013-12-19 19:01:58 ++ glance --os-auth-token ... --os-image-url http://
2013-12-19 19:01:58 Request returned failure status.
2013-12-19 19:01:58 400 Bad Request
2013-12-19 19:01:58 Client disconnected before sending all data to backend
2013-12-19 19:01:58 (HTTP 400)
...
glance-api[3] shows that glance got ECONNREFUSED from swift:
...
2013-12-19 19:01:58.213 4371 ERROR swiftclient [-] [Errno 111] ECONNREFUSED
2013-12-19 19:01:58.213 4371 TRACE swiftclient Traceback (most recent call last):
2013-12-19 19:01:58.213 4371 TRACE swiftclient File "/opt/stack/
2013-12-19 19:01:58.213 4371 TRACE swiftclient rv = func(self.url, self.token, *args, **kwargs)
2013-12-19 19:01:58.213 4371 TRACE swiftclient File "/opt/stack/
2013-12-19 19:01:58.213 4371 TRACE swiftclient conn.request(
2013-12-19 19:01:58.213 4371 TRACE swiftclient File "/opt/stack/
2013-12-19 19:01:58.213 4371 TRACE swiftclient func(method, url, body=body, headers=headers or {})
2013-12-19 19:01:58.213 4371 TRACE swiftclient File "/usr/lib/
2013-12-19 19:01:58.213 4371 TRACE swiftclient self._send_
2013-12-19 19:01:58.213 4371 TRACE swiftclient File "/usr/lib/
2013-12-19 19:01:58.213 4371 TRACE swiftclient self.endheaders
2013-12-19 19:01:58.213 4371 TRACE swiftclient File "/usr/lib/
2013-12-19 19:01:58.213 4371 TRACE swiftclient self._send_
2013-12-19 19:01:58.213 4371 TRACE swiftclient File "/usr/lib/
2013-12-19 19:01:58.213 4371 TRACE swiftclient self.send(msg)
2013-12-19 19:01:58.213 4371 TRACE swiftclient File "/usr/lib/
2013-12-19 19:01:58.213 4371 TRACE swiftclient self.connect()
2013-12-19 19:01:58.213 4371 TRACE swiftclient File "/usr/lib/
2013-12-19 19:01:58.213 4371 TRACE swiftclient self.timeout, self.source_
2013-12-19 19:01:58.213 4371 TRACE swiftclient File "/usr/local/
2013-12-19 19:01:58.213 4371 TRACE swiftclient raise error, msg
2013-12-19 19:01:58.213 4371 TRACE swiftclient error: [Errno 111] ECONNREFUSED
2013-12-19 19:01:58.213 4371 TRACE swiftclient
...
swift-proxy log shows that it didn't start:
+ ln -sf /opt/stack/
+ export PYTHONUNBUFFERED=1
+ PYTHONUNBUFFERED=1
+ exec /bin/bash -c 'cd /opt/stack/
Traceback (most recent call last):
File "/opt/stack/
sys.
File "/opt/stack/
_initrp(
File "/opt/stack/
log_
File "/opt/stack/
raise e
socket.error: [Errno 111] Connection refused
Looks like it failed to connect to a log server?
[1] https:/
[2] http://
[3] http://
[4] http://