diff --git a/containers/ironic/Dockerfile b/containers/ironic/Dockerfile index aff4dc3f8..2b1ec81dd 100644 --- a/containers/ironic/Dockerfile +++ b/containers/ironic/Dockerfile @@ -23,12 +23,18 @@ RUN apt-get update && \ quilt \ && apt-get clean && rm -rf /var/lib/apt/lists/* +# pysnmp, pyasn1 and pyasn1-modules is only included to prevent proliantutils +# from upgrading to too newer of a version. when we have the constraints file we need to delete that RUN --mount=type=cache,target=/root/.cache/pip \ --mount=from=builder,source=/tmp/wheels,target=/tmp/wheels \ /var/lib/openstack/bin/python -m pip install --no-input --find-links /tmp/wheels/ \ ironic-understack \ understack-flavor-matcher \ - sushy-oem-idrac==6.0.0 + sushy-oem-idrac==6.0.0 \ + proliantutils==2.16.3 \ + pysnmp==5.1.0 \ + pyasn1==0.5.1 \ + 'pyasn1-modules<0.4.0' COPY containers/ironic/patches /tmp/patches/ RUN cd /var/lib/openstack/lib/python3.10/site-packages && \ QUILT_PATCHES=/tmp/patches quilt push -a