VMs that don't have config drive fail to start when force_config_drive=Always
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Medium
|
Zhenzan Zhou |
Bug Description
When force_config_
In our particular use case, we had NOT been using config drive for a while, and then enabled it with force_config_
2014-08-13 11:32:22.459 4711 ERROR nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
2014-08-13 11:32:22.459 4711 TRACE nova.openstack.
The work around for now is to just create a 0-byte file (or empty iso image) for disk.config on the VMs that didn't previously have one.
But, in our opinion, nova should not fail to boot the VM in this situation. I see there as three valid behaviors:
1. Recognize that the config drive is missing, but ignore it and do not attach a config drive device to the VM
2. Retroactively create the config drive disk for the VM if it is attempting to start and does not already have one.
3. Recreate the config drive disk for VMs on every boot. This has the added advantage of making the config drive dynamic.
description: | updated |
tags: | added: compute |
Changed in nova: | |
assignee: | nobody → BUSSY Jean-Daniel (silversurfer972) |
Changed in nova: | |
assignee: | Jean-Daniel Bussy (silversurfer972) → wuhao (wuhao) |
Changed in nova: | |
importance: | Low → Medium |
status: | In Progress → Triaged |
assignee: | wuhao (wuhao) → nobody |
tags: | added: libvirt |
Changed in nova: | |
assignee: | nobody → Zhenzan Zhou (zhenzan-zhou) |
Mike,
Do you have more logs? (especially nova-cpu)
thanks,
dims