Re: Can't get app from github

2014-08-18 Thread Manula Chathurika Thantriwatte
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 wrote: > Seems like the host name hasn't been set properly in the instance. Can you > please expl

Re: Can't get app from github

2014-08-18 Thread Nirmal Fernando
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 wrote: > Dear Nirmal Fernando, > It is my puppet_log file! > > > > > > > > > > > > > > > > > *Removing all exi

Re: Can't get app from github

2014-08-18 Thread Gayan Gunarathne
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 wrote: > Dear Tu, > I checked in /mnt/apache-stra

Re: Can't get app from github

2014-08-18 Thread Dungdb
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 atte

Re: Can't get app from github

2014-08-18 Thread Nirmal Fernando
Can you please send the /tmp/puppet_log ? On Mon, Aug 18, 2014 at 2:23 PM, Dungdb 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 :(

Re: Can't get app from github

2014-08-18 Thread Dungdb
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 wrote

Re: Can't get app from github

2014-08-18 Thread Nguyen Anh Tu
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 wrote: > > On Mon, Aug 18, 2014 at 3:27 PM, Dungdb wrote: > >> I sure i did step 13. When i done created cartridge, cartridge agent is >> unzip in /mnt/apache-strato

Re: Can't get app from github

2014-08-18 Thread Nguyen Anh Tu
On Mon, Aug 18, 2014 at 3:27 PM, Dungdb 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/strat

Re: Can't get app from github

2014-08-18 Thread Dungdb
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 wrote: > > Hi Dung, > > For the cartridge agent question, please take a look at step 13 in this

Re: Can't get app from github

2014-08-18 Thread Nguyen Anh Tu
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:

Re: Can't get app from github

2014-08-13 Thread Đinh Bá Dũng
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=

Re: Can't get app from github

2014-08-13 Thread Udara Liyanage
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+C

Re: Can't get app from github

2014-08-13 Thread Đinh Bá Dũng
It here, pls check for me! Thanks On 14 August 2014 10:36, Dinesh Bandara 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 wrote: > >> Dear devs, >> When i subcriber to cartridge

Re: Can't get app from github

2014-08-13 Thread Dinesh Bandara
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 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 hav

Re: Can't get app from github

2014-08-13 Thread Dungdb
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 ?

Re: Can't get app from github

2014-08-11 Thread Udara Liyanage
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/co

Re: Can't get app from github

2014-08-11 Thread Manula Chathurika Thantriwatte
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 wrote: > Dear Udara, > When i subcriber

Re: Can't get app from github

2014-08-11 Thread Dungdb
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 i

Re: Can't get app from github

2014-08-11 Thread Udara Liyanage
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/apac

Re: Can't get app from github

2014-08-11 Thread Nirmal Fernando
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 wrote: > Hi, > > Could you please send the cartridge agent log at > /var/log/apache-stratos/cartridge-agent.log of Cartridge instance? >

Re: Can't get app from github

2014-08-11 Thread Nirmal Fernando
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 wrote: > Hi, > > Please attach log file for more detail. > > Thanks, > > --Tuna > > > On Tue, Aug 12, 2014 at 12:30 AM, Dungdb

Re: Can't get app from github

2014-08-11 Thread Nguyen Anh Tu
Hi, Please attach log file for more detail. Thanks, --Tuna On Tue, Aug 12, 2014 at 12:30 AM, Dungdb 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). W

Can't get app from github

2014-08-11 Thread Dungdb
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