Reviewed: https://review.openstack.org/51048 Committed: http://github.com/openstack/glance/commit/c6fd948243dc42722b8ff89cdbeba1d90cb76851 Submitter: Jenkins Branch: milestone-proposed
commit c6fd948243dc42722b8ff89cdbeba1d90cb76851 Author: Thomas Leaman <thomas.lea...@hp.com> Date: Mon Oct 7 14:24:03 2013 +0000 Update functional tests for swift changes It seems that a couple of changes to the store calls have slipped through unnoticed: * store.add() now returns a 4-tuple * x-container-read and x-container-write headers use tenant:user rather than just tenant. fixes bug 1236339 Change-Id: Ic5c311bcc2999e13203e0d3ad37bce5ac5f27e2d ** Changed in: glance Status: Fix Committed => 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/1236339 Title: Glance functional tests fail against swift backend Status in OpenStack Image Registry and Delivery Service (Glance): Fix Released Bug description: ====================================================================== ERROR: glance.tests.functional.store.test_swift.TestSwiftStore.test_multitenant ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/glance/glance/tests/functional/store/test_swift.py", line 338, in test_multitenant uri, _, _ = store.add(image_id, image_data, 3) ValueError: too many values to unpack ====================================================================== ERROR: glance.tests.functional.store.test_swift.TestSwiftStore.test_object_chunking ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/glance/glance/tests/functional/store/test_swift.py", line 201, in test_object_chunking image_size) ValueError: too many values to unpack It looks like the store.add() call that both of these are complaining about started returning a fourth value (see commit 74e4fe25dc7c2fa9868d0b1f09a13d4cf3e8a57f). To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1236339/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp