tempest-cleanup --init-saved-state : TypeError: string indices must be integers

Bug #1490310 reported by Thomas Bechtold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
David Kranz

Bug Description

Running tempest-cleanup with python-tempest-lib=0.7.0 and tempest=5.0.1~dev453 , I get:

2015-08-30 17:34:31.160 9909 CRITICAL tempest [-] TypeError: string indices must be integers
2015-08-30 17:34:31.160 9909 ERROR tempest Traceback (most recent call last):
2015-08-30 17:34:31.160 9909 ERROR tempest File "/usr/bin/tempest-cleanup", line 10, in <module>
2015-08-30 17:34:31.160 9909 ERROR tempest sys.exit(main())
2015-08-30 17:34:31.160 9909 ERROR tempest File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup.py", line 290, in main
2015-08-30 17:34:31.160 9909 ERROR tempest cleanup.run()
2015-08-30 17:34:31.160 9909 ERROR tempest File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup.py", line 92, in run
2015-08-30 17:34:31.160 9909 ERROR tempest self._init_state()
2015-08-30 17:34:31.160 9909 ERROR tempest File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup.py", line 265, in _init_state
2015-08-30 17:34:31.160 9909 ERROR tempest svc.run()
2015-08-30 17:34:31.160 9909 ERROR tempest File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup_service.py", line 137, in run
2015-08-30 17:34:31.160 9909 ERROR tempest self.save_state()
2015-08-30 17:34:31.160 9909 ERROR tempest File "/usr/lib/python2.7/site-packages/tempest/cmd/cleanup_service.py", line 959, in save_state
2015-08-30 17:34:31.160 9909 ERROR tempest self.data['domains'][domain['id']] = domain['name']
2015-08-30 17:34:31.160 9909 ERROR tempest TypeError: string indices must be integers
2015-08-30 17:34:31.160 9909 ERROR tempest

Changed in tempest:
assignee: nobody → Thomas Bechtold (toabctl)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/218676

Changed in tempest:
status: New → In Progress
Changed in tempest:
assignee: Thomas Bechtold (toabctl) → David Kranz (david-kranz)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/218676
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=48268a07d11a417790905aad74a38c7146365519
Submitter: Jenkins
Branch: master

commit 48268a07d11a417790905aad74a38c7146365519
Author: Thomas Bechtold <email address hidden>
Date: Sun Aug 30 19:37:46 2015 +0200

    Return correct domains in cleanup service

    Since 56317e0c99a9a, the full repsonse of all v3 IdentityClient
    methods is returned. The cleanup service was just forgotten.

    Change-Id: Ia2d3ef64a5057ef14cb2692f4a495dfa5ec18fff
    Closes-Bug: #1490310

Changed in tempest:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.