heat standalone raises ERROR: 'AccessInfoV3' object has no attribute 'get'

Bug #1699418 reported by Rabi Mishra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Rabi Mishra

Bug Description

Deploy heat standalone with keystone v3.

#heat -d --os-no-client-auth --heat-url http://x.x.x.x:8004/v1/002e26218691428bb081206ea788c9b2 stack-list

traceback:

Traceback (most recent call last):
  File "/usr/local/bin/heat", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/heatclient/shell.py", line 607, in main
    HeatShell().main(args)
  File "/usr/local/lib/python2.7/dist-packages/heatclient/shell.py", line 557, in main
    args.func(client, args)
  File "/usr/local/lib/python2.7/dist-packages/heatclient/v1/shell.py", line 695, in do_stack_list
    stacks = list(stacks)
  File "/usr/local/lib/python2.7/dist-packages/heatclient/v1/stacks.py", line 137, in paginate
    stacks = self._list(url, 'stacks')
  File "/usr/local/lib/python2.7/dist-packages/heatclient/common/base.py", line 114, in _list
    body = self.client.get(url).json()
  File "/usr/local/lib/python2.7/dist-packages/heatclient/common/http.py", line 286, in get
    return self.client_request("GET", url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/heatclient/common/http.py", line 279, in client_request
    resp, body = self.json_request(method, url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/heatclient/common/http.py", line 268, in json_request
    resp = self._http_request(url, method, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/heatclient/common/http.py", line 230, in _http_request
    raise exc.from_response(resp)
heatclient.exc.HTTPBadRequest: ERROR: 'AccessInfoV3' object has no attribute 'get'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

Changed in heat:
status: New → In Progress
Rabi Mishra (rabi)
Changed in heat:
importance: Undecided → Medium
milestone: none → pike-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/476014
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=923e2e2316817be3e7017b43dc24bb0a7971f460
Submitter: Jenkins
Branch: master

commit 923e2e2316817be3e7017b43dc24bb0a7971f460
Author: rabi <email address hidden>
Date: Tue Jun 20 14:21:32 2017 +0530

    Make standalone heat work with keystone v3

    - Fix authpassword middleware
    - Pass user_domain/project_domain all through. user_domain
    is required whenever authenticating a user with 'username'
    and creating the 'password' auth_plugin.

    Change-Id: I692639a16be42b755628695d89731aa23eb9221b
    Closes-Bug: #1699418

Changed in heat:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/487644

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat 9.0.0.0b3

This issue was fixed in the openstack/heat 9.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on heat (stable/ocata)

Change abandoned by Rico Lin (<email address hidden>) on branch: stable/ocata
Review: https://review.openstack.org/487644

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.