<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi all,</p>
    <p>we are installing new nodes on a Ovirt 4.0.6 Cluster, the new
      nodes were installed from a Minimal 1707 iso image, Centos
      v7.3.1611</p>
    <p>in the log of host-deploy (on the manager) it indicates that
      collectd packages was not found.</p>
    <p>I found this bug in the ovirt 4.1.0 version where it tells to
      disable the EPEL repository, in another tread on redhat someone
      told to add <br>
    </p>
    <p>excludepkgs=collectd*</p>
    <p>always in the epel repository</p>
    <p>I checked all my repository and i found epel reference only in <br>
    </p>
    <p>[root@xxxx yum.repos.d]# grep epel *<br>
      ovirt-4.0-dependencies.repo:[ovirt-4.0-epel]<br>
ovirt-4.0-dependencies.repo:#baseurl=<a class="moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch">http://download.fedoraproject.org/pub/epel/7/$basearch</a><br>
ovirt-4.0-dependencies.repo:mirrorlist=<a class="moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-7&amp;arch=$basearch">https://mirrors.fedoraproject.org/metalink?repo=epel-7&amp;arch=$basearch</a><br>
ovirt-4.0-dependencies.repo:includepkgs=epel-release,python-uinput,puppet,python-lockfile,python-cpopen,python-ordereddict,python-pthreading,python-inotify,python-argparse,novnc,python-ply,python-kitchen,python-daemon,python-websockify,livecd-tools,spice-html5,mom,python-IPy,python-ioprocess,ioprocess,safelease,python-paramiko,python2-paramiko,python2-crypto,libtomcrypt,libtommath,python-cheetah,python-ecdsa,python2-ecdsa,python-markdown,rubygem-rgen,ovirt-guest-agent*,userspace-rcu,protobuf-java,objenesis,python34*<br>
ovirt-4.0-dependencies.repo:gpgkey=<a class="moz-txt-link-freetext" href="https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7">https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7</a><br>
      ovirt-4.0-dependencies.repo:[ovirt-4.0-patternfly1-noarch-epel]<br>
ovirt-4.0-dependencies.repo:baseurl=<a class="moz-txt-link-freetext" href="http://copr-be.cloud.fedoraproject.org/results/patternfly/patternfly1/epel-7-$basearch/">http://copr-be.cloud.fedoraproject.org/results/patternfly/patternfly1/epel-7-$basearch/</a></p>
    <p>so before includespkgs i added the excludepkgs line</p>
    <p>removed the host, reinserted and still again collectd not found</p>
    <p>so i added the excludepkgs line in all the ovirt sections <br>
    </p>
    <p>removed the host, reinserted and still again collectd not found</p>
    <p>I removed on the manager also the file
      /var/cache/ovirt-engine/ovirt-host-deploy.tar but still the same
      error</p>
    <p>these are the ovirt-repos files with the excludepkgs line added<br>
    </p>
    <p>[ovirt-4.0]<br>
      name=Latest oVirt 4.0 Release<br>
#baseurl=<a class="moz-txt-link-freetext" href="http://resources.ovirt.org/pub/ovirt-4.0/rpm/el$releasever/">http://resources.ovirt.org/pub/ovirt-4.0/rpm/el$releasever/</a><br>
mirrorlist=<a class="moz-txt-link-freetext" href="http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-el$releasever">http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-el$releasever</a><br>
      enabled=1<br>
    </p>
    <p>excludepkgs=collectd*<br>
    </p>
    <p>skip_if_unavailable=1<br>
      gpgcheck=1<br>
      gpgkey=<a class="moz-txt-link-freetext" href="file:///etc/pki/rpm-gpg/RPM-GPG-ovirt-4.0">file:///etc/pki/rpm-gpg/RPM-GPG-ovirt-4.0</a><br>
    </p>
    <p>[ovirt-4.0-epel]<br>
      name=Extra Packages for Enterprise Linux 7 - $basearch<br>
      #baseurl=<a class="moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch">http://download.fedoraproject.org/pub/epel/7/$basearch</a><br>
mirrorlist=<a class="moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-7&amp;arch=$basearch">https://mirrors.fedoraproject.org/metalink?repo=epel-7&amp;arch=$basearch</a><br>
      failovermethod=priority<br>
      enabled=1<br>
      <br>
      excludepkgs=collectd*<br>
    </p>
    <p>includepkgs=epel-release,python-uinput,puppet,python-lockfile,python-cpopen,python-ordereddict,python-pthreading,python-inotify,python-argparse,novnc,python-ply,python-kitchen,python-daemon,python-websockify,livec<br>
