<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-08-25 10:43 GMT+02:00 Claudio Soprano <span dir="ltr"><<a href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank">Claudio.Soprano@lnf.infn.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div 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></div></blockquote><div><br></div><div>Any reason for keeping 4.0.6 hosts? oVirt 4.0 has reached End Of Life back in January[1]</div><div>And you can install 4.1 hosts in 4.0 cluster compatibility mode.</div><div><br></div><div>That said, you may want to "yum install centos-release-opstools" which should provide you the missing collectd packages by providing the same repos already included in ovirt-release41 rpm.</div><div><br></div><div>[1] <a href="http://lists.ovirt.org/pipermail/announce/2017-January/000308.html">http://lists.ovirt.org/pipermail/announce/2017-January/000308.html</a></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF">
<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:[<wbr>ovirt-4.0-epel]<br>
ovirt-4.0-dependencies.repo:#<wbr>baseurl=<a class="gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch" target="_blank">http://download.<wbr>fedoraproject.org/pub/epel/7/$<wbr>basearch</a><br>
ovirt-4.0-dependencies.repo:<wbr>mirrorlist=<a class="gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch" target="_blank">https://mirrors.<wbr>fedoraproject.org/metalink?<wbr>repo=epel-7&arch=$basearch</a><br>
ovirt-4.0-dependencies.repo:<wbr>includepkgs=epel-release,<wbr>python-uinput,puppet,python-<wbr>lockfile,python-cpopen,python-<wbr>ordereddict,python-pthreading,<wbr>python-inotify,python-<wbr>argparse,novnc,python-ply,<wbr>python-kitchen,python-daemon,<wbr>python-websockify,livecd-<wbr>tools,spice-html5,mom,python-<wbr>IPy,python-ioprocess,<wbr>ioprocess,safelease,python-<wbr>paramiko,python2-paramiko,<wbr>python2-crypto,libtomcrypt,<wbr>libtommath,python-cheetah,<wbr>python-ecdsa,python2-ecdsa,<wbr>python-markdown,rubygem-rgen,<wbr>ovirt-guest-agent*,userspace-<wbr>rcu,protobuf-java,objenesis,<wbr>python34*<br>
ovirt-4.0-dependencies.repo:<wbr>gpgkey=<a class="gmail-m_-489778866821650453moz-txt-link-freetext" href="https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7" target="_blank">https://dl.<wbr>fedoraproject.org/pub/epel/<wbr>RPM-GPG-KEY-EPEL-7</a><br>
ovirt-4.0-dependencies.repo:[<wbr>ovirt-4.0-patternfly1-noarch-<wbr>epel]<br>
ovirt-4.0-dependencies.repo:<wbr>baseurl=<a class="gmail-m_-489778866821650453moz-txt-link-freetext" href="http://copr-be.cloud.fedoraproject.org/results/patternfly/patternfly1/epel-7-$basearch/" target="_blank">http://copr-be.cloud.<wbr>fedoraproject.org/results/<wbr>patternfly/patternfly1/epel-7-<wbr>$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-<wbr>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="gmail-m_-489778866821650453moz-txt-link-freetext" href="http://resources.ovirt.org/pub/ovirt-4.0/rpm/el$releasever/" target="_blank">http://resources.<wbr>ovirt.org/pub/ovirt-4.0/rpm/<wbr>el$releasever/</a><br>
mirrorlist=<a class="gmail-m_-489778866821650453moz-txt-link-freetext" href="http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-el$releasever" target="_blank">http://resources.<wbr>ovirt.org/pub/yum-repo/<wbr>mirrorlist-ovirt-4.0-el$<wbr>releasever</a><br>
enabled=1<br>
</p>
<p>excludepkgs=collectd*<br>
</p>
<p>skip_if_unavailable=1<br>
gpgcheck=1<br>
gpgkey=<a class="gmail-m_-489778866821650453moz-txt-link-freetext">file:///etc/pki/rpm-<wbr>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="gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch" target="_blank">http://download.<wbr>fedoraproject.org/pub/epel/7/$<wbr>basearch</a><br>
mirrorlist=<a class="gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch" target="_blank">https://mirrors.<wbr>fedoraproject.org/metalink?<wbr>repo=epel-7&arch=$basearch</a><br>
failovermethod=priority<br>
enabled=1<br>
<br>
excludepkgs=collectd*<br>
</p>
<p>includepkgs=epel-release,<wbr>python-uinput,puppet,python-<wbr>lockfile,python-cpopen,python-<wbr>ordereddict,python-pthreading,<wbr>python-inotify,python-<wbr>argparse,novnc,python-ply,<wbr>python-kitchen,python-daemon,<wbr>python-websockify,livec<br>
d-tools,spice-html5,mom,<wbr>python-IPy,python-ioprocess,<wbr>ioprocess,safelease,python-<wbr>paramiko,python2-paramiko,<wbr>python2-crypto,libtomcrypt,<wbr>libtommath,python-cheetah,<wbr>python-ecdsa,python2-ecdsa,<wbr>python-markdown,rubygem-rgen<br>
,ovirt-guest-agent*,userspace-<wbr>rcu,protobuf-java,objenesis,<wbr>python34*<br>
gpgcheck=1<br>
gpgkey=<a class="gmail-m_-489778866821650453moz-txt-link-freetext" href="https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7" target="_blank">https://dl.<wbr>fedoraproject.org/pub/epel/<wbr>RPM-GPG-KEY-EPEL-7</a><br>
<br>
[ovirt-4.0-centos-gluster37]<br>
name=CentOS-7 - Gluster 3.7<br>
baseurl=<a class="gmail-m_-489778866821650453moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.7/" target="_blank">http://mirror.centos.<wbr>org/centos/7/storage/$<wbr>basearch/gluster-3.7/</a><br>
<br>
excludepkgs=collectd*<br>
</p>
<p>gpgcheck=1<br>
enabled=1<br>
gpgkey=<a class="gmail-m_-489778866821650453moz-txt-link-freetext" href="https://raw.githubusercontent.com/CentOS-Storage-SIG/centos-release-storage-common/master/RPM-GPG-KEY-CentOS-SIG-Storage" target="_blank">https://raw.<wbr>githubusercontent.com/CentOS-<wbr>Storage-SIG/centos-release-<wbr>storage-common/master/RPM-GPG-<wbr>KEY-CentOS-SIG-Storage</a><br>
<br>
[ovirt-4.0-patternfly1-noarch-<wbr>epel]<br>
name=Copr repo for patternfly1 owned by patternfly<br>
baseurl=<a class="gmail-m_-489778866821650453moz-txt-link-freetext" href="http://copr-be.cloud.fedoraproject.org/results/patternfly/patternfly1/epel-7-$basearch/" target="_blank">http://copr-be.cloud.<wbr>fedoraproject.org/results/<wbr>patternfly/patternfly1/epel-7-<wbr>$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="gmail-m_-489778866821650453moz-txt-link-freetext" href="http://fedorapeople.org/groups/virt/virtio-win/repo/stable" target="_blank">http://fedorapeople.<wbr>org/groups/virt/virtio-win/<wbr>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="gmail-m_-489778866821650453moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/virt/$basearch/ovirt-4.0/" target="_blank">http://mirror.centos.<wbr>org/centos/7/virt/$basearch/<wbr>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-<wbr>20170825092719-xxxxxx-<wbr>53018ceb.log | grep
collectd<br>
2017-08-25 09:26:49 DEBUG otopi.context
context.dumpSequence:744 METHOD
otopi.plugins.ovirt_host_<wbr>deploy.collectd.packages.<wbr>Plugin._packages
(None)<br>
2017-08-25 09:26:50 DEBUG otopi.context
context.dumpSequence:744 METHOD
otopi.plugins.ovirt_host_<wbr>deploy.collectd.packages.<wbr>Plugin._packages
(None)<br>
2017-08-25 09:27:19 DEBUG otopi.context context._executeMethod:128
Stage packages METHOD
otopi.plugins.ovirt_host_<wbr>deploy.collectd.packages.<wbr>Plugin._packages<br>
2017-08-25 09:27:19 DEBUG
otopi.plugins.otopi.packagers.<wbr>yumpackager yumpackager.verbose:76
Yum queue package collectd for install/update<br>
2017-08-25 09:27:19 ERROR
otopi.plugins.otopi.packagers.<wbr>yumpackager yumpackager.error:85 Yum
Cannot queue package collectd: Package collectd cannot be found<br>
File
"/tmp/ovirt-3rP0BGQm0o/otopi-<wbr>plugins/ovirt-host-deploy/<wbr>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:'[(<<wbr>type 'exceptions.RuntimeError'>,
RuntimeError('Package collectd cannot be found',), <traceback
object at 0x3514ef0>)]'<br>
2017-08-25 09:27:19 DEBUG otopi.context
context.dumpEnvironment:770 ENV
BASE/exceptionInfo=list:'[(<<wbr>type 'exceptions.RuntimeError'>,
RuntimeError('Package collectd cannot be found',), <traceback
object at 0x3514ef0>)]'<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="gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch" target="_blank">http://download.<wbr>fedoraproject.org/pub/epel/7/$<wbr>basearch</a><br>
metalink=<a class="gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch" target="_blank">https://mirrors.<wbr>fedoraproject.org/metalink?<wbr>repo=epel-7&arch=$basearch</a><br>
failovermethod=priority<br>
enabled=1<br>
</p>
<p>excludepkgs=collectd*<br>
</p>
<p>gpgcheck=1<br>
gpgkey=<a class="gmail-m_-489778866821650453moz-txt-link-freetext">file:///etc/pki/rpm-<wbr>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="gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch/debug" target="_blank">http://download.<wbr>fedoraproject.org/pub/epel/7/$<wbr>basearch/debug</a><br>
metalink=<a class="gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch" target="_blank">https://mirrors.<wbr>fedoraproject.org/metalink?<wbr>repo=epel-debug-7&arch=$<wbr>basearch</a><br>
failovermethod=priority<br>
enabled=0<br>
gpgkey=<a class="gmail-m_-489778866821650453moz-txt-link-freetext">file:///etc/pki/rpm-<wbr>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="gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/SRPMS" target="_blank">http://download.<wbr>fedoraproject.org/pub/epel/7/<wbr>SRPMS</a><br>
metalink=<a class="gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch" target="_blank">https://mirrors.<wbr>fedoraproject.org/metalink?<wbr>repo=epel-source-7&arch=$<wbr>basearch</a><br>
failovermethod=priority<br>
enabled=0<br>
gpgkey=<a class="gmail-m_-489778866821650453moz-txt-link-freetext">file:///etc/pki/rpm-<wbr>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.<wbr>yumpackager yumpackager.verbose:76
Yum queue package collectd-disk for install/update<br>
2017-08-25 10:36:23 ERROR
otopi.plugins.otopi.packagers.<wbr>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:'[(<<wbr>type 'exceptions.RuntimeError'>,
RuntimeError('Package collectd-disk cannot be found',),
<traceback object at 0x592e290>)]'<br>
2017-08-25 10:36:23 DEBUG otopi.context
context.dumpEnvironment:770 ENV
BASE/exceptionInfo=list:'[(<<wbr>type 'exceptions.RuntimeError'>,
RuntimeError('Package collectd-disk cannot be found',),
<traceback object at 0x592e290>)]'<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="gmail-m_-489778866821650453bz_comment_text gmail-m_-489778866821650453bz_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;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"></pre>
<pre class="gmail-m_-489778866821650453moz-signature" cols="72">--
/ | / _____/ / | / _____/ | /
/ / | / / / / | / / / | /
/ / | / ___/ _____/ / / | / ___/ / | /
/ / | / / / / | / / / | /
______/ _/ __/ _/ _/ _/ __/ _/ _/ __/
Claudio Soprano phone: <a href="tel:+39%2006%209403%202349" value="+390694032349" target="_blank">(+39)-06-9403.2349</a>/2355
Computing Service fax: <a href="tel:+39%2006%209403%202649" value="+390694032649" target="_blank">(+39)-06-9403.2649</a>
LNF-INFN e-mail: <a class="gmail-m_-489778866821650453moz-txt-link-abbreviated" href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank">Claudio.Soprano@lnf.infn.it</a>
Via Enrico Fermi, 40 www: <a class="gmail-m_-489778866821650453moz-txt-link-freetext" href="http://www.lnf.infn.it/" target="_blank">http://www.lnf.infn.it/</a>
I-00044 Frascati, Italy
</pre>
</div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>SANDRO</span> <span>BONAZZOLA</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D</span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat <span>EMEA</span></a></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png" width="90" height="auto"></a></td><td style="font-size:10px"><div><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></div></td></tr></tbody></table></div></div></div></div></div></div></div>
</div></div>