Bug 1289030
Summary: | volumes_backup tests are not skipped when cinder-backup service is disabled. | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Gal Amado <gamado> |
Component: | rhosp-director | Assignee: | Angus Thomas <athomas> |
Status: | CLOSED NOTABUG | QA Contact: | Shai Revivo <srevivo> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 (Kilo) | CC: | apevec, dmellado, dsariel, egafford, gamado, jcoufal, lhh, mburns, pgrist, rhel-osp-director-maint, slinaber, tkammer, tonishim, tshefi, yfried |
Target Milestone: | --- | Keywords: | Automation, Triaged |
Target Release: | 11.0 (Ocata) | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-12-14 15:01:19 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
Gal Amado
2015-12-07 09:32:21 UTC
IIUC this is a new missing detail in the conf generated. I suggest to simply change this bug's component from "Tempest" to "OSPd" Fail example : [stack@instack tempest]$ python -m testtools.run tempest.api.volume.admin.test_volumes_backup.VolumesBackupsV1Test.test_volume_backup_create_get_detailed_list_restore_delete Tests running... ====================================================================== FAIL: tempest.api.volume.admin.test_volumes_backup.VolumesBackupsV1Test.test_volume_backup_create_get_detailed_list_restore_delete[id-a66eb488-8ee1-47d4-8e9f-575a095728c6] ---------------------------------------------------------------------- pythonlogging:'': {{{ 2015-12-09 04:48:08,017 8115 INFO [tempest_lib.common.rest_client] Request (VolumesBackupsV1Test:test_volume_backup_create_get_detailed_list_restore_delete): 200 POST http://192.0.2.6:5000/v2.0/tokens 2015-12-09 04:48:08,018 8115 DEBUG [tempest_lib.common.rest_client] Request - Headers: {} Body: None Response - Headers: {'status': '200', 'content-length': '4146', 'vary': 'X-Auth-Token', 'connection': 'close', 'date': 'Wed, 09 Dec 2015 09:48:08 GMT', 'content-type': 'application/json', 'x-openstack-request-id': 'req-e5e50228-f82d-4fdf-9a8c-bc97da7c6ea2'} Body: None 2015-12-09 04:48:08,211 8115 INFO [tempest_lib.common.rest_client] Request (VolumesBackupsV1Test:test_volume_backup_create_get_detailed_list_restore_delete): 500 POST http://192.0.2.6:8776/v1/8b97a278706648f9a3ee46a709456928/backups 0.193s 2015-12-09 04:48:08,211 8115 DEBUG [tempest_lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'} Body: {"backup": {"name": "Backup-1973711512", "volume_id": "b0483adc-3ace-4e1d-9c30-190c928c2297"}} Response - Headers: {'status': '500', 'content-length': '87', 'x-compute-request-id': 'req-288348a3-422d-4881-9dbf-784f65747543', 'connection': 'close', 'date': 'Wed, 09 Dec 2015 09:48:08 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-288348a3-422d-4881-9dbf-784f65747543'} Body: {"computeFault": {"message": "Service cinder-backup could not be found.", "code": 500}} }}} Traceback (most recent call last): File "tempest/api/volume/admin/test_volumes_backup.py", line 47, in test_volume_backup_create_get_detailed_list_restore_delete name=backup_name) File "tempest/services/volume/json/backups_client.py", line 39, in create_backup resp, body = self.post('backups', post_body) File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 252, in post return self.request('POST', url, extra_headers, headers, body) File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 629, in request resp, resp_body) File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 734, in _error_checker raise exceptions.ServerFault(message) ServerFault: Got server fault Details: Service cinder-backup could not be found. Ran 1 test in 5.102s FAILED (failures=1) [stack@instack tempest]$ This bug did not make the OSP 8.0 release. It is being deferred to OSP 10. Moving this to the list to review for OSP11, but not clear to me this is a bug or has priority if backup services are now configured and we want to see those tests always running? Can you close it if that's the case. cinder-backup was not supported in OSP-d as of RHOS 7. If this is a persistent issue in RHOS 7 CI it needs to be addressed in Tempest. Please reopen if concerns persist. |