Since nova.virt.driver:LibvirtDriver.get_guest_config prepends instance root_device_name with 'dev' prefix, root_device_name may not coincide with device_name in block device mapping structure.
In this case describe instances operation reports wrong instance type: instance-store instead of ebs.
Environment: DevStack
Steps to reproduce:
1 Create volume backed instance passing vda as root device name
$ cinder create --image-id xxx 1
$ nova boot --flavor m1.nano --block-device-mapping vda=yyy:::1 inst
Note. I used cirros ami image.
2 Describe instances
$ euca-describe-instances
Look on instace type. It must be ebs, but it is instance-store in the output.
Note. If euca-describe-instance crashes on ebs instnce, apply https://review.openstack.org/#/c/95580/
Fix proposed to branch: master /review. openstack. org/96399
Review: https:/