From 9496779d9d110155c33d2174f1a5494fdfa18d58 Mon Sep 17 00:00:00 2001 From: Szymon Datko Date: Tue, 8 Mar 2022 13:32:52 +0100 Subject: [PATCH] Add missing hostname package to bindep There are calls to the `hostname` command, such as in function `get_short_hostname()` from file `tripleoclient/utils.py` there goes `subprocess.Popen(["hostname", "-s"], ...)`, however in recent CentOS, RHEL and Fedora containers this utility is not installed by default. Hence, it should be listed in bindep file as necessary non-python dependency. Change-Id: I8f2e7954c51313ba9e85c8a6452bf70b034f424a (cherry picked from commit 4458dc93a27d04ad1cb6ac508dc2416eec5c7956) --- bindep.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/bindep.txt b/bindep.txt index bec4dd222..87cbb7797 100644 --- a/bindep.txt +++ b/bindep.txt @@ -1,6 +1,7 @@ # This is a cross-platform list tracking distribution packages needed by tests; # see https://docs.openstack.org/infra/bindep/ for additional information. +hostname [platform:rpm test] xfsprogs [platform:rpm test] qemu-img [platform:rpm test] dosfstools [platform:rpm test]