Colleen Murphy 06c4f96a99 Move dnsmasq to the end of the Debian package list
On Ubuntu, apt automatically starts dnsmasq upon installing it. This
temporarily causes a blip in the system's ability to resolve domain
names. In a bifrost install, this becomes apparent when the next
package ansible attempts to install, rabbitmq-server, fails with the
error "Could not resolve 'archive.ubuntu.com'", while subsequent
packages and subsequent runs of the bifrost install step succeed. This
patch moves the dnsmasq to the end of the required package list so that
its installation does not interfere with the installation of the rest
of the required packages.

An alternative to this fix could be to configure policy-rc.d to not
start services by default. This would require making sure all services
are managed in bifrost-ironic-install/tasks/main.yml and would be a bit
more dramatic of a change.

Change-Id: If1558d76ce3f652c0798b459678baea9f8b26fb0
2015-09-15 14:15:33 -07:00
2015-09-14 08:44:24 -04:00
2015-05-25 13:52:46 +00:00
2015-04-16 15:58:23 -04:00
2015-09-11 10:11:48 -07:00
2015-09-14 08:44:24 -04:00
2015-07-15 17:04:11 -04:00
2015-07-29 13:51:28 -05: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
Description
Ansible roles and playbooks to enable a standalone Ironic install
Readme 27 MiB
Languages
Python 55.3%
Jinja 27.1%
Shell 17.6%