fix the issue for auto-assign device name during attachment
Bug #1369577 reported by
Terry Yao
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powervc-driver |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
In current powervc driver, it does not support the volume attachment without supplying a device name. it will success in the first volume attachment and it's attached to /dev/sdb, but fails on second volume attachment as it still reserve the "/dev/sdb".
The root cause is that powervc driver sync code always set the instance root_device_name to None, although PowerVC does not use the root_device_name, but we need to set that in hosting openstack side to make it works on hosting openstack side.
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/121753 /git.openstack. org/cgit/ stackforge/ powervc- driver/ commit/ ?id=e7c995a5885 4553587f415a374 f50954634f0a18
Committed: https:/
Submitter: Jenkins
Branch: master
commit e7c995a58854553 587f415a374f509 54634f0a18
Author: Terry Yao <email address hidden>
Date: Mon Sep 15 13:43:23 2014 +0800
Auto assign volume device name during attachment
In current powervc driver code, our sync code will always set the nova device_ name from it's implemenation, for PowerVC driver, we just
instance root_device_name as None, this will break nova framework's
device name auto-assign function if the device name is not provide while
volume attachment. PowerVC itself will not set it's instance
root_
get the device name of the boot volume from the powervc side, and make
it as the root_device_name of the nova instance.
Closes-Bug: #1369577 9f8c34cfa4f0a17 36b90402a90
Change-Id: I7e71573e7b83ec