volume status is turning to "in-use" right without waiting the actual status in powervc side
Bug #1402467 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 logic, the waiting logic for the volume is only check the nova os-volume_
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/141688 /git.openstack. org/cgit/ stackforge/ powervc- driver/ commit/ ?id=9b9d3d05a7e c71733a3cf4ec42 d9f2a9ed788bfa
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9b9d3d05a7ec717 33a3cf4ec42d9f2 a9ed788bfa
Author: terryyao <email address hidden>
Date: Mon Dec 15 09:45:29 2014 +0800
Complete volume attachment until volume become to 'in-use'
1. Move the wait volume state logic from nova to cinder
2. Wait volume state to be "in-use", then complete volume attachment
3. Change volume sync code to not sync "attaching" or "detaching" state
as if sync code change such state, then volume attach/detach will be
broken
Closes-Bug: #1402467 8788a932d05e94f 55a3b8d6333
Change-Id: I3640afe9ad4aba