Glance functional tests fail against swift backend

Bug #1236339 reported by Thomas Leaman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Low
Thomas Leaman

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).

Revision history for this message
Stuart McLaren (stuart-mclaren) wrote :

Tagging as havana-rc-potential -- it would be nice to have all tests running successfully for the release.

tags: added: havana-rc-potential
Changed in glance:
importance: Undecided → Low
milestone: none → icehouse-1
status: New → Triaged
Thierry Carrez (ttx)
Changed in glance:
milestone: icehouse-1 → havana-rc2
tags: removed: havana-rc-potential
Revision history for this message
Mark Washenberger (markwash) wrote :
Changed in glance:
status: Triaged → In Progress
assignee: nobody → Thomas Leaman (thomas-leaman)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/50088
Committed: http://github.com/openstack/glance/commit/18581b3370b4aa8554bb0fafa33919de609c9626
Submitter: Jenkins
Branch: master

commit 18581b3370b4aa8554bb0fafa33919de609c9626
Author: Thomas Leaman <email address hidden>
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: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/51048

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (milestone-proposed)

Reviewed: https://review.openstack.org/51048
Committed: http://github.com/openstack/glance/commit/c6fd948243dc42722b8ff89cdbeba1d90cb76851
Submitter: Jenkins
Branch: milestone-proposed

commit c6fd948243dc42722b8ff89cdbeba1d90cb76851
Author: Thomas Leaman <email address hidden>
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
Thierry Carrez (ttx)
Changed in glance:
milestone: havana-rc2 → 2013.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.