Assigning multiple static ip in heat template

asked 2019-09-20 02:51:14 -0500

srini gravatar image
instance:
 type: OS::Nova::Server
 properties:
   name: test
   flavor: oti_c8_c32_d300
   key_name: crowd-key
   availability_zone: zone-1
   security_groups: default

    image: bcmt-baseos-18.12.0.rhel.x86_64.qcow2
   networks:
     - port: { get_resource: instance_port1 }
     - port: { get_resource: instance_port2 }         
   instance1_port1:
     type: OS::Neutron::Port
 properties:
   network_id: { get_param: PrivNetID }
   fixed_ips:
    - ip_address: 30.30.30.45      
   instance1_port2:
 type: OS::Neutron::Port
 properties:
   network_id: { get_param: NetID }
   fixed_ips:
    - ip_address: 10.99.12.45

getting below error

[root@p2bmdeployer ~/cemnova/ca4ci_glance]# openstack stack create -t test.yaml test ERROR: Property error: : resources.instance_port1.properties.security_groups: : "u'default'" is not a list



edit retag flag offensive close merge delete