Re: How to set values for ARTFCT_CLONE_RETRIES & ARTFCT_CLONE_INT in agent.conf

2015-08-14 Thread Punnadi Gunarathna
Thank you everyone! On Fri, Aug 14, 2015 at 1:57 PM, Lasindu Charith wrote: > Hi Punnadi, > > This new property was introduced in Stratos 4.1.1 PCA. If you are using a > base image, which is based on PCA 4.1.0(i.e PPaaS 4.1.0-SNAPSHOT), this > property might not be available. > So, as Udara ment

Re: How to set values for ARTFCT_CLONE_RETRIES & ARTFCT_CLONE_INT in agent.conf

2015-08-14 Thread Lasindu Charith
Hi Punnadi, This new property was introduced in Stratos 4.1.1 PCA. If you are using a base image, which is based on PCA 4.1.0(i.e PPaaS 4.1.0-SNAPSHOT), this property might not be available. So, as Udara mentioned, please add following lines to start-agent.sh to resolve the issue. if [ -z "${ARTF

Re: How to set values for ARTFCT_CLONE_RETRIES & ARTFCT_CLONE_INT in agent.conf

2015-08-14 Thread Pubudu Gunatilaka
Hi Punnadi, It seems like that ARTFCT_CLONE_RETRIES and ARTFCT_CLONE_INT properties are missing from start-agent.sh file in [1]. If you check the start-agent.sh file which resides in /usr/local/bin directory of a spawned docker instance, you can verify that. What you can do is add those entries t

Re: How to set values for ARTFCT_CLONE_RETRIES & ARTFCT_CLONE_INT in agent.conf

2015-08-14 Thread Punnadi Gunarathna
Hi Udara, I checked for the run file in /usr/local/bin in my spawned docker container and it is not there. But in the base image the code is exactly same with what you have provided above. On Fri, Aug 14, 2015 at 12:39 PM, Udara Liyanage wrote: > Hi, > > Found that run script which is the ent

Re: How to set values for ARTFCT_CLONE_RETRIES & ARTFCT_CLONE_INT in agent.conf

2015-08-14 Thread Udara Liyanage
Hi, Found that run script which is the entry point of the of the base image have following lines to replace it. Could you check weather your Docker image have them. [Adding Lasindu] if [ -z "${ARTFCT_CLONE_RETRIES}" ]; then sed -i "s/ARTFCT_CLONE_RETRIES/5/g" ${PCA_HOME}/agent.conf else

How to set values for ARTFCT_CLONE_RETRIES & ARTFCT_CLONE_INT in agent.conf

2015-08-13 Thread Punnadi Gunarathna
Hi All, I encountered below exception in CA log. [2015-08-14 06:21:58,671] DEBUG {agentgithandler.py:checkout} - Cloning artifacts from https://admin:ad...@s2git.appfactory.private.wso2.com:8444/r/Development/as/3.git for the first time to /opt/wso2as-5.2.1/repository/tenants/3 [2015-08-14 06:21: