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

Chinasubbareddy M chinasubbareddy_m at persistent.com
Thu Mar 5 12:07:40 UTC 2015


Thank you Deepthi, its working now .

-----Original Message-----
From: Deepthi Dharwar [mailto:deepthi at linux.vnet.ibm.com] 
Sent: Wednesday, March 04, 2015 4:18 PM
To: openstack at lists.openstack.org
Subject: Re: [Openstack] [openstack][autoscaling][icehouse][OS::Heat:: AutoScalingGroup]

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
> 


_______________________________________________
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

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.





More information about the Openstack mailing list