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, 2015 at 12:39 PM, Imesh Gunaratne <im...@apache.org> wrote:

> 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 <swapnil.r...@gmail.com>
> wrote:
>
>> 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 Gunatilaka" <pubu...@wso2.com> wrote:
>>
>>> 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 steps.
>>>
>>> 1. SSH to spawned ec2 instance.
>>> 2. Go to the /tmp directory.
>>> Here you should be able to find puppet logs as well as the agent log.
>>> Check both for any errors. You won't find the agent log if the puppet has
>>> not worked well. Check the puppet.conf file in /etc/puppet/ directory in
>>> ec2 spawned instance. Hostname and other configurations should be set up
>>> accordingly.
>>>
>>> Hope you have already setup your puppet master as well [2].
>>>
>>> [1] -
>>> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Install+Stratos+with+EC2+in+a+Testing+Environment
>>> [2] -
>>> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Configuring+Puppet+Master
>>>
>>> Thank you!
>>>
>>> On Sat, Jun 27, 2015 at 12:10 PM, Swapnil Patil <swapnil.r...@gmail.com>
>>> wrote:
>>>
>>>> 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 of ec2). Please correct me if I
>>>> am wrong here.
>>>>
>>>> Sorry, I am not aware of this log. Could you please tell me the name of
>>>> this log and where can I find it?
>>>>
>>>> Thanks and Regards,
>>>> Swapnil
>>>>
>>>> On Sat, Jun 27, 2015 at 6:05 AM, Pubudu Gunatilaka <pubu...@wso2.com>
>>>> wrote:
>>>>
>>>>> 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 <swapnil.r...@gmail.com
>>>>> > wrote:
>>>>>
>>>>>> 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. Member started and rest messages do not appear. Same happens
>>>>>> with the load balancer extension log.
>>>>>>
>>>>>> I tried deploy application on mock iaas to see if I get all messages
>>>>>> for that. But I got error invalid partition while running deploy script.
>>>>>>
>>>>>> Please find attached logs. I would appreciate any help to find out
>>>>>> the reason behind this and sort this out.
>>>>>>
>>>>>> Thanks and Regards,
>>>>>> Swapnil
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> *Pubudu Gunatilaka*
>>>>> Software Engineer
>>>>> WSO2, Inc.: http://wso2.com
>>>>> lean.enterprise.middleware
>>>>> mobile:  +94 77 4078049
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Pubudu Gunatilaka*
>>> Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean.enterprise.middleware
>>> mobile:  +94 77 4078049
>>>
>>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>

Reply via email to