Octavia tempest plugin causing tempest init command to fail by giving ERROR tempest AttributeError: 'tuple' object has no attribute 'dest'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
Fix Released
|
Undecided
|
chandan kumar |
Bug Description
How to reproduce:
Having a devstack setup with Octavia enabled and do the following operations:
centos@octavia ~]$ tempest list-plugins
+------
| Name | EntryPoint |
+------
| keystone_tests | keystone_
| cinder_tests | cinder.
| neutron_tests | neutron.
| neutron_lbaas | neutron_
| octavia | octavia.
+------
[centos@octavia ~]$ tempest init foobar
2017-04-10 08:35:03.805 9978 INFO tempest [-] Using tempest config file /etc/tempest/
2017-04-10 08:35:03.830 9978 ERROR tempest [-] 'tuple' object has no attribute 'dest'
[centos@octavia ~]$ rm -fr ./foobar/ .tempest/
[centos@octavia ~]$ tempest init foobar --debug
2017-04-10 08:35:30.500 9994 INFO tempest [-] Using tempest config file /etc/tempest/
2017-04-10 08:35:30.525 9994 ERROR tempest [-] 'tuple' object has no attribute 'dest'
2017-04-10 08:35:30.525 9994 ERROR tempest Traceback (most recent call last):
2017-04-10 08:35:30.525 9994 ERROR tempest File "/usr/lib/
2017-04-10 08:35:30.525 9994 ERROR tempest result = cmd.run(
2017-04-10 08:35:30.525 9994 ERROR tempest File "/usr/lib/
2017-04-10 08:35:30.525 9994 ERROR tempest return self.take_
2017-04-10 08:35:30.525 9994 ERROR tempest File "/opt/stack/
2017-04-10 08:35:30.525 9994 ERROR tempest self.create_
2017-04-10 08:35:30.525 9994 ERROR tempest File "/opt/stack/
2017-04-10 08:35:30.525 9994 ERROR tempest self.generate_
2017-04-10 08:35:30.525 9994 ERROR tempest File "/opt/stack/
2017-04-10 08:35:30.525 9994 ERROR tempest output_file])
2017-04-10 08:35:30.525 9994 ERROR tempest File "/usr/lib/
2017-04-10 08:35:30.525 9994 ERROR tempest generate(conf)
2017-04-10 08:35:30.525 9994 ERROR tempest File "/usr/lib/
2017-04-10 08:35:30.525 9994 ERROR tempest groups = _get_groups(
2017-04-10 08:35:30.525 9994 ERROR tempest File "/usr/lib/
2017-04-10 08:35:30.525 9994 ERROR tempest return _cleanup_opts(opts)
2017-04-10 08:35:30.525 9994 ERROR tempest File "/usr/lib/
2017-04-10 08:35:30.525 9994 ERROR tempest clean[namespace
2017-04-10 08:35:30.525 9994 ERROR tempest AttributeError: 'tuple' object has no attribute 'dest'
2017-04-10 08:35:30.525 9994 ERROR tempest
2017-04-10 08:35:30.527 9994 CRITICAL tempest [-] AttributeError: 'tuple' object has no attribute 'dest'
2017-04-10 08:35:30.527 9994 ERROR tempest Traceback (most recent call last):
2017-04-10 08:35:30.527 9994 ERROR tempest File "/usr/bin/tempest", line 10, in <module>
2017-04-10 08:35:30.527 9994 ERROR tempest sys.exit(main())
2017-04-10 08:35:30.527 9994 ERROR tempest File "/opt/stack/
2017-04-10 08:35:30.527 9994 ERROR tempest return the_app.run(argv)
2017-04-10 08:35:30.527 9994 ERROR tempest File "/usr/lib/
2017-04-10 08:35:30.527 9994 ERROR tempest result = self.run_
2017-04-10 08:35:30.527 9994 ERROR tempest File "/usr/lib/
2017-04-10 08:35:30.527 9994 ERROR tempest result = cmd.run(
2017-04-10 08:35:30.527 9994 ERROR tempest File "/usr/lib/
2017-04-10 08:35:30.527 9994 ERROR tempest return self.take_
2017-04-10 08:35:30.527 9994 ERROR tempest File "/opt/stack/
2017-04-10 08:35:30.527 9994 ERROR tempest self.create_
2017-04-10 08:35:30.527 9994 ERROR tempest File "/opt/stack/
2017-04-10 08:35:30.527 9994 ERROR tempest self.generate_
2017-04-10 08:35:30.527 9994 ERROR tempest File "/opt/stack/
2017-04-10 08:35:30.527 9994 ERROR tempest output_file])
2017-04-10 08:35:30.527 9994 ERROR tempest File "/usr/lib/
2017-04-10 08:35:30.527 9994 ERROR tempest generate(conf)
2017-04-10 08:35:30.527 9994 ERROR tempest File "/usr/lib/
2017-04-10 08:35:30.527 9994 ERROR tempest groups = _get_groups(
2017-04-10 08:35:30.527 9994 ERROR tempest File "/usr/lib/
2017-04-10 08:35:30.527 9994 ERROR tempest return _cleanup_opts(opts)
2017-04-10 08:35:30.527 9994 ERROR tempest File "/usr/lib/
2017-04-10 08:35:30.527 9994 ERROR tempest clean[namespace
2017-04-10 08:35:30.527 9994 ERROR tempest AttributeError: 'tuple' object has no attribute 'dest'
2017-04-10 08:35:30.527 9994 ERROR tempest
[centos@octavia ~]$
summary: |
Octavia tempest plugin causing tempest init command to fail by giving - 2017-04-10 08:35:30.525 9994 ERROR tempest AttributeError: 'tuple' - object has no attribute 'dest' + ERROR tempest AttributeError: 'tuple' object has no attribute 'dest' |
Fix proposed to branch: master /review. openstack. org/455260
Review: https:/