Heat: Resource create failed: InvalidTemplateAttribute: The Referenced Attribute (instance0_port0 security_groups)
Hello team,
getting the below error while deploying heat on 3 node havana - ubuntu
Log messages:
2014-02-18 09:07:23.904 14679 INFO heat.engine.
2014-02-18 09:07:23.977 14679 ERROR heat.engine.
2014-02-18 09:07:23.977 14679 TRACE heat.engine.
2014-02-18 09:07:23.977 14679 TRACE heat.engine.
2014-02-18 09:07:23.977 14679 TRACE heat.engine.
2014-02-18 09:07:23.977 14679 TRACE heat.engine.
2014-02-18 09:07:23.977 14679 TRACE heat.engine.
2014-02-18 09:07:23.977 14679 TRACE heat.engine.
2014-02-18 09:07:23.977 14679 TRACE heat.engine.
2014-02-18 09:07:23.977 14679 TRACE heat.engine.
2014-02-18 09:07:23.977 14679 TRACE heat.engine.
2014-02-18 09:07:24.029 14679 WARNING heat.engine.service [-] Stack create failed, status FAILED
my template:
heat_template_
description: Simple template to deploy a single compute instance
parameters:
key_name:
type: string
default: heat_key
description: Name of an existing key pair to use for the instance
flavor:
type: string
description: Instance type for the instance to be created
default: m1.small
constraints:
- allowed_values: [m1.nano, m1.tiny, m1.small, m1.large]
image:
type: string
default: cirros
description: ID or name of the image to use for the instance
private_net_id:
type: string
default: ad5a1e6c-
description: Private network id
private_
type: string
default: 69b3ddd9-
description: Private subnet id
public_net_id:
type: string
default: fbfc3fa8-
description: Public network id
resources:
instance0:
type: OS::Nova::Server
properties:
name: instance0
image: { get_param: image }
flavor: { get_param: flavor }
key_name: { get_param: key_name }
networks:
- port: { get_resource: instance0_port0 }
instance0_port0:
type: OS::Neutron::Port
properties:
network_id: { get_param: private_net_id }
security_
- default
fixed_ips:
- subnet_id: { get_param: private_subnet_id }
instance0_public:
"sam.template" 64L, 1947C
could you please help me to fix this and let me know where I am doing a mistake
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Malleshi C N
- Solved:
- Last query:
- Last reply: