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

Corey Bryant corey.bryant at canonical.com
Wed Jan 18 14:39:52 UTC 2017


nova failures with webob 1.7.0:

nova.tests.unit.api.openstack.compute.test_microversions.MicroversionsTest.test_microversions_inner_function_v21
----------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "nova/tests/unit/api/openstack/compute/test_microversions.py", line 302, in test_microversions_inner_function_v21
        self._test_microversions_inner_function('2.1', 'controller4_val1')
      File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
        return func(*args, **keywargs)
      File "nova/tests/unit/api/openstack/compute/test_microversions.py", line 291, in _test_microversions_inner_function
        self.assertEqual(200, 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: 200 != 400
    

Captured pythonlogging:
~~~~~~~~~~~~~~~~~~~~~~~
    2017-01-18 08:45:09,875 INFO [nova.api.openstack] Loaded extensions: ['test-basic', 'test-microversions']
    

nova.tests.unit.api.openstack.compute.test_microversions.LegacyMicroversionsTest.test_microversions_inner_function_v21
----------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "nova/tests/unit/api/openstack/compute/test_microversions.py", line 302, in test_microversions_inner_function_v21
        self._test_microversions_inner_function('2.1', 'controller4_val1')
      File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
        return func(*args, **keywargs)
      File "nova/tests/unit/api/openstack/compute/test_microversions.py", line 291, in _test_microversions_inner_function
        self.assertEqual(200, 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: 200 != 400
    

Captured pythonlogging:
~~~~~~~~~~~~~~~~~~~~~~~
    2017-01-18 08:45:13,158 INFO [nova.api.openstack] Loaded extensions: ['test-basic', 'test-microversions']
    

nova.tests.unit.api.openstack.compute.test_microversions.MicroversionsTest.test_microversions_inner_function_v22
----------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "nova/tests/unit/api/openstack/compute/test_microversions.py", line 299, in test_microversions_inner_function_v22
        self._test_microversions_inner_function('2.2', 'controller4_val2')
      File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
        return func(*args, **keywargs)
      File "nova/tests/unit/api/openstack/compute/test_microversions.py", line 291, in _test_microversions_inner_function
        self.assertEqual(200, 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: 200 != 400
    

Captured pythonlogging:
~~~~~~~~~~~~~~~~~~~~~~~
    2017-01-18 08:45:13,842 INFO [nova.api.openstack] Loaded extensions: ['test-basic', 'test-microversions']
    

nova.tests.unit.api.openstack.compute.test_microversions.LegacyMicroversionsTest.test_microversions_inner_function_v22
----------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "nova/tests/unit/api/openstack/compute/test_microversions.py", line 299, in test_microversions_inner_function_v22
        self._test_microversions_inner_function('2.2', 'controller4_val2')
      File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
        return func(*args, **keywargs)
      File "nova/tests/unit/api/openstack/compute/test_microversions.py", line 291, in _test_microversions_inner_function
        self.assertEqual(200, 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: 200 != 400
    

Captured pythonlogging:
~~~~~~~~~~~~~~~~~~~~~~~
    2017-01-18 08:45:32,152 INFO [nova.api.openstack] Loaded extensions: ['test-basic', 'test-microversions']


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

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

** Changed in: nova (Ubuntu)
       Status: New => Triaged

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

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

-- 
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 OpenStack Compute (nova):
  Confirmed
Status in glance package in Ubuntu:
  Triaged
Status in keystone package in Ubuntu:
  Triaged
Status in nova 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