Ansible roles and playbooks to enable a standalone Ironic install
Go to file
Colleen Murphy 6b421f3d45 Change default disk format for default install
The default image created during the bifrost-ironic-install phase is a
qcow2 image, not a raw image. The instance_info for the default install
type should reflect that.

The consequence of providing "raw" as the image type when the image is
not a raw image, along with keeping the default value of the new
stream_raw_images parameter[1], is that the ironic-python-agent is
not able to correctly write the image, which leads to a failure to
write the configdrive[2].

[1] http://git.openstack.org/cgit/openstack/ironic/commit/ironic?id=ce3878176e20d14681d11b53f4fc5cf1cb63e956
[2] http://paste.openstack.org/show/480078/

Change-Id: I5e948672a8af967b7eeebda45ed6251286145ff1
2015-11-28 00:08:52 -08:00
bifrost Modularize inventory and add initial testing 2015-11-04 18:19:49 -05:00
doc/source Add static DHCP for dynamic inventory 2015-10-06 08:12:37 -04:00
playbooks Change default disk format for default install 2015-11-28 00:08:52 -08:00
scripts Use sudo -H -E when running pip 2015-11-07 00:25:45 -05:00
tools Migrate playbooks to use 'become' 2015-10-15 07:32:05 -07:00
.gitignore Add `logs' from test-bifrost to .gitignore 2015-07-03 12:42:01 -04:00
.gitreview Add .gitreview file 2015-05-25 13:52:46 +00:00
.mailmap Add cookiecutter-generated files for project 2015-06-10 08:40:19 -07:00
.testr.conf Add the rest of the cookiecutter-generated files for testing 2015-06-24 16:09:08 -07:00
babel.cfg Add cookiecutter-generated files for project 2015-06-10 08:40:19 -07:00
CONTRIBUTING.rst Merge "Nit fixes for I8f0a24d929db78a45fdda2e30091aeb945c2802b" 2015-11-13 05:51:07 +00:00
env-vars Blind stab at breaking things into more roles 2015-03-12 17:07:46 -04:00
HACKING.rst Fix HACKING.rst and canary test for merges 2015-09-08 21:49:02 +00:00
LICENSE Adding LICENSE file 2015-04-16 15:58:23 -04:00
MANIFEST.in Add cookiecutter-generated files for project 2015-06-10 08:40:19 -07:00
openstack-common.conf Add cookiecutter-generated files for project 2015-06-10 08:40:19 -07:00
README.rst Nit fixes for I8f0a24d929db78a45fdda2e30091aeb945c2802b 2015-10-29 00:42:30 -07:00
README.vagrant.rst Cleanups for README.vagrant 2015-09-14 08:44:24 -04:00
requirements.txt Switch to PyMYSQL 2015-11-03 13:31:39 -05:00
setup.cfg Modularize inventory and add initial testing 2015-11-04 18:19:49 -05:00
setup.py Sync with global requirements 2015-07-15 17:04:11 -04:00
test-requirements.txt Resync with openstack/requirements 2015-08-27 08:56:40 -04:00
tox.ini Activate pep8 check that _ is imported 2015-07-29 13:51:28 -05:00
troubleshooting.rst Update troubleshooting text for custom IPA images 2015-10-23 16:44:37 -04:00

Vagrant support for developers

Bifrost vagrant file for developers can be found in the tools/vagrant_dev_env directory. Running vagrant up from within this folder will bring up an Ubuntu Trusty box with Bifrost installed.

By default, the VM will have three interfaces:

  • eth0 - connected to a NAT network
  • eth1 - connected to Host-only network named: vboxnet1
  • eth2 - bridged - adapter must be set in Vagrantfile

Walkthrough done on OS X

Setup vagrant by:

  • Installing git
  • Installing virtualbox
  • Installing vagrant
  • Installing ansible

Configure Vagrant with the correct box:

vagrant box add ubuntu/trusty64

Clone bifrost repo:

git clone https://github.com/openstack/bifrost.git

Change into the bifrost directory:

cd bifrost/tools/vagrant_dev_env

Edit the Vagrantfile:

  • Change the bifrost.vm.network public_network value to a valid network interface to allow Bare Metal connectivity
  • Change public_key to correct key name
  • Change network_interface to match your needs

Boot the VM with:

vagrant up