volume status is turning to "in-use" right without waiting the actual status in powervc side

Bug #1402467 reported by Terry Yao
6
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_attachments if it contains the volumes or not, that's wrong, we need to check the actual volume state in powervc side and wait for it's turned to "in-use", then the volume attachment is done at that time

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to powervc-driver (master)

Reviewed: https://review.openstack.org/141688
Committed: https://git.openstack.org/cgit/stackforge/powervc-driver/commit/?id=9b9d3d05a7ec71733a3cf4ec42d9f2a9ed788bfa
Submitter: Jenkins
Branch: master

commit 9b9d3d05a7ec71733a3cf4ec42d9f2a9ed788bfa
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
    Change-Id: I3640afe9ad4aba8788a932d05e94f55a3b8d6333

Changed in powervc-driver:
status: New → Fix Committed
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.