[ovirt-users] Centos 7.3 ovirt 4.0.6 Can't add host to cluster collectd or collectd-disk not found

Sandro Bonazzola sbonazzo at redhat.com
Fri Aug 25 13:27:37 UTC 2017


2017-08-25 10:43 GMT+02:00 Claudio Soprano <Claudio.Soprano at lnf.infn.it>:

> Hi all,
>
> 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
>

Any reason for keeping 4.0.6 hosts? oVirt 4.0 has reached End Of Life back
in January[1]
And you can install 4.1 hosts in 4.0 cluster compatibility mode.

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.

[1] http://lists.ovirt.org/pipermail/announce/2017-January/000308.html




> in the log of host-deploy (on the manager) it indicates that collectd
> packages was not found.
>
> 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
>
> excludepkgs=collectd*
>
> always in the epel repository
>
> I checked all my repository and i found epel reference only in
>
> [root at xxxx yum.repos.d]# grep epel *
> ovirt-4.0-dependencies.repo:[ovirt-4.0-epel]
> ovirt-4.0-dependencies.repo:#baseurl=http://download.
> fedoraproject.org/pub/epel/7/$basearch
> ovirt-4.0-dependencies.repo:mirrorlist=https://mirrors.
> fedoraproject.org/metalink?repo=epel-7&arch=$basearch
> 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*
> ovirt-4.0-dependencies.repo:gpgkey=https://dl.fedoraproject.org/pub/epel/
> RPM-GPG-KEY-EPEL-7
> ovirt-4.0-dependencies.repo:[ovirt-4.0-patternfly1-noarch-epel]
> ovirt-4.0-dependencies.repo:baseurl=http://copr-be.cloud.
> fedoraproject.org/results/patternfly/patternfly1/epel-7-$basearch/
>
> so before includespkgs i added the excludepkgs line
>
> removed the host, reinserted and still again collectd not found
>
> so i added the excludepkgs line in all the ovirt sections
>
> removed the host, reinserted and still again collectd not found
>
> I removed on the manager also the file /var/cache/ovirt-engine/ovirt-host-deploy.tar
> but still the same error
>
> these are the ovirt-repos files with the excludepkgs line added
>
> [ovirt-4.0]
> name=Latest oVirt 4.0 Release
> #baseurl=http://resources.ovirt.org/pub/ovirt-4.0/rpm/el$releasever/
> mirrorlist=http://resources.ovirt.org/pub/yum-repo/
> mirrorlist-ovirt-4.0-el$releasever
> enabled=1
>
> excludepkgs=collectd*
>
> skip_if_unavailable=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-ovirt-4.0
>
> [ovirt-4.0-epel]
> name=Extra Packages for Enterprise Linux 7 - $basearch
> #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
> mirrorlist=https://mirrors.fedoraproject.org/metalink?
> repo=epel-7&arch=$basearch
> failovermethod=priority
> enabled=1
>
> excludepkgs=collectd*
>
> 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
> 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
> ,ovirt-guest-agent*,userspace-rcu,protobuf-java,objenesis,python34*
> gpgcheck=1
> gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
>
> [ovirt-4.0-centos-gluster37]
> name=CentOS-7 - Gluster 3.7
> baseurl=http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.7/
>
> excludepkgs=collectd*
>
> gpgcheck=1
> enabled=1
> gpgkey=https://raw.githubusercontent.com/CentOS-
> Storage-SIG/centos-release-storage-common/master/RPM-GPG-
> KEY-CentOS-SIG-Storage
>
> [ovirt-4.0-patternfly1-noarch-epel]
> name=Copr repo for patternfly1 owned by patternfly
> baseurl=http://copr-be.cloud.fedoraproject.org/results/
> patternfly/patternfly1/epel-7-$basearch/
> enabled=1
>
> excludepkgs=collectd*
>
> skip_if_unavailable=1
> gpgcheck=0
>
> [virtio-win-stable]
> name=virtio-win builds roughly matching what was shipped in latest RHEL
> baseurl=http://fedorapeople.org/groups/virt/virtio-win/repo/stable
> enabled=1
>
> excludepkgs=collectd*
>
> skip_if_unavailable=1
> gpgcheck=0
>
> [centos-ovirt40-release]
> name=CentOS-7 - oVirt 4.0
> baseurl=http://mirror.centos.org/centos/7/virt/$basearch/ovirt-4.0/
> gpgcheck=0
> enabled=1
>
> excludepkgs=collectd*
>
> I add also the part of log on the manager relatives to host-deploy where
> the error is logged
>
> [root at ovcmgr host-deploy]# more ovirt-host-deploy-20170825092719-xxxxxx-53018ceb.log
> | grep collectd
> 2017-08-25 09:26:49 DEBUG otopi.context context.dumpSequence:744
> METHOD otopi.plugins.ovirt_host_deploy.collectd.packages.Plugin._packages
> (None)
> 2017-08-25 09:26:50 DEBUG otopi.context context.dumpSequence:744
> METHOD otopi.plugins.ovirt_host_deploy.collectd.packages.Plugin._packages
> (None)
> 2017-08-25 09:27:19 DEBUG otopi.context context._executeMethod:128 Stage
> packages METHOD otopi.plugins.ovirt_host_deploy.collectd.packages.
> Plugin._packages
> 2017-08-25 09:27:19 DEBUG otopi.plugins.otopi.packagers.yumpackager
> yumpackager.verbose:76 Yum queue package collectd for install/update
> 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
>   File "/tmp/ovirt-3rP0BGQm0o/otopi-plugins/ovirt-host-deploy/collectd/packages.py",
> line 53, in _packages
>     'collectd-write_http',
> RuntimeError: Package collectd cannot be found
> 2017-08-25 09:27:19 ERROR otopi.context context._executeMethod:151 Failed
> to execute stage 'Package installation': Package collectd cannot be found
> 2017-08-25 09:27:19 DEBUG otopi.context context.dumpEnvironment:770 ENV
> BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>,
> RuntimeError('Package collectd cannot be found',), <traceback object at
> 0x3514ef0>)]'
> 2017-08-25 09:27:19 DEBUG otopi.context context.dumpEnvironment:770 ENV
> BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>,
> RuntimeError('Package collectd cannot be found',), <traceback object at
> 0x3514ef0>)]'
>
> After this i see that there is and include package for epel-release, that
> will install the epel repository,
>
> so i installed manually the epel-repository
>
> added the excludepkgs line but now the error is Package collectd-disk
> cannot be found
>
> this is the epel.repo modified
>
> [root at ovc2n05 yum.repos.d]# more /etc/yum.repos.d/epel.repo
>
> [epel]
> name=Extra Packages for Enterprise Linux 7 - $basearch
> #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
> metalink=https://mirrors.fedoraproject.org/metalink?
> repo=epel-7&arch=$basearch
> failovermethod=priority
> enabled=1
>
> excludepkgs=collectd*
>
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
>
> [epel-debuginfo]
> name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
> #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
> metalink=https://mirrors.fedoraproject.org/metalink?
> repo=epel-debug-7&arch=$basearch
> failovermethod=priority
> enabled=0
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
> gpgcheck=1
>
> [epel-source]
> name=Extra Packages for Enterprise Linux 7 - $basearch - Source
> #baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
> metalink=https://mirrors.fedoraproject.org/metalink?
> repo=epel-source-7&arch=$basearch
> failovermethod=priority
> enabled=0
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
> gpgcheck=1
>
> the epel-testing.repo has all disabled
>
> This is the part of log on the manager
>
> [root at ovcmgr host-deploy]# more ovirt-host-deploy-20170825*  | grep
> collectd-disk
> 2017-08-25 10:36:23 DEBUG otopi.plugins.otopi.packagers.yumpackager
> yumpackager.verbose:76 Yum queue package collectd-disk for install/update
> 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
> RuntimeError: Package collectd-disk cannot be found
> 2017-08-25 10:36:23 ERROR otopi.context context._executeMethod:151 Failed
> to execute stage 'Package installation': Package collectd-disk cannot be
> found
> 2017-08-25 10:36:23 DEBUG otopi.context context.dumpEnvironment:770 ENV
> BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>,
> RuntimeError('Package collectd-disk cannot be found',), <traceback object
> at 0x592e290>)]'
> 2017-08-25 10:36:23 DEBUG otopi.context context.dumpEnvironment:770 ENV
> BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>,
> RuntimeError('Package collectd-disk cannot be found',), <traceback object
> at 0x592e290>)]'
>
> I don't know what other to try.
>
> Any help would be accepted
>
> Claudio Soprano
>
> --
>
>        /        |    /   _____/           /    |    /   _____/    |    /
>       /       / |   /   /                /   / |   /   /        / |   /
>      /       /  |  /   ___/   _____/    /   /  |  /   ___/     /  |  /
>     /       /   | /   /                /   /   | /   /        /   | /
>   ______/ _/   __/  _/               _/  _/   __/  _/       _/   __/
>
> Claudio Soprano                phone:  (+39)-06-9403.2349 <+39%2006%209403%202349>/2355
> Computing Service              fax:    (+39)-06-9403.2649 <+39%2006%209403%202649>
> LNF-INFN                       e-mail: Claudio.Soprano at lnf.infn.it
> Via Enrico Fermi, 40           www:    http://www.lnf.infn.it/
> I-00044 Frascati, Italy
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D

Red Hat EMEA <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170825/7e141222/attachment.html>


More information about the Users mailing list