Merge "Allow resize to same host in all-in-one" into stable/ocata

This commit is contained in:
Jenkins 2017-03-10 11:55:18 +00:00 committed by Gerrit Code Review
commit 581dd8ff2e
2 changed files with 3 additions and 0 deletions

View File

@ -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:

View File

@ -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':