[compass] use new pod to run compass jobs
[releng.git] / prototypes / bifrost / README.md
1 =====================
2 How to deploy bifrost
3 =====================
4 The scripts and playbooks defined on this repo, need to be combined with proper `Bifrost <http://git.openstack.org/cgit/openstack/bifrost>`_ code.
5
6 Please follow that steps:
7
8 1. Clone bifrost::
9
10     git clone https://git.openstack.org/openstack/bifrost /opt/bifrost
11
12 2. Clone releng::
13
14     git clone https://gerrit.opnfv.org/gerrit/releng /opt/releng
15
16 3. Clone infracloud::
17
18     git clone https://git.openstack.org/openstack-infra/puppet-infracloud /opt/puppet-infracloud
19
20 4. Combine releng scripts and playbooks with bifrost::
21
22     cp -R /opt/releng/prototypes/bifrost/* /opt/bifrost/
23
24 5. Run destroy script if you need to cleanup previous environment::
25
26     cd /opt/bifrost
27     ./scripts/destroy-env.sh
28
29 6. Run deployment script to spin up 3 vms with bifrost: jumphost, controller and compute::
30
31     cd /opt/bifrost
32     ./scripts/test-bifrost-deployment.sh
33
34 It is likely that the script will show some errors due to timeout. Please ignore the errors, and wait until the vms are completely bootstrapped. To verify it you can check with ironic::
35
36     cd /opt/bifrost
37     source env-vars
38     ironic node-list
39
40 And wait until all the vms are in **active** Provisioning State.
41
42 7. Check the IPs assigned to each of the VMS. You can check it by looking at inventory:
43
44     cat /tmp/baremetal.csv
45
46 8. You can enter into the vms with devuser login/pass:
47
48     ssh devuser@192.168.122.2