Merge "nova: drop pypowervm dependency"

This commit is contained in:
Zuul 2021-12-04 21:06:41 +00:00 committed by Gerrit Code Review
commit f371e9b6eb
2 changed files with 9 additions and 0 deletions

View File

@ -101,7 +101,10 @@ ADD plugins-archive /
'/plugins/*'
] %}
# NOTE(hrw): nova lists powervm in requirements and it wants 'futures' on py3.6 which can not be installed.
# So let drop it as we do not support POWER architecture.
RUN ln -s nova-base-source/* nova \
&& sed -i -e "/^pypowervm/d" nova/requirements.txt \
&& {{ macros.install_pip(nova_base_pip_packages | customizable("pip_packages")) }} \
&& mkdir -p /etc/nova/ \
&& cp -r /nova/etc/nova/* /etc/nova/ \

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Nova images are built without ``pypowervm`` package. It is needed only for
POWER architecture support (which we do not support) and breaks CentOS
builds by trying to install (Python 2 only) 'futures' package.