Swift functional test "test_delayed_delete_with_auth" is failing

Bug #1291512 reported by Stuart McLaren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Stuart McLaren

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'

Changed in glance:
assignee: nobody → Stuart McLaren (stuart-mclaren)
Revision history for this message
Jordan Pittier (jordan-pittier) wrote :
Changed in glance:
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: juno-3 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.