Can't attach volume to instance via api
Bug #1580490 reported by
Ilya Bumarskov
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mirantis OpenStack | Status tracked in 10.0.x | |||||
10.0.x |
Invalid
|
Undecided
|
Ilya Bumarskov | |||
9.x |
Invalid
|
High
|
Ilya Bumarskov |
Bug Description
Detailed bug description:
Fuel ISO 9.0 #299 with Mitaka release.
Volume can't be attached to instance properly using novaclient Python API.
Steps to reproduce:
Use novaclient Python API to create volume and attach it to instance. Here is a code example:
def attach_volume(self, volume, server, mount='/dev/vdb'):
return self.cinder.
Expected results:
Volume status is 'in-use' and attached to instance.
Actual result:
Volume has 'in-use' status, but instance doesn't have attached volume (see the screenshots).
Workaround:
Use UI or CLI for attaching volumes.
To post a comment you must log in.
This bug affects only users who will use python client to attach volumes, we can't reproduce it via Horizon or CLI (and it is strange).