nested stack failing with StackValidationFailed

Bug #1457202 reported by Vijendar Komalla
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Vijendar Komalla

Bug Description

Below given nested stack creation is failing with 'StackValidationFailed' exception. Probably we need to skip network validation.

main template 'server.template'
================================
heat_template_version: 2013-05-23

description: Create s test server

resources:

  private_network:
    type: network.template

  test_server:
    type: OS::Nova::Server
    properties:
      image: xxxxx
      flavor: 2
      networks:
        - network: {get_attr: [private_network, network_id] }

nested template 'network.template'
=================================
heat_template_version: 2013-05-23

description: Create a test network

resources:

  test_network:
    type: OS::Neutron::Net
    properties:
      name: test_net

  test_subnet:
    type: OS::Neutron::Subnet
    properties:
      network_id: { get_resource: test_network }
      cidr: xx.xx.0.0/xx

outputs:

  network_id:
    description: Id of the test network
    value: { get_resource: test_network }

Changed in heat:
assignee: nobody → Vijendar Komalla (vijendar-komalla)
description: updated
description: updated
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/186143

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

Reviewed: https://review.openstack.org/186143
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=12424022ef476fe00cfd5e97442b0c6e7a9b6885
Submitter: Jenkins
Branch: master

commit 12424022ef476fe00cfd5e97442b0c6e7a9b6885
Author: Vijendar Komalla <email address hidden>
Date: Wed May 27 14:47:38 2015 -0500

    Revert "Add validation to set one of network, port or uuid"

    Reverting this patch to fix bug#1457202
    This reverts commit a3089a63e8a3c67d898e700543d08d6cb40d18cc.

    Change-Id: I9bcb6510f984185a4c79c974ed5eb8ebd62c62a0
    Closes-Bug: #1457202

Changed in heat:
status: In Progress → Fix Committed
Changed in heat:
importance: Undecided → High
Thierry Carrez (ttx)
Changed in heat:
milestone: none → liberty-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: liberty-1 → 5.0.0
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.