<html><body>
<pre>[ https://ovirt-jira.atlassian.net/browse/OVIRT-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=34945#comment-34945 ]</pre>
<h3>eyal edri commented on OVIRT-1651:</h3>
<p>I see, so maybe this line: [[ -d /etc/dnf ]] &amp;&amp; dnf -y reinstall dnf-conf can change to something using the new availalbe ENV variables we have? To check if you're on EL or Fedora?</p>
<p>e.g: if [[ &ldquo;$STD_CI_DISTRO&rdquo; != &ldquo;el7&rdquo; ]]; then       ( or = fc* ? )</p>
<pre>dnf -y reinstall dnf-conf</pre>
<p>fi</p>
<blockquote><h3>Jenkins EL7 slaves configured as Fedora slaves</h3>
<pre>     Key: OVIRT-1651
     URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1651
 Project: oVirt - virtualization made easy
         Issue Type: Bug
         Components: oVirt CI
Reporter: sbonazzo
Assignee: infra
Priority: Lowest</pre>
<p>This morning I'm seeing jobs failing trying to use DNF instead of YUM on EL7 slaves because of the existence of /etc/dnf directory on EL7 slaves: Example job:http://jenkins.ovirt.org/job/ovirt-release_4.1_check-patch-el7-x86_64/100/console Example slave: <a href="http://jenkins.ovirt.org/computer/vm0085.workers-phx.ovirt.org">http://jenkins.ovirt.org/computer/vm0085.workers-phx.ovirt.org</a> println &ldquo;ls -l /etc/dnf&quot;.execute().text println &ldquo;cat /etc/os-release&quot;.execute().text Result total 8 -rw-r--r--. 1 root root 1562 Sep 16 05:43 dnf.conf -rw-r--r--. 1 root root   72 Mar  4  2015 dnf.conf.old drwxr-xr-x. 2 root root    6 Jul  7  2015 plugins drwxr-xr-x. 2 root root   21 Sep 14 21:57 protected.d NAME=&quot;CentOS Linux&rdquo; VERSION=&quot;7 (Core)&rdquo; ID=&quot;centos&quot; ID_LIKE=&quot;rhel fedora&quot; VERSION_ID=&quot;7&quot; PRETTY_NAME=&quot;CentOS Linux 7 (Core)&quot; ANSI_COLOR=&quot;0;31&quot; CPE_NAME=&quot;cpe:/o:centos:centos:7&quot; HOME_URL=&quot;<a href="https://www.centos.org/">https://www.centos.org/</a>&quot; BUG_REPORT_URL=&quot;<a href="https://bugs.centos.org/">https://bugs.centos.org/</a>&quot; CENTOS_MANTISBT_PROJECT=&quot;CentOS-7&quot; CENTOS_MANTISBT_PROJECT_VERSION=&quot;7&quot; REDHAT_SUPPORT_PRODUCT=&quot;centos&quot; REDHAT_SUPPORT_PRODUCT_VERSION=&quot;7&quot; Please fix slaves configuration.</p></blockquote>
<p>&mdash; This message was sent by Atlassian {0} (v1001.0.0-SNAPSHOT#100060)</p>

<img src="https://u4043402.ct.sendgrid.net/wf/open?upn=i5TMWGV99amJbNxJpSp2-2BCmpYLyzYS3r1Q939T2sgz0blDsoR-2Bly1oQvxd9dKleIqfIDB-2BTLa4Tgik3ZQN1BcWbfclAa0KXKwL5eqS7LwkPStTCS4x32sKnwE0zs-2BTlwP7iYQX4OWI3z0L-2Bv6NPvRcV2zTFlrKtxXy16iGDB9q2MaA4hRd-2FjI8VSWOG6EHMiGL0xyYDRQs514XEeeIMaeLq4GWoVSrMyPfkDo6MMNjY-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>