Should raise error if hooks is invalid
Bug #1452636 reported by
huangtianhua
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
huangtianhua |
Bug Description
Test the blueprint: https:/
1. set hooks for resource breakpoint in environment file:
resource_
resources:
my_server:
hooks: pre-cre
2. expected to pause on server creation, but nothing happen and no pause, and user may don't know why
3. I think if hooks are invalid, we should raise error message to user, such as 'Invalid hook type "pre-cre" for resource breakpoint, acceptable hooks: "pre-create", "pre-update"', then user will know what happen.
Changed in heat: | |
assignee: | nobody → huangtianhua (huangtianhua) |
summary: |
- AttributeError raised when register invalid hooks + Should raise error if hooks is invalid |
description: | updated |
Changed in heat: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in heat: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | liberty-1 → 5.0.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/183409
Review: https:/