puppet does not update packages on fedora slaves


Probably related to: https://tickets.puppetlabs.com/browse/PUP-6324

Using 'latest' does not update the slaves, example:

1 2 3 4 5 Debug: Executing '/usr/bin/yum -d 0 -e 0 -y install mock' Notice: /Stage[main]/Ovirt_jenkins_slave::Mock_builder/Package[mock]/ensure: ensure changed '1.2.18-1.fc24' to '0:1.2.21-1.fc24' ... [root@fc24-vm06 ~]# rpm -qa | grep mock mock-1.2.18-1.fc24.noarch

but the actual result of the command is:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 Yum command has been deprecated, redirecting to '/usr/bin/dnf install mock'. See 'man dnf' and 'man yum2dnf' for more information. To transfer transaction metadata from yum to DNF, run: 'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate' Last metadata expiration check: 0:10:29 ago on Sun Dec 25 12:48:04 2016. Package mock-1.2.18-1.fc24.noarch is already installed, skipping. Dependencies resolved. ============================================================================================================================================================================================================================================== Package Arch Version Repository Size ============================================================================================================================================================================================================================================== Skipping packages with conflicts: (add '--best --allowerasing' to command line to force their upgrade): btrfs-progs x86_64 4.5.2-1.fc24 fedora 627 k distribution-gpg-keys noarch 1.9-1.fc24 updates 127 k mock noarch 1.2.21-1.fc24 updates 328 k Transaction Summary ============================================================================================================================================================================================================================================== Skip 3 Packages Nothing to do. Complete!

Not saying we should fix this, as:
1. This is a bug in puppet probably
2. We're using unsupported puppet version on fedora which we built by our own.
3. We might prefer to drop puppet for these sort of tasks

But, we should be aware that our puppet infrastructure isn't behaving as expected.



Evgheni Dereveanchin


Nadav Goldin

Blocked By