Comment 4 for bug 1302774

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Related fix merged to tempest (master)

Reviewed: https://review.openstack.org/89723
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=3b563355ec49568b4c1098a0915527b107359056
Submitter: Jenkins
Branch: master

commit 3b563355ec49568b4c1098a0915527b107359056
Author: Sean Dague <email address hidden>
Date: Tue Apr 22 20:00:46 2014 -0400

    fix test_compute_with_volumes

    The test_integration_1 test was waiting on volume being in an
    'in-use' state before proceeding. However the 'in-use' state
    doesn't actually mean that the volume is attached, as 'attaching'
    gets mapped to 'in-use' in nova.

    This makes it possible for the test to proceed when the volume is
    in an attaching state, and not actually ever attached. Which means
    you can get to the detach phase on an non attached volume, and
    thus explode.

    Use the attachment status to filter out when then volume is not
    actually ready.

    In the process, make the test name something that's actually
    descriptive for what it does.

    Related-Bug: #1302774

    Change-Id: Iaeb6a42a39b4adf8cb4bdff64efe00bf14821725