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

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

fhussain gravatar image

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

SGPJ gravatar image

Hi,

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

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

   server0_port:
    type: OS::Neutron::Port
    properties:
     network_id: { get_resource: private_net0 }
     fixed_ips:
       - 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.

Thanks.

edit retag flag offensive close merge delete