← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1625736] [NEW] [Ironic] [Tempest] All Ironic-related Tempest tests failed after the reload of Apache service

 

Public bug reported:

Steps To Reproduce:
1) Deploy MOS 9.1 environment with Ironic and 3 controllers (we reproduced the issue on 4 different configurations)
2) Apply custom fix for Keystone on all controllers: https://review.openstack.org/#/c/372497/
3) Execute the following command on all controllers: service apache2 reload
4) Run full Tempest test suite

Expected Result:
All Tempest tests passed

Observed Result:
All Ironic-related tests failed with the following error:

Traceback (most recent call last):

  File "tempest/api/baremetal/admin/test_ports_negative.py", line 26, in
setUp

    _, self.node = self.create_node(self.chassis['uuid'])

  File "tempest/api/baremetal/admin/base.py", line 41, in wrapper

    resp, body = f(cls, *args, **kwargs)

  File "tempest/api/baremetal/admin/base.py", line 128, in create_node

    driver=cls.driver)

  File "tempest/services/baremetal/base.py", line 34, in wrapper

    return f(*args, **kwargs)

  File "tempest/services/baremetal/v1/json/baremetal_client.py", line
156, in create_node

    return self._create_request('nodes', node)

  File "tempest/services/baremetal/base.py", line 147, in
_create_request

    resp, body = self.post(uri, body=body)

  File "tempest/lib/common/rest_client.py", line 276, in post

    return self.request('POST', url, extra_headers, headers, body,
chunked)

  File "tempest/lib/common/rest_client.py", line 665, in request

    resp, resp_body)

  File "tempest/lib/common/rest_client.py", line 768, in _error_checker

    raise exceptions.BadRequest(resp_body, resp=resp)

tempest.lib.exceptions.BadRequest: Bad request

Details: {u'error_message': u'{"debuginfo": null, "faultcode": "Client",
"faultstring": "No valid host was found. Reason: No conductor service
registered which supports driver fake."}'}

** Affects: mos
     Importance: High
     Assignee: MOS Ironic (mos-ironic)
         Status: Confirmed


** Tags: area-ironic tempest

** Project changed: keystone => mos

** Changed in: mos
   Importance: Undecided => Critical

** Changed in: mos
     Assignee: (unassigned) => MOS Ironic (mos-ironic)

** Changed in: mos
   Importance: Critical => High

** Changed in: mos
    Milestone: None => 9.1

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

** Tags added: area-ironic tempest

-- 
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/1625736

Title:
  [Ironic] [Tempest] All Ironic-related Tempest tests failed after the
  reload of Apache service

Status in Mirantis OpenStack:
  Confirmed

Bug description:
  Steps To Reproduce:
  1) Deploy MOS 9.1 environment with Ironic and 3 controllers (we reproduced the issue on 4 different configurations)
  2) Apply custom fix for Keystone on all controllers: https://review.openstack.org/#/c/372497/
  3) Execute the following command on all controllers: service apache2 reload
  4) Run full Tempest test suite

  Expected Result:
  All Tempest tests passed

  Observed Result:
  All Ironic-related tests failed with the following error:

  Traceback (most recent call last):

    File "tempest/api/baremetal/admin/test_ports_negative.py", line 26,
  in setUp

      _, self.node = self.create_node(self.chassis['uuid'])

    File "tempest/api/baremetal/admin/base.py", line 41, in wrapper

      resp, body = f(cls, *args, **kwargs)

    File "tempest/api/baremetal/admin/base.py", line 128, in create_node

      driver=cls.driver)

    File "tempest/services/baremetal/base.py", line 34, in wrapper

      return f(*args, **kwargs)

    File "tempest/services/baremetal/v1/json/baremetal_client.py", line
  156, in create_node

      return self._create_request('nodes', node)

    File "tempest/services/baremetal/base.py", line 147, in
  _create_request

      resp, body = self.post(uri, body=body)

    File "tempest/lib/common/rest_client.py", line 276, in post

      return self.request('POST', url, extra_headers, headers, body,
  chunked)

    File "tempest/lib/common/rest_client.py", line 665, in request

      resp, resp_body)

    File "tempest/lib/common/rest_client.py", line 768, in
  _error_checker

      raise exceptions.BadRequest(resp_body, resp=resp)

  tempest.lib.exceptions.BadRequest: Bad request

  Details: {u'error_message': u'{"debuginfo": null, "faultcode":
  "Client", "faultstring": "No valid host was found. Reason: No
  conductor service registered which supports driver fake."}'}

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