Hi Lakmal, Yes it was possible. Make sure that your virtualbox(I guess you are working with virtualbox vm) host-only interface has the correct gateway. For example in my localrc I have FLOATING_RANGE=192.168.92.0/27 In my host-only interface I have under the ipv4 address field 192.168.92.1
Damitha On Mon, Feb 3, 2014 at 9:36 AM, Lakmal Warusawithana <lak...@wso2.com>wrote: > Hi Damitha, > > Great job!! one quick question, do you able access docker vm from the > assign floating IP? > > thanks > > > On Fri, Jan 31, 2014 at 7:51 PM, damitha kumarage <damith...@gmail.com>wrote: > >> Hi, >> I was able to do a stable setup of Docker 0.7.2 on Ubuntu 13.04 with >> Havana/stable branch. I have written a blog post [1] explaining in detail >> the steps. Openstack Havana/Docker experience is far better than our >> previous experiences with Openstack Essex/lxc. Main thing is it seems to >> solve stability issues. >> >> Pros: >> - Docker driver support for Openstack is active than lxc driver support >> - It promise container portability with minimum effort. >> - Provide image customization and manipulation facilities. Earlier we did >> them iwith our own scripts. >> - Docker repositories >> >> Cons: >> - Still some of the features promished not working. container suspend, >> reboot don't work(I still did not check whether this solved by meta data >> serivce patch). However could be rebooted from within. But we are not still >> using these features from within Stratos(container pooling). Also spawning >> instances correctly from snapshots did not work for me. >> >> >> [1] >> http://damithakumarage.wordpress.com/2014/01/31/how-to-setup-openstack-havana-with-docker-driver/ >> >> >> On Mon, Jan 20, 2014 at 1:42 PM, bala ajanthan <balaajant...@gmail.com>wrote: >> >>> Hi damitha, >>> I was able to setup openstack with Doker and test Stratos4.I am >>> continuing all my work on the setup.I did following in order to stabilize >>> the setup. >>> >>> 1.Upgraded the kernel to 3.8.0-26-generic(in lower version there were >>> frequent crash while spawning instances) >>> 2.Ported fix for bug[0] in order to terminate instances >>> 3.Ported fix for bug[1] to enable meta data service. >>> >>> i am using devstack havana branch[3] and docker 0.6.1 with following >>> localrc to setup. >>> >>> FLOATING_RANGE=192.168.1.0/27 >>> FIXED_RANGE=10.11.12.0/24 >>> FIXED_NETWORK_SIZE=256 >>> FLAT_INTERFACE=eth1 >>> ADMIN_PASSWORD=admin >>> MYSQL_PASSWORD=root >>> RABBIT_PASSWORD=rabbitmq >>> SERVICE_PASSWORD=iheartksl >>> SERVICE_TOKEN=token >>> SCHEDULER=nova.scheduler.filter_scheduler.FilterScheduler >>> VIRT_DRIVER=docker >>> SCREEN_LOGDIR=$DEST/logs/screen >>> >>> Thanks >>> >>> [0]https://bugs.launchpad.net/nova/+bug/1245466 >>> [1]https://bugs.launchpad.net/nova/+bug/1259267 >>> [3]https://github.com/openstack-dev/devstack/tree/stable/havana >>> >>> >>> On Mon, Jan 20, 2014 at 12:22 PM, damitha kumarage >>> <damith...@gmail.com>wrote: >>> >>>> Hi, >>>> So we have two ways of running docker containers for Stratos cartridges. >>>> >>>> I have been doing some work to get docker containers running in >>>> Openstack. Though this worked with >>>> busybox there was problems with Ubuntu os. I reported this [1] and >>>> waiting for a solution. Has any stratos guy tried this way already? If not >>>> we need yet to >>>> verify whether we still run into stability issues we faced with >>>> Openstack early versions with lxc, in the new Openstack havana release as >>>> well. In this effort I will continue >>>> to verify havana with docker driver is a good option for stratos. >>>> >>>> The other option is using pure docker container environment through >>>> jClouds api implementation Nirmal has done (which I guess is the better >>>> option provided this has better stability over openstack/docker). >>>> >>>> Nirmal, have you written Stratos jClouds docker api wrapper layer yet? >>>> If so can you provide me guide to get Stratos run with docker IaaS? >>>> >>>> Damitha >>>> >>>> [1] >>>> https://ask.openstack.org/en/question/10650/return-0-hosts-error-when-spawn-docker-containers-using-openstack-havana-running-on-ubuntu-1304/ >>>> >>> >>> >>> >>> -- >>> Balachandiran Ajanthan >>> Phone:+94775581497 >>> Blog : http://ajanthan87.blogspot.com >>> Twitter: ajanthan87 >>> skype :bala.ajanthan >>> gtalk :balaajanthan >>> >> >> >> >> -- >> __________________________________________________________________ >> Damitha Kumarage >> http://people.apache.org/ >> __________________________________________________________________ >> > > > > -- > Lakmal Warusawithana > Software Architect; WSO2 Inc. > Mobile : +94714289692 > Blog : http://lakmalsview.blogspot.com/ > > -- __________________________________________________________________ Damitha Kumarage http://people.apache.org/ __________________________________________________________________