d-tools,spice-html5,mom,python-IPy,python-ioprocess,ioprocess,safelease,python-paramiko,python2-paramiko,python2-crypto,libtomcrypt,libtommath,python-cheetah,python-ecdsa,python2-ecdsa,python-markdown,rubygem-rgen<br>
,ovirt-guest-agent*,userspace-rcu,protobuf-java,objenesis,python34*<br>
      gpgcheck=1<br>
      gpgkey=<a class="moz-txt-link-freetext" href="https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7">https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7</a><br>
      <br>
      [ovirt-4.0-centos-gluster37]<br>
      name=CentOS-7 - Gluster 3.7<br>
baseurl=<a class="moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.7/">http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.7/</a><br>
      <br>
      excludepkgs=collectd*<br>
    </p>
    <p>gpgcheck=1<br>
      enabled=1<br>
gpgkey=<a class="moz-txt-link-freetext" href="https://raw.githubusercontent.com/CentOS-Storage-SIG/centos-release-storage-common/master/RPM-GPG-KEY-CentOS-SIG-Storage">https://raw.githubusercontent.com/CentOS-Storage-SIG/centos-release-storage-common/master/RPM-GPG-KEY-CentOS-SIG-Storage</a><br>
      <br>
      [ovirt-4.0-patternfly1-noarch-epel]<br>
      name=Copr repo for patternfly1 owned by patternfly<br>
baseurl=<a class="moz-txt-link-freetext" href="http://copr-be.cloud.fedoraproject.org/results/patternfly/patternfly1/epel-7-$basearch/">http://copr-be.cloud.fedoraproject.org/results/patternfly/patternfly1/epel-7-$basearch/</a><br>
      enabled=1<br>
      <br>
      excludepkgs=collectd*<br>
    </p>
    <p>skip_if_unavailable=1<br>
      gpgcheck=0<br>
      <br>
      [virtio-win-stable]<br>
      name=virtio-win builds roughly matching what was shipped in latest
      RHEL<br>
      baseurl=<a class="moz-txt-link-freetext" href="http://fedorapeople.org/groups/virt/virtio-win/repo/stable">http://fedorapeople.org/groups/virt/virtio-win/repo/stable</a><br>
      enabled=1<br>
      <br>
      excludepkgs=collectd*<br>
    </p>
    <p>skip_if_unavailable=1<br>
      gpgcheck=0<br>
      <br>
      [centos-ovirt40-release]<br>
      name=CentOS-7 - oVirt 4.0<br>
baseurl=<a class="moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/virt/$basearch/ovirt-4.0/">http://mirror.centos.org/centos/7/virt/$basearch/ovirt-4.0/</a><br>
      gpgcheck=0<br>
      enabled=1<br>
      <br>
      excludepkgs=collectd*<br>
    </p>
    <p>I add also the part of log on the manager relatives to
      host-deploy where the error is logged</p>
    <p>[root@ovcmgr host-deploy]# more
      ovirt-host-deploy-20170825092719-xxxxxx-53018ceb.log  | grep
      collectd<br>
      2017-08-25 09:26:49 DEBUG otopi.context
      context.dumpSequence:744     METHOD
      otopi.plugins.ovirt_host_deploy.collectd.packages.Plugin._packages
      (None)<br>
      2017-08-25 09:26:50 DEBUG otopi.context
      context.dumpSequence:744     METHOD
      otopi.plugins.ovirt_host_deploy.collectd.packages.Plugin._packages
      (None)<br>
      2017-08-25 09:27:19 DEBUG otopi.context context._executeMethod:128
      Stage packages METHOD
      otopi.plugins.ovirt_host_deploy.collectd.packages.Plugin._packages<br>
      2017-08-25 09:27:19 DEBUG
      otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76
      Yum queue package collectd for install/update<br>
      2017-08-25 09:27:19 ERROR
      otopi.plugins.otopi.packagers.yumpackager yumpackager.error:85 Yum
      Cannot queue package collectd: Package collectd cannot be found<br>
        File
"/tmp/ovirt-3rP0BGQm0o/otopi-plugins/ovirt-host-deploy/collectd/packages.py",
      line 53, in _packages<br>
          'collectd-write_http',<br>
      RuntimeError: Package collectd cannot be found<br>
      2017-08-25 09:27:19 ERROR otopi.context context._executeMethod:151
      Failed to execute stage 'Package installation': Package collectd
      cannot be found<br>
      2017-08-25 09:27:19 DEBUG otopi.context
      context.dumpEnvironment:770 ENV
      BASE/exceptionInfo=list:'[(&lt;type 'exceptions.RuntimeError'&gt;,
      RuntimeError('Package collectd cannot be found',), &lt;traceback
      object at 0x3514ef0&gt;)]'<br>
      2017-08-25 09:27:19 DEBUG otopi.context
      context.dumpEnvironment:770 ENV
      BASE/exceptionInfo=list:'[(&lt;type 'exceptions.RuntimeError'&gt;,
      RuntimeError('Package collectd cannot be found',), &lt;traceback
      object at 0x3514ef0&gt;)]'<br>
    </p>
    <p>After this i see that there is and include package for
      epel-release, that will install the epel repository, <br>
    </p>
    <p>so i installed manually the epel-repository</p>
    <p>added the excludepkgs line but now the error is Package
      collectd-disk cannot be found</p>
    <p>this is the epel.repo modified</p>
    <p>[root@ovc2n05 yum.repos.d]# more /etc/yum.repos.d/epel.repo<br>
    </p>
    <p>[epel]<br>
      name=Extra Packages for Enterprise Linux 7 - $basearch<br>
      #baseurl=<a class="moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch">http://download.fedoraproject.org/pub/epel/7/$basearch</a><br>
