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/
__________________________________________________________________