VM won't start if cloud-init is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Medium
|
sean mooney | ||
Mitaka |
Fix Released
|
Medium
|
sean mooney |
Bug Description
Hi,
I am trying to leverage cloud-init on my kolla / openstack system. The flat_injected and force_config_drive are set to True in my nova.conf file (that I've changed in /etc/kolla/
Then, I boot a VM with that command:
$ docker-ostk nova boot --flavor m1.medium --image testVMimage --nic net-id=<<id of my network>> --availability-zone nova:compute1 ext-vm2
The web UI reports this on the VM overview page: Build of instance <<my vm id>> was re-scheduled: [Errno 2] No such file or directory
The nova_compute container reports this log:
2016-01-26 20:40:21.631 1 INFO nova.virt.
2016-01-26 20:40:22.223 1 INFO nova.virt.
2016-01-26 20:40:22.385 1 INFO nova.virt.
2016-01-26 20:40:22.581 1 ERROR nova.compute.
2016-01-26 20:40:22.581 1 TRACE nova.compute.
2016-01-26 20:40:22.581 1 TRACE nova.compute.
2016-01-26 20:40:22.581 1 TRACE nova.compute.
Meanwhile, the compute hosts reports issue with NBD:
^C[root@blade6 ~]# ps -ef|grep defun
root 23263 22431 0 12:40 ? 00:00:00 [qemu-nbd] <defunct>
root 23264 22431 0 12:40 ? 00:00:00 [qemu-nbd] <defunct>
root 23344 4881 0 12:41 pts/0 00:00:00 grep --color=auto defun
[root@blade6 ~]# dmesg | grep -i nbd
[ 1065.822948] block nbd11: NBD_DISCONNECT
[ 1065.823140] block nbd11: Unexpected reply (ffff881fb9381c88)
[ 1065.823344] block nbd11: queue cleared
[ 1911.369869] block nbd4: NBD_DISCONNECT
[ 1911.369967] block nbd4: Unexpected reply (ffff883f830a9c88)
[ 1911.370189] block nbd4: queue cleared
[ 2008.686886] block nbd8: NBD_DISCONNECT
Not sure it's relevant though.
Question: is even cloud-init supported in Kolla? If so, what am I doing wrong?
Thanks,
JB
Changed in kolla: | |
milestone: | mitaka-3 → mitaka-rc1 |
Changed in kolla: | |
milestone: | mitaka-rc1 → mitaka-rc2 |
no longer affects: | kolla/newton |
no longer affects: | kolla/mitaka |
tags: | added: rc-backport-potential |
Changed in kolla: | |
milestone: | mitaka-rc2 → newton-1 |
the container was lacking geniso package. After adding it, it works.