Bug 1388203
| Summary: | rhel-osp-director: Updating templates with <Deployment command> + --update-plan-only fails: 'ClientManager' object has no attribute 'to_dict' | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Alexander Chuzhoy <sasha> |
| Component: | python-tripleoclient | Assignee: | Lukas Bezdicka <lbezdick> |
| Status: | CLOSED ERRATA | QA Contact: | Alexander Chuzhoy <sasha> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 10.0 (Newton) | CC: | dbecker, hbrock, jcoufal, jschluet, jslagle, mburns, morazi, rhel-osp-director-maint |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 10.0 (Newton) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-tripleoclient-5.3.0-3.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-12-14 16:24:53 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
Alexander Chuzhoy
2016-10-24 18:08:19 UTC
'ClientManager' object has no attribute 'to_dict'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 387, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/command.py", line 59, in run
return self.take_action(parsed_args) or 0
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 1172, in take_action
utils.create_overcloudrc(clients, stack, parsed_args.no_proxy)
File "/usr/lib/python2.7/site-packages/tripleoclient/utils.py", line 160, in create_overcloudrc
overcloud_endpoint = get_overcloud_endpoint(stack)
File "/usr/lib/python2.7/site-packages/tripleoclient/utils.py", line 477, in get_overcloud_endpoint
for output in stack.to_dict().get('outputs', {}):
AttributeError: 'ClientManager' object has no attribute 'to_dict'
clean_up DeployOvercloud: 'ClientManager' object has no attribute 'to_dict'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run
ret_val = super(OpenStackShell, self).run(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 267, in run
result = self.run_subcommand(remainder)
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 180, in run_subcommand
ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 387, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/command.py", line 59, in run
return self.take_action(parsed_args) or 0
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 1172, in take_action
utils.create_overcloudrc(clients, stack, parsed_args.no_proxy)
File "/usr/lib/python2.7/site-packages/tripleoclient/utils.py", line 160, in create_overcloudrc
overcloud_endpoint = get_overcloud_endpoint(stack)
File "/usr/lib/python2.7/site-packages/tripleoclient/utils.py", line 477, in get_overcloud_endpoint
for output in stack.to_dict().get('outputs', {}):
AttributeError: 'ClientManager' object has no attribute 'to_dict'
END return value: 1
We need to bump python-tripleoclient to test https://review.openstack.org/#/c/389830/ Vefified: Environment: python-tripleoclient-5.3.0-5.el7ost.noarch The reported issue doesn't reproduce. 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/RHEA-2016-2948.html |