17 Commits

Author SHA1 Message Date
Martin André
557e116e40 Set namespace to point to local registry
`kolla-build --push` will push to local registry.

Partially-Implements: blueprint vagrant-improvements
Change-Id: Id841ad9845db6270b6051f7e0a1f93bccbf686fe
2015-09-17 17:23:18 +09:00
Martin André
4ceedb4ad3 Default vagrant deployment to AIO
The default for kolla-ansible is already AIO, let's be consistent.

Partially-Implements: blueprint vagrant-improvements
Change-Id: Ib2736806c373f18be7d758c06b88abe38a60bd55
2015-09-15 16:29:47 +09:00
Martin André
0b4ed97634 Preconfigure Kolla to work out of the box
This is intended for a development or PoC environment, and certainly
not production.

Partially-Implements: blueprint vagrant-improvements
Change-Id: I619ef9be308c2296e06c5353cebec40d95b29eb3
2015-09-15 16:29:23 +09:00
Martin André
172103749e Increase size of operator to allow building images
This is only implemented for libvirt provider at the moment.

Partially-Implements: blueprint vagrant-improvements
Change-Id: I72a2c32d7b5966a255eefcf687533023e84280da
2015-09-15 14:59:31 +09:00
Martin André
1228cc8365 Reuse kolla working dir from host in operator
Partially-Implements: blueprint vagrant-improvements
Change-Id: I5eca45b497ed1aea3a3706d67c9938390be51f1d
2015-09-15 14:59:22 +09:00
Martin André
941aa4935d Use NFS sharing, it's a lot faster
Partially-Implements: blueprint vagrant-improvements
Change-Id: Ia4a1f68f6bb3f02a71a87711a4f9cd48e358f6eb
2015-09-15 14:59:11 +09:00
Martin André
b6a4469fbe Libvirt provider for Vagrant
Change default box to centos/7 since it is available for both
Virtualbox and libvirt providers.

Default provider is now libvirt.

I had to disable DHCP on the private netword due to issues with
vagrant-libvirt: https://github.com/pradels/vagrant-libvirt/issues/427.

Partially-Implements: blueprint vagrant-improvements
Closes-Bug: #1482478
Change-Id: Iaa1e42d8c0b4c108c5dd74fba8e71d948b7a9567
2015-09-15 14:57:19 +09:00
Martin André
36a5675897 Allow configuring number of nodes in Vagrantfile
Partially-Implements: blueprint vagrant-improvements
Change-Id: Icdf42f45dd5dec44dc02f073da0c4b863617cb1b
2015-09-15 14:57:07 +09:00
Martin André
2ee551e40d Prepare for vagrant-based AIO dev environment
Configure Docker registry to listen on port 4000 in case of AIO since
it is conflicting with keystone.

Partially-Implements: blueprint vagrant-improvements
Change-Id: I50ee0854cece0dac60b97e38654d96690aa81c6d
2015-09-15 14:52:30 +09:00
Swapnil Kulkarni
9feb4e7b55 Update openstack repo in vagrant script
Change-Id: I99f940a3b12f8d63bac8f3d20bee242675fbba9e
Closes-Bug:#1495390
2015-09-14 07:15:26 +00:00
Jenkins
2a96404eb7 Merge "Add missing node types to Vagrantfile" 2015-09-08 00:06:13 +00:00
Paul Bourke
34e43bbe8d Cleanup small todo in Vagrantfile
Makes provision steps more readable.

Co-Authored-By: Martin André <martin.andre@gmail.com>
Change-Id: I177c467f01f6122ad8902f2b62694bc3acb7b0c8
Closes-Bug: #1493010
2015-09-07 12:52:54 +00:00
Paul Bourke
e2b92c94d7 Add missing node types to Vagrantfile
Out of the box testing will be easier if the supplied ansible multinode
inventory matches the Vagrantfile

Change-Id: I2e1233502cc5671f6a49381bcb9bdedfdd27ecac
Closes-Bug: #1493011
2015-09-07 13:14:29 +01:00
Paul Bourke
4c41ffee75 Copy config to /etc/kolla rather than symlink in Vagrantfile
Symlinking results in all sorts of changes to the repo when going to
commit.

Also make minor changes resulting from the fact we can now pip install
kolla.

Change-Id: I6b26fc4635da5293a83cba6edd748b95eea761ca
Closes-Bug: #1491312
2015-09-02 11:48:09 +01:00
Paul Bourke
abd4dbd756 Rename support to control in Vagrantfile
To match the latest changes to ansible/inventory/multinode

Change-Id: Iaf018b4ca65eee8150f3595719edfdae7b8346ba
Closes-bug: #1489933
2015-08-28 17:30:56 +01:00
Harm Weites
8af65b6006 Start docker without -H to make chgrp work on socket
This way the vagrant user can access the docker daemon socket.

Closes-Bug: #1482381
Change-Id: Ic631a94c5b9665b9ec39be5c0454e4c1fa6a33b1
2015-08-06 23:06:19 +02:00
Harm Weites
37561cc1f7 Vagrantfile and docs
With Vagrant it becomes real easy to create a dev environment to
test and checkout $code. The focus is specifically on setting up
an environment to play around in, developing Kolla and showing
what it is capable of in a clean virtualised environment. When
done, the environment can be destroy and re-created at will when
needed.

Change-Id: I440d004e76c337f298cad2397cf4c13f2cc35ddb
Implements: blueprint vagrant-devenv
2015-07-31 20:13:34 +02:00