Work around bad libvirt-python wheel
The following package must always build from source:
- libvirt-python:
A pre-built wheel can be missing libvirt capabilities
from the installed version of libvirt-bin, leading to
nova-compute failing to start.
The pycparser upper constraint override is removed as
the patch to make it compatible with upper constraints
has merged.
Closes-Bug: #1625859
Change-Id: I3197f06839c9705574810ab616dff51924435da5
(cherry picked from commit faf78e457e
)
This commit is contained in:
parent
f1c71af745
commit
0b351dc62a
@ -45,3 +45,12 @@ repo_build_service_group_name: "{{ repo_service_group_name }}"
|
|||||||
|
|
||||||
# Disable the pip lock down for the repo servers
|
# Disable the pip lock down for the repo servers
|
||||||
pip_lock_to_internal_repo: False
|
pip_lock_to_internal_repo: False
|
||||||
|
|
||||||
|
# The following package must always build from source.
|
||||||
|
#
|
||||||
|
# libvirt-python:
|
||||||
|
# A pre-built wheel can be missing libvirt capabilities from the installed
|
||||||
|
# version of libvirt-bin, leading to nova-compute failing to start.
|
||||||
|
#
|
||||||
|
repo_build_pip_no_binary:
|
||||||
|
- libvirt-python
|
||||||
|
@ -81,10 +81,6 @@ cache_timeout: {{ cache_timeout }}
|
|||||||
repo_build_git_cache: {{ repo_build_git_cache }}
|
repo_build_git_cache: {{ repo_build_git_cache }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
## Instruct the gate to always build libvirt-python from pip source
|
|
||||||
repo_build_pip_no_binary:
|
|
||||||
- libvirt-python
|
|
||||||
|
|
||||||
# The container backing store is set to 'overlayfs' to speed up the
|
# The container backing store is set to 'overlayfs' to speed up the
|
||||||
# AIO build time.
|
# AIO build time.
|
||||||
lxc_container_backing_store: "{{ ((ansible_kernel | version_compare('3.18.0-0-generic', '<')) or (ansible_distribution_release | lower == 'trusty')) | ternary('dir', 'overlayfs') }}"
|
lxc_container_backing_store: "{{ ((ansible_kernel | version_compare('3.18.0-0-generic', '<')) or (ansible_distribution_release | lower == 'trusty')) | ternary('dir', 'overlayfs') }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user