Files
openstack-ansible-os_nova/tasks/nova_db_setup.yml
Logan V d2da078745 Fix idempotence for nova cell1 create
nova-manage returns 0 if the cell is created, 1 if the cell creation
fails, and 2 if the cell already exists. So we can use the return
codes from nova-manage to avoid failure when the cell already exists,
and also to properly set ansible's ok/changed status.

1102441a42/nova/cmd/manage.py (L1425)

Change-Id: I078caf682aa01db6d5a1472946b25159f3473586
2017-02-09 15:43:12 +00:00

2.3 KiB