Heat create failed, Bad network format: missing 'uuid' (HTTP 400) in Icehouse- 'uuid' is deprecated for IceHouse

asked 2015-05-01 05:30:17 -0600

fhussain gravatar image

updated 2015-05-01 13:11:52 -0600

SGPJ gravatar image


I am trying to create a stack using heat template. The snippet of template is below:

    type: OS::Nova::Server
     name: DTest
     image: cirros-0.3.1-x86_64-uec
     flavor: m1.nano
     key_name: Key1
       - fixed_ip:
       - port: { get_resource: server0_port }
       - network: { get_resource: private_net0 }

    type: OS::Neutron::Port
     network_id: { get_resource: private_net0 }
       - subnet_id: { get_resource: private_subnet0 }

However, when I create the stack I get this error:

Heat create failed, Bad network format: missing 'uuid' (HTTP 400)

I have seen a very similar question here. The accepted answer says that 'uuid' attribute has been deprecated for the newer releases and replaced by the 'network' attribute. http://docs.openstack.org/hot-reference/content/OS__Nova__Server.html

I have installed OpenStack Icehouse on Ubnuntu 12.04. As seen in the template field, I have purposely not used 'uuid' attribute, since it has been deprecated. I have rather used 'network' attribute. But, I am getting the missing uuid error.

Please help me resolve the issue.


edit retag flag offensive close merge delete