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:
Jesse Pretorius 2016-10-18 14:43:42 +01:00 committed by Jesse Pretorius (odyssey4me)
parent f1c71af745
commit 0b351dc62a
2 changed files with 9 additions and 4 deletions

View File

@ -45,3 +45,12 @@ repo_build_service_group_name: "{{ repo_service_group_name }}"
# Disable the pip lock down for the repo servers
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

View File

@ -81,10 +81,6 @@ cache_timeout: {{ cache_timeout }}
repo_build_git_cache: {{ repo_build_git_cache }}
{% 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
# 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') }}"