Merge lp:~jamesbeedy/charms/trusty/nova-compute/fix_instance_resize into lp:~openstack-charmers-archive/charms/trusty/nova-compute/next

Proposed by james beedy
Status: Needs review
Proposed branch: lp:~jamesbeedy/charms/trusty/nova-compute/fix_instance_resize
Merge into: lp:~openstack-charmers-archive/charms/trusty/nova-compute/next
Diff against target: 64 lines (+10/-0)
5 files modified
templates/grizzly/nova.conf (+2/-0)
templates/havana/nova.conf (+2/-0)
templates/icehouse/nova.conf (+2/-0)
templates/juno/nova.conf (+2/-0)
templates/kilo/nova.conf (+2/-0)
To merge this branch: bzr merge lp:~jamesbeedy/charms/trusty/nova-compute/fix_instance_resize
Reviewer Review Type Date Requested Status
OpenStack Charmers Pending
Review via email: mp+279653@code.launchpad.net

Description of the change

Added configs to nova.conf to fix facilitate instance resize.

Fixes: Bug #1522950

To post a comment you must log in.
Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #14875 nova-compute-next for jamesbeedy mp279653
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/14875/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #13872 nova-compute-next for jamesbeedy mp279653
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/13872/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #8144 nova-compute-next for jamesbeedy mp279653
    AMULET FAIL: amulet-test failed

AMULET Results (max last 2 lines):
make: *** [functional_test] Error 1
ERROR:root:Make target returned non-zero.

Full amulet test output: http://paste.ubuntu.com/13679595/
Build: http://10.245.162.77:8080/job/charm_amulet_test/8144/

Unmerged revisions

186. By james beedy

Added configs to nova.conf to enable support for instance resize.

Added allow_resize_to_same_host=true” and “allow_migrate_to_same_host=true”
to nova.conf files for each openstack release to facilitate instance resize.

Fixes: Bug #1522950

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'templates/grizzly/nova.conf'
--- templates/grizzly/nova.conf 2014-07-10 09:17:19 +0000
+++ templates/grizzly/nova.conf 2015-12-04 20:24:29 +0000
@@ -21,6 +21,8 @@
21enabled_apis=ec2,osapi_compute,metadata21enabled_apis=ec2,osapi_compute,metadata
22auth_strategy=keystone22auth_strategy=keystone
23compute_driver=libvirt.LibvirtDriver23compute_driver=libvirt.LibvirtDriver
24allow_resize_to_same_host=true
25allow_migrate_to_same_host=true
2426
25{% include "parts/database" %}27{% include "parts/database" %}
2628
2729
=== modified file 'templates/havana/nova.conf'
--- templates/havana/nova.conf 2015-09-25 14:58:23 +0000
+++ templates/havana/nova.conf 2015-12-04 20:24:29 +0000
@@ -15,6 +15,8 @@
15state_path=/var/lib/nova15state_path=/var/lib/nova
16lock_path=/var/lock/nova16lock_path=/var/lock/nova
17force_dhcp_release=True17force_dhcp_release=True
18allow_migrate_to_same_host=true
19allow_resize_to_same_host=true
1820
19{% if arch == 'aarch64' -%}21{% if arch == 'aarch64' -%}
20libvirt_use_virtio_for_bridges=False22libvirt_use_virtio_for_bridges=False
2123
=== modified file 'templates/icehouse/nova.conf'
--- templates/icehouse/nova.conf 2015-09-25 14:58:23 +0000
+++ templates/icehouse/nova.conf 2015-12-04 20:24:29 +0000
@@ -15,6 +15,8 @@
15state_path=/var/lib/nova15state_path=/var/lib/nova
16lock_path=/var/lock/nova16lock_path=/var/lock/nova
17force_dhcp_release=True17force_dhcp_release=True
18allow_resize_to_same_host=true
19allow_migrate_to_same_host=true
1820
19{% if arch == 'aarch64' -%}21{% if arch == 'aarch64' -%}
20libvirt_use_virtio_for_bridges=False22libvirt_use_virtio_for_bridges=False
2123
=== modified file 'templates/juno/nova.conf'
--- templates/juno/nova.conf 2015-10-14 14:08:38 +0000
+++ templates/juno/nova.conf 2015-12-04 20:24:29 +0000
@@ -15,6 +15,8 @@
15state_path=/var/lib/nova15state_path=/var/lib/nova
16lock_path=/var/lock/nova16lock_path=/var/lock/nova
17force_dhcp_release=True17force_dhcp_release=True
18allow_migrate_to_same_host=true
19allow_resize_to_same_host=true
1820
19{% if arch == 'aarch64' -%}21{% if arch == 'aarch64' -%}
20libvirt_use_virtio_for_bridges=False22libvirt_use_virtio_for_bridges=False
2123
=== modified file 'templates/kilo/nova.conf'
--- templates/kilo/nova.conf 2015-11-04 16:06:18 +0000
+++ templates/kilo/nova.conf 2015-12-04 20:24:29 +0000
@@ -20,6 +20,8 @@
20enabled_apis=ec2,osapi_compute,metadata20enabled_apis=ec2,osapi_compute,metadata
21auth_strategy=keystone21auth_strategy=keystone
22my_ip = {{ host_ip }}22my_ip = {{ host_ip }}
23allow_resize_to_same_host=true
24allow_migrate_to_same_host=true
2325
24{% if arch == 'aarch64' -%}26{% if arch == 'aarch64' -%}
25libvirt_use_virtio_for_bridges=False27libvirt_use_virtio_for_bridges=False

Subscribers

People subscribed via source and target branches