ERROR: Remote error: CircularDependencyException Circular Dependency Found: {Server "boot_vol": {Server "boot_vol"}}
I am getting the below error ..
[root@node vaikanch]# heat stack-create -f image.yml -e vk.env vkos6test ERROR: Remote error: CircularDependencyException Circular Dependency Found: {Server "boot_vol": {Server "boot_vol"}} [root@node vaikanch ]#
image.yml file
heat_template_version: 2013-05-23
parameters:
flavor: type: string description: Flavor az: type: string description: Availability-zone
public_net: type: string description: ID of public network
private_net: type: string description: ID of public network
key_name: type: string description: public-Key
ImageID: type: string description: Image use to boot a server
host_name: type: string description: hostname for compute instance
resources:
server_port: type: OS::Neutron::Port properties: network_id: { get_param: private_net }
floating_ip: type: OS::Neutron::FloatingIP depends_on: [ server_port ] properties: floating_network_id: { get_param: public_net } port_id: { get_resource: server_port }
boot_vol: type: OS::Cinder::Volume properties: name : "vkos6" image : { get_param: ImageID } size : 10
type: OS::Nova::Server
depends_on: [ server_port ]
properties:
flavor: { get_param: flavor }
key_name: { get_param: key_name }
block_device_mapping:
- device_name: xvda
volume_id: { get_resource: boot_vol }
networks:
- port: { get_resource: server_port }
availability_zone: { get_param: az }
user_data_format: RAW
user_data: |
#cloud-config
ssh_pwauth: True
disable_root: false
bootcmd:
- curl -L http://server.set.com/scripts/puppet-bootstrap.sh|bash
swap:
filename: /swap.img
size: 5242880
outputs:
floating_ip: value: {get_attr: [floating_ip, floating_ip_address]}
vk.env file
parameters:
public_net: 06f5f1fb-2344-41c0-907b-93effa08ef4f private_net: 37238408-bf23-4065-aa23-956947485e32
#boot_vol: dcb5266c-e9ba-4139-9e73-81702167f9ce ImageID : 9e2aaac4-010c-456f-b8ef-29f49212ec4f
flavor: 16GB_4CPU
az: nova
host_name: APOS6 key_name: vk_test1_key