summaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-03-30 11:51:07 +0000
committerGerrit Code Review <review@openstack.org>2017-03-30 11:51:07 +0000
commitfb35ffb1c4f17a22b6bf53501c4cbc34f9a4bc41 (patch)
tree0b4ed9de56994671ce967dab2b95d77ef7c49c8d /puppet
parent8022b520d365055b9ad9be1f57b52fed556e1d45 (diff)
parentab4adb9fb1b1ba003a8045ce4c3879f88ea243b3 (diff)
Merge "[N->O] is creating 2 default cell_v2 cells"
Diffstat (limited to 'puppet')
-rw-r--r--puppet/services/nova-api.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/puppet/services/nova-api.yaml b/puppet/services/nova-api.yaml
index 6f90409b..22fae897 100644
--- a/puppet/services/nova-api.yaml
+++ b/puppet/services/nova-api.yaml
@@ -250,15 +250,15 @@ outputs:
command: nova-manage db sync
async: {get_param: NovaDbSyncTimeout}
poll: 10
- - name: Setup cell_v2 (migrate hosts)
- tags: step5
- when: is_bootstrap_node
- command: nova-manage cell_v2 map_cell_and_hosts
- name: Setup cell_v2 (get cell uuid)
tags: step5
when: is_bootstrap_node
shell: nova-manage cell_v2 list_cells | sed -e '1,3d' -e '$d' | awk -F ' *| *' '$2 == "default" {print $4}'
register: nova_api_cell_uuid
+ - name: Setup cell_v2 (migrate hosts)
+ tags: step5
+ when: is_bootstrap_node
+ command: nova-manage cell_v2 discover_hosts --cell_uuid {{nova_api_cell_uuid.stdout}} --verbose
- name: Setup cell_v2 (migrate instances)
tags: step5
when: is_bootstrap_node