Bug 1293961
Summary: | [SFCI] Heat template failed to start because Property error: ... net_cidr (constraint not found) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] RDO | Reporter: | Tristan Cacqueray <tdecacqu> | ||||
Component: | openstack-heat | Assignee: | Crag Wolfe <cwolfe> | ||||
Status: | CLOSED EOL | QA Contact: | Amit Ugol <augol> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | Liberty | CC: | aojea, jpeeler, srevivo, tdecacqu | ||||
Target Milestone: | --- | ||||||
Target Release: | Kilo | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-05-19 15:44:59 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Tristan Cacqueray
2015-12-23 17:33:48 UTC
IIRC this is due to a missing dependency that is not reflected in the packaging. Do you have the exact "heat stack-create" command used? I'm not seeing it in the jenkins console output, but maybe I'm looking in the wrong place. Created attachment 1111985 [details]
simplified-template.hot
I repro'd the issue using simplified-template.hot (uploaded to bz). If you install python-croniter, the issue should go away. This implies that the real issue is that the openstack-heat-common rpm is missing a dependency on python-croniter. Debugging notes: heat-engine.log included: 2016-01-05 18:36:19.086 38117 ERROR stevedore.extension [-] Could not load 'net_cidr': No module named croniter 2016-01-05 18:36:19.086 38117 ERROR stevedore.extension [-] No module named croniter 2016-01-05 18:36:19.086 38117 ERROR stevedore.extension Traceback (most recent call last): 2016-01-05 18:36:19.086 38117 ERROR stevedore.extension File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 162, in _load_plugins 2016-01-05 18:36:19.086 38117 ERROR stevedore.extension verify_requirements, 2016-01-05 18:36:19.086 38117 ERROR stevedore.extension File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 185, in _load_one_plugin 2016-01-05 18:36:19.086 38117 ERROR stevedore.extension plugin = ep.load(require=verify_requirements) 2016-01-05 18:36:19.086 38117 ERROR stevedore.extension File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load 2016-01-05 18:36:19.086 38117 ERROR stevedore.extension entry = __import__(self.module_name, globals(),globals(), ['__name__']) 2016-01-05 18:36:19.086 38117 ERROR stevedore.extension File "/usr/lib/python2.7/site-packages/heat/engine/constraint/common_constraints.py", line 14, in <module> 2016-01-05 18:36:19.086 38117 ERROR stevedore.extension import croniter Editing /usr/lib/python2.7/site-packages/heat/engine/constraint/common_constraints.py so that "import croniter" is commented out and bouncing the heat services also causes the issue to go away, but I think the proper fix is just to add the python-croniter rpm dependency. I confirm installing python-croniter before running packstack fixed the issue: http://softwarefactory-project.io/jenkins/job/sf-openstack-liberty-1node-allinone/83/console shows the heat template is now properly accepted and put in CREATE_IN_PROGRESS Thanks! Review submitted to update .spec file: https://review.gerrithub.io/#/c/258836/ I have this bug in current liberty packages, I cherry picked the patch to the liberty branch https://review.gerrithub.io/#/c/275756/ 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. |