Description of problem:
Due to upstream telemetry and neutron changes the tempest cleanup service in RDO Mitaka branch needs an update as tempest cleanup is broken
Version-Release number of selected component (if applicable):
How reproducible:
Every time
Steps to Reproduce:
1. tempest cleanup --init-saved-state
2. tempest cleanup --dry-run
Actual results:
Cleaning tenant: tempest-TelemetryAlarmingAPITestJSON-1997023298
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup.py", line 80, in take_action
self._cleanup()
File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup.py", line 136, in _cleanup
self._clean_tenant(tenant)
File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup.py", line 186, in _clean_tenant
svc.run()
File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup_service.py", line 135, in run
self.dry_run()
File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup_service.py", line 729, in dry_run
alarms = self.list()
File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup_service.py", line 715, in list
alarms = client.list_alarms()
AttributeError: 'TelemetryClient' object has no attribute 'list_alarms'
Expected results:
tempest cleanup should run and create a dry_run-json file.
Additional info:
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-2033.html
Description of problem: Due to upstream telemetry and neutron changes the tempest cleanup service in RDO Mitaka branch needs an update as tempest cleanup is broken Version-Release number of selected component (if applicable): How reproducible: Every time Steps to Reproduce: 1. tempest cleanup --init-saved-state 2. tempest cleanup --dry-run Actual results: Cleaning tenant: tempest-TelemetryAlarmingAPITestJSON-1997023298 Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup.py", line 80, in take_action self._cleanup() File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup.py", line 136, in _cleanup self._clean_tenant(tenant) File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup.py", line 186, in _clean_tenant svc.run() File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup_service.py", line 135, in run self.dry_run() File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup_service.py", line 729, in dry_run alarms = self.list() File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup_service.py", line 715, in list alarms = client.list_alarms() AttributeError: 'TelemetryClient' object has no attribute 'list_alarms' Expected results: tempest cleanup should run and create a dry_run-json file. Additional info: