Fix resume_guests_state_on_host_boot_enabled fact
NovaResumeGuestsStateOnHostBoot is a role parameter so we need to get the value from there. Conflicts: deployment/nova/nova-compute-container-puppet.yaml Change-Id: I9e13491b6f86143f507d2b56fa1eed83204418d0 Closes-Bug: 1837731 (cherry picked from commit835dcd56c9
) (cherry picked from commit8fe366434d
)
This commit is contained in:
parent
c899536efc
commit
28fb474e78
|
@ -284,6 +284,7 @@ resources:
|
|||
nfs_options: NovaNfsOptions
|
||||
nfs_vers: NovaNfsVersion
|
||||
nova::compute::libvirt::mem_stats_period_seconds: NovaLibvirtMemStatsPeriodSeconds
|
||||
resume_guests_state_on_host_boot: NovaResumeGuestsStateOnHostBoot
|
||||
- values: {get_param: [RoleParameters]}
|
||||
- values:
|
||||
NovaVcpuPinSet: {get_param: NovaVcpuPinSet}
|
||||
|
@ -410,7 +411,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
|
||||
when: resume_guests_state_on_host_boot_enabled|bool
|
||||
block:
|
||||
|
|
Loading…
Reference in New Issue