[openstack-dev] [A Bug of Heat in Stable/Liberty] Stack creation fails when connecting a Nova::Server instance with a created network

Mingyu Li mingyu.li.cn at gmail.com
Mon Oct 5 22:41:40 UTC 2015


Hi all,

There seems a bug in stable/liberty branch.

https://bugs.launchpad.net/heat/+bug/1503060

In an environment installed with Devstack and stable/liberty branch, stack
creation fails when I use some templates that worked well with stable/kilo,
such as the following:

heat_template_version: 2014-10-16

resources:
  private_net1:
    type: OS::Neutron::Net
    properties:
      name: demo_net_a

  private_subnet1:
    type: OS::Neutron::Subnet
    properties:
      network_id: { get_resource: private_net1 }
      cidr: 192.168.1.0/24

  server1:
    type: OS::Nova::Server
    properties:
      name: Server1
      image: cirros-0.3.4-x86_64-uec
      flavor: m1.nano
      networks: [{"network":{ get_resource: private_net1 }}]

The response is " ERROR: Unable to find network with name 'None' ".

It seems that Heat does not find the network { get_resource: private_net1 }

Did someone see this before?

Best regards & Thanks,
Mingyu Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151006/5a9dcb7a/attachment.html>


More information about the OpenStack-dev mailing list