← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

Due to 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 passgin vda as root device name
$ cinder create --image-id xxx 1
$ nova boot --flavor m1.nano --image xxx --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/

** Affects: nova
     Importance: Undecided
     Assignee: Feodor Tersin (ftersin)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Feodor Tersin (ftersin)

-- 
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):
  New

Bug description:
  Due to 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 passgin vda as root device name
  $ cinder create --image-id xxx 1
  $ nova boot --flavor m1.nano --image xxx --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


Follow ups

References