Skip to content
Snippets Groups Projects
  • Sean Mooney's avatar
    a9e16c8b
    introduce bifrost-deploy container · a9e16c8b
    Sean Mooney authored
    - This change adds support for building and deploying
      a bifrost container for baremetal provisioning.
    - This change documents how to manually deploy and bootstrap
      the bifrost container.
    
    Implements: blueprint bifrost-support
    Change-Id: I7d895839b11cbf916be33225875465c3358b5aa4
    a9e16c8b
    History
    introduce bifrost-deploy container
    Sean Mooney authored
    - This change adds support for building and deploying
      a bifrost container for baremetal provisioning.
    - This change documents how to manually deploy and bootstrap
      the bifrost container.
    
    Implements: blueprint bifrost-support
    Change-Id: I7d895839b11cbf916be33225875465c3358b5aa4
bifrost.rst 4.49 KiB

Bifrost Guide

Prep host

clone kolla

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

cd kolla

set up kolla dependcies doc:quickstart.rst

fix hosts file

Docker bind mounts /etc/hosts into the container from a volume. This prevents atomic renames which will prevent ansible from fixing the /etc/host file automatically.

to enable bifrost to be bootstrapped correctly add the deployment hosts hostname to 127.0.0.1 line e.g.

ubuntu@bifrost:/repo/kolla$ cat /etc/hosts 127.0.0.1 bifrost localhost

# The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts 192.168.100.15 bifrost

enable source build type

via config file

tox -e genconfig

modify kolla-build.conf as follows.

set install_type to source

command line

alternitivly if you do not wish to use the kolla-build.conf you can enable a source build by appending -t source to your kolla-build or tools/build.py command.

build container

Development

tools/build.py bifrost-deploy

Production

kolla-build bifrost-deploy

launch bifrost

docker run -it --net=host -v /dev:/dev -d --privileged --name bifrost 192.168.1.51:5000/kollaglue/ubuntu-source-bifrost-deploy:3.0.0

bootstrap bifrost ansible

TODO

bootstrap bifrost manual