Hi Manula,
I took backups of all my docker images[1] and try to start over again.
First I stop all services related to openstack and startos including
activemq.(is there a proper sequence to stop these services?) Then I
unstack openstack and try to restart it using stack.sh, apparently I cant
access http://us.archive.ubuntu.com from my home internet connection.[2] -
same error I got earlier for something similar using my home internet
connection. Is it must to use a cooperate network to access these
repositories?.

Err http://ppa.launchpad.net precise/main i386 Packages

  Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No
address associated with hostname)
Err http://extras.ubuntu.com precise/main i386 Packages

  Something wicked happened resolving 'extras.ubuntu.com:http' (-5 - No
address associated with hostname)
Ign http://us.archive.ubuntu.com precise-updates/main amd64
Packages/DiffIndex
Err http://extras.ubuntu.com precise/main Translation-en_US

  Something wicked happened resolving 'extras.ubuntu.com:http' (-5 - No
address associated with hostname)
Ign http://us.archive.ubuntu.com precise-updates/restricted amd64
Packages/DiffIndex
Err http://ppa.launchpad.net precise/main Translation-en_US

  Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No
address associated with hostname)
Err http://ppa.launchpad.net precise/main Translation-en

  Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No
address associated with hostname)
Ign http://us.archive.ubuntu.com precise-updates/universe amd64
Packages/DiffIndex
Err http://extras.ubuntu.com precise/main Translation-en
  Something wicked happened resolving 'extras.ubuntu.com:http' (-5 - No
address associated with hostname)
Ign http://us.archive.ubuntu.com precise-updates/multiverse amd64
Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/main i386
Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/restricted i386
Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/universe i386
Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/multiverse i386
Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Ign http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Ign http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Ign http://us.archive.ubuntu.com precise-backports/main Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise-backports/restricted
Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise-backports/universe
Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise-backports/multiverse
Sources/DiffIndex
Err https://get.docker.io docker/main amd64 Packages
  Couldn't resolve host 'get.docker.io'
Ign http://us.archive.ubuntu.com precise-backports/main amd64
Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise-backports/restricted amd64
Packages/DiffIndex
Err https://get.docker.io docker/main i386 Packages
  Couldn't resolve host 'get.docker.io'
19% [Connecting to us.archive.ubuntu.com]

Thanks,


[1]-
http://sencs.blogspot.com/2014/09/how-to-save-and-load-docker-rimages.html
[2]-
http://stackoverflow.com/questions/25832153/error-occurred-while-installing-openstack-after-setting-force-yes

On Sat, Sep 27, 2014 at 12:24 PM, Thushara Ranawaka <[email protected]>
wrote:

> 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 <%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*
*[email protected] <[email protected]>*

Reply via email to