heat resource-template is misleading

Bug #1336306 reported by Rabi Mishra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-heatclient
Fix Released
Low
Rabi Mishra

Bug Description

resource-template cli command is misleading as it provides the template snippet for resource_type and not resource.

[stack@devstack-rabi devstack]$ heat help resource-template
usage: heat resource-template [-F <FORMAT>] <RESOURCE>

Generate a template based on a resource.

Positional arguments:
  <RESOURCE> Name of the resource to generate a template for.

Optional arguments:
  -F <FORMAT>, --format <FORMAT>
                        The template output format, one of: yaml, json.

Rabi Mishra (rabi)
Changed in heat:
assignee: nobody → Rabi Mishra (ramishra)
Rabi Mishra (rabi)
affects: heat → python-heatclient
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/104118

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

Reviewed: https://review.openstack.org/104118
Committed: https://git.openstack.org/cgit/openstack/python-heatclient/commit/?id=47232fa9b011831e54e8b161d1a2da4b1ea7cd2b
Submitter: Jenkins
Branch: master

commit 47232fa9b011831e54e8b161d1a2da4b1ea7cd2b
Author: Rabi Mishra <email address hidden>
Date: Tue Jul 1 20:12:24 2014 +0530

    Deprecate misleading cli command 'resource-template'

    Current 'resource-template' command is misleading as it's
    providing template snippet for the 'resource-type' and not the
    'resource'. This has been deprecated and a new command
    'resource-type-template' added.

    ex.
    $heat resource-type-template -F json OS::Nova::KeyPair

    Change-Id: I373e2fa3c7891d2488704975ffdfb6d9afa5059a
    Closes-Bug: #1336306

Changed in python-heatclient:
status: In Progress → Fix Committed
Changed in python-heatclient:
milestone: none → v0.2.11
Changed in python-heatclient:
status: Fix Committed → Fix Released
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.