[JIRA] (OVIRT-977) puppet does not update packages on fedora slaves

Nadav Goldin (oVirt JIRA) jira at ovirt-jira.atlassian.net
Sun Dec 25 13:06:02 UTC 2016


Nadav Goldin created OVIRT-977:
----------------------------------

             Summary: puppet does not update packages on fedora slaves
                 Key: OVIRT-977
                 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-977
             Project: oVirt - virtualization made easy
          Issue Type: Improvement
            Reporter: Nadav Goldin
            Assignee: infra


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

Using 'latest' does not update the slaves, example:
{code}
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 at fc24-vm06 ~]# rpm -qa | grep mock
mock-1.2.18-1.fc24.noarch
{code}

but the actual result of the command is:
{code}
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!
{code}

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.






--
This message was sent by Atlassian JIRA
(v1000.621.5#100023)


More information about the Infra mailing list