Tempest test failed because backend driver can not handle security service with fake data is used

Bug #1531758 reported by zhaohua
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
zhaohua

Bug Description

When set “$MULTITENANCY_ENABLED=True” to run tempest, the case "test_delete_ss_from_sn_used_by_share_server" will always faile.
I found it because the case use fake data in security service, and the backend driver can not handle this fake data.
I found another two cases(test_try_update_valid_keys_sh_server_exists, test_try_update_invalid_keys_sh_server_exists) also use the fake data. But the procedure of backend driver is wrap around "try...except". So the error of backend driver is ignored.
I think it's necessary to change the case "test_delete_ss_from_sn_used_by_share_server" to ignore the error of backend driver.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.openstack.org/264676

Changed in manila:
assignee: nobody → zhaohua (zhaohua-zhao)
status: New → In Progress
Changed in manila:
importance: Undecided → Medium
milestone: none → mitaka-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/264676
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=0726cf5aa5a0d159f90cf4bd5c243e28ea5d9b8f
Submitter: Jenkins
Branch: master

commit 0726cf5aa5a0d159f90cf4bd5c243e28ea5d9b8f
Author: zhaohua <email address hidden>
Date: Thu Jan 7 17:04:33 2016 +0800

    Fix tempest case "test_delete_ss_from_sn_used_by_share_server"

    The case use fake data in security service, which may cause backend driver
    fail.
    Refer to the case "test_try_update_valid_keys_sh_server_exists", just ignore
    the error of the backend driver procedure.

    Change-Id: I783652486fcf92b543c0a620409c9e41d33cab56
    Closes-Bug: #1531758

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/manila 2.0.0.0b2

This issue was fixed in the openstack/manila 2.0.0.0b2 development milestone.

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.