Fix resume_guests_state_on_host_boot_enabled fact
NovaResumeGuestsStateOnHostBoot is a role parameter so we need to get the value from there. Change-Id: I9e13491b6f86143f507d2b56fa1eed83204418d0 Closes-Bug: 1837731
This commit is contained in:
parent
6d905a89b2
commit
835dcd56c9
|
@ -388,6 +388,7 @@ resources:
|
|||
nova::compute::libvirt::num_pcie_ports: NovaLibvirtNumPciePorts
|
||||
nova::compute::libvirt::mem_stats_period_seconds: NovaLibvirtMemStatsPeriodSeconds
|
||||
nova::compute::rbd::ephemeral_storage: NovaEnableRbdBackend
|
||||
resume_guests_state_on_host_boot: NovaResumeGuestsStateOnHostBoot
|
||||
- values: {get_param: [RoleParameters]}
|
||||
- values:
|
||||
NovaVcpuPinSet: {get_param: NovaVcpuPinSet}
|
||||
|
@ -749,7 +750,7 @@ outputs:
|
|||
when: nfs_backend_enable|bool
|
||||
- name: is Nova Resume Guests State On Host Boot enabled
|
||||
set_fact:
|
||||
resume_guests_state_on_host_boot_enabled: {get_param: NovaResumeGuestsStateOnHostBoot}
|
||||
resume_guests_state_on_host_boot_enabled: {get_attr: [RoleParametersValue, value, resume_guests_state_on_host_boot]}
|
||||
- name: install libvirt-guests systemd unit file (docker)
|
||||
when:
|
||||
- resume_guests_state_on_host_boot_enabled|bool
|
||||
|
|
Loading…
Reference in New Issue