heat resource-metadata not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-heatclient |
Fix Released
|
Medium
|
Thomas Herve |
Bug Description
if you run heat resource-metadata <NAME or ID> <RESOURCE>
you get the following error:
request() got an unexpected keyword argument 'follow_redirects'
For example on on tripleo:
heat resource-metadata overcloud overcloud
request() got an unexpected keyword argument 'follow_redirects'
running debug you get the following trace:
Traceback (most recent call last):
File "/usr/local/
sys.
File "/opt/stack/
HeatShell(
File "/opt/stack/
args.
File "/opt/stack/
metadata = hc.resources.
File "/opt/stack/
stack_id = self._resolve_
File "/opt/stack/
follow_
File "/opt/stack/
resp = self._http_
File "/opt/stack/
return self.session.
File "/opt/stack/
return func(*args, **kwargs)
File "/opt/stack/
resp = self._send_
File "/opt/stack/
resp = self.session.
File "/opt/stack/
return requests.
File "/opt/stack/
return session.
TypeError: request() got an unexpected keyword argument 'follow_redirects'
Changed in python-heatclient: | |
assignee: | Thomas Herve (therve) → David J Hu (david-j-hu) |
Changed in python-heatclient: | |
assignee: | David J Hu (david-j-hu) → Thomas Herve (therve) |
Changed in python-heatclient: | |
milestone: | none → v0.2.11 |
Changed in python-heatclient: | |
status: | Fix Committed → Fix Released |
It seems to work for me. Can you give your version of heatclient and the requests library? Thanks.