aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSean Mooney <sean.k.mooney@intel.com>2016-08-01 21:57:48 +0000
committerSean Mooney <sean.k.mooney@intel.com>2016-08-31 13:12:34 +0000
commit64c40e20a56c1ecbc78956801bc0eb697ad2ef8d (patch)
tree517687ef19b05ce4b9394cff18dbe20e1589cc8d /doc
parent538dbac24a86d21f28191f503e2daa3b89c1ed5b (diff)
downloadkolla-64c40e20a56c1ecbc78956801bc0eb697ad2ef8d.tar.gz
kolla-64c40e20a56c1ecbc78956801bc0eb697ad2ef8d.zip
add deploy-servers command
- This change extends kolla-ansible with a deploy-server command to enroll and deploy physical servers with bifrost. Change-Id: Iaa9f34b00e676569f6e3df679b7454b1ec0b8e34 Implements: blueprint bifrost-support
Diffstat (limited to 'doc')
-rw-r--r--doc/bifrost.rst54
1 files changed, 26 insertions, 28 deletions
diff --git a/doc/bifrost.rst b/doc/bifrost.rst
index ce6ac4b46..105d79193 100644
--- a/doc/bifrost.rst
+++ b/doc/bifrost.rst
@@ -18,7 +18,7 @@ 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.
+the ``/etc/hosts`` file automatically.
to enable bifrost to be bootstrapped correctly
add the deployment hosts hostname to 127.0.0.1 line
@@ -110,7 +110,6 @@ creating a bifrost.yml file in the kolla custom config director or in a
bifrost sub directory.
e.g. /etc/kolla/config/bifrost/bifrost.yml
- skip_package_install: true
mysql_service_name: mysql
ansible_python_interpreter: /var/lib/kolla/venv/bin/python
network_interface: < add you network interface here >
@@ -134,6 +133,17 @@ dib_os_element: ubuntu
Deploy Bifrost
=========================
+ansible
+-------
+
+Development
+___________
+tools/kolla-ansible deploy-bifrost
+
+Production
+__________
+kolla-ansible deploy-bifrost
+
manual
------
@@ -167,21 +177,10 @@ cd /bifrost
cd playbooks/
-bootstap and start services
+bootstrap and start services
~~~~~~~~~~~~~~~~~~~~~~~~~~~
ansible-playbook -vvvv -i /bifrost/playbooks/inventory/localhost /bifrost/playbooks/install.yaml -e @/etc/bifrost/bifrost.yml
-ansible
--------
-
-Development
-___________
-tools/kolla-ansible bifrost-deploy -e bifrost_network_interface=<pxe network interface>
-
-Production
-__________
-kolla-ansible deploy-kolla -e bifrost_network_interface=<pxe network interface>
-
Check ironic is running
=======================
@@ -199,34 +198,33 @@ e.g.
+------+------+---------------+-------------+--------------------+-------------+
-Enroll Physical Nodes
-=====================
+Enroll and Deploy Physical Nodes
+================================
ansible
-------
-TODO
+
+Development
+___________
+tools/kolla-ansible deploy-servers
+
+Production
+__________
+kolla-ansible deploy-servers
+
manual
------
docker exec -it bifrost_deploy bash
cd /bifrost
. env-vars
-export BIFROST_INVENTORY_SOURCE=/tmp/servers.yml
+export BIFROST_INVENTORY_SOURCE=/etc/bifrost/servers.yml
ansible-playbook -vvvv -i inventory/bifrost_inventory.py enroll-dynamic.yaml -e "ansible_python_interpreter=/var/lib/kolla/venv/bin/python" -e network_interface=<provisioning interface>
-Deploy Nodes
-============
-
-ansible
--------
-TODO
-
-manual
-------
docker exec -it bifrost_deploy bash
cd /bifrost
. env-vars
-export BIFROST_INVENTORY_SOURCE=/tmp/servers.yml
+export BIFROST_INVENTORY_SOURCE=/etc/bifrost/servers.yml
ansible-playbook -vvvv -i inventory/bifrost_inventory.py deploy-dynamic.yaml -e "ansible_python_interpreter=/var/lib/kolla/venv/bin/python" -e network_interface=<prvisioning interface> -e @/etc/bifrost/dib.yml
At this point ironic should clean down your nodes and install the default os image.