tempest extend/shrink tests may use wrong share export location

Bug #1848278 reported by Tom Barron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Low
Tom Barron

Bug Description

Manila shares may have multiple export locations in multiple address families -- IPv4 and IPv6 -- but the scenario tests that extend and shrink shares mount the shares using the first export location regardless of whether its address family is appropriate for the test. Consequently, one can have e.g. a compute instance attached only to an IPv4 network attempting a mount using an unreachable IPv6 export location so the mount attempt fails and the test case fails as well due to its own problems rather than to any problem with the code under test.

Tom Barron (tpb)
Changed in manila:
assignee: nobody → Tom Barron (tpb)
importance: Undecided → Medium
milestone: none → ussuri-2
Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :

The failures are sporadic on the CI because of the behavior of picking up these exports at random. It'd be nice to get the fix in at our convenience. Thanks, Tom!

Changed in manila:
importance: Medium → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila-tempest-plugin (master)

Fix proposed to branch: master
Review: https://review.opendev.org/704246

Changed in manila:
status: New → In Progress
Changed in manila:
milestone: ussuri-2 → ussuri-3
Changed in manila:
milestone: ussuri-3 → ussuri-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila-tempest-plugin (master)

Reviewed: https://review.opendev.org/704246
Committed: https://git.openstack.org/cgit/openstack/manila-tempest-plugin/commit/?id=645e4eb092a6cd7ba946ec949cec684112629eed
Submitter: Zuul
Branch: master

commit 645e4eb092a6cd7ba946ec949cec684112629eed
Author: Tom Barron <email address hidden>
Date: Tue Oct 15 17:26:41 2019 -0400

    Fix export location used for extend/shrink tests

    Instead of using the first export location, use the first export
    location matching the address family (IPv4 or IPv6) to be used
    for the mount.

    Closes-Bug: #1848278
    Change-Id: Ia2a0fefc34085e21e521acb7ccfdeecef7fda186

Changed in manila:
status: In Progress → Fix Released
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.