Host overcloud-compute-? is not mapped to any cell

Solution Verified - Updated -

Issue

The following errors can be seen on logs:

REQ: curl -g -i -X PUT http://172.60.0.16:8774/v2.1/os-services/disable -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}623918cec0b8bcf4d9c9392124f9dfe934ed5a76" -d '{"binary": "nova-compute", "host": "overcloud-osd-compute-0"}'
Starting new HTTP connection (1): 172.60.0.16
http://172.60.0.16:8774 "PUT /v2.1/os-services/disable HTTP/1.1" 404 102
RESP: [404] Date: Wed, 29 May 2019 08:34:28 GMT Server: Apache OpenStack-API-Version: compute 2.1 X-OpenStack-Nova-API-Version: 2.1 Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version x-openstack-request-id: req-7bc1c652-bf83-4264-b562-a21f70fd5a09 x-compute-request-id: req-7bc1c652-bf83-4264-b562-a21f70fd5a09 Content-Length: 102 Content-Type: application/json; charset=UTF-8
RESP BODY: {"itemNotFound": {"message": "Host 'overcloud-osd-compute-0' is not mapped to any cell", "code": 404}}

PUT call to compute for http://172.60.0.16:8774/v2.1/os-services/disable used request id req-7bc1c652-bf83-4264-b562-a21f70fd5a09
Failed to set service status to disabled
Compute service nova-compute of host overcloud-osd-compute-0 failed to set.
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/command.py", line 184, in run
    return_code = self.take_action(parsed_args) or 0
  File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/service.py", line 212, in take_action
    raise exceptions.CommandError(msg)
CommandError: Compute service nova-compute of host overcloud-osd-compute-0 failed to set.
clean_up SetService: Compute service nova-compute of host overcloud-osd-compute-0 failed to set.
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 134, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 169, in run_subcommand
    ret_value = super(OpenStackShell, self).run_subcommand(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/command.py", line 184, in run
    return_code = self.take_action(parsed_args) or 0
  File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/service.py", line 212, in take_action
    raise exceptions.CommandError(msg)
CommandError: Compute service nova-compute of host overcloud-osd-compute-0 failed to set.

Environment

  • Red Hat Openstack Platform >= 12

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content