Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-28 Thread Swapnil Patil
Hi Pubudu, Thanks for the link. I will refer it in future. I wish I had found and gone through it earlier. Would have saved our time! Thanks and Regards, Swapnil On Mon, Jun 29, 2015 at 4:48 AM, Pubudu Gunatilaka wrote: > Hi Swapnil, > > Glad to hear that. I could find configuration details i

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-28 Thread Pubudu Gunatilaka
Hi Swapnil, Glad to hear that. I could find configuration details in [1]. It provides all the details for setting up in a EC2 environment. [1] - https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Install+Stratos+with+EC2+in+a+Testing+Environment Thank you! On Mon, Jun 29, 2015 at 2:03 AM

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-28 Thread Swapnil Patil
Hi Pubudu, Imesh, Thanks for your inputs. Now I can see /tmp/screen.agent.log and it has correct values for mb. I can also see Member started, activated messages in wso2carbon.log. Thanks and Regards, Swapnil On Sun, Jun 28, 2015 at 2:54 PM, Pubudu Gunatilaka wrote: > Hi Swapnil, > > Where is

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-28 Thread Pubudu Gunatilaka
Hi Swapnil, Where is your puppet master running? Is that the same machine where you run Stratos? You have to change the puppet ip and hostname in cartridge-config.properties file in /repository/conf directory. I think puppet-hostname cannot be your puppet hostname. Check the hostname in puppet mas

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-28 Thread Swapnil Patil
One more thing as per [1] I set mb_url to tcp://:1883. I did not change the port from what is mentioned in [1]. Should it be 61616 as per [2]? I checked netstat for machine on which ActiveMQ is running. I found LISTEN entries for both 1883 and 61616. So thought of keeping it 1883 as per [1]. [1]

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-28 Thread Swapnil Patil
Hi Imesh, Pubudu, I configured puppet master again and restarted it. Then I created a new cartridge with puppet agent pointing to this master. In fact I did it one by one and tested at each step to find out what was the reason. After deploying application with this new image I still did not find

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-27 Thread Swapnil Patil
Hi Imesh, Pubudu, I did not find screen.agent.log under /tmp in ec2 cartridge instance created. Seems I did something wrong while configuring either puppet master or creating cartridge. Currently I am verifying the steps for puppet configuration. Thanks and Regards, Swapnil On Sat, Jun 27, 20

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-27 Thread Imesh Gunaratne
Hi Swapnil, Can you please verify the CEP IP and MB IP values passed into the EC2 instance created? You could find these values in the cartridge agent log file (/tmp/screen.agent.log). Thanks On Sat, Jun 27, 2015 at 12:56 PM, Swapnil Patil wrote: > Thanks Pubudu for the detailed information. >

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-27 Thread Swapnil Patil
Thanks Pubudu for the detailed information. I have not disabled mock iaas neither deleted the war file on my own. I will check again if the war file is present. I have configured puppet master. I will verify all the steps again. Thanks and Regards, Swapnil On Jun 27, 2015 12:33 PM, "Pubudu Gunat

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-27 Thread Pubudu Gunatilaka
Hi Swapnil, You may have already disable the mock iaas when seting up the ec2 environment [1]. So this could be a reason for that as well. Above mentioned steps are correct for deploying app in mock iaas. You can find the cartridge agent log in the spawned ec2 instance. Please follow the below st

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-26 Thread Swapnil Patil
Hi Pubudu, I used different partitions. Because I just ran deploy.sh in samples/applications/simple/single-cartridge-app/scripts/mock. So this script will use network partition defined in samples/network-partitions/mock. (Before I ran this I had removed earlier network partition with undeploy.sh o

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-26 Thread Pubudu Gunatilaka
Hi Swapnil, Can you attach the cartridge agent log? You cannot deploy the same network partition in mock which you used in ec2. Configurations are different. Thank you! On Sat, Jun 27, 2015 at 9:47 AM, Swapnil Patil wrote: > Hi All, > > I have setup Stratos on one ec2 instance and MB on anothe

Log stops at Member initialized when deploying ec2 cartridge

2015-06-26 Thread Swapnil Patil
Hi All, I have setup Stratos on one ec2 instance and MB on another ec2 instance. When I try to deploy ec2 application using sample script, application does get deployed and I can see ec2 instance being created for cartridge. But in wso2carbon.log I can only see messages till Member initialized. M