← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1324400] Re: Invalid EC2 instance type for a volume backed instance

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-rc1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1324400

Title:
  Invalid EC2 instance  type for a volume backed instance

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  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/

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1324400/+subscriptions


References