← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1522329] [NEW] Check 'destination_type' instead of 'source_type' when boot instance by image and a volume with name 'vda'

 

Public bug reported:

In http://git.openstack.org/cgit/openstack/nova/tree/nova/compute/api.py#n796 , we have a logic to identify
whether the instance is boot using image and also a volume named 'vda'. But we use 'source_type' to identify.
We should use 'destination_type' = 'volume' as the identifier, as this will actually identify that a cinder volume 
will be added as 'vda'.

** Affects: nova
     Importance: Undecided
     Assignee: Zhenyu Zheng (zhengzhenyu)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu)

-- 
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/1522329

Title:
  Check 'destination_type' instead of 'source_type' when boot instance
  by image and a volume with name 'vda'

Status in OpenStack Compute (nova):
  New

Bug description:
  In http://git.openstack.org/cgit/openstack/nova/tree/nova/compute/api.py#n796 , we have a logic to identify
  whether the instance is boot using image and also a volume named 'vda'. But we use 'source_type' to identify.
  We should use 'destination_type' = 'volume' as the identifier, as this will actually identify that a cinder volume 
  will be added as 'vda'.

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


Follow ups