Bug 1327080

Summary: ERROR: Failed to validate: : resources.vm01: : At least one of the following properties must be specified: network, network_id
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: openstack-heatAssignee: Zane Bitter <zbitter>
Status: CLOSED DUPLICATE QA Contact: Amit Ugol <augol>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: mburns, rhel-osp-director-maint, sbaker, shardy, srevivo, therve
Target Milestone: ---Keywords: Regression, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-02 18:23:29 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:

Description Marius Cornea 2016-04-14 09:01:56 UTC
Description of problem:
Validation fails when trying to launch a stack containing a nested stack that creates a neutron subnet.

Version-Release number of selected component (if applicable):
openstack-heat-common-5.0.1-5.el7ost.noarch
openstack-heat-api-5.0.1-5.el7ost.noarch
openstack-heat-api-cfn-5.0.1-5.el7ost.noarch
openstack-heat-api-cloudwatch-5.0.1-5.el7ost.noarch
python-heatclient-1.0.0-1.el7ost.noarch
openstack-heat-engine-5.0.1-5.el7ost.noarch


How reproducible:
100%

Steps to Reproduce:
1. Using the following templates to launch the stack
http://paste.openstack.org/show/494027/


Actual results:
ERROR: Failed to validate: : resources.vm01: : At least one of the following properties must be specified: network, network_id

Expected results:
Stack gets created.

Additional info:
The issue looks pretty much the same as the one reported in https://bugs.launchpad.net/heat/+bug/1518676

Comment 2 Thomas Hervé 2016-04-14 09:03:43 UTC
The patch backported at https://review.openstack.org/#/c/258307/ was incorrect, and missing critical pieces from the original one at https://review.openstack.org/#/c/276266/. Investigating.

Comment 3 Zane Bitter 2016-04-14 21:17:16 UTC
(The original patch was actually https://review.openstack.org/#/c/248719/ if anybody else was confused by that last comment too :)

Comment 4 Amit Ugol 2016-05-01 09:03:18 UTC
do we need this to work ? https://review.openstack.org/#/c/305687/
if so, please tag upstream as candidate to downstream to L...

Comment 5 Zane Bitter 2016-05-02 18:23:29 UTC

*** This bug has been marked as a duplicate of bug 1330384 ***