Should not allow duplicate device name when provide bdm for create

Bug #1648323 reported by Zhenyu Zheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Low
Unassigned

Bug Description

Currently when we create instance with bdm provided, if multiple bdm is using the same device name, for example, all of them are vdb, the latter bdm will override the previous
bdms and it will lead to only one bdm created.

We should raise error for this kind of scenario.

A test log can be found in:
http://paste.openstack.org/show/591749

Tags: volumes
Changed in nova:
assignee: nobody → Zhenyu Zheng (zhengzhenyu)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/408475

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Zhenyu Zheng (<email address hidden>) on branch: master
Review: https://review.openstack.org/408475

Matt Riedemann (mriedem)
Changed in nova:
assignee: Zhenyu Zheng (zhengzhenyu) → nobody
status: In Progress → New
Revision history for this message
Matt Riedemann (mriedem) wrote :

According to the comments from Feodor on https://review.opendev.org/#/c/408475/ this is a valid bug but the solution needs work, so I'm going to mark this as confirmed but we'd likely want a functional recreate of the issue first and then a fix to go on top and show it's working.

tags: added: volumes
Changed in nova:
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.