metalink=<a class="moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-7&amp;arch=$basearch">https://mirrors.fedoraproject.org/metalink?repo=epel-7&amp;arch=$basearch</a><br>
      failovermethod=priority<br>
      enabled=1<br>
    </p>
    <p>excludepkgs=collectd*<br>
    </p>
    <p>gpgcheck=1<br>
      gpgkey=<a class="moz-txt-link-freetext" href="file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7</a><br>
      <br>
      [epel-debuginfo]<br>
      name=Extra Packages for Enterprise Linux 7 - $basearch - Debug<br>
#baseurl=<a class="moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch/debug">http://download.fedoraproject.org/pub/epel/7/$basearch/debug</a><br>
metalink=<a class="moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&amp;arch=$basearch">https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&amp;arch=$basearch</a><br>
      failovermethod=priority<br>
      enabled=0<br>
      gpgkey=<a class="moz-txt-link-freetext" href="file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7</a><br>
      gpgcheck=1<br>
      <br>
      [epel-source]<br>
      name=Extra Packages for Enterprise Linux 7 - $basearch - Source<br>
      #baseurl=<a class="moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/SRPMS">http://download.fedoraproject.org/pub/epel/7/SRPMS</a><br>
metalink=<a class="moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&amp;arch=$basearch">https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&amp;arch=$basearch</a><br>
      failovermethod=priority<br>
      enabled=0<br>
      gpgkey=<a class="moz-txt-link-freetext" href="file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7</a><br>
      gpgcheck=1<br>
    </p>
    <p>the epel-testing.repo has all disabled</p>
    <p>This is the part of log on the manager</p>
    <p>[root@ovcmgr host-deploy]# more ovirt-host-deploy-20170825*  |
      grep collectd-disk<br>
      2017-08-25 10:36:23 DEBUG
      otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76
      Yum queue package collectd-disk for install/update<br>
      2017-08-25 10:36:23 ERROR
      otopi.plugins.otopi.packagers.yumpackager yumpackager.error:85 Yum
      Cannot queue package collectd-disk: Package collectd-disk cannot
      be found<br>
      RuntimeError: Package collectd-disk cannot be found<br>
      2017-08-25 10:36:23 ERROR otopi.context context._executeMethod:151
      Failed to execute stage 'Package installation': Package
      collectd-disk cannot be found<br>
      2017-08-25 10:36:23 DEBUG otopi.context
      context.dumpEnvironment:770 ENV
      BASE/exceptionInfo=list:'[(&lt;type 'exceptions.RuntimeError'&gt;,
      RuntimeError('Package collectd-disk cannot be found',),
      &lt;traceback object at 0x592e290&gt;)]'<br>
      2017-08-25 10:36:23 DEBUG otopi.context
      context.dumpEnvironment:770 ENV
      BASE/exceptionInfo=list:'[(&lt;type 'exceptions.RuntimeError'&gt;,
      RuntimeError('Package collectd-disk cannot be found',),
      &lt;traceback object at 0x592e290&gt;)]'<br>
    </p>
    <p>I don't know what other to try.<br>
    </p>
    <p>Any help would be accepted</p>
    <p>Claudio Soprano<br>
    </p>
    <pre class="bz_comment_text
                 bz_wrap_comment_text" style="font-size: small; font-family: monospace; white-space: pre-wrap; word-wrap: break-word; width: 50em; color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
</pre>
    <pre class="moz-signature" cols="72">-- 

       /        |    /   _____/           /    |    /   _____/    |    /
      /       / |   /   /                /   / |   /   /        / |   /
     /       /  |  /   ___/   _____/    /   /  |  /   ___/     /  |  /
    /       /   | /   /                /   /   | /   /        /   | /
  ______/ _/   __/  _/               _/  _/   __/  _/       _/   __/

Claudio Soprano                phone:  (+39)-06-9403.2349/2355
Computing Service              fax:    (+39)-06-9403.2649
LNF-INFN                       e-mail: <a class="moz-txt-link-abbreviated" href="mailto:Claudio.Soprano@lnf.infn.it">Claudio.Soprano@lnf.infn.it</a>
Via Enrico Fermi, 40           www:    <a class="moz-txt-link-freetext" href="http://www.lnf.infn.it/">http://www.lnf.infn.it/</a>
I-00044 Frascati, Italy

</pre>
  </body>
</html>