From f10b9a51701a434aa6db73cc8e47cfb5714d9750 Mon Sep 17 00:00:00 2001 From: Eric MacDonald Date: Thu, 28 Mar 2019 15:30:52 -0400 Subject: [PATCH] Add mtce dependency on ipmitool ipmitool was recently found to be missing from the load after a rpm cleanup that seemed to remove all dependency on it. Maintenance and its Hardware Monitor use the ipmitool for power / reset control as well as sensor monitoring. This update adds a dependency on ipmitool in the maintenance mtcAgent and hwmon rpm build recipe so that it will always be included in the load with maintenance. Closes-Bug:1821958 Test Plan: PASS: Verify ipmitool in load PASS: Verify mtce and hwmon rpm dependency on ipmitool PASS: Verify system install Change-Id: I958a2365f6df7bdbf942bc57c1aa17ee2ae6a73d Signed-off-by: Eric MacDonald --- devstack/files/rpms/stx-metal | 1 + mtce/centos/build_srpm.data | 2 +- mtce/centos/mtce.spec | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/devstack/files/rpms/stx-metal b/devstack/files/rpms/stx-metal index 36f6c614..7e408905 100644 --- a/devstack/files/rpms/stx-metal +++ b/devstack/files/rpms/stx-metal @@ -5,3 +5,4 @@ libevent libevent-devel resource-agents facter +ipmitool diff --git a/mtce/centos/build_srpm.data b/mtce/centos/build_srpm.data index f420a9d8..70d1d901 100644 --- a/mtce/centos/build_srpm.data +++ b/mtce/centos/build_srpm.data @@ -1,3 +1,3 @@ SRC_DIR="src" -TIS_PATCH_VER=147 +TIS_PATCH_VER=148 BUILD_IS_SLOW=5 diff --git a/mtce/centos/mtce.spec b/mtce/centos/mtce.spec index e85a7b14..360743f4 100644 --- a/mtce/centos/mtce.spec +++ b/mtce/centos/mtce.spec @@ -66,6 +66,7 @@ Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) Requires: libpthread.so.0()(64bit) Requires: /usr/bin/expect Requires: python-rtslib +Requires: /usr/bin/ipmitool %description Titanium Cloud Host Maintenance services. A suite of daemons that provide @@ -167,6 +168,7 @@ Requires: libgcc_s.so.1()(64bit) Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit) Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) Requires: libpthread.so.0()(64bit) +Requires: /usr/bin/ipmitool %description -n mtce-hwmon Titanium Cloud Host Maintenance Hardware Monitor Service (hwmond) adds