`Home `__ OpenStack Ansible Installation Guide
Running the OpenStack playbook
------------------------------
#. Change to the ``/opt/os-ansible-deployment/playbooks`` directory.
#. Run the OpenStack setup playbook, which runs a series of
sub-playbooks:
.. code-block:: bash
$ openstack-ansible setup-openstack.yml
The openstack-common.yml sub-playbook builds all OpenStack services
from source and takes up to 30 minutes to complete. As the playbook
progresses, the quantity of containers in the "polling" state will
approach zero. If any operations take longer than 30 minutes to
complete, the playbook will terminate with an error.
.. code-block:: bash
changed: [target_host_glance_container-f2ebdc06]
changed: [target_host_heat_engine_container-36022446]
changed: [target_host_neutron_agents_container-08ec00cd]
changed: [target_host_heat_apis_container-4e170279]
changed: [target_host_keystone_container-c6501516]
changed: [target_host_neutron_server_container-94d370e5]
changed: [target_host_nova_api_metadata_container-600fe8b3]
changed: [target_host_nova_compute_container-7af962fe]
changed: [target_host_cinder_api_container-df5d5929]
changed: [target_host_cinder_volumes_container-ed58e14c]
changed: [target_host_horizon_container-e68b4f66]
finished on target_host_heat_engine_container-36022446
finished on target_host_keystone_container-c6501516
finished on target_host_heat_apis_container-4e170279
finished on target_host_cinder_api_container-df5d5929
finished on target_host_cinder_volumes_container-ed58e14c
finished on target_host_horizon_container-e68b4f66
finished on target_host_nova_compute_container-7af962fe
finished on target_host_neutron_agents_container-08ec00cd
finished on target_host_neutron_server_container-94d370e5
finished on target_host_nova_api_metadata_container-600fe8b3
finished on target_host_glance_container-f2ebdc06
polling, 1675s remaining
polling, 1675s remaining
polling, 1675s remaining
polling, 1675s remaining
Setting up the compute hosts takes up to 30 minutes to complete,
particularly in environments with many compute hosts. As the playbook
progresses, the quantity of containers in the "polling" state will
approach zero. If any operations take longer than 30 minutes to
complete, the playbook will terminate with an error.
.. code-block:: bash
ok: [target_host_nova_conductor_container-2b495dc4]
ok: [target_host_nova_api_metadata_container-600fe8b3]
ok: [target_host_nova_api_ec2_container-6c928c30]
ok: [target_host_nova_scheduler_container-c3febca2]
ok: [target_host_nova_api_os_compute_container-9fa0472b]
finished on target_host_nova_api_os_compute_container-9fa0472b
finished on target_host_nova_api_ec2_container-6c928c30
finished on target_host_nova_conductor_container-2b495dc4
finished on target_host_nova_scheduler_container-c3febca2
finished on target_host_nova_api_metadata_container-600fe8b3
polling, 1775s remaining
Confirm satisfactory completion with zero items unreachable or
failed:
.. code-block:: bash
PLAY RECAP **********************************************************************
...
deployment_host : ok=44 changed=11 unreachable=0 failed=0
--------------
.. include:: navigation.txt