Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1366790

Summary: Manila Tempest Tests Need to be Updated for them to Work Correctly
Product: Red Hat OpenStack Reporter: Dustin Schoenbrun <dschoenb>
Component: openstack-manilaAssignee: Tom Barron <tbarron>
Status: CLOSED ERRATA QA Contact: Dustin Schoenbrun <dschoenb>
Severity: unspecified Docs Contact: Don Domingo <ddomingo>
Priority: unspecified    
Version: 9.0 (Mitaka)CC: jjoyce, tbarron
Target Milestone: gaKeywords: ZStream
Target Release: 9.0 (Mitaka)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-manila-2.0.0-5.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-24 12:58:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dustin Schoenbrun 2016-08-12 20:05:51 UTC
Description of problem:
Currently the version of Tempest is greater than what the Manila Tempest tests are written to. This causes several Tempest tests to fail with errors about an improper instance type for credentials classes.

Version-Release number of selected component (if applicable):
openstack-manila-share-2.0.0-4.el7ost.noarch
openstack-manila-2.0.0-4.el7ost.noarch
python-manila-2.0.0-4.el7ost.noarch
python-manilaclient-1.8.1-1.el7ost.noarch


How reproducible:
100%

Steps to Reproduce:
1. Setup Manila in an OpenStack instance
2. Install the Manila Tests (python-manila-tests package) and Tempest on a tester node.
3. Attempt to run the Manila suite of Tempest tests using the Tempest runner of your choice (I used tools/run_tests.sh)
4. Observe that multiple tests will fail with errors resulting from an invalid credentials object.

Actual results:
Several tests and test class setup methods will fail with errors resulting from an invalid credentials object.

Expected results:
The Tempest tests shall run their cases successfully without errors.

Additional info:
Upstream Newton Patch: https://review.openstack.org/#/c/338121
Upstream Mitaka Patch: https://review.openstack.org/#/c/341799

Comment 3 Dustin Schoenbrun 2016-08-24 00:27:37 UTC
I was able to install Tempest and Manila from the RPM packages and run the tests against an OpenStack instance running the CephFS Native Driver. 

-- Packages on Tester Node
python-tempest-lib-1.0.0-1.el7ost.noarch
openstack-tempest-10.0.0-2.b4a056dgit.el7ost.noarch
python-manilaclient-1.8.1-1.el7ost.noarch
python-manila-tests-2.0.0-5.el7ost.noarch
python-manila-2.0.0-5.el7ost.noarch
openstack-manila-2.0.0-5.el7ost.noarch

Comment 6 errata-xmlrpc 2016-08-24 12:58:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-1757.html