It appears this was fixed in dde2cbafd33b69024e36c741402c8c130ab761e8
with the adoption of IPC posix locks when lock_path is not set.

** Changed in: glance
       Status: New => Fix Released

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

Title:
  Scrubber lock_path does not default to temp dir

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  As of g85075f4b1 glance-scrubber appears to use a lock_path config
  option.

  Docs says this should default to a temp dir if not set, though
  switching delayed_delete=True seems to cause image-delete to fall
  over:

  [...]
    File "/opt/stack/glance/glance/store/__init__.py", line 293, in 
schedule_delayed_delete_from_backend
      file_queue.add_location(image_id, uri)
    File "/opt/stack/glance/glance/store/scrubber.py", line 169, in add_location
      lock_file_prefix='glance-', external=True):
    File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
      return self.gen.next()
    File "/opt/stack/glance/glance/openstack/common/lockutils.py", line 181, in 
lock
      raise cfg.RequiredOptError('lock_path')
  RequiredOptError: value required for option: lock_path write 
/opt/stack/glance/glance/common/wsgi.py:98

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to