Skip to content

Commit 24fba48

Browse files
hrwMarcin Juszkiewicz
authored andcommitted
nova: drop pypowervm dependency
Nova depends on pypowervm for POWER architecture support. But it is unmaintained upstream and breaks CentOS builds (wants to install Py2 only 'futures' package). Closes-bug: #1955034 Change-Id: Ife9385c93239e910db2e4405ec4661f667357bc0 (cherry picked from commit 7de91fd)
1 parent 56d6392 commit 24fba48

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

docker/nova/nova-base/Dockerfile.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@ ADD plugins-archive /
101101
'/plugins/*'
102102
] %}
103103

104+
# NOTE(hrw): nova lists powervm in requirements and it wants 'futures' on py3.6 which can not be installed.
105+
# So let drop it as we do not support POWER architecture.
104106
RUN ln -s nova-base-source/* nova \
107+
&& sed -i -e "/^pypowervm/d" nova/requirements.txt \
105108
&& {{ macros.install_pip(nova_base_pip_packages | customizable("pip_packages")) }} \
106109
&& mkdir -p /etc/nova/ \
107110
&& cp -r /nova/etc/nova/* /etc/nova/ \
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Nova images are built without ``pypowervm`` package. It is needed only for
5+
POWER architecture support (which we do not support) and breaks CentOS
6+
builds by trying to install (Python 2 only) 'futures' package.

0 commit comments

Comments
 (0)