Hi Chris, After installing the Vagrant version 1.5.3 by deb package the problem disappeared and I think this is going to be really great development/testing environment for Stratos.
As usually happened with me Docker registry download failed, this time not once or twice but more than 20 times so that the limit you set(I guess) to continue the download exceeded and it failed. So I think we need to continue this until download succeeded. I don't know why this download is always breaking. May be we need to copy that to somewhere else and download from there. Damitha Damitha On Tue, Apr 15, 2014 at 6:37 PM, chris snow <[email protected]> wrote: > Hi Damitha - please ping back here if you run into other issues... > > On Tue, Apr 15, 2014 at 12:25 PM, chris snow <[email protected]> wrote: > > Ah yes, try installing vagrant from: > http://www.vagrantup.com/downloads.html > > > > It sounds like you may have an older version of vagrant. > > > > On Tue, Apr 15, 2014 at 12:17 PM, damitha kumarage <[email protected]> > wrote: > >> Hi Chris, > >> I still get the same error after cloning your repo. I just execute > >> vagrant up && vagrant ssh -c "./openstack.sh -f" && vagrant reload && > >> vagrant ssh -c "./openstack.sh -f" > >> from inside devcloud-script folder. > >> Could this be a version problem? I am on Ubuntu precise and installed > >> vagrant from apt > >> > >> Damitha > >> > >> > >> On Tue, Apr 15, 2014 at 4:08 PM, chris snow <[email protected]> > wrote: > >>> > >>> Hi Damitha - how did you get on? Did you run into any other issues? > >>> > >>> On Tue, Apr 15, 2014 at 7:41 AM, chris snow <[email protected]> > wrote: > >>> > Hi Damitha, > >>> > > >>> > Thanks for trying!! > >>> > > >>> > That error is a little strange. It sounds like the Vagrantfile has > >>> > got corrupted. > >>> > > >>> > Would you mind trying to clone my repo and trying on master: > >>> > > >>> > git clone [email protected]:snowch/devcloud-script.git > >>> > cd devcloud-script > >>> > vagrant up && \ > >>> > vagrant ssh -c "./openstack.sh -f" && \ > >>> > vagrant reload && \ > >>> > vagrant ssh -c "./openstack.sh -f" > >>> > > >>> > I've added some more steps to 'master', nearly completing your second > >>> > wiki page. > >>> > > >>> > Many thanks, > >>> > > >>> > Chris > >>> > > >>> > > >>> > > >>> > > >>> > On Tue, Apr 15, 2014 at 6:34 AM, damitha kumarage < > [email protected]> > >>> > wrote: > >>> >> Hi Chris, > >>> >> This is really great work from you. The changes you have done > should be > >>> >> fine. > >>> >> When I run the command you gave I get > >>> >> > >>> >> There is a syntax error in the following Vagrantfile. The syntax > error > >>> >> message is reproduced below for convenience: > >>> >> > >>> >> > >>> >> > /home/damitha/projects/apache_stratos/work/devcloud-script-openstack-runtime/Vagrantfile:52: > >>> >> syntax error, unexpected ':', expecting kEND > >>> >> ....vm.provision "shell", inline: "ln -sf /vagrant/stratos_dev.... > >>> >> ^ > >>> >> > >>> >> > /home/damitha/projects/apache_stratos/work/devcloud-script-openstack-runtime/Vagrantfile:52: > >>> >> syntax error, unexpected ',', expecting kEND > >>> >> .../home/vagrant/stratos_dev.sh", privileged: false > >>> >> ^ > >>> >> > >>> >> > /home/damitha/projects/apache_stratos/work/devcloud-script-openstack-runtime/Vagrantfile:53: > >>> >> syntax error, unexpected ':', expecting kEND > >>> >> ....vm.provision "shell", inline: "ln -sf /vagrant/iaas.conf /h... > >>> >> ^ > >>> >> > >>> >> > /home/damitha/projects/apache_stratos/work/devcloud-script-openstack-runtime/Vagrantfile:53: > >>> >> syntax error, unexpected ',', expecting kEND > >>> >> ...conf /home/vagrant/iaas.conf", privileged: false > >>> >> ^ > >>> >> > >>> >> > /home/damitha/projects/apache_stratos/work/devcloud-script-openstack-runtime/Vagrantfile:54: > >>> >> syntax error, unexpected ':', expecting kEND > >>> >> ....vm.provision "shell", inline: "ln -sf /vagrant/openstack/op... > >>> >> ^ > >>> >> > >>> >> > /home/damitha/projects/apache_stratos/work/devcloud-script-openstack-runtime/Vagrantfile:54: > >>> >> syntax error, unexpected ',', expecting kEND > >>> >> ...h /home/vagrant/openstack.sh", privileged: false > >>> >> > >>> >> Damitha > >>> >> > >>> >> > >>> >> On Sun, Apr 13, 2014 at 11:41 PM, chris snow <[email protected]> > >>> >> wrote: > >>> >>> > >>> >>> Hi Damitha, > >>> >>> > >>> >>> I've converted your first wiki page to vagrant. > >>> >>> > >>> >>> To try it out, you just need to install vagrant and then run: > >>> >>> > >>> >>> wget --no-check-certificate > >>> >>> > >>> >>> > >>> >>> > https://github.com/snowch/devcloud-script/archive/56e31da85050b611bef7e62c38159700062c6965.zip > >>> >>> unzip openstack-runtime.zip > >>> >>> cd devcloud-script-openstack-runtime > >>> >>> vagrant up && \ > >>> >>> vagrant ssh -c "./openstack.sh -f" && \ > >>> >>> vagrant reload && \ > >>> >>> vagrant ssh -c "./openstack.sh -f" > >>> >>> > >>> >>> The main differences to your wiki: > >>> >>> > >>> >>> - swap wso2 user for vagrant > >>> >>> - eth1 is a private network (192.168.56.0) used for a later > >>> >>> Cloudstack environment > >>> >>> - eth2 is the openstack private network (192.168.92.1) > >>> >>> - private network 192.168.57.1 has been removed. it is no longer > >>> >>> needed as connection can be done with 'vagrant ssh' > >>> >>> > >>> >>> The openstack script [1] is one long method at the moment, which I > >>> >>> will need to refactor when I have added all the steps. > >>> >>> > >>> >>> Please let me know if there are any areas that can be improved. > >>> >>> > >>> >>> Many thanks, > >>> >>> > >>> >>> Chris > >>> >>> > >>> >>> --- > >>> >>> [1] > >>> >>> > >>> >>> > https://github.com/snowch/devcloud-script/blob/56e31da85050b611bef7e62c38159700062c6965/openstack/openstack.sh > >>> >>> > >>> >>> On Wed, Mar 12, 2014 at 1:33 PM, damitha kumarage > >>> >>> <[email protected]> > >>> >>> wrote: > >>> >>> > Hi Devs, > >>> >>> > I have been doing some work to get Docker[1] as an IaaS for > Stratos. > >>> >>> > I > >>> >>> > have > >>> >>> > setup a Virtualbox VM that run all Stratos servers and > >>> >>> > Openstack/Docker > >>> >>> > that > >>> >>> > run in my laptop using just 5.2G memory. We can further curtail > this > >>> >>> > memory > >>> >>> > requirement if we setup Stratos servers run in single jvm as > >>> >>> > discussed > >>> >>> > in > >>> >>> > the thread "development environment stratos runtime setup". > >>> >>> > > >>> >>> > I have detailed the process in [2]. I can upload this Virtualbox > >>> >>> > image(3.1G > >>> >>> > in size) somewhere since I think this is a good environment for > >>> >>> > developer > >>> >>> > testing. > >>> >>> > > >>> >>> > Since Stratos already provide support for Openstack IaaS with > >>> >>> > lxc/kvm > >>> >>> > drivers there is no additional work needed on Stratos CC. Only in > >>> >>> > the > >>> >>> > Openstack setup you need to set the Docker driver instead of lxc > or > >>> >>> > kvm > >>> >>> > drivers. But there are some work involved when creating cartridge > >>> >>> > images > >>> >>> > for > >>> >>> > Openstack/Docker. Following is some information on this > additional > >>> >>> > work > >>> >>> > > >>> >>> > - Add an Ubuntu 64 bit base image into Docker repository(public?) > >>> >>> > that > >>> >>> > provide > >>> >>> > 1) support to access instances by using ssh key > >>> >>> > 2) Access userdata from metadata server when booting up > >>> >>> > instances > >>> >>> > 3) Any other initial settings needed for a Stratos > >>> >>> > Cartridge(Is > >>> >>> > this > >>> >>> > redundant to what we do using Puppet?) > >>> >>> > both of which are needed by cartridges instances of Startos. We > >>> >>> > can > >>> >>> > have > >>> >>> > this base image in Docker public repository as well. > >>> >>> > > >>> >>> > - Provide Dockerfile(The configuration file used in Docker to > build > >>> >>> > images) > >>> >>> > to create specific cartridges based on the base image we added > >>> >>> > above. > >>> >>> > This > >>> >>> > may seem like duplicate effort since this does the same work what > >>> >>> > Puppet > >>> >>> > do > >>> >>> > in creating cartridges for Openstack/kvm and EC2 Iaas > environments. > >>> >>> > > >>> >>> > Damitha > >>> >>> > > >>> >>> > [1] https://www.docker.io/ > >>> >>> > [2] > >>> >>> > > >>> >>> > > >>> >>> > > http://damithakumarage.wordpress.com/2014/01/31/how-to-setup-openstack-havana-with-docker-driver/ > >>> >>> > > >>> >>> > -- > >>> >>> > > __________________________________________________________________ > >>> >>> > Damitha Kumarage > >>> >>> > http://people.apache.org/ > >>> >>> > > __________________________________________________________________ > >>> >>> > >>> >>> > >>> >>> > >>> >>> -- > >>> >>> Check out my professional profile and connect with me on LinkedIn. > >>> >>> http://lnkd.in/cw5k69 > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> -- > >>> >> __________________________________________________________________ > >>> >> Damitha Kumarage > >>> >> http://people.apache.org/ > >>> >> __________________________________________________________________ > >>> > > >>> > > >>> > > >>> > -- > >>> > Check out my professional profile and connect with me on LinkedIn. > >>> > http://lnkd.in/cw5k69 > >>> > >>> > >>> > >>> -- > >>> Check out my professional profile and connect with me on LinkedIn. > >>> http://lnkd.in/cw5k69 > >> > >> > >> > >> > >> -- > >> __________________________________________________________________ > >> Damitha Kumarage > >> http://people.apache.org/ > >> __________________________________________________________________ > > > > > > > > -- > > Check out my professional profile and connect with me on LinkedIn. > > http://lnkd.in/cw5k69 > > > > -- > Check out my professional profile and connect with me on LinkedIn. > http://lnkd.in/cw5k69 > -- __________________________________________________________________ Damitha Kumarage http://people.apache.org/ __________________________________________________________________
