Prompt wrong message when using heatclient command template-function-list

Bug #1505050 reported by Yingzhe Zeng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Yingzhe Zeng

Bug Description

When using heatclient command template-function-list, with a non-existent template version provided, as follow:

#heat template-function-list heat_template_version.2015
ERROR: u'u\'heat_template_version.2015\'\n

The prompted message is not the expected "Template version not found: heat_template_version.2015",
since heat service doesn't return HTTPNotFound exception as heatclient expected.

Changed in heat:
assignee: nobody → Yingzhe Zeng (zengyingzhe)
Changed in heat:
importance: Undecided → Medium
milestone: none → mitaka-1
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/234699

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

Reviewed: https://review.openstack.org/234699
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=48ed305b4ea9236070affd1479c3ffa588dde38b
Submitter: Jenkins
Branch: master

commit 48ed305b4ea9236070affd1479c3ffa588dde38b
Author: zengyingzhe <email address hidden>
Date: Fri Oct 16 09:34:42 2015 +0800

    list_template_functions raises NotFound exception

    Let list_template_functions raise NotFound exception instead,
    while a nonexistent template version provided.

    Change-Id: I1eff0f511abb0c1e098946e1d90b6bda9f59b249
    Closes-Bug: #1505050

Changed in heat:
status: In Progress → Fix Committed
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/heat 6.0.0.0b1

This issue was fixed in the openstack/heat 6.0.0.0b1 development milestone.

Changed in heat:
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.