From 708319742db6fc664559d5c23aa8ceeb0a7cdad6 Mon Sep 17 00:00:00 2001 From: Richard Pioso Date: Mon, 8 Apr 2019 18:20:58 -0400 Subject: [PATCH] Place upper bound on python-dracclient version The idrac hardware type requires python-dracclient versions greater than or equal to 1.5.0 and less than 3.0.0. This defines the upper bound to be less than 3.0.0 to make it easier to backport to stable/stein. It was originally proposed against stable/stein -- https://review.openstack.org/#/c/645956/ . Reviewers asked that it be submitted against master first -- https://review.openstack.org/#/c/645956/1/driver-requirements.txt@12 -- and then backported to stable/stein. The ironic master and stable/stein branches are compatible with python-dracclient releases less than 3.0.0. Note that python-dracclient's stable/stein branch was created off of tag 2.0.0. The ironic stable/stein branch follows tag 12.1.0, which was created on March 21. The python-dracclient tag 3.0.0 was created after that, on April 4. The upper bound on master will be updated to less than 4.0.0 by a follow-on change. A related change has been proposed for stable/rocky -- https://review.openstack.org/#/c/651657/ . It will be backported to stable/queens and prior after it merges. Change-Id: I5f6d6be53aec9d72e8ba5cfa436f12e01966f871 --- doc/source/admin/drivers/idrac.rst | 2 +- driver-requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/admin/drivers/idrac.rst b/doc/source/admin/drivers/idrac.rst index 4c8810a694..9333eb97d0 100644 --- a/doc/source/admin/drivers/idrac.rst +++ b/doc/source/admin/drivers/idrac.rst @@ -17,7 +17,7 @@ Enabling The ``idrac`` hardware type requires the ``python-dracclient`` library to be installed, for example:: - sudo pip install 'python-dracclient>=1.5.0' + sudo pip install 'python-dracclient>=1.5.0,<3.0.0' To enable the ``idrac`` hardware type, add the following to your ``/etc/ironic/ironic.conf``: diff --git a/driver-requirements.txt b/driver-requirements.txt index 6b47657459..da30bcb963 100644 --- a/driver-requirements.txt +++ b/driver-requirements.txt @@ -9,7 +9,7 @@ pysnmp>=4.3.0,<5.0.0 python-ironic-inspector-client>=1.5.0 python-scciclient>=0.8.0 UcsSdk==0.8.2.2;python_version<'3' -python-dracclient>=1.5.0 +python-dracclient>=1.5.0,<3.0.0 python-xclarityclient>=0.1.6 # The CIMC drivers use the Cisco IMC SDK version 0.7.2 or greater