← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1686744] [NEW] Unable to add compute host to aggregate if no ironic nodes present

 

Public bug reported:

After the cell-ification of the aggregates API, it is not possible to
add a compute to an aggregate if that compute does not expose any
ComputeNode objects. This can happen  if the hash ring does not allocate
any ironic nodes to one of the computes (i.e. more services than ironic
nodes) or if there are not yet any nodes present in ironic. You get the
following message:

 openstack aggregate add host baremetal-hosts overcloud-
controller-0.localdomain

 Result:
 Host 'overcloud-controller-0.localdomain' is not mapped to any cell (HTTP 404) (Request-ID: req-
 42525c1d-c419-4ea4-bb7c-7caa1d57a613)

This is confusing because the service is exposed in service-list and
should be a candidate for adding to an aggregate.

** Affects: nova
     Importance: Medium
     Assignee: Dan Smith (danms)
         Status: Confirmed

** Changed in: nova
     Assignee: (unassigned) => Dan Smith (danms)

** Changed in: nova
   Importance: Undecided => Medium

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

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

Title:
  Unable to add compute host to aggregate if no ironic nodes present

Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  After the cell-ification of the aggregates API, it is not possible to
  add a compute to an aggregate if that compute does not expose any
  ComputeNode objects. This can happen  if the hash ring does not
  allocate any ironic nodes to one of the computes (i.e. more services
  than ironic nodes) or if there are not yet any nodes present in
  ironic. You get the following message:

   openstack aggregate add host baremetal-hosts overcloud-
  controller-0.localdomain

   Result:
   Host 'overcloud-controller-0.localdomain' is not mapped to any cell (HTTP 404) (Request-ID: req-
   42525c1d-c419-4ea4-bb7c-7caa1d57a613)

  This is confusing because the service is exposed in service-list and
  should be a candidate for adding to an aggregate.

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


Follow ups