[Bug 1657452] Re: Incompatibility with python-webob 1.7.0

Corey Bryant corey.bryant at canonical.com
Wed Jan 18 14:28:31 UTC 2017


glance failures with webob 1.7.0:

glance.tests.unit.common.test_wsgi.JSONRequestDeserializerTest.test_has_body_valid_transfer_encoding_with_content_length
------------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "glance/tests/unit/common/test_wsgi.py", line 515, in test_has_body_valid_transfer_encoding_with_content_length
        transfer_encoding='chunked', content_length=0))
      File "/usr/lib/python2.7/dist-packages/unittest2/case.py", line 702, in assertTrue
        raise self.failureException(msg)
    AssertionError: False is not true
    

glance.tests.unit.v1.test_api.TestGlanceAPI.test_add_image_wrong_content_type
-----------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "glance/tests/unit/v1/test_api.py", line 2301, in test_add_image_wrong_content_type
        self.assertEqual(http_client.BAD_REQUEST, res.status_int)
      File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 350, in assertEqual
        self.assertThat(observed, matcher, message)
      File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat
        raise mismatch_error
    testtools.matchers._impl.MismatchError: 400 != 201
    


** Changed in: glance (Ubuntu)
       Status: New => Confirmed

** Also affects: glance
   Importance: Undecided
       Status: New

** Changed in: glance
       Status: New => Confirmed

** Also affects: keystone (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: glance (Ubuntu)
   Importance: Undecided => High

** Changed in: keystone (Ubuntu)
   Importance: Undecided => High

** Changed in: keystone (Ubuntu)
       Status: New => Confirmed

** Changed in: keystone (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: glance (Ubuntu)
       Status: Confirmed => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to glance in Ubuntu.
https://bugs.launchpad.net/bugs/1657452

Title:
  Incompatibility with python-webob 1.7.0

Status in Glance:
  Confirmed
Status in OpenStack Identity (keystone):
  Confirmed
Status in glance package in Ubuntu:
  Triaged
Status in keystone package in Ubuntu:
  Triaged

Bug description:
  
  keystone.tests.unit.test_v3_federation.WebSSOTests.test_identity_provider_specific_federated_authentication
  -----------------------------------------------------------------------------------------------------------

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):
        File "keystone/tests/unit/test_v3_federation.py", line 4067, in test_identity_provider_specific_federated_authentication
          self.PROTOCOL)
        File "keystone/federation/controllers.py", line 345, in federated_idp_specific_sso_auth
          return self.render_html_response(host, token_id)
        File "keystone/federation/controllers.py", line 357, in render_html_response
          headerlist=headers)
        File "/usr/lib/python2.7/dist-packages/webob/response.py", line 310, in __init__
          "You cannot set the body to a text value without a "
      TypeError: You cannot set the body to a text value without a charset

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



More information about the Ubuntu-openstack-bugs mailing list