Merge "Do not failed when there is no nova-compute is running"

This commit is contained in:
Jenkins 2017-02-22 02:50:06 +00:00 committed by Gerrit Code Review
commit d79c97eb26
2 changed files with 4 additions and 0 deletions

View File

@ -26,5 +26,8 @@
changed_when:
- cell_setup | success
- '"Cell0 is already setup" not in cell_setup.stdout'
failed_when:
- cell_setup.rc != 0
- '"No hosts found to map to cell, exiting." not in cell_setup.stdout'
run_once: True
delegate_to: "{{ groups['nova-api'][0] }}"

View File

@ -228,6 +228,7 @@ api_paste_config = /etc/nova/api-paste.ini
[scheduler]
max_attempts = 10
discover_hosts_in_cells_interval = 60
# TODO(sdake): rework this hacky workaround after the placement API is
# implemented in the Kolla-kubernetes deliverable.