simple_cell_setup should not exist with 1 when there is no compute hosts

Bug #1666029 reported by Jeffrey Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

    When deploying ironic environment, even though nova-compute is running,
    but there will be no compute nodes until adding ironic nodes. And the
    user may not start nova-compute for some reason during fresh deployment.

    So stop return 1 when there is no compute hosts in simple_cell_setup.

Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

This should be backported into ocata branch, imo.

Revision history for this message
Sylvain Bauza (sylvain-bauza) wrote :

We already discussed about that, and a change was also provided https://review.openstack.org/#/c/420079/ but if you see the status of that change, it was abandoned.

If you look at the reason why it was abandoned, it is because we made a consensus on leaving simple_cells_setup() as much simple and opiniated as possible and rather provide a step-by-step experience for operators deploying CellsV2 that you can see described in https://docs.openstack.org/developer/nova/cells.html#first-time-setup

Changed in nova:
status: New → Invalid
Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

But this will be failed when deploy nova+ironic only.

anyone considered this one?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.