Update Nova allocation playbook for Queens
Change-Id: I7552a57669cc20d9e13317ce9e7d7ef175229c48
This commit is contained in:
parent
33fe6d6f87
commit
7d2de55b45
@ -51,10 +51,10 @@
|
|||||||
nova_config_file: /etc/nova/nova.conf
|
nova_config_file: /etc/nova/nova.conf
|
||||||
when: "('Newton' in osp_version['content'] | b64decode or 'Ocata' in osp_version['content'] | b64decode)"
|
when: "('Newton' in osp_version['content'] | b64decode or 'Ocata' in osp_version['content'] | b64decode)"
|
||||||
|
|
||||||
- name: (Pike) Set Config File based on OpenStack Version
|
- name: (Pike, Queens) Set Config File based on OpenStack Version
|
||||||
set_fact:
|
set_fact:
|
||||||
nova_config_file: /var/lib/config-data/puppet-generated/nova_libvirt/etc/nova/nova.conf
|
nova_config_file: /var/lib/config-data/puppet-generated/nova_libvirt/etc/nova/nova.conf
|
||||||
when: "'Pike' in osp_version['content'] | b64decode"
|
when: "('Pike' in osp_version['content'] | b64decode or 'Queens' in osp_version['content'] | b64decode)"
|
||||||
|
|
||||||
- name: Set default cpu_allocation_ratio/ram_allocation_ratio/disk_allocation_ratio configuration for Nova
|
- name: Set default cpu_allocation_ratio/ram_allocation_ratio/disk_allocation_ratio configuration for Nova
|
||||||
set_fact:
|
set_fact:
|
||||||
@ -120,10 +120,10 @@
|
|||||||
- "'controller' in group_names"
|
- "'controller' in group_names"
|
||||||
- restart_nova
|
- restart_nova
|
||||||
|
|
||||||
- name: (Pike) Restart Nova Compute Container
|
- name: (Pike, Queens) Restart Nova Compute Container
|
||||||
become: true
|
become: true
|
||||||
command: docker restart nova_compute
|
command: docker restart nova_compute
|
||||||
when:
|
when:
|
||||||
- "'Pike' in osp_version['content'] | b64decode"
|
- "('Pike' in osp_version['content'] | b64decode or 'Queens' in osp_version['content'] | b64decode)"
|
||||||
- "'compute' in group_names"
|
- "'compute' in group_names"
|
||||||
- restart_nova
|
- restart_nova
|
||||||
|
Loading…
x
Reference in New Issue
Block a user