← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1648753] Re: Tempest test ServicesTestJSON.test_create_update_get_service fails for HA Keystone

 

Hi Lance, thank you for reply. This test passes if identity endpoint =
haproxy frontend. So seems that it is not a bug, it was just a
misconfiguration of my environment.

** Changed in: keystone
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1648753

Title:
  Tempest test ServicesTestJSON.test_create_update_get_service fails for
  HA Keystone

Status in OpenStack Identity (keystone):
  Invalid

Bug description:
  With 2 Keystones + HAProxy in round-robin mode
  tempest.api.identity.admin.v3.test_services.ServicesTestJSON.test_create_update_get_service
  fails:

  Output:
  traceback-1: {{{
  Traceback (most recent call last):
    File "/opt/stack/tempest/tempest/api/identity/admin/v3/test_services.py", line 29, in _del_service
      service_id)
    File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 485, in assertRaises
      self.assertThat(our_callable, matcher)
    File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 498, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: <bound method ServicesClient.show_service of <tempest.lib.services.identity.v3.services_client.ServicesClient object at 0x7fb59e21b1d0>> returned {u'service': {u'name': u'tempest-service-634015139', u'links': {u'self': u'http://192.168.122.48/identity/v3/services/560dfd9bbb8948588e01ca7de2785b2a'}, u'enabled': True, u'type': u'tempest-type-1048654274', u'id': u'560dfd9bbb8948588e01ca7de2785b2a', u'description': u'tempest-desc2-1951710604'}}
  }}}

  Traceback (most recent call last):
    File "/opt/stack/tempest/tempest/api/identity/admin/v3/test_services.py", line 36, in test_create_update_get_service
      name = data_utils.rand_name('service')
    File "/usr/local/lib/python2.7/dist-packages/unittest2/case.py", line 1154, in assertDictContainsSubset
      self.fail(self._formatMessage(msg, standardMsg))
    File "/usr/local/lib/python2.7/dist-packages/unittest2/case.py", line 690, in fail
      raise self.failureException(msg)
  AssertionError: Mismatched values: u'links', expected: {u'self': u'http://192.168.122.60/identity/v3/services/560dfd9bbb8948588e01ca7de2785b2a'}, actual: {u'self': u'http://192.168.122.48/identity/v3/services/560dfd9bbb8948588e01ca7de2785b2a'}

  
  This issue needs to be fixed for implementing bp https://blueprints.launchpad.net/keystone/+spec/rolling-upgrade-testing

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


References