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

Steve Baker sbaker at redhat.com
Mon Oct 5 22:55:21 UTC 2015


Thanks, I'm triaging this now.

On 06/10/15 11:41, Mingyu Li wrote:
> 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 <http://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
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151006/174815be/attachment.html>


More information about the OpenStack-dev mailing list