← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1213179] Re: swiftclient ClientException: Container HEAD failed

 

Moved to glance-store. Needs to be re-evaluated if the issue is still
valid.

** Project changed: glance => glance-store

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1213179

Title:
  swiftclient ClientException: Container HEAD failed

Status in OpenStack Glance backend store-drivers library (glance_store):
  New

Bug description:
  When using Glance Havana with the latest version of swiftclient I get
  the following stack trace in my Glance API server log on startup:

  2013-08-16 15:46:25.279 28346 ERROR swiftclient [-] Container HEAD failed: http://nova1:8080/v1/AUTH_85e1d06769e4448a9a11d9924297a206/glance 404 Not Found
  2013-08-16 15:46:25.279 28346 TRACE swiftclient Traceback (most recent call last):
  2013-08-16 15:46:25.279 28346 TRACE swiftclient   File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1095, in _retry
  2013-08-16 15:46:25.279 28346 TRACE swiftclient     rv = func(self.url, self.token, *args, **kwargs)
  2013-08-16 15:46:25.279 28346 TRACE swiftclient   File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 566, in head_container
  2013-08-16 15:46:25.279 28346 TRACE swiftclient     http_response_content=body)
  2013-08-16 15:46:25.279 28346 TRACE swiftclient ClientException: Container HEAD failed: http://nova1:8080/v1/AUTH_85e1d06769e4448a9a11d9924297a206/glance 404 Not Found
  2013-08-16 15:46:25.279 28346 TRACE swiftclient 

  -----

  I'm using swift_store_create_container_on_put = True and the issue
  seems get logged when the _create_container_if_missing function in the
  Glance swift backend checks for the swift container. The Glance code
  looks totally fine to me one of our logging configs seems to cause the
  swiftclient library to log this exception regardless.

  We should not be logging an ERROR when creating the initial swift
  container...

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance-store/+bug/1213179/+subscriptions