Adding a compute host using OpenStack-Ansible
In order to run instances, OpenStack Compute needs to be aware of the physical resources on which to run the instances. As OpenStack has grown and matured over time, the process for adding a host has also grown with it. OpenStack-Ansible provides a very convenient and consistent method for adding new compute hosts which allows you to scale your environment as your needs grow. A compute host runs the nova-compute
service and the hypervisor that spawns the appropriate instance type requested.
Getting ready
In order to add a compute host to an OpenStack cluster using openstack-ansible
, you will need the following information:
The IP address of the host
SSH access to the host
The SSH key from your deployment host
Access to the deployment host
The values used in our example are as follows:
Compute host:
172.29.236.15
Deployment host:
controller-01.cook.book
We assume that your environment was already installed using OpenStack-Ansible as described in Chapter...