Error running nova-manage cell_v2 simple_cell_setup when configuring nova with puppet-nova
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Sylvain Bauza | ||
Packstack |
Fix Released
|
Undecided
|
Unassigned | ||
puppet-nova |
Fix Released
|
Undecided
|
Alex Schultz | ||
tripleo |
Fix Released
|
Critical
|
Unassigned |
Bug Description
When installing and configuring nova with puppet-nova (with either tripleo, packstack or puppet-
Debug: Executing: '/usr/bin/
Debug: /Stage[
Notice: /Stage[
Notice: /Stage[
The issue seems to be that it's running "nova-manage cell_v2 simple_cell_setup" as part of the nova database initialization when no compute nodes have been created but it returns 1 in that case [1]. However, note that the previous steps (Cell0 mapping and schema migration) were successfully run.
I think for nova bootstrap a reasonable orchestrated workflow would be:
1. Create required databases (including the one for cell0).
2. Nova db sync
3. nova cell0 mapping and schema creation.
4. Adding compute nodes
5. mapping compute nodes (by running nova-manage cell_v2 discover_hosts)
For step 3 we'd need to get simple_cell_setup to return 0 when not having compute nodes, or having a different command.
With current behavior of nova-manage the only working workflow we can do is:
1. Create required databases (including the one for cell0).
2. Nova db sync
3. Adding all compute nodes
4. nova cell0 mapping and schema creation with "nova-manage cell_v2 simple_cell_setup".
Am I right?, Is there any better alternative?
[1] https:/
Changed in tripleo: | |
importance: | Undecided → Critical |
milestone: | none → ocata-3 |
status: | New → Triaged |
tags: | added: alert ci |
tags: | added: promotion-blocker |
tags: | added: cells nova-manage |
Changed in tripleo: | |
milestone: | ocata-3 → ocata-rc1 |
Changed in puppet-nova: | |
assignee: | Oliver Walsh (owalsh) → Alex Schultz (alex-schultz) |
Changed in tripleo: | |
status: | Triaged → Fix Released |
Changed in nova: | |
status: | In Progress → Invalid |
no longer affects: | nova/newton |
Changed in packstack: | |
status: | New → Fix Released |
Everything was working a few hours ago, I think it could be related to https:/ /review. openstack. org/#/c/ 409890