Ask Your Question

Revision history [back]

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

I am using following template to create a Heat Stack.

heat_template_version: 2013-05-23

    description: Hot Template to deploy a single server

    parameters:
      ImageID:
        type: string
        description: Image ID
      NetID:
        type: string
        description: External Network ID

    resources:
      server_0:
        type: OS::Nova::Server
        properties:
          name: "server0"
          image: { get_param: ImageID }
          flavor: "m1.small"
          networks:
          - network: { get_param: NetID }

    outputs:
      server0_ip:
        description: IP of the server
        value: { get_attr: [ server_0, first_address ] }

When I create stack. It shows create failed status. BadRequest: Bad network format: missing 'uuid' (HTTP 400) (Request-ID: req-c8360423-e597-495e-9b36-0158177ccd1a). Below is the snapshot of stack resources. image description

P.S : I checked and double checked the Network ID and Image ID but error remains. heat logs shows same error heat.engine.resource BadRequest: Bad network format: missing 'uuid' (HTTP 400)