RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1216917 - Clearing non-existing hooks yields no error message
Summary: Clearing non-existing hooks yields no error message
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-heat
Version: trunk
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: Kilo
Assignee: Zane Bitter
QA Contact: Amit Ugol
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-29 08:16 UTC by Udi Kalifon
Modified: 2016-05-19 23:18 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-05-19 16:05:20 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1472515 0 None None None Never

Description Udi Kalifon 2015-04-29 08:16:56 UTC
Description of problem:
You can run the command "heat hook-clear" on any resource in the stack, even if there is no hook defined on it, and no error or warning message is returned.


How reproducible:
100%


Steps to Reproduce:
1. heat hook-clear --pre-create overcloud ControllerNodesPostDeployment
2. heat hook-clear --pre-create overcloud ControllerNodesPostDeployment


Actual results:
No error or warning


Expected results:
I should have gotten at least 1 error because I cleared the breakpoint twice. In this case, the breakpoint never existed in the first place so I was expecting 2 errors.

Comment 1 Chandan Kumar 2016-05-19 16:05:20 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.

Comment 2 Zane Bitter 2016-05-19 23:18:43 UTC
This was fixed in Liberty.


Note You need to log in before you can comment on or make changes to this bug.