Correct use of reserved_host_memory{_mb}

The charm templates use the invalid configuration option:

 reserved_host_memory

to configure the reserved memory for a compute host; update
this to:

 reserved_host_memory_mb

to ensure that memory gets correctly reserved for the host.

Change-Id: I7b8089b165fddc023305ee37efe95e571e8d2407
Closes-Bug: #1646657
This commit is contained in:
James Page 2016-12-02 11:39:50 +00:00
parent 6a7571f2ad
commit a5320d7d19
10 changed files with 10 additions and 10 deletions

View File

@ -116,7 +116,7 @@ instances_path = {{ instances_path }}
{% if vcpu_pin_set -%}
vcpu_pin_set = {{ vcpu_pin_set }}
{% endif -%}
reserved_host_memory = {{ reserved_host_memory }}
reserved_host_memory_mb = {{ reserved_host_memory }}
{% if pci_passthrough_whitelist -%}
pci_passthrough_whitelist = {{ pci_passthrough_whitelist }}

View File

@ -122,7 +122,7 @@ notify_on_state_change = {{ notify_on_state_change }}
{% if vcpu_pin_set -%}
vcpu_pin_set = {{ vcpu_pin_set }}
{% endif -%}
reserved_host_memory = {{ reserved_host_memory }}
reserved_host_memory_mb = {{ reserved_host_memory }}
{% if pci_passthrough_whitelist -%}
pci_passthrough_whitelist = {{ pci_passthrough_whitelist }}

View File

@ -123,7 +123,7 @@ notify_on_state_change = {{ notify_on_state_change }}
{% if vcpu_pin_set -%}
vcpu_pin_set = {{ vcpu_pin_set }}
{% endif -%}
reserved_host_memory = {{ reserved_host_memory }}
reserved_host_memory_mb = {{ reserved_host_memory }}
{% if pci_passthrough_whitelist -%}
pci_passthrough_whitelist = {{ pci_passthrough_whitelist }}

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#
# Copyright 2016 Canonical Ltd
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#
# Copyright 2016 Canonical Ltd
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#
# Copyright 2016 Canonical Ltd
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#
# Copyright 2016 Canonical Ltd
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#
# Copyright 2016 Canonical Ltd
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#
# Copyright 2016 Canonical Ltd
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#
# Copyright 2016 Canonical Ltd
#