Hi Manula,
Looks like still the problem is stratos agent not getting updated on the
creation of docker image. I found below error log in the openstack instance
log page.

Saving to: 'public-ipv4'

 0% [                                       ] 0           --.-K/s
   100%[======================================>] 12          --.-K/s   in
0s

2014-09-27 05:57:22 (822 KB/s) - 'public-ipv4' saved [12/12]

/root/bin/init.sh: line 71: $LOG: ambiguous redirect
/root/bin/init.sh: line 74: $LOG: ambiguous redirect
/root/bin/init.sh: line 83: $LOG: ambiguous redirect
/root/bin/init.sh: line 100: $LOG: ambiguous redirect
--2014-09-27 05:57:22--  http://169.254.169.254/latest/user-data
Connecting to 169.254.169.254:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 533 [text/html]
Saving to: '/tmp/payload/launch-params'

 0% [                                       ] 0           --.-K/s
   100%[======================================>] 533         --.-K/s   in
0s

2014-09-27 05:57:22 (12.5 MB/s) - '/tmp/payload/launch-params' saved
[533/533]

cp: cannot create regular file
'/mnt/apache-stratos-cartridge-agent-4.0.0/payload/launch-params': No such
file or directory
/root/bin/init.sh: line 118: cd:
/mnt/apache-stratos-cartridge-agent-4.0.0/bin/: No such file or directory
sed: can't read stratos.sh: No such file or directory
sed: can't read stratos.sh: No such file or directory
sed: can't read stratos.sh: No such file or directory
sed: can't read stratos.sh: No such file or directory
/root/bin/init.sh: line 124: cd:
/mnt/apache-stratos-cartridge-agent-4.0.0/conf: No such file or directory
sed: can't read jndi.properties: No such file or directory
sed: can't read jndi.properties: No such file or directory
/root/bin/init.sh: line 128: cd: templates: No such file or directory
sed: can't read jndi.properties.template: No such file or directory
sed: can't read jndi.properties.template: No such file or directory
/root/bin/init.sh: line 134: cd:
/mnt/apache-stratos-cartridge-agent-4.0.0/bin/: No such file or directory
/root/bin/init.sh: line 134: ./stratos.sh: No such file or directory.

Thanks,

On Sat, Sep 27, 2014 at 9:23 AM, Manula Chathurika Thantriwatte <
[email protected]> wrote:

> Hi Thushara,
>
> That's grate. Please let us know if you faced problems.
>
> Thanks !
>
> On Sat, Sep 27, 2014 at 9:15 AM, Thushara Ranawaka <[email protected]>
> wrote:
>
>> Hi Manula,
>> Yes, I was able to overcome that issue. As per the workaround solution i
>> just install the make and man at the beginning of the dockerfile.
>>
>> RUN apt-get install -y g++ apt-utils apache2 zip unzip vim facter nano
>> man make
>>
>> Now moving forward with the created image and its behaviour.
>> Thanks
>>
>>
>> On Sat, Sep 27, 2014 at 9:08 AM, Manula Chathurika Thantriwatte <
>> [email protected]> wrote:
>>
>>> Hi Thushara,
>>>
>>> Would you be able to solve the problem in cartridge agent startup script
>>> in your docker container ? You can put the debug logs in the docker file
>>> and see from what place the docker file get fails.
>>>
>>> Thanks !
>>>
>>> On Thu, Sep 25, 2014 at 8:38 PM, Thushara Ranawaka <[email protected]>
>>> wrote:
>>>
>>>> Hi Manula,
>>>> FYI
>>>> Today I modified the couchdb docker file which attached with the mail.
>>>> Firstly I used ubuntu 12.04 to create the docker container later shift to
>>>> 14.04 due to compatibility issues occurred while configuring
>>>> apache2(000-default.conf).
>>>>
>>>> The error log that I had while creating the docker image is attached
>>>> below. Finally i was able to overcome these issues and in the EOD I figure
>>>> out a error in the stratos agent which is in the docker vm.
>>>>
>>>> Thanks,
>>>> Thushara
>>>>
>>>> On Thu, Sep 25, 2014 at 4:34 PM, Samisa Abeysinghe <[email protected]>
>>>> wrote:
>>>>
>>>>> Looks good
>>>>>
>>>>> Thanks,
>>>>> Samisa...
>>>>>
>>>>>
>>>>> Samisa Abeysinghe
>>>>>
>>>>> Vice President Delivery
>>>>>
>>>>> WSO2 Inc.
>>>>> http://wso2.com
>>>>>
>>>>>
>>>>> On Mon, Sep 22, 2014 at 6:09 PM, Thushara Ranawaka <[email protected]
>>>>> > wrote:
>>>>>
>>>>>> Hi Lakmal,
>>>>>> As per the discussion I had with you, I'm going to select $subject
>>>>>> training project[2]. I attached the sample milestone plan[1] here with.
>>>>>> Kindly review my draft milestone plan and comment on further 
>>>>>> improvements.
>>>>>>
>>>>>> Thanks,
>>>>>> Thushara
>>>>>>
>>>>>>
>>>>>> [1]-
>>>>>> https://docs.google.com/a/wso2.com/spreadsheets/d/1i9b7mvaqNEHNSSeN1EX28HiMQRs9v1Z9X9mTocUSli8/edit?usp=sharing
>>>>>> [2]-https://redmine.wso2.com/issues/3221
>>>>>>
>>>>>> --
>>>>>> Thushara Kasun Ranawaka
>>>>>> Software Engineer
>>>>>> WSO2 Inc.; <http://www.wso2.com>
>>>>>> lean.enterprise.middleware
>>>>>> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
>>>>>> *[email protected] <[email protected]>*
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Thushara Kasun Ranawaka
>>>> Software Engineer
>>>> WSO2 Inc.; <http://www.wso2.com>
>>>> lean.enterprise.middleware
>>>> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
>>>> *[email protected] <[email protected]>*
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Manula Chathurika Thantriwatte
>>> Software Engineer
>>> WSO2 Inc. : http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> email : [email protected] / [email protected]
>>> phone : +94 772492511
>>> blog : http://manulachathurika.blogspot.com/
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Thushara Kasun Ranawaka
>> Software Engineer
>> WSO2 Inc.; <http://www.wso2.com>
>> lean.enterprise.middleware
>> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
>> *[email protected] <[email protected]>*
>>
>
>
>
> --
> Regards,
> Manula Chathurika Thantriwatte
> Software Engineer
> WSO2 Inc. : http://wso2.com
> lean . enterprise . middleware
>
> email : [email protected] / [email protected]
> phone : +94 772492511
> blog : http://manulachathurika.blogspot.com/
>
>
>
>


-- 
Thushara Kasun Ranawaka
Software Engineer
WSO2 Inc.; <http://www.wso2.com>
lean.enterprise.middleware
Mobile : *+94 (0) 773438949*
*[email protected] <[email protected]>*

Reply via email to