Cannot list software_configs

Bug #1464248 reported by Attila Fazekas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
lvdongbing
python-heatclient
Fix Committed
High
lvdongbing

Bug Description

$ heat config-create foo
$ heat config-create foo

$ curl -g -i -X GET http://172.16.40.3:8004/v1/`keystone token-get | awk '/ tenant_id /{print $4}'`/software_configs -H "User-Agent: python-heatclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: `keystone token-get | awk '/ id /{print $4}'`"

The above url patter supposed to be do the listing (index() method), but it retuns with 405.
"The server could not comply with the request since it is either malformed or otherwise incorrect."

Now I can trash the database with unlimited, not find able configurations.

1. heat MUST implement the listing call.
2. heat-pythonclient needs to support it.

description: updated
Changed in heat:
importance: Undecided → High
Changed in python-heatclient:
importance: Undecided → High
Changed in heat:
status: New → Triaged
Changed in python-heatclient:
status: New → Triaged
lvdongbing (dbcocle)
Changed in heat:
assignee: nobody → lvdongbing (dbcocle)
Changed in python-heatclient:
assignee: nobody → lvdongbing (dbcocle)
Changed in heat:
status: Triaged → In Progress
tags: added: kilo-backport-potential
Changed in heat:
milestone: none → liberty-2
Changed in heat:
assignee: lvdongbing (dbcocle) → Qiming Teng (tengqim)
Revision history for this message
lvdongbing (dbcocle) wrote :

What happened?

lvdongbing (dbcocle)
Changed in heat:
assignee: Qiming Teng (tengqim) → lvdongbing (dbcocle)
Revision history for this message
Qiming Teng (tengqim) wrote :

Wow, the bot is too "smart"... I only fixed a typo from gerrit UI, it was assigning this bug to me, :)

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
tags: removed: kilo-backport-potential
Thierry Carrez (ttx)
Changed in heat:
milestone: liberty-2 → 5.0.0
Revision history for this message
Attila Fazekas (afazekas) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-heatclient (master)

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

Changed in python-heatclient:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-heatclient (master)

Reviewed: https://review.openstack.org/240095
Committed: https://git.openstack.org/cgit/openstack/python-heatclient/commit/?id=4c53ed854c439e01ebf98b2ff54da3ba36a916b3
Submitter: Jenkins
Branch: master

commit 4c53ed854c439e01ebf98b2ff54da3ba36a916b3
Author: lvdongbing <email address hidden>
Date: Wed Oct 28 21:37:45 2015 -0400

    Support to list software configs

    As API has supported to list software configs, client should support
    too.

    Closes-Bug: #1464248
    Change-Id: I977b960f0e2f0e754a603c01122eb41f0ea9dbf5

Changed in python-heatclient:
status: In Progress → Fix Committed
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-heatclient 0.9.0

This issue was fixed in the openstack/python-heatclient 0.9.0 release.

Changed in python-heatclient:
milestone: none → 1.3.0
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.