Merge "Allow resize to same host in all-in-one" into stable/ocata
This commit is contained in:
commit
581dd8ff2e
|
@ -352,6 +352,8 @@ def create_compute_manifest(config, messages):
|
|||
'qemu+tcp://nova@%s/system'
|
||||
)
|
||||
|
||||
config["CONFIG_NOVA_ALLOW_RESIZE_TO_SAME"] = len(compute_hosts) == 1
|
||||
|
||||
ssh_keys_details = {}
|
||||
for host in compute_hosts:
|
||||
try:
|
||||
|
|
|
@ -57,6 +57,7 @@ class packstack::nova::compute ()
|
|||
pci_passthrough => hiera('CONFIG_NOVA_PCI_PASSTHROUGH_WHITELIST'),
|
||||
instance_usage_audit => $instance_usage_audit,
|
||||
instance_usage_audit_period => $instance_usage_audit_period,
|
||||
allow_resize_to_same_host => hiera('CONFIG_NOVA_ALLOW_RESIZE_TO_SAME'),
|
||||
}
|
||||
|
||||
class { '::nova::placement':
|
||||
|
|
Loading…
Reference in New Issue