Merge "[DOCS] Update docs for mixed lxd hypervisors"

This commit is contained in:
Jenkins 2016-09-15 19:34:28 +00:00 committed by Gerrit Code Review
commit 4403bc5bac

View File

@ -63,20 +63,36 @@ compute drivers are supported:
The driver type is automatically detected by the OpenStack Ansible Nova role The driver type is automatically detected by the OpenStack Ansible Nova role
for the following compute driver types: for the following compute driver types:
- libvirt - libvirt (kvm / qemu)
- ironic
- powervm - powervm
Any mix and match of compute node types can be used for those platforms. Any mix and match of compute node types can be used for those platforms,
except for ironic.
If using the lxd driver, the compute type must be specified using the If using the lxd driver, the compute type must be specified using the
``nova_virt_type`` variable in the ``/etc/openstack_deploy/user_variables.yml`` ``nova_virt_type`` variable.
file.
The ``nova_virt_type`` may be set in
``/etc/openstack_deploy/user_variables.yml``, for example:
.. code-block:: shell-session .. code-block:: shell-session
nova_virt_type: lxd nova_virt_type: lxd
It should be noted that if the ``nova_virt_type`` variable is set, then all You can set ``nova_virt_type`` per host by using ``host_vars`` in
nodes in the deployment will be set to that hypervisor type. It is recommended ``/etc/openstack_deploy/openstack_user_config.yml``. For example:
to allow the automatic hypervisor detection.
.. code-block:: shell-session
compute_hosts:
aio1:
ip: 172.29.236.100
host_vars:
nova_virt_type: lxd
If ``nova_virt_type`` is set in ``/etc/openstack_deploy/user_variables.yml``,
all nodes in the deployment are set to that hypervisor type. Setting
``nova_virt_type`` in both ``/etc/openstack_deploy/user_variables.yml`` and
``/etc/openstack_deploy/openstack_user_config.yml`` will always result in the
value specified in ``/etc/openstack_deploy/user_variables.yml`` being set on
all hosts.