← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1705346] Re: Cloud-Init fails to deal with SWAP and Ephemeral if virtio-scsi is enabled

 

Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/2957

** Bug watch added: github.com/canonical/cloud-init/issues #2957
   https://github.com/canonical/cloud-init/issues/2957

** Changed in: cloud-init
       Status: Confirmed => Expired

-- 
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:
  Expired

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



References