Public bug reported: 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://paste.ubuntu.com/25127354/ So, after changing my Ubuntu image properties on Glance, like this: glance image-update --property hw_scsi_model=virtio-scsi --property hw_disk_bus=scsi $UBUNTU_IMAGE_ID Cloud Init is now failing to make the SWAP, also Ephemeral is not mounted! * Here is the error log (with virtio-scsi): http://paste.ubuntu.com/25127989/ Image used in Glance: http://uec-images.ubuntu.com/releases/16.04/release/ubuntu-16.04 -server-cloudimg-amd64-disk1.img 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 ** Affects: cloud-init Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1705346 Title: Cloud-Init fails to deal with SWAP and Ephemeral if virtio-scsi is enabled Status in cloud-init: New 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://paste.ubuntu.com/25127354/ So, after changing my Ubuntu image properties on Glance, like this: glance image-update --property hw_scsi_model=virtio-scsi --property hw_disk_bus=scsi $UBUNTU_IMAGE_ID Cloud Init is now failing to make the SWAP, also Ephemeral is not mounted! * Here is the error log (with virtio-scsi): http://paste.ubuntu.com/25127989/ Image used in Glance: http://uec-images.ubuntu.com/releases/16.04/release/ubuntu-16.04 -server-cloudimg-amd64-disk1.img 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 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1705346/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

