Commit Graph

13 Commits

Author SHA1 Message Date
Scott Solkhon 0946100f6d Update base image for Vagrant vm
CentOS8 is no longer supported but CentOS8 Stream is.

Change-Id: I2e3d41aa7f26ae4139e73c7b4ed4e76d1df94eee
2022-09-02 15:59:52 +01:00
Scott Solkhon 4e70fbcec6 Upgrade Vagrant VM to CentOS 8
This commit upgrades the development Vagrant vm to use
CentOS 8.

This also increases the size of the root disk as the
CentOS 8 cloud image is only 10GB which is not
sufficient for a Kayobe deployment.

Change-Id: I614cf6e0a774229da30831e806e2ae125e5cf0fb
2020-05-19 10:08:36 +01:00
Will Szumski 84172bfbe0 Support complete installation of Kayobe as a python package
This adds the ansible playbooks required by kayobe to the manifest by
using the data_files option in setuptools. When using pip to install
kayobe into a virtualenv, these files will be placed in
<venv>/kayobe/share/.

In an editable install, e.g using `pip install -e .`, data_files are not
installed into the virtualenv. Instead, we must follow the egg-link file
to find out the actual location.

Story: 2004252
Task: 27787
Change-Id: Ibef040eceb547476007f83c0d5dcdb2bc6986d1e
2019-02-01 12:55:27 +00:00
Nick Jones b0cb2fd66a
Specify Vagrant box version
Add a line which states the version of the Vagrant box to be used when
provisioning a development environment.

NB: In this case, 0.2.0 is an image based on CentOS 7.5

Change-Id: I81613df1d20dfd1b99a5d7624fc1627ca185dd7f
Story: 2002086
Task: 19755
2018-05-22 17:15:06 +01:00
Mark Goddard b3880aa264 Add scripting around the development environment
The following top level scripts are added under dev/:

* overcloud-deploy.sh
* seed-deploy.sh
* seed-hypervisor-deploy.sh

Some amount of configuration is possible via dev/config.sh.
2018-01-31 10:58:19 +00:00
Nick Jones b8cb373c61
Refactor Vagrantfile to support VMware 2017-11-29 11:30:25 +00:00
Mark Goddard 850a727aab Set the Vagrant development VM's hostname
By default the hostname will be localhost, which causes issues with
RabbitMQ.
2017-10-27 17:35:53 +01:00
Mark Goddard bbbc55e4a2 Add static configuration of eth1 in development environment
This is required in order to allow kayobe to reach the controller prior to
running the network configuration plays.
2017-09-04 15:47:05 +00:00
simon.guerrero 4fbf0dd50f Disabled vagrant auto-configure of interface 2017-09-04 13:36:50 +01:00
John Garbutt c5a4e46f4b Disable selinux during provision
To avoid a reboot when running the kayobe scripts, we disable selinux
before running the scripts. We do this using the provision reload plugin
that allows us to do a vagrant reload while provisioning the VM.
2017-08-29 11:58:48 +01:00
John Garbutt 42605939a4 Sync /vagrant folder using virtualbox shared folder
When doing vagrant halt then vagrant up we want the system to keep
working. The easiest way to do this is to use a virtual box plugin to
install the tools, then use the tools to sync the /vagrant directory,
rather than falling back to rsync on every boot of the VM. The rsync
looses all the writes since the last boot, forcing a full reprovision.
2017-08-29 11:50:58 +01:00
Mark Goddard dc2ea4c1e5 Improve Vagrantfile, add development configuration
Adds commands to install dependencies, and setup a virtualenv with kayobe
installed. Configuration is provided in dev/ for a single controller with
a single network.
2017-08-08 16:23:24 +00:00
Mark Goddard b654a70e65 Initial mega commit of Kayobe 2017-02-14 15:14:29 +00:00