Re: [Openstack-operators] Inverted drive letters on block devices that use virtio-scsi

2018-01-25 Thread Tim Bell
Labels can be one approach where you mount by disk label rather than device Creating the volume with the label # mkfs -t ext4 -L testvol /dev/vdb /etc/fstab then contains LABEL=testvol /mnt ext4 noatime,nodiratime,user_xattr0 0 You still need to be careful to not attach data disks

Re: [Openstack-operators] Inverted drive letters on block devices that use virtio-scsi

2018-01-25 Thread Jean-Philippe Méthot
Yea, the configdrive is a non-issue for us since we don’t use those. The multi-drive issue is the only one really affecting us. While removing the second drive and reattaching it after boot is probably a good solution, I think it’s likely the issue will come back after a hard reboot or migration

Re: [Openstack-operators] Inverted drive letters on block devices that use virtio-scsi

2018-01-25 Thread Logan V.
There is a small patch in the bug which resolves the config drive ordering. Without that patch I don't know of any workaround. The config drive will always end up first in the boot order and the instance will always fail to boot in that situation. For the multi-volume instances where the boot volu

Re: [Openstack-operators] Inverted drive letters on block devices that use virtio-scsi

2018-01-25 Thread Jean-Philippe Méthot
Thank you, it indeed seems to be the same issue. I will be following this bug report. A shame too, because we were waiting for the patch to allow us to setup 2 drives on virtio-scsi before starting to make the change. In the meantime, have you found a way to circumvent the issue? Could it be as

Re: [Openstack-operators] Inverted drive letters on block devices that use virtio-scsi

2018-01-25 Thread Logan V.
If you are running Ocata or later, please see https://bugs.launchpad.net/nova/+bug/1729584 There seems to be a broken series of patches related to virtio-scsi that were backported to Ocata resulting in some unresolved virtio-scsi drive ordering bugs. I see it primarily on virtio-scsi based instanc

[Openstack-operators] Inverted drive letters on block devices that use virtio-scsi

2018-01-25 Thread Jean-Philippe Méthot
Hi, Lately, we’ve been converting our VMs block devices (cinder block devices) to use the virtio-scsi driver instead of virtio-blk by modifying the database. This works great, however, we’ve run into an issue with an instance that has more than one drive. Essentially, the root device has addres

[Openstack-operators] Snapshot from Cinder to Glance doing a ceph rbd clone

2018-01-25 Thread Saverio Proto
Hello ops, we have this working for Nova ephemeral images already, but Cinder did not implement this spec: https://specs.openstack.org/openstack/cinder-specs/specs/liberty/optimze-rbd-copy-volume-to-image.html Is anyone carrying an unmerged patch that implements this spec ? I could not believe my