← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1291512] Re: Swift functional test "test_delayed_delete_with_auth" is failing

 

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

** Changed in: glance
    Milestone: None => juno-3

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

Title:
  Swift functional test "test_delayed_delete_with_auth" is failing

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

Bug description:
  If the user running the test can't write to /var/lib/glance the test
  fails:

  ======================================================================
  FAIL: glance.tests.functional.store.test_swift.TestSwiftStore.test_delayed_delete_with_auth
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  _StringException: Traceback (most recent call last):
    File "glance/tests/functional/store/test_swift.py", line 533, in test_delayed_delete_with_auth
      image_id)
    File "glance/store/__init__.py", line 314, in schedule_delayed_delete_from_backend
      (file_queue, _db_queue) = scrubber.get_scrub_queues()
    File "glance/scrubber.py", line 354, in get_scrub_queues
      _file_queue = ScrubFileQueue()
    File "glance/scrubber.py", line 110, in __init__
      utils.safe_mkdirs(self.scrubber_datadir)
    File "glance/common/utils.py", line 283, in safe_mkdirs
      os.makedirs(path)
    File "/home/ubuntu/git/glance/.venv/lib/python2.7/os.py", line 150, in makedirs
      makedirs(head, mode)
    File "/home/ubuntu/git/glance/.venv/lib/python2.7/os.py", line 157, in makedirs
      mkdir(name, mode)
  OSError: [Errno 13] Permission denied: '/var/lib/glance'

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


References