diff --git a/docker/nova/nova-base/Dockerfile.j2 b/docker/nova/nova-base/Dockerfile.j2 index 1771181a31..4f168ab086 100644 --- a/docker/nova/nova-base/Dockerfile.j2 +++ b/docker/nova/nova-base/Dockerfile.j2 @@ -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/ \ diff --git a/releasenotes/notes/nova-drop-pypowervm-256048c2a9cd594d.yaml b/releasenotes/notes/nova-drop-pypowervm-256048c2a9cd594d.yaml new file mode 100644 index 0000000000..cf6c64aac1 --- /dev/null +++ b/releasenotes/notes/nova-drop-pypowervm-256048c2a9cd594d.yaml @@ -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.