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
1=== modified file 'templates/grizzly/nova.conf'
2--- templates/grizzly/nova.conf 2014-07-10 09:17:19 +0000
3+++ templates/grizzly/nova.conf 2015-12-04 20:24:29 +0000
4@@ -21,6 +21,8 @@
5 enabled_apis=ec2,osapi_compute,metadata
6 auth_strategy=keystone
7 compute_driver=libvirt.LibvirtDriver
8+allow_resize_to_same_host=true
9+allow_migrate_to_same_host=true
10
11 {% include "parts/database" %}
12
13
14=== modified file 'templates/havana/nova.conf'
15--- templates/havana/nova.conf 2015-09-25 14:58:23 +0000
16+++ templates/havana/nova.conf 2015-12-04 20:24:29 +0000
17@@ -15,6 +15,8 @@
18 state_path=/var/lib/nova
19 lock_path=/var/lock/nova
20 force_dhcp_release=True
21+allow_migrate_to_same_host=true
22+allow_resize_to_same_host=true
23
24 {% if arch == 'aarch64' -%}
25 libvirt_use_virtio_for_bridges=False
26
27=== modified file 'templates/icehouse/nova.conf'
28--- templates/icehouse/nova.conf 2015-09-25 14:58:23 +0000
29+++ templates/icehouse/nova.conf 2015-12-04 20:24:29 +0000
30@@ -15,6 +15,8 @@
31 state_path=/var/lib/nova
32 lock_path=/var/lock/nova
33 force_dhcp_release=True
34+allow_resize_to_same_host=true
35+allow_migrate_to_same_host=true
36
37 {% if arch == 'aarch64' -%}
38 libvirt_use_virtio_for_bridges=False
39
40=== modified file 'templates/juno/nova.conf'
41--- templates/juno/nova.conf 2015-10-14 14:08:38 +0000
42+++ templates/juno/nova.conf 2015-12-04 20:24:29 +0000
43@@ -15,6 +15,8 @@
44 state_path=/var/lib/nova
45 lock_path=/var/lock/nova
46 force_dhcp_release=True
47+allow_migrate_to_same_host=true
48+allow_resize_to_same_host=true
49
50 {% if arch == 'aarch64' -%}
51 libvirt_use_virtio_for_bridges=False
52
53=== modified file 'templates/kilo/nova.conf'
54--- templates/kilo/nova.conf 2015-11-04 16:06:18 +0000
55+++ templates/kilo/nova.conf 2015-12-04 20:24:29 +0000
56@@ -20,6 +20,8 @@
57 enabled_apis=ec2,osapi_compute,metadata
58 auth_strategy=keystone
59 my_ip = {{ host_ip }}
60+allow_resize_to_same_host=true
61+allow_migrate_to_same_host=true
62
63 {% if arch == 'aarch64' -%}
64 libvirt_use_virtio_for_bridges=False

Subscribers

People subscribed via source and target branches