Kumar,

I haven't worked very much with the CloudFormation resource types, which is 
what that template uses. Thus, I am unsure of the exact syntax you should use 
in order to correct the problem you're seeing.

However, take a look here:

<https://ask.openstack.org/en/question/10085/multiple-possible-networks-found-use-a-network-id-to-be-more-specific/>

Based on that information, it looks like you just need to add a SubnetID to the 
WebServer, and the value of the SubnetID will be the UUID of the appropriate 
Neutron subnet. I'm not sure how to add multiple subnets to a single instance; 
I would suggest making the template work with one network interface first, then 
move to multiple network interfaces.


On Aug 12, 2014, at 6:34 AM, <[email protected]> wrote:

> Hi Scott,
> 
> Thanks for your reply.
> 
> I tried mentioning the networks in many ways. Indeed I tried this template 
> also :  
> https://raw.github.com/openstack/heattemplates/master/cfn/F17/WordPress_Single_Instance_With_Neutron.template
> 
> But still it is failing.   I am a beginner and I need assistance from people 
> like you in these areas.
> Unfortunately I am stuck at this point. Could you help me in specifying the 
> networks in the following  template:
> 
> https://raw.github.com/openstack/heat-templates/master/cfn/F17/WordPress_Composed_Instances.template
> 
> My network details are as shown below:
> 
> -----------
> root@ice-controller:/var# neutron net-list
> +--------------------------------------+--------------+------------------------------------------------------+
> | id                                   | name         | subnets               
>                                |
> +--------------------------------------+--------------+------------------------------------------------------+
> | 1e2e0ea5-3f85-435a-af8d-93f377d52560 | net_proj_one | 
> 99baadc0-a4c5-4141-b201-aba51e6ac586 50.50.1.0/24    |
> | 3a72a0a0-156a-4650-934b-13f29587969a | ext_net      | 
> f87f98b9-727a-4314-af6d-7626bb083362 10.211.203.0/24 |
> +--------------------------------------+--------------+------------------------------------------------------+
> root@ice-controller:/var# neutron subnet-list
> +--------------------------------------+------+-----------------+------------------------------------------------------+
> | id                                   | name | cidr            | 
> allocation_pools                                     |
> +--------------------------------------+------+-----------------+------------------------------------------------------+
> | 99baadc0-a4c5-4141-b201-aba51e6ac586 |      | 50.50.1.0/24    | {"start": 
> "50.50.1.2", "end": "50.50.1.254"}         |
> | f87f98b9-727a-4314-af6d-7626bb083362 |      | 10.211.203.0/24 | {"start": 
> "10.211.203.236", "end": "10.211.203.239"} |
> +--------------------------------------+------+-----------------+------------------------------------------------------+
> ----------------
> 
> 
> Appreciate your help.
> 
> 
> Thanks
> Kumar
> 
> 
> 
> -----Original Message-----
> From: Scott Lowe [mailto:[email protected]]
> Sent: Tuesday, August 12, 2014 5:53 PM
> To: Gnan Kumar, Yalla
> Cc: [email protected]
> Subject: Re: [Openstack] Wordpress template
> 
> Kumar, check these two articles to see if they help at all:
> 
> <http://blog.scottlowe.org/2014/05/01/an-introduction-to-openstack-heat/>
> 
> <http://blog.scottlowe.org/2014/05/02/another-look-at-an-openstack-heat-template/>
> 
> If I'm correctly reading the sample template you're using, it looks like you 
> should just need to create a Neutron port on each network (referencing the 
> network's ID when creating it) and then reference those ports when creating 
> the instance.
> 
> Also, refer to Clint Byrum's reply to you dated 08 Aug 2014, in which he 
> mentioned adding this text to the properties section (I'm assuming he means 
> the properties section of the web server):
> 
> 
>   properties:
>     networks:
>       - { network: public }
>       - { network: private }
> 
> I hope this helps.
> 
> 
> 
> On Aug 12, 2014, at 12:34 AM, <[email protected]> wrote:
> 
>> Hi All,
>> 
>> I have a three node Icehouse installation on Ubuntu platform. I have
>> installed neutron and provided networking to the instances. I used neutron 
>> to create two networks. One is private and other is public.  I have 
>> installed heat packages and want to test a simple wordpress template 
>> downloaded from the following link:
>> 
>> https://raw.github.com/openstack/heat-templates/master/cfn/F17/WordPre
>> ss_Composed_Instances.template
>> 
>> But the stack creation is  failing showing that multiple networks are found. 
>>  I tried some methods but did not work. How can I mention the networks in 
>> the template ?
>> 
>> 
>> 
>> Thanks
>> Kumar
> 
> 
> ________________________________
> 
> This message is for the designated recipient only and may contain privileged, 
> proprietary, or otherwise confidential information. If you have received it 
> in error, please notify the sender immediately and delete the original. Any 
> other use of the e-mail by you is prohibited. Where allowed by local law, 
> electronic communications with Accenture and its affiliates, including e-mail 
> and instant messaging (including content), may be scanned by our systems for 
> the purposes of information security and assessment of internal compliance 
> with Accenture policy.
> ______________________________________________________________________________________
> 
> www.accenture.com


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to