Correctly map nova git sources

For any packages the nova role uses which are
not proprietary, the repo buid process will
need to git clone and build them from source.

In a situation where a nova control plane is
built, but no compute hosts are assigned, the
repo build currently fails due to the current
mapping of these git sources to compute hosts.

With this patch we ensure that the git sources
are cloned and the packages built as long as
there are any nova hosts in the inventory.

Change-Id: Ief9da2c8c555b51a06af9f7cd6145f9d74c14478
Closes-Bug: 1701468
(cherry picked from commit e3524ec0d2)
This commit is contained in:
Jesse Pretorius 2017-07-04 18:09:00 +01:00
parent 0767dc2e91
commit c5f07f907e
1 changed files with 2 additions and 2 deletions

View File

@ -146,14 +146,14 @@ nova_git_project_group: nova_all
nova_powervm_git_repo: https://git.openstack.org/openstack/nova-powervm
nova_powervm_git_install_branch: f0baf3e65624d0d97edb9be3ce9739e8e7b90a59 # HEAD of "stable/newton" as of 30.06.2017
nova_powervm_git_dest: "/opt/nova_powervm_{{ nova_powervm_git_install_branch | replace('/', '_') }}"
nova_powervm_git_project_group: nova_compute
nova_powervm_git_project_group: nova_all
## LXD Virt Driver
nova_lxd_git_repo: https://git.openstack.org/openstack/nova-lxd
nova_lxd_git_install_branch: 3bff6d0234fced139c8b34e6f9e530d3fc0aa584 # HEAD of "stable/newton" as of 30.06.2017
nova_lxd_git_dest: "/opt/nova_lxd_{{ nova_lxd_git_install_branch | replace('/', '_') }}"
nova_lxd_git_project_group: nova_compute
nova_lxd_git_project_group: nova_all
## Sahara service