]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
task/install/rpm: fix issued with upgrading packages under DNF 1568/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 6 Oct 2020 20:33:43 +0000 (16:33 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 6 Oct 2020 20:33:43 +0000 (16:33 -0400)
commit936492861ab89705a94bbd17f32e149e18f51dda
tree562210f3cca5854207a214cc7d083d144b9726a7
parent2cf4b813e61aef3b91073bd2e5c20013403f3547
task/install/rpm: fix issued with upgrading packages under DNF

yum is an alias for dnf on modern RHEL-like systems but it's not
100% compatible. The "install" command does not upgrade packages
unless you give it a specific version to install. Additionally,
the code was incorrectly inserting two blank arguments that resulted
in "yum install" failing.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
teuthology/task/install/rpm.py