[Openstack] [openstack][autoscaling][icehouse][OS::Heat:: AutoScalingGroup]

Deepthi Dharwar deepthi at linux.vnet.ibm.com
Wed Mar 4 10:47:32 UTC 2015


On 03/04/2015 02:36 PM, Chinasubbareddy M wrote:
> Hi,
> 
>  
> 
> I am testing openstack auto scaling function, but  the stack is getting
> failed with below error,
> 
>  
> 
> :Multiple possible networks found, use a Network ID to be more specific
> 
>  
> 
> could anybody tell me how to solve it? ,
> 
> This is happening in case of using  OS::Heat::AutoScalingGroup
>  resource,  is there any way to mention network id in this resource?

In your load balancer yaml, i.e lb_server.yaml
Add the following:

Under 'parameters' add network id

parameters:
private_net_id:
    type: string
    default: XXXX


And under resources:

member:
    type: OS::Neutron::PoolMember
    properties:
      pool_id: {get_param: pool_id}
      address: {get_attr: [server, first_address]}
      protocol_port: 80
  server_port:
    type: OS::Neutron::Port
    properties:
      network_id: { get_param: private_net_id } => add the network id.
      fixed_ips:
        - subnet_id: { get_param: subnet_id }

This should help you specify the network in which you want to plug in
your VMs.

Regards,
Deepthi



>  
> 
> Regards,
> 
> Subbareddy,
> 
> Persistent systems ltd.
> 
> DISCLAIMER ========== This e-mail may contain privileged and
> confidential information which is the property of Persistent Systems
> Ltd. It is intended only for the use of the individual or entity to
> which it is addressed. If you are not the intended recipient, you are
> not authorized to read, retain, copy, print, distribute or use this
> message. If you have received this communication in error, please notify
> the sender and delete all copies of this message. Persistent Systems
> Ltd. does not accept any liability for virus infected mails.
> 
> 
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 





More information about the Openstack mailing list