Bug 1455928
| Summary: | Backporting the commit-id ceb2b4684d18e6fa65b500b6a946d4c13cb606f3 to tempest 13.0.0 for Red Hat OpenStack 10 | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Ganesh Kadam <gkadam> |
| Component: | openstack-tempest | Assignee: | Chandan Kumar <chkumar> |
| Status: | CLOSED ERRATA | QA Contact: | Martin Kopec <mkopec> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 10.0 (Newton) | CC: | apevec, chkumar, dcadzow, jinhli, jjoyce, lars, lhh, mbracho, mburns, mmagr, mschuppe, slinaber |
| Target Milestone: | z4 | Keywords: | FeatureBackport, Triaged, ZStream |
| Target Release: | 10.0 (Newton) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tempest-13.0.0-14.bafe630git.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-09-06 17:06:29 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: | |||
*** Bug 1457105 has been marked as a duplicate of this bug. *** Hi all, I am not sure whether this is a general issue of backup in rhosp10, but in this (rhosp10)cert, i saw the backup test passed https://hardware.redhat.com/view_result.cgi?bug_id=1428672&rpm_id=73085&iteration=0&test_name=cinder&subtest_name=BACKUPS%20RESOURCE Sincerely, Jinhua Li Hi all, I am not sure whether this is a general issue of backup in rhosp10, but in this (rhosp10)cert, i saw the backup test passed https://hardware.redhat.com/view_result.cgi?bug_id=1428672&rpm_id=73085&iteration=0&test_name=cinder&subtest_name=BACKUPS%20RESOURCE Sincerely, Jinhua Li Hi Ganesh, FYI. In https://hardware.redhat.com/show.cgi?id=1409199, IBM team has passed the backup test by changing the parameter as below: tempest.conf: [auth] tempest_roles = ResellerAdmin( as normal this value is _member_ ) Because of the "operator_roles" of /etc/swift/proxy-server.conf in IBM's log as below: [filter:keystone] use = egg:swift#keystoneauth operator_roles = admin, swiftoperator, ResellerAdmin Sincerely, Jinhua Li Hey Mike, do you have any idea why the patch did not get pull in from RDO? How should we proceed now? The commit ceb2b4684d18e6fa65b500b6a946d4c13cb606f3 was backported to tempest 13.0.0 for Red Hat OpenStack 10 and it's available in package openstack-tempest-13.0.0-14.bafe630git.el7ost -> marking as verified. 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://access.redhat.com/errata/RHBA-2017:2653 |
Description of problem: while running cinder backup case testing, Cu found case tempest.api.volume.test_volumes_backup.VolumesBackupsV1Test.test_backup_create_attached_volume failed, below is the output: [root@overcloud-controller-0 backup]# ./run_tempest.sh -N -C /etc/redhat-certification-openstack/tempest.conf --serial Failed 1 tests - output below: ============================== tempest.api.volume.test_volumes_backup.VolumesBackupsV1Test.test_backup_create_attached_volume[compute,id-07af8f6d-80af-44c9-a5dc-c8427b1b62e6] --------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "tempest/test.py", line 107, in wrapper return f(self, *func_args, **func_kwargs) File "tempest/api/volume/test_volumes_backup.py", line 107, in test_backup_create_attached_volume backup['id'], 'available') File "tempest/common/waiters.py", line 224, in wait_for_backup_status raise exceptions.VolumeBackupException(backup_id=backup_id) AttributeError: 'module' object has no attribute 'VolumeBackupException' Please refer to the attachment for detail info. Version-Release number of selected component (if applicable): Steps to Reproduce: [root@overcloud-controller-0 backup]# ./run_tempest.sh -N -C /etc/redhat-certification-openstack/tempest.conf --serial Actual results: Test fails with below error: ~~~ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "tempest/test.py", line 107, in wrapper return f(self, *func_args, **func_kwargs) File "tempest/api/volume/test_volumes_backup.py", line 107, in test_backup_create_attached_volume backup['id'], 'available') File "tempest/common/waiters.py", line 224, in wait_for_backup_status raise exceptions.VolumeBackupException(backup_id=backup_id) AttributeError: 'module' object has no attribute 'VolumeBackupException' Please refer to the attachment for detail info. ~~~ Expected results: Test should pass Additional info: This is blocking the Cu's Red Hat OpenStack 10 certification. The fix is released with the latest version of tempest: ~~~ [stack@instack tempest]$ git tag --contains ceb2b4684d18e6fa65b500b6a946d4c13cb606f3 14.0.0 15.0.0 16.0.0 ~~~ Can this be backported to Red Hat OpenStack 10? Probably upgrading the tempest to latest version might cause issues with the rhcert tool and certification process.