xci: Adjust and fix jobs and scripts
[releng.git] / prototypes / bifrost / README.md
index fffd1de..dc1417a 100644 (file)
@@ -7,29 +7,34 @@ Please follow that steps:
 
 1. Clone bifrost::
 
 
 1. Clone bifrost::
 
-    git clone https://git.openstack.org/openstack/bifrost /opt/bifrost
+    sudo git clone https://git.openstack.org/openstack/bifrost /opt/bifrost
 
 2. Clone releng::
 
 
 2. Clone releng::
 
-    git clone https://gerrit.opnfv.org/gerrit/releng /opt/releng
+    sudo git clone https://gerrit.opnfv.org/gerrit/releng /opt/releng
 
 3. Clone infracloud::
 
 
 3. Clone infracloud::
 
-    git clone https://git.openstack.org/openstack-infra/puppet-infracloud /opt/puppet-infracloud
+    sudo git clone https://git.openstack.org/openstack-infra/puppet-infracloud /opt/puppet-infracloud
 
 4. Combine releng scripts and playbooks with bifrost::
 
 
 4. Combine releng scripts and playbooks with bifrost::
 
-    cp -R /opt/releng/prototypes/bifrost/* /opt/bifrost/
+    sudo cp -R /opt/releng/prototypes/bifrost/* /opt/bifrost/
 
 
-5. Run destroy script if you need to cleanup previous environment::
+5. Copy /opt/puppet-infracloud/templates/bifrost/create_bridge.py.erb to /opt/puppet-infracloud/files/elements/infra-cloud-bridge/static/opt/create_bridge.py,
+   and replace tag <%= @bridge_name -%> with br_opnfv
+
+6. If you are on a RHEL/CentOS box, ensure that selinux is disabled
+
+7. Run destroy script if you need to cleanup previous environment::
 
     cd /opt/bifrost
 
     cd /opt/bifrost
-    ./scripts/destroy_env.sh
+    sudo ./scripts/destroy-env.sh
 
 
-6. Run deployment script to spin up 3 vms with bifrost: jumphost, controller and compute::
+8. Run deployment script to spin up 3 vms with bifrost: xcimaster, controller and compute::
 
     cd /opt/bifrost
 
     cd /opt/bifrost
-    ./scripts/test-bifrost-deployment.sh
+    sudo ./scripts/test-bifrost-deployment.sh
 
 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::
 
 
 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::
 
@@ -39,10 +44,10 @@ It is likely that the script will show some errors due to timeout. Please ignore
 
 And wait until all the vms are in **active** Provisioning State.
 
 
 And wait until all the vms are in **active** Provisioning State.
 
-7. Check the IPs assigned to each of the VMS. You can check it by looking at inventory:
+9. Check the IPs assigned to each of the VMS. You can check it by looking at inventory:
 
     cat /tmp/baremetal.csv
 
 
     cat /tmp/baremetal.csv
 
-8. You can enter into the vms with devuser login/pass:
+10. You can enter into the vms with devuser login/pass:
 
     ssh devuser@192.168.122.2
 
     ssh devuser@192.168.122.2