Tempest Cleanup script is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
Daniel Mellado |
Bug Description
When running the tempest cleanup utility, it gets broken due to the recent renaming of tenant/projects
$ tempest cleanup --init-saved-state
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
File "/home/
CONF.
File "/home/
return self._conf.
File "/home/
value = self._do_get(name, group, namespace)
File "/home/
info = self._get_
File "/home/
raise NoSuchOptError(
NoSuchOptError: no such option in group auth: admin_tenant_name
Besides this, after fixed, it's also not using the proper client but the legacy one:
$ tempest cleanup --dry-run
Begin cleanup
Process 1 tenants
Cleaning tenant: dell
Traceback (most recent call last):
File "/home/
self._cleanup()
File "/home/
self.
File "/home/
svc.run()
File "/home/
self.dry_run()
File "/home/
alarms = self.list()
File "/home/
alarms = client.
AttributeError: 'TelemetryClient' object has no attribute 'list_alarms'
Changed in tempest: | |
assignee: | nobody → Daniel Mellado (daniel-mellado) |
Fix proposed to branch: master /review. openstack. org/303312
Review: https:/