Cloud-Init fails to deal with SWAP and Ephemeral if virtio-scsi is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Medium
|
Unassigned |
Bug Description
Hello!
In my OpenStack environment, everything works great! Including Cloud-Init.
However, I can not use virtio-blk anymore (i.e., /dev/vdX devices), because it is too slow.
I changed to virtio-scsi (i.e., /dev/sdX devices) and the IOPS is more than double!
But, after this change in Glance images, Cloud-Init is failing to make the SWAP and to mount the Ephemeral volumes.
* Here is a normal log (with virtio-blk):
http://
So, after changing my Ubuntu image properties on Glance, like this:
glance image-update --property hw_scsi_
Cloud Init is now failing to make the SWAP, also Ephemeral is not mounted!
* Here is the error log (with virtio-scsi):
http://
Image used in Glance:
http://
If I bring back virtio-blk, cloud-init works again (same Image, same Flavor).
But, I can't use virtio-blk because it is very slow in my system! The virtio-scsi rocks!
Cheers!
Thiago
Changed in cloud-init: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Can you please collect the config drive that was used ?
at very least we want to get the metadata off it. but just as easy to grab the whole thing.