← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1660160] Re: No host-to-cell mapping found for selected host

 

Something in your config has been preventing compute nodes from creating
their compute node records for much longer than the referenced patch has
been in place. I picked a random older run and found the same compute
node record create failure:

 http://logs.openstack.org/95/422795/4/check/gate-tripleo-ci-
centos-7-undercloud/9d4dda4/logs/var/log/nova/nova-
compute.txt.gz#_2017-01-20_15_58_59_030

The referenced patch does require those compute node records, just like
many other pieces of nova (your resource tracking will be wrong without
it) but it is only related in as much as it requires them to be there in
order to boot an instance. The ComputeNode records are very fundamental
to Nova and have been for years, before cellsv2 was even a thing.

Without the compute node records, the discover_hosts step will not be
able to create HostMapping records for the compute nodes, which is what
the "No host-to-cell mapping" message is about.

So, this is, IMHO, not a Nova bug but just something config-related on
the tripleo side. I'm not sure what exactly would cause that compute
node record create failure, but I expect it's something minor.

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

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

Title:
  No host-to-cell mapping found for selected host

Status in OpenStack Compute (nova):
  Invalid
Status in tripleo:
  Triaged

Bug description:
  This report is maybe not a bug but I found useful to share what happens in TripleO since this commit:
  https://review.openstack.org/#/c/319379/

  We are unable to deploy the overcloud nodes anymore (in other words,
  create servers with Nova / Ironic).

  Nova Conductor sends this message:
  "No host-to-cell mapping found for selected host"
  http://logs.openstack.org/31/426231/1/check-tripleo/gate-tripleo-ci-centos-7-ovb-ha/915aeba/logs/undercloud/var/log/nova/nova-conductor.txt.gz#_2017-01-27_19_21_56_348

  And it sounds like the compute host is not registered:
  http://logs.openstack.org/31/426231/1/check-tripleo/gate-tripleo-ci-centos-7-ovb-ha/915aeba/logs/undercloud/var/log/nova/nova-compute.txt.gz#_2017-01-27_18_56_56_543

  Nova Config is available here:
  http://logs.openstack.org/31/426231/1/check-tripleo/gate-tripleo-ci-centos-7-ovb-ha/915aeba/logs/etc/nova/nova.conf.txt.gz

  That's all the details I have now, feel free for more details if
  needed.

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


References