You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Dungdb <ba...@gmail.com> on 2014/08/11 19:30:44 UTC

Can't get app from github

Dear all,
I have just study about Stratos. I installed Stratos 4.0. But when i subcriber to cartridge, my app from github can't clone to php cartridge (lauching on openstack). What is cause? Pls tell me why?

Sent from my iPhone

Re: Can't get app from github

Posted by Manula Chathurika Thantriwatte <ma...@wso2.com>.
Hi,

Have you configured puppet master correctly. Is your puppet master run in
the same machine where Stratos also runs ? Have you provide the correct
puppet master host name in the configuration file ?

Thanks !



On Tue, Aug 12, 2014 at 11:58 AM, Dungdb <ba...@gmail.com> wrote:

> Dear Udara,
> When i subcriber to cartridge, i saw an instance started. But when i ssh
> into the instance and check log forder, i have no cartridge agent log file.
> In puppet log forder also have no files.
> Every about php flatform had done installed. May be cartridge agent
> install false??? How to install it?
> Pls help me.
>
> Sent from my iPhone
>
> On Aug 12, 2014, at 10:28 AM, Udara Liyanage <ud...@wso2.com> wrote:
>
> Hi,
>
> Did your instance get activated?
> Activated means instance is spawned, relative service server are started
> and then cartridge agent send instance activated event.
>
> If not ssh into the instance and check for puppet logs.
> If puppet logs are ok, then look for cartridge agent logs in
> /var/logs/apache-stratos.
>
>
>
>
> Touched, not typed. Erroneous words are a feature, not a typo.
> On Aug 11, 2014 11:13 PM, "Nguyen Anh Tu" <tu...@apache.org> wrote:
>
>> Hi,
>>
>> Please attach log file for more detail.
>>
>> Thanks,
>>
>> --Tuna
>>
>>
>> On Tue, Aug 12, 2014 at 12:30 AM, Dungdb <ba...@gmail.com> wrote:
>>
>>> Dear all,
>>> I have just study about Stratos. I installed Stratos 4.0. But when i
>>> subcriber to cartridge, my app from github can't clone to php cartridge
>>> (lauching on openstack). What is cause? Pls tell me why?
>>>
>>> Sent from my iPhone
>>
>>
>>


-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : manulac@wso2.com / manula@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/

Re: Can't get app from github

Posted by Udara Liyanage <ud...@wso2.com>.
HI,

Did you fallow this  guide when creating the cartridge [1]. When the
instance is started, puppet agent should start and talks to puppet master
(puppet master ip given when creating the cartridge). Please check whether
puppet agent is installed in your instance.

[1]
https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Creating+a+Cartridge


On Tue, Aug 12, 2014 at 11:58 AM, Dungdb <ba...@gmail.com> wrote:

> Dear Udara,
> When i subcriber to cartridge, i saw an instance started. But when i ssh
> into the instance and check log forder, i have no cartridge agent log file.
> In puppet log forder also have no files.
> Every about php flatform had done installed. May be cartridge agent
> install false??? How to install it?
> Pls help me.
>
> Sent from my iPhone
>
> On Aug 12, 2014, at 10:28 AM, Udara Liyanage <ud...@wso2.com> wrote:
>
> Hi,
>
> Did your instance get activated?
> Activated means instance is spawned, relative service server are started
> and then cartridge agent send instance activated event.
>
> If not ssh into the instance and check for puppet logs.
> If puppet logs are ok, then look for cartridge agent logs in
> /var/logs/apache-stratos.
>
>
>
>
> Touched, not typed. Erroneous words are a feature, not a typo.
> On Aug 11, 2014 11:13 PM, "Nguyen Anh Tu" <tu...@apache.org> wrote:
>
>> Hi,
>>
>> Please attach log file for more detail.
>>
>> Thanks,
>>
>> --Tuna
>>
>>
>> On Tue, Aug 12, 2014 at 12:30 AM, Dungdb <ba...@gmail.com> wrote:
>>
>>> Dear all,
>>> I have just study about Stratos. I installed Stratos 4.0. But when i
>>> subcriber to cartridge, my app from github can't clone to php cartridge
>>> (lauching on openstack). What is cause? Pls tell me why?
>>>
>>> Sent from my iPhone
>>
>>
>>


-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Re: Can't get app from github

Posted by Dungdb <ba...@gmail.com>.
Dear Udara,
When i subcriber to cartridge, i saw an instance started. But when i ssh into the instance and check log forder, i have no cartridge agent log file. In puppet log forder also have no files. 
Every about php flatform had done installed. May be cartridge agent install false??? How to install it? 
Pls help me. 

Sent from my iPhone

> On Aug 12, 2014, at 10:28 AM, Udara Liyanage <ud...@wso2.com> wrote:
> 
> Hi,
> 
> Did your instance get activated?
> Activated means instance is spawned, relative service server are started and then cartridge agent send instance activated event.
> 
> If not ssh into the instance and check for puppet logs.
> If puppet logs are ok, then look for cartridge agent logs in /var/logs/apache-stratos.
> 
> 
> 
> 
> 
> Touched, not typed. Erroneous words are a feature, not a typo.
> 
>> On Aug 11, 2014 11:13 PM, "Nguyen Anh Tu" <tu...@apache.org> wrote:
>> Hi,
>> 
>> Please attach log file for more detail.
>> 
>> Thanks,
>> 
>> --Tuna
>> 
>> 
>>> On Tue, Aug 12, 2014 at 12:30 AM, Dungdb <ba...@gmail.com> wrote:
>>> Dear all,
>>> I have just study about Stratos. I installed Stratos 4.0. But when i subcriber to cartridge, my app from github can't clone to php cartridge (lauching on openstack). What is cause? Pls tell me why?
>>> 
>>> Sent from my iPhone

Re: Can't get app from github

Posted by Manula Chathurika Thantriwatte <ma...@wso2.com>.
Hi,

Can you test the host name of your machine with the command "hostname". Is
it the same hostname are you used in the setup.conf file.

Thanks !



On Mon, Aug 18, 2014 at 8:02 PM, Nirmal Fernando <ni...@gmail.com>
wrote:

> Seems like the host name hasn't been set properly in the instance. Can you
> please explain how you create the base image you used for Cartridges?
>
>
> On Mon, Aug 18, 2014 at 2:35 PM, Dungdb <ba...@gmail.com> wrote:
>
>> Dear Nirmal Fernando,
>> It is my puppet_log file!
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *Removing all existing certificates ..Node Id 312318081417.. Domain*
>> Restarting puppet agent  ...done.Rather than invoking init scripts through
>> /etc/init.d, use the service(8)utility, e.g. service hostname startSince
>> the script you are attempting to invoke has been converted to an Upstart
>> job, you may also use the start(8) utility, e.g. start hostnameExiting;
>> failed to retrieve certificate and waitforcert is disabledInitialization
>> completed successfully*.
>>
>> Sent from my iPhone
>>
>> On Aug 18, 2014, at 3:58 PM, Nirmal Fernando <ni...@gmail.com>
>> wrote:
>>
>> Can you please send the /tmp/puppet_log ?
>>
>>
>> On Mon, Aug 18, 2014 at 2:23 PM, Dungdb <ba...@gmail.com> wrote:
>>
>>> Dear Tu,
>>> I checked in /mnt/apache-stratos-cartridge-agent-4.0.0/lib forder. And i
>>> saw apache-stratos-cartridge-agent-4.0.0.jar file.
>>> And file /var/log/apache-stratos/cartridge-agent.log is empty :(
>>> I don't understand this.
>>>
>>> Sent from my iPhone
>>>
>>> On Aug 18, 2014, at 3:44 PM, Nguyen Anh Tu <tu...@apache.org> wrote:
>>>
>>> And also see what happened in /var/log/apache-stratos/cartridge-agent.log
>>>
>>> --Tuna
>>>
>>>
>>> On Mon, Aug 18, 2014 at 3:40 PM, Nguyen Anh Tu <tu...@apache.org> wrote:
>>>
>>>>
>>>> On Mon, Aug 18, 2014 at 3:27 PM, Dungdb <ba...@gmail.com> wrote:
>>>>
>>>>> I sure i did step 13. When i done created cartridge, cartridge agent
>>>>> is unzip in /mnt/apache-stratos-cartridge-agent-4.0.0
>>>>>
>>>>
>>>> So just check for apache-stratos-cartridge-agent-4.0.0.jar file in this
>>>> zip. For more detail, take a look into bin/stratos.sh.
>>>>
>>>> --Tuna
>>>>
>>>
>>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : manulac@wso2.com / manula@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/

Re: Can't get app from github

Posted by Nirmal Fernando <ni...@gmail.com>.
Seems like the host name hasn't been set properly in the instance. Can you
please explain how you create the base image you used for Cartridges?


On Mon, Aug 18, 2014 at 2:35 PM, Dungdb <ba...@gmail.com> wrote:

> Dear Nirmal Fernando,
> It is my puppet_log file!
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *Removing all existing certificates ..Node Id 312318081417..Domain*
> Restarting puppet agent  ...done.Rather than invoking init scripts through
> /etc/init.d, use the service(8)utility, e.g. service hostname startSince
> the script you are attempting to invoke has been converted to anUpstart
> job, you may also use the start(8) utility, e.g. start hostnameExiting;
> failed to retrieve certificate and waitforcert is disabledInitialization
> completed successfully*.
>
> Sent from my iPhone
>
> On Aug 18, 2014, at 3:58 PM, Nirmal Fernando <ni...@gmail.com>
> wrote:
>
> Can you please send the /tmp/puppet_log ?
>
>
> On Mon, Aug 18, 2014 at 2:23 PM, Dungdb <ba...@gmail.com> wrote:
>
>> Dear Tu,
>> I checked in /mnt/apache-stratos-cartridge-agent-4.0.0/lib forder. And i
>> saw apache-stratos-cartridge-agent-4.0.0.jar file.
>> And file /var/log/apache-stratos/cartridge-agent.log is empty :(
>> I don't understand this.
>>
>> Sent from my iPhone
>>
>> On Aug 18, 2014, at 3:44 PM, Nguyen Anh Tu <tu...@apache.org> wrote:
>>
>> And also see what happened in /var/log/apache-stratos/cartridge-agent.log
>>
>> --Tuna
>>
>>
>> On Mon, Aug 18, 2014 at 3:40 PM, Nguyen Anh Tu <tu...@apache.org> wrote:
>>
>>>
>>> On Mon, Aug 18, 2014 at 3:27 PM, Dungdb <ba...@gmail.com> wrote:
>>>
>>>> I sure i did step 13. When i done created cartridge, cartridge agent is
>>>> unzip in /mnt/apache-stratos-cartridge-agent-4.0.0
>>>>
>>>
>>> So just check for apache-stratos-cartridge-agent-4.0.0.jar file in this
>>> zip. For more detail, take a look into bin/stratos.sh.
>>>
>>> --Tuna
>>>
>>
>>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>
>


-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: Can't get app from github

Posted by Dungdb <ba...@gmail.com>.
Dear Nirmal Fernando,
It is my puppet_log file!

Removing all existing certificates ..

Node Id 312318081417..


Domain

* Restarting puppet agent
  ...done.
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service hostname start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start hostname
Exiting; failed to retrieve certificate and waitforcert is disabled
Initialization completed successfully.

Sent from my iPhone

> On Aug 18, 2014, at 3:58 PM, Nirmal Fernando <ni...@gmail.com> wrote:
> 
> Can you please send the /tmp/puppet_log ?
> 
> 
>> On Mon, Aug 18, 2014 at 2:23 PM, Dungdb <ba...@gmail.com> wrote:
>> Dear Tu,
>> I checked in /mnt/apache-stratos-cartridge-agent-4.0.0/lib forder. And i saw apache-stratos-cartridge-agent-4.0.0.jar file. 
>> And file /var/log/apache-stratos/cartridge-agent.log is empty :(
>> I don't understand this. 
>> 
>> Sent from my iPhone
>> 
>>> On Aug 18, 2014, at 3:44 PM, Nguyen Anh Tu <tu...@apache.org> wrote:
>>> 
>>> And also see what happened in /var/log/apache-stratos/cartridge-agent.log
>>> 
>>> --Tuna
>>> 
>>> 
>>>> On Mon, Aug 18, 2014 at 3:40 PM, Nguyen Anh Tu <tu...@apache.org> wrote:
>>>> 
>>>>> On Mon, Aug 18, 2014 at 3:27 PM, Dungdb <ba...@gmail.com> wrote:
>>>>> I sure i did step 13. When i done created cartridge, cartridge agent is unzip in /mnt/apache-stratos-cartridge-agent-4.0.0
>>>> 
>>>> So just check for apache-stratos-cartridge-agent-4.0.0.jar file in this zip. For more detail, take a look into bin/stratos.sh.
>>>> 
>>>> --Tuna
> 
> 
> 
> -- 
> Best Regards,
> Nirmal
> 
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
> 
> Blog: http://nirmalfdo.blogspot.com/

Re: Can't get app from github

Posted by Nirmal Fernando <ni...@gmail.com>.
Can you please send the /tmp/puppet_log ?


On Mon, Aug 18, 2014 at 2:23 PM, Dungdb <ba...@gmail.com> wrote:

> Dear Tu,
> I checked in /mnt/apache-stratos-cartridge-agent-4.0.0/lib forder. And i
> saw apache-stratos-cartridge-agent-4.0.0.jar file.
> And file /var/log/apache-stratos/cartridge-agent.log is empty :(
> I don't understand this.
>
> Sent from my iPhone
>
> On Aug 18, 2014, at 3:44 PM, Nguyen Anh Tu <tu...@apache.org> wrote:
>
> And also see what happened in /var/log/apache-stratos/cartridge-agent.log
>
> --Tuna
>
>
> On Mon, Aug 18, 2014 at 3:40 PM, Nguyen Anh Tu <tu...@apache.org> wrote:
>
>>
>> On Mon, Aug 18, 2014 at 3:27 PM, Dungdb <ba...@gmail.com> wrote:
>>
>>> I sure i did step 13. When i done created cartridge, cartridge agent is
>>> unzip in /mnt/apache-stratos-cartridge-agent-4.0.0
>>>
>>
>> So just check for apache-stratos-cartridge-agent-4.0.0.jar file in this
>> zip. For more detail, take a look into bin/stratos.sh.
>>
>> --Tuna
>>
>
>


-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: Can't get app from github

Posted by Gayan Gunarathne <ga...@wso2.com>.
Can you start the cartridge agent manually?
sh /mnt/apache-stratos-cartridge-agent-4.0.0/bin/stratos.sh

Also please check whether the "payload/launch-params" are available in the
cartridge.

Thanks,
Gayan


On Mon, Aug 18, 2014 at 2:23 PM, Dungdb <ba...@gmail.com> wrote:

> Dear Tu,
> I checked in /mnt/apache-stratos-cartridge-agent-4.0.0/lib forder. And i
> saw apache-stratos-cartridge-agent-4.0.0.jar file.
> And file /var/log/apache-stratos/cartridge-agent.log is empty :(
> I don't understand this.
>
> Sent from my iPhone
>
> On Aug 18, 2014, at 3:44 PM, Nguyen Anh Tu <tu...@apache.org> wrote:
>
> And also see what happened in /var/log/apache-stratos/cartridge-agent.log
>
> --Tuna
>
>
> On Mon, Aug 18, 2014 at 3:40 PM, Nguyen Anh Tu <tu...@apache.org> wrote:
>
>>
>> On Mon, Aug 18, 2014 at 3:27 PM, Dungdb <ba...@gmail.com> wrote:
>>
>>> I sure i did step 13. When i done created cartridge, cartridge agent is
>>> unzip in /mnt/apache-stratos-cartridge-agent-4.0.0
>>>
>>
>> So just check for apache-stratos-cartridge-agent-4.0.0.jar file in this
>> zip. For more detail, take a look into bin/stratos.sh.
>>
>> --Tuna
>>
>
>


-- 
Best Regards,

Gayan Gunarathne
Technical Lead
WSO2 Inc. (http://wso2.com)
email  : gayang@wso2.com  | mobile : +94 766819985

Re: Can't get app from github

Posted by Dungdb <ba...@gmail.com>.
Dear Tu,
I checked in /mnt/apache-stratos-cartridge-agent-4.0.0/lib forder. And i saw apache-stratos-cartridge-agent-4.0.0.jar file. 
And file /var/log/apache-stratos/cartridge-agent.log is empty :(
I don't understand this. 

Sent from my iPhone

> On Aug 18, 2014, at 3:44 PM, Nguyen Anh Tu <tu...@apache.org> wrote:
> 
> And also see what happened in /var/log/apache-stratos/cartridge-agent.log
> 
> --Tuna
> 
> 
>> On Mon, Aug 18, 2014 at 3:40 PM, Nguyen Anh Tu <tu...@apache.org> wrote:
>> 
>>> On Mon, Aug 18, 2014 at 3:27 PM, Dungdb <ba...@gmail.com> wrote:
>>> I sure i did step 13. When i done created cartridge, cartridge agent is unzip in /mnt/apache-stratos-cartridge-agent-4.0.0
>> 
>> So just check for apache-stratos-cartridge-agent-4.0.0.jar file in this zip. For more detail, take a look into bin/stratos.sh.
>> 
>> --Tuna
> 

Re: Can't get app from github

Posted by Nguyen Anh Tu <tu...@apache.org>.
And also see what happened in /var/log/apache-stratos/cartridge-agent.log

--Tuna


On Mon, Aug 18, 2014 at 3:40 PM, Nguyen Anh Tu <tu...@apache.org> wrote:

>
> On Mon, Aug 18, 2014 at 3:27 PM, Dungdb <ba...@gmail.com> wrote:
>
>> I sure i did step 13. When i done created cartridge, cartridge agent is
>> unzip in /mnt/apache-stratos-cartridge-agent-4.0.0
>>
>
> So just check for apache-stratos-cartridge-agent-4.0.0.jar file in this
> zip. For more detail, take a look into bin/stratos.sh.
>
> --Tuna
>

Re: Can't get app from github

Posted by Nguyen Anh Tu <tu...@apache.org>.
On Mon, Aug 18, 2014 at 3:27 PM, Dungdb <ba...@gmail.com> wrote:

> I sure i did step 13. When i done created cartridge, cartridge agent is
> unzip in /mnt/apache-stratos-cartridge-agent-4.0.0
>

So just check for apache-stratos-cartridge-agent-4.0.0.jar file in this
zip. For more detail, take a look into bin/stratos.sh.

--Tuna

Re: Can't get app from github

Posted by Dungdb <ba...@gmail.com>.
Hi Tu,
I sure i did step 13. When i done created cartridge, cartridge agent is unzip in /mnt/apache-stratos-cartridge-agent-4.0.0


Sent from my iPhone

> On Aug 18, 2014, at 3:22 PM, Nguyen Anh Tu <tu...@apache.org> wrote:
> 
> Hi Dung,
> 
> For the cartridge agent question, please take a look at step 13 in this guide: https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Configuring+Puppet+Master
> 
> Are you sure you did this step?
> 
> You can unzip manually this file to see which scripts cartridge agent contains.
> 
> FYI, https://dist.apache.org/repos/dist/dev/stratos/4.0.0-rc4/
> 
> Thanks,
> 
> --Tuna
> 
> 
>> On Thu, Aug 14, 2014 at 1:55 PM, Đinh Bá Dũng <ba...@gmail.com> wrote:
>> Hi, 
>> Thanks for reply! My service name is PHP.
>> I installed and configed puppet, create cartridge fllow by cwiki. 
>> 
>> 
>> *) But in process install puppet and create cartridge, i have an errorr
>> ntpdate[1258]: no server suitable for synchronization found
>> So i edited file /etc/default/ntpdate 
>> 
>> NTPSERVERS="10.61.11.36"  // DNS Server of my network
>> 
>> *) And when create catridge, i have a warning.
>> 
>> Processing triggers for libc-bin ...
>> ldconfig deferred processing now taking place
>> Copying Stratos facter file to /usr/lib/ruby/1.8
>>  * Stopping puppet agent                                                 [ OK ] 
>> Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
>>    (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1095:in `issue_deprecations')
>> Info: Creating a new SSL key for 737913081442.default.php.puppet.test.org
>> 
>> *) My configuration:
>> Openstack server: 10.61.204.12
>> Stratos, puppet master: 10.61.204.78
>> I attached nodes.pp (in puppet master). Pls, check for me it's true or false??
>> 
>> Thanks, so much!
>> 
>> 
>> 
>> 
>>> On 14 August 2014 11:45, Udara Liyanage <ud...@wso2.com> wrote:
>>> Hi,
>>> 
>>> Could you describe how you create the cartridge. What is the service name you provided in the 4th phase of  "Step 2 - Configuring the cartridge" in cartridge creation guide [1] 
>>> 
>>> Please provide stratos service-name: php
>>> 
>>> [1] https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Creating+a+Cartridge+on+OpenStack
>>> 
>>> 
>>>> On Thu, Aug 14, 2014 at 9:22 AM, Đinh Bá Dũng <ba...@gmail.com> wrote:
>>>> It here, pls check for me!
>>>> 
>>>> Thanks
>>>> 
>>>> 
>>>>> On 14 August 2014 10:36, Dinesh Bandara <di...@wso2.com> wrote:
>>>>> Hi,
>>>>> 
>>>>> All the puppet logs related to cartridge can be found at /tmp/puppet_log. Can you share that file?
>>>>> 
>>>>> 
>>>>>> On Thu, Aug 14, 2014 at 8:59 AM, Dungdb <ba...@gmail.com> wrote:
>>>>>> Dear devs,
>>>>>> When i subcriber to cartridge. An instance on openstack started. But it can't get my app from github. 
>>>>>> 
>>>>>> In wso2carbon.log have no error. 
>>>>>> In /var/log/puppet have no file. Althought, puppet agent is running
>>>>>> 
>>>>>> /var/log/apache-stratos# ps -ef | grep puppet
>>>>>> root      1319     1  0 08:50 ?        00:00:00 /usr/bin/ruby /usr/bin/puppet agent
>>>>>> root      1955  1790  0 08:56 pts/1    00:00:00 grep --color=auto puppet
>>>>>> 
>>>>>> In /var/log/apache-stratos/cartridge-agent.log is empty???
>>>>>> 
>>>>>> How to check cartridge agent running?
>>>>>> 
>>>>>> Sent from my iPhone
>>>>>> 
>>>>>>> On Aug 12, 2014, at 10:28 AM, Udara Liyanage <ud...@wso2.com> wrote:
>>>>>>> 
>>>>>> 
>>>>>>> Hi,
>>>>>>> 
>>>>>>> Did your instance get activated?
>>>>>>> Activated means instance is spawned, relative service server are started and then cartridge agent send instance activated event.
>>>>>>> 
>>>>>>> If not ssh into the instance and check for puppet logs.
>>>>>>> If puppet logs are ok, then look for cartridge agent logs in /var/logs/apache-stratos.
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>>>>>> 
>>>>>>>> On Aug 11, 2014 11:13 PM, "Nguyen Anh Tu" <tu...@apache.org> wrote:
>>>>>>>> Hi,
>>>>>>>> 
>>>>>>>> Please attach log file for more detail.
>>>>>>>> 
>>>>>>>> Thanks,
>>>>>>>> 
>>>>>>>> --Tuna
>>>>>>>> 
>>>>>>>> 
>>>>>>>>> On Tue, Aug 12, 2014 at 12:30 AM, Dungdb <ba...@gmail.com> wrote:
>>>>>>>>> Dear all,
>>>>>>>>> I have just study about Stratos. I installed Stratos 4.0. But when i subcriber to cartridge, my app from github can't clone to php cartridge (lauching on openstack). What is cause? Pls tell me why?
>>>>>>>>> 
>>>>>>>>> Sent from my iPhone
>>>>> 
>>>>> 
>>>>> 
>>>>> -- 
>>>>> Dinesh Bandara
>>>>> 
>>>>> Software Engineer
>>>>> WSO2 Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> Đinh Bá Dũng
>>>> Tel: 0984.155.004
>>>> YM/Skype: dinhbadunga2k32
>>>> Gmail: badungbkhn@gmail.com
>>> 
>>> 
>>> 
>>> -- 
>>> 
>>> Udara Liyanage
>>> Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>> 
>>> web: http://udaraliyanage.wordpress.com
>>> phone: +94 71 443 6897
>> 
>> 
>> 
>> -- 
>> Đinh Bá Dũng
>> Tel: 0984.155.004
>> YM/Skype: dinhbadunga2k32
>> Gmail: badungbkhn@gmail.com
> 

Re: Can't get app from github

Posted by Nguyen Anh Tu <tu...@apache.org>.
Hi Dung,

For the cartridge agent question, please take a look at step 13 in this
guide:
https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Configuring+Puppet+Master

Are you sure you did this step?

You can unzip manually this file to see which scripts cartridge agent
contains.

FYI, https://dist.apache.org/repos/dist/dev/stratos/4.0.0-rc4/

Thanks,

--Tuna


On Thu, Aug 14, 2014 at 1:55 PM, Đinh Bá Dũng <ba...@gmail.com> wrote:

> Hi,
> Thanks for reply! My service name is PHP.
> I installed and configed puppet, create cartridge fllow by cwiki.
>
>
> *) But in process install puppet and create cartridge, i have an errorr
>
> ntpdate[1258]: no server suitable for synchronization found
>
> So i edited file /etc/default/ntpdate
>
> *NTPSERVERS="10.61.11.36"  // DNS Server of my network*
>
> *) And when create catridge, i have a warning.
>
> *Processing triggers for libc-bin ...*
> *ldconfig deferred processing now taking place*
> *Copying Stratos facter file to /usr/lib/ruby/1.8*
> * * Stopping puppet agent
> [ OK ] *
> *Warning: Setting templatedir is deprecated. See
> http://links.puppetlabs.com/env-settings-deprecations
> <http://links.puppetlabs.com/env-settings-deprecations>*
> *   (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1095:in
> `issue_deprecations')*
> *Info: Creating a new SSL key for 737913081442.default.php.puppet.test.org
> <http://737913081442.default.php.puppet.test.org>*
>
> **) *My configuration:
> Openstack server: 10.61.204.12
> Stratos, puppet master: 10.61.204.78
> I attached nodes.pp (in puppet master). Pls, check for me it's true or
> false??
>
> Thanks, so much!
>
>
>
>
> On 14 August 2014 11:45, Udara Liyanage <ud...@wso2.com> wrote:
>
>> Hi,
>>
>> Could you describe how you create the cartridge. What is the service name
>> you provided in the 4th phase of  "Step 2 - Configuring the cartridge"
>> in cartridge creation guide [1]
>>
>> Please provide stratos service-name: php
>>
>> [1]
>> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Creating+a+Cartridge+on+OpenStack
>>
>>
>> On Thu, Aug 14, 2014 at 9:22 AM, Đinh Bá Dũng <ba...@gmail.com>
>> wrote:
>>
>>> It here, pls check for me!
>>>
>>> Thanks
>>>
>>>
>>> On 14 August 2014 10:36, Dinesh Bandara <di...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> All the puppet logs related to cartridge can be found at
>>>> /tmp/puppet_log. Can you share that file?
>>>>
>>>>
>>>> On Thu, Aug 14, 2014 at 8:59 AM, Dungdb <ba...@gmail.com> wrote:
>>>>
>>>>> Dear devs,
>>>>> When i subcriber to cartridge. An instance on openstack started. But
>>>>> it can't get my app from github.
>>>>>
>>>>> In wso2carbon.log have no error.
>>>>> In /var/log/puppet have no file. Althought, puppet agent is running
>>>>>
>>>>> /var/log/apache-stratos# ps -ef | grep puppet
>>>>> root      1319     1  0 08:50 ?        00:00:00 /usr/bin/ruby
>>>>> /usr/bin/puppet agent
>>>>> root      1955  1790  0 08:56 pts/1    00:00:00 grep --color=auto
>>>>> puppet
>>>>>
>>>>> In /var/log/apache-stratos/cartridge-agent.log is empty???
>>>>>
>>>>> How to check cartridge agent running?
>>>>>
>>>>> Sent from my iPhone
>>>>>
>>>>> On Aug 12, 2014, at 10:28 AM, Udara Liyanage <ud...@wso2.com> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> Did your instance get activated?
>>>>> Activated means instance is spawned, relative service server are
>>>>> started and then cartridge agent send instance activated event.
>>>>>
>>>>> If not ssh into the instance and check for puppet logs.
>>>>> If puppet logs are ok, then look for cartridge agent logs in
>>>>> /var/logs/apache-stratos.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>>>> On Aug 11, 2014 11:13 PM, "Nguyen Anh Tu" <tu...@apache.org> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Please attach log file for more detail.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> --Tuna
>>>>>>
>>>>>>
>>>>>> On Tue, Aug 12, 2014 at 12:30 AM, Dungdb <ba...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Dear all,
>>>>>>> I have just study about Stratos. I installed Stratos 4.0. But when i
>>>>>>> subcriber to cartridge, my app from github can't clone to php cartridge
>>>>>>> (lauching on openstack). What is cause? Pls tell me why?
>>>>>>>
>>>>>>> Sent from my iPhone
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>> --
>>>> *Dinesh Bandara*
>>>>
>>>> Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>>
>>>
>>>
>>> --
>>> *Đinh Bá Dũng*
>>> *Tel:*
>>> * 0984.155.004**YM/Skype:*
>>> * dinhbadunga2k32 **Gmail:** badungbkhn@gmail.com
>>> <ba...@gmail.com>*
>>>
>>
>>
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>>  WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>
>
> --
> *Đinh Bá Dũng*
> *Tel:*
> * 0984.155.004**YM/Skype:*
> * dinhbadunga2k32**Gmail:** badungbkhn@gmail.com <ba...@gmail.com>*
>

Re: Can't get app from github

Posted by Đinh Bá Dũng <ba...@gmail.com>.
Hi,
Thanks for reply! My service name is PHP.
I installed and configed puppet, create cartridge fllow by cwiki.


*) But in process install puppet and create cartridge, i have an errorr

ntpdate[1258]: no server suitable for synchronization found

So i edited file /etc/default/ntpdate

*NTPSERVERS="10.61.11.36"  // DNS Server of my network*

*) And when create catridge, i have a warning.

*Processing triggers for libc-bin ...*
*ldconfig deferred processing now taking place*
*Copying Stratos facter file to /usr/lib/ruby/1.8*
* * Stopping puppet agent                                                 [
OK ] *
*Warning: Setting templatedir is deprecated. See
http://links.puppetlabs.com/env-settings-deprecations
<http://links.puppetlabs.com/env-settings-deprecations>*
*   (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1095:in
`issue_deprecations')*
*Info: Creating a new SSL key for 737913081442.default.php.puppet.test.org
<http://737913081442.default.php.puppet.test.org>*

**) *My configuration:
Openstack server: 10.61.204.12
Stratos, puppet master: 10.61.204.78
I attached nodes.pp (in puppet master). Pls, check for me it's true or
false??

Thanks, so much!




On 14 August 2014 11:45, Udara Liyanage <ud...@wso2.com> wrote:

> Hi,
>
> Could you describe how you create the cartridge. What is the service name
> you provided in the 4th phase of  "Step 2 - Configuring the cartridge" in
> cartridge creation guide [1]
>
> Please provide stratos service-name: php
>
> [1]
> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Creating+a+Cartridge+on+OpenStack
>
>
> On Thu, Aug 14, 2014 at 9:22 AM, Đinh Bá Dũng <ba...@gmail.com>
> wrote:
>
>> It here, pls check for me!
>>
>> Thanks
>>
>>
>> On 14 August 2014 10:36, Dinesh Bandara <di...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> All the puppet logs related to cartridge can be found at
>>> /tmp/puppet_log. Can you share that file?
>>>
>>>
>>> On Thu, Aug 14, 2014 at 8:59 AM, Dungdb <ba...@gmail.com> wrote:
>>>
>>>> Dear devs,
>>>> When i subcriber to cartridge. An instance on openstack started. But it
>>>> can't get my app from github.
>>>>
>>>> In wso2carbon.log have no error.
>>>> In /var/log/puppet have no file. Althought, puppet agent is running
>>>>
>>>> /var/log/apache-stratos# ps -ef | grep puppet
>>>> root      1319     1  0 08:50 ?        00:00:00 /usr/bin/ruby
>>>> /usr/bin/puppet agent
>>>> root      1955  1790  0 08:56 pts/1    00:00:00 grep --color=auto
>>>> puppet
>>>>
>>>> In /var/log/apache-stratos/cartridge-agent.log is empty???
>>>>
>>>> How to check cartridge agent running?
>>>>
>>>> Sent from my iPhone
>>>>
>>>> On Aug 12, 2014, at 10:28 AM, Udara Liyanage <ud...@wso2.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>> Did your instance get activated?
>>>> Activated means instance is spawned, relative service server are
>>>> started and then cartridge agent send instance activated event.
>>>>
>>>> If not ssh into the instance and check for puppet logs.
>>>> If puppet logs are ok, then look for cartridge agent logs in
>>>> /var/logs/apache-stratos.
>>>>
>>>>
>>>>
>>>>
>>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>>> On Aug 11, 2014 11:13 PM, "Nguyen Anh Tu" <tu...@apache.org> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Please attach log file for more detail.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> --Tuna
>>>>>
>>>>>
>>>>> On Tue, Aug 12, 2014 at 12:30 AM, Dungdb <ba...@gmail.com> wrote:
>>>>>
>>>>>> Dear all,
>>>>>> I have just study about Stratos. I installed Stratos 4.0. But when i
>>>>>> subcriber to cartridge, my app from github can't clone to php cartridge
>>>>>> (lauching on openstack). What is cause? Pls tell me why?
>>>>>>
>>>>>> Sent from my iPhone
>>>>>
>>>>>
>>>>>
>>>
>>>
>>> --
>>> *Dinesh Bandara*
>>>
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>>
>>
>>
>> --
>> *Đinh Bá Dũng*
>> *Tel:*
>> * 0984.155.004**YM/Skype:*
>> * dinhbadunga2k32 **Gmail:** badungbkhn@gmail.com <ba...@gmail.com>*
>>
>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
*Đinh Bá Dũng*
*Tel:*
* 0984.155.004**YM/Skype:*
* dinhbadunga2k32**Gmail:** badungbkhn@gmail.com <ba...@gmail.com>*

Re: Can't get app from github

Posted by Udara Liyanage <ud...@wso2.com>.
Hi,

Could you describe how you create the cartridge. What is the service name
you provided in the 4th phase of  "Step 2 - Configuring the cartridge" in
cartridge creation guide [1]

Please provide stratos service-name: php

[1]
https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Creating+a+Cartridge+on+OpenStack


On Thu, Aug 14, 2014 at 9:22 AM, Đinh Bá Dũng <ba...@gmail.com> wrote:

> It here, pls check for me!
>
> Thanks
>
>
> On 14 August 2014 10:36, Dinesh Bandara <di...@wso2.com> wrote:
>
>> Hi,
>>
>> All the puppet logs related to cartridge can be found at /tmp/puppet_log.
>> Can you share that file?
>>
>>
>> On Thu, Aug 14, 2014 at 8:59 AM, Dungdb <ba...@gmail.com> wrote:
>>
>>> Dear devs,
>>> When i subcriber to cartridge. An instance on openstack started. But it
>>> can't get my app from github.
>>>
>>> In wso2carbon.log have no error.
>>> In /var/log/puppet have no file. Althought, puppet agent is running
>>>
>>> /var/log/apache-stratos# ps -ef | grep puppet
>>> root      1319     1  0 08:50 ?        00:00:00 /usr/bin/ruby
>>> /usr/bin/puppet agent
>>> root      1955  1790  0 08:56 pts/1    00:00:00 grep --color=auto puppet
>>>
>>> In /var/log/apache-stratos/cartridge-agent.log is empty???
>>>
>>> How to check cartridge agent running?
>>>
>>> Sent from my iPhone
>>>
>>> On Aug 12, 2014, at 10:28 AM, Udara Liyanage <ud...@wso2.com> wrote:
>>>
>>> Hi,
>>>
>>> Did your instance get activated?
>>> Activated means instance is spawned, relative service server are started
>>> and then cartridge agent send instance activated event.
>>>
>>> If not ssh into the instance and check for puppet logs.
>>> If puppet logs are ok, then look for cartridge agent logs in
>>> /var/logs/apache-stratos.
>>>
>>>
>>>
>>>
>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>> On Aug 11, 2014 11:13 PM, "Nguyen Anh Tu" <tu...@apache.org> wrote:
>>>
>>>> Hi,
>>>>
>>>> Please attach log file for more detail.
>>>>
>>>> Thanks,
>>>>
>>>> --Tuna
>>>>
>>>>
>>>> On Tue, Aug 12, 2014 at 12:30 AM, Dungdb <ba...@gmail.com> wrote:
>>>>
>>>>> Dear all,
>>>>> I have just study about Stratos. I installed Stratos 4.0. But when i
>>>>> subcriber to cartridge, my app from github can't clone to php cartridge
>>>>> (lauching on openstack). What is cause? Pls tell me why?
>>>>>
>>>>> Sent from my iPhone
>>>>
>>>>
>>>>
>>
>>
>> --
>> *Dinesh Bandara*
>>
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>>
>
>
> --
> *Đinh Bá Dũng*
> *Tel:*
> * 0984.155.004**YM/Skype:*
> * dinhbadunga2k32 **Gmail:** badungbkhn@gmail.com <ba...@gmail.com>*
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Re: Can't get app from github

Posted by Đinh Bá Dũng <ba...@gmail.com>.
It here, pls check for me!

Thanks


On 14 August 2014 10:36, Dinesh Bandara <di...@wso2.com> wrote:

> Hi,
>
> All the puppet logs related to cartridge can be found at /tmp/puppet_log.
> Can you share that file?
>
>
> On Thu, Aug 14, 2014 at 8:59 AM, Dungdb <ba...@gmail.com> wrote:
>
>> Dear devs,
>> When i subcriber to cartridge. An instance on openstack started. But it
>> can't get my app from github.
>>
>> In wso2carbon.log have no error.
>> In /var/log/puppet have no file. Althought, puppet agent is running
>>
>> /var/log/apache-stratos# ps -ef | grep puppet
>> root      1319     1  0 08:50 ?        00:00:00 /usr/bin/ruby
>> /usr/bin/puppet agent
>> root      1955  1790  0 08:56 pts/1    00:00:00 grep --color=auto puppet
>>
>> In /var/log/apache-stratos/cartridge-agent.log is empty???
>>
>> How to check cartridge agent running?
>>
>> Sent from my iPhone
>>
>> On Aug 12, 2014, at 10:28 AM, Udara Liyanage <ud...@wso2.com> wrote:
>>
>> Hi,
>>
>> Did your instance get activated?
>> Activated means instance is spawned, relative service server are started
>> and then cartridge agent send instance activated event.
>>
>> If not ssh into the instance and check for puppet logs.
>> If puppet logs are ok, then look for cartridge agent logs in
>> /var/logs/apache-stratos.
>>
>>
>>
>>
>> Touched, not typed. Erroneous words are a feature, not a typo.
>> On Aug 11, 2014 11:13 PM, "Nguyen Anh Tu" <tu...@apache.org> wrote:
>>
>>> Hi,
>>>
>>> Please attach log file for more detail.
>>>
>>> Thanks,
>>>
>>> --Tuna
>>>
>>>
>>> On Tue, Aug 12, 2014 at 12:30 AM, Dungdb <ba...@gmail.com> wrote:
>>>
>>>> Dear all,
>>>> I have just study about Stratos. I installed Stratos 4.0. But when i
>>>> subcriber to cartridge, my app from github can't clone to php cartridge
>>>> (lauching on openstack). What is cause? Pls tell me why?
>>>>
>>>> Sent from my iPhone
>>>
>>>
>>>
>
>
> --
> *Dinesh Bandara*
>
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
>


-- 
*Đinh Bá Dũng*
*Tel:*
* 0984.155.004**YM/Skype:*
* dinhbadunga2k32**Gmail:** badungbkhn@gmail.com <ba...@gmail.com>*

Re: Can't get app from github

Posted by Dinesh Bandara <di...@wso2.com>.
Hi,

All the puppet logs related to cartridge can be found at /tmp/puppet_log.
Can you share that file?


On Thu, Aug 14, 2014 at 8:59 AM, Dungdb <ba...@gmail.com> wrote:

> Dear devs,
> When i subcriber to cartridge. An instance on openstack started. But it
> can't get my app from github.
>
> In wso2carbon.log have no error.
> In /var/log/puppet have no file. Althought, puppet agent is running
>
> /var/log/apache-stratos# ps -ef | grep puppet
> root      1319     1  0 08:50 ?        00:00:00 /usr/bin/ruby
> /usr/bin/puppet agent
> root      1955  1790  0 08:56 pts/1    00:00:00 grep --color=auto puppet
>
> In /var/log/apache-stratos/cartridge-agent.log is empty???
>
> How to check cartridge agent running?
>
> Sent from my iPhone
>
> On Aug 12, 2014, at 10:28 AM, Udara Liyanage <ud...@wso2.com> wrote:
>
> Hi,
>
> Did your instance get activated?
> Activated means instance is spawned, relative service server are started
> and then cartridge agent send instance activated event.
>
> If not ssh into the instance and check for puppet logs.
> If puppet logs are ok, then look for cartridge agent logs in
> /var/logs/apache-stratos.
>
>
>
>
> Touched, not typed. Erroneous words are a feature, not a typo.
> On Aug 11, 2014 11:13 PM, "Nguyen Anh Tu" <tu...@apache.org> wrote:
>
>> Hi,
>>
>> Please attach log file for more detail.
>>
>> Thanks,
>>
>> --Tuna
>>
>>
>> On Tue, Aug 12, 2014 at 12:30 AM, Dungdb <ba...@gmail.com> wrote:
>>
>>> Dear all,
>>> I have just study about Stratos. I installed Stratos 4.0. But when i
>>> subcriber to cartridge, my app from github can't clone to php cartridge
>>> (lauching on openstack). What is cause? Pls tell me why?
>>>
>>> Sent from my iPhone
>>
>>
>>


-- 
*Dinesh Bandara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Re: Can't get app from github

Posted by Dungdb <ba...@gmail.com>.
Dear devs,
When i subcriber to cartridge. An instance on openstack started. But it can't get my app from github. 

In wso2carbon.log have no error. 
In /var/log/puppet have no file. Althought, puppet agent is running

/var/log/apache-stratos# ps -ef | grep puppet
root      1319     1  0 08:50 ?        00:00:00 /usr/bin/ruby /usr/bin/puppet agent
root      1955  1790  0 08:56 pts/1    00:00:00 grep --color=auto puppet

In /var/log/apache-stratos/cartridge-agent.log is empty???

How to check cartridge agent running?

Sent from my iPhone

> On Aug 12, 2014, at 10:28 AM, Udara Liyanage <ud...@wso2.com> wrote:
> 
> Hi,
> 
> Did your instance get activated?
> Activated means instance is spawned, relative service server are started and then cartridge agent send instance activated event.
> 
> If not ssh into the instance and check for puppet logs.
> If puppet logs are ok, then look for cartridge agent logs in /var/logs/apache-stratos.
> 
> 
> 
> 
> 
> Touched, not typed. Erroneous words are a feature, not a typo.
> 
>> On Aug 11, 2014 11:13 PM, "Nguyen Anh Tu" <tu...@apache.org> wrote:
>> Hi,
>> 
>> Please attach log file for more detail.
>> 
>> Thanks,
>> 
>> --Tuna
>> 
>> 
>>> On Tue, Aug 12, 2014 at 12:30 AM, Dungdb <ba...@gmail.com> wrote:
>>> Dear all,
>>> I have just study about Stratos. I installed Stratos 4.0. But when i subcriber to cartridge, my app from github can't clone to php cartridge (lauching on openstack). What is cause? Pls tell me why?
>>> 
>>> Sent from my iPhone

Re: Can't get app from github

Posted by Udara Liyanage <ud...@wso2.com>.
Hi,

Did your instance get activated?
Activated means instance is spawned, relative service server are started
and then cartridge agent send instance activated event.

If not ssh into the instance and check for puppet logs.
If puppet logs are ok, then look for cartridge agent logs in
/var/logs/apache-stratos.




Touched, not typed. Erroneous words are a feature, not a typo.
On Aug 11, 2014 11:13 PM, "Nguyen Anh Tu" <tu...@apache.org> wrote:

> Hi,
>
> Please attach log file for more detail.
>
> Thanks,
>
> --Tuna
>
>
> On Tue, Aug 12, 2014 at 12:30 AM, Dungdb <ba...@gmail.com> wrote:
>
>> Dear all,
>> I have just study about Stratos. I installed Stratos 4.0. But when i
>> subcriber to cartridge, my app from github can't clone to php cartridge
>> (lauching on openstack). What is cause? Pls tell me why?
>>
>> Sent from my iPhone
>
>
>

Re: Can't get app from github

Posted by Nirmal Fernando <ni...@gmail.com>.
Also, it'll be help, if you can send the wso2carbon.log file of Stratos JVM
(repository/logs/wso2carbon.log).


On Tue, Aug 12, 2014 at 8:41 AM, Nirmal Fernando <ni...@gmail.com>
wrote:

> Hi,
>
> Could you please send the cartridge agent log at
> /var/log/apache-stratos/cartridge-agent.log of Cartridge instance?
>
>
> On Mon, Aug 11, 2014 at 11:13 PM, Nguyen Anh Tu <tu...@apache.org> wrote:
>
>> Hi,
>>
>> Please attach log file for more detail.
>>
>> Thanks,
>>
>> --Tuna
>>
>>
>> On Tue, Aug 12, 2014 at 12:30 AM, Dungdb <ba...@gmail.com> wrote:
>>
>>> Dear all,
>>> I have just study about Stratos. I installed Stratos 4.0. But when i
>>> subcriber to cartridge, my app from github can't clone to php cartridge
>>> (lauching on openstack). What is cause? Pls tell me why?
>>>
>>> Sent from my iPhone
>>
>>
>>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: Can't get app from github

Posted by Nirmal Fernando <ni...@gmail.com>.
Hi,

Could you please send the cartridge agent log at
/var/log/apache-stratos/cartridge-agent.log of Cartridge instance?


On Mon, Aug 11, 2014 at 11:13 PM, Nguyen Anh Tu <tu...@apache.org> wrote:

> Hi,
>
> Please attach log file for more detail.
>
> Thanks,
>
> --Tuna
>
>
> On Tue, Aug 12, 2014 at 12:30 AM, Dungdb <ba...@gmail.com> wrote:
>
>> Dear all,
>> I have just study about Stratos. I installed Stratos 4.0. But when i
>> subcriber to cartridge, my app from github can't clone to php cartridge
>> (lauching on openstack). What is cause? Pls tell me why?
>>
>> Sent from my iPhone
>
>
>


-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: Can't get app from github

Posted by Nguyen Anh Tu <tu...@apache.org>.
Hi,

Please attach log file for more detail.

Thanks,

--Tuna


On Tue, Aug 12, 2014 at 12:30 AM, Dungdb <ba...@gmail.com> wrote:

> Dear all,
> I have just study about Stratos. I installed Stratos 4.0. But when i
> subcriber to cartridge, my app from github can't clone to php cartridge
> (lauching on openstack). What is cause? Pls tell me why?
>
> Sent from my iPhone