[RFC] push libvirt-guests to enable compute node vm resumption
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Since I can't sign the contributor agreement in gerrit (some kind of failure "Cannot store contact information") I thought that I'd put this here.
Would this be the right way to do it? Any opinions on it?
Anyone that has tested if ON_SHUTDOWN=
commit cf547a3614c7daf
Author: pomac <email address hidden>
Date: Wed Jan 25 11:13:35 2017 +0100
[RFC] Push libvirt-guest settings to the container
According to multiple sources, the problem with vm:s not restarting
with the compute nodes is due to all things not being available yet.
This causes the machines to start, see that things are missing and
shut down again. According to the same sources, ON_SHUTDOWN should
be set to shutdown instead of suspend - but I really don't know if
that is the case.
Since there is no way to currently push this via ansible, this
patch should implement that basic functionality.
NOTE: the sysconfig dir is only used on ubuntu and RHEL/centos but
it seems like thats all kolla-ansible cares about at the moment.
diff --git a/ansible/
index da21922..9813dec 100644
--- a/ansible/
+++ b/ansible/
@@ -76,6 +76,7 @@
with_items:
- { src: "qemu.conf.j2", dest: "qemu.conf" }
- { src: "libvirtd.conf.j2", dest: "libvirtd.conf" }
+ - { src: "libvirt-
- name: Copying files for nova-ssh
template:
diff --git a/ansible/
new file mode 100644
index 0000000..1364035
--- /dev/null
+++ b/ansible/
@@ -0,0 +1 @@
+ON_BOOT=ignore
diff --git a/ansible/
index aa19f7a..2f8307b 100644
--- a/ansible/
+++ b/ansible/
@@ -12,6 +12,12 @@
+ },
+ {
+ "source": "{{ container_
+ "dest": "/etc/sysconfig
+ "owner": "root",
+ "perm": "0644"
}{% if nova_backend == "rbd" %},
{
Changed in kolla-ansible: | |
importance: | Undecided → Wishlist |
Changed in kolla-ansible: | |
status: | New → Confirmed |
Were you able to sign the agreement to push the patch?