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

This is a multi-part message in MIME format. --------------3A508373C5EC3F29788C45F1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 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@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... 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-... [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... 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@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@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@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/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail: Claudio.Soprano@lnf.infn.it Via Enrico Fermi, 40 www: http://www.lnf.infn.it/ I-00044 Frascati, Italy --------------3A508373C5EC3F29788C45F1 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <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&arch=$basearch">https://mirrors.fedoraproject.org/metalink?repo=epel-7&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&arch=$basearch">https://mirrors.fedoraproject.org/metalink?repo=epel-7&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:'[(<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:'[(<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="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&arch=$basearch">https://mirrors.fedoraproject.org/metalink?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="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&arch=$basearch">https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&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&arch=$basearch">https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&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:'[(<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:'[(<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="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> --------------3A508373C5EC3F29788C45F1--

2017-08-25 10:43 GMT+02:00 Claudio Soprano <Claudio.Soprano@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@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@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@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@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@lnf.infn.it Via Enrico Fermi, 40 www: http://www.lnf.infn.it/ I-00044 Frascati, Italy
_______________________________________________ Users mailing list Users@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>

This is a multi-part message in MIME format. --------------944031868D8C6CD57E1C26BD Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Ok in this way i could install the hosts, but we got another error on them when setup networks we have on each hosts 2 interfaces interface 1 is ovirtmgm interface 2 is a TRUNK with VLANs inside. All my old hosts are all the VLANs on interface2 included VLAN 1 (tagged). When i setup networks for the new hosts 4.0.6 i can't include VLAN 1, ovirt answer with VDSM hostname.domainname command HostSetupNetworksVDS failed: [Errno 19] default (that is VLAN 1) is not present in the system. So thinking about upgrading to 4.1.5 we updated all the new hosts (the old are still v4.0.6) and reinstall from beginning but still we get the same error. What means that error ? Claudio Soprano On 25/08/17 15:27, Sandro Bonazzola wrote:
2017-08-25 10:43 GMT+02:00 Claudio Soprano <Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@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@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 <http://download.fedoraproject.org/pub/epel/7/$basearch> ovirt-4.0-dependencies.repo:mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch <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 <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... <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/ <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 <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 <http://download.fedoraproject.org/pub/epel/7/$basearch> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch <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 <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/ <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-... <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... <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 <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/ <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@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@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 <http://download.fedoraproject.org/pub/epel/7/$basearch> metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch <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 <http://download.fedoraproject.org/pub/epel/7/$basearch/debug> metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch <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 <http://download.fedoraproject.org/pub/epel/7/SRPMS> metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch <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@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 <tel:+39%2006%209403%202349>/2355 Computing Service fax:(+39)-06-9403.2649 <tel:+39%2006%209403%202649> LNF-INFN e-mail:Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it> Via Enrico Fermi, 40 www:http://www.lnf.infn.it/ I-00044 Frascati, Italy
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <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>
-- / | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/ Claudio Soprano phone: (+39)-06-9403.2349/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail: Claudio.Soprano@lnf.infn.it Via Enrico Fermi, 40 www: http://www.lnf.infn.it/ I-00044 Frascati, Italy --------------944031868D8C6CD57E1C26BD Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <p>Ok in this way i could install the hosts, but we got another error on them when setup networks</p> <p>we have on each hosts 2 interfaces</p> <p>interface 1 is ovirtmgm</p> <p>interface 2 is a TRUNK with VLANs inside.</p> <p>All my old hosts are all the VLANs on interface2 included VLAN 1 (tagged).</p> <p>When i setup networks for the new hosts 4.0.6 i can't include VLAN 1, ovirt answer with <br> </p> <p>VDSM hostname.domainname command HostSetupNetworksVDS failed: [Errno 19] default (that is VLAN 1) is not present in the system.</p> <p>So thinking about upgrading to 4.1.5 we updated all the new hosts (the old are still v4.0.6) and reinstall from beginning but still we get the same error.</p> <p>What means that error ?</p> <p>Claudio Soprano<br> </p> On 25/08/17 15:27, Sandro Bonazzola wrote:<br> <blockquote type="cite" cite="mid:CAPQRNT=bNQYR5Wt4EHCNO=-haOKAHLXXk_LUCrTCXqChgo825Q@mail.gmail.com"> <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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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..." target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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-..." target="_blank" moz-do-not-send="true">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..." target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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=$basea..." target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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=$base..." target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">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_-489778866821650453moz-signature" cols="72">-- / | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/ Claudio Soprano phone: <a href="tel:+39%2006%209403%202349" value="+390694032349" target="_blank" moz-do-not-send="true">(+39)-06-9403.2349</a>/2355 Computing Service fax: <a href="tel:+39%2006%209403%202649" value="+390694032649" target="_blank" moz-do-not-send="true">(+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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">Users@ovirt.org</a><br> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">Red Hat <span>EMEA</span></a></p> <table style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium" border="0"> <tbody> <tr> <td width="100px"><a href="https://red.ht/sig" target="_blank" moz-do-not-send="true"><img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-blac..." moz-do-not-send="true" 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" moz-do-not-send="true">TRIED. TESTED. TRUSTED.</a></div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> <br> <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> --------------944031868D8C6CD57E1C26BD--

2017-08-29 14:45 GMT+02:00 Claudio Soprano <Claudio.Soprano@lnf.infn.it>:
Ok in this way i could install the hosts, but we got another error on them when setup networks
we have on each hosts 2 interfaces
interface 1 is ovirtmgm
interface 2 is a TRUNK with VLANs inside.
All my old hosts are all the VLANs on interface2 included VLAN 1 (tagged).
When i setup networks for the new hosts 4.0.6 i can't include VLAN 1, ovirt answer with
VDSM hostname.domainname command HostSetupNetworksVDS failed: [Errno 19] default (that is VLAN 1) is not present in the system.
So thinking about upgrading to 4.1.5 we updated all the new hosts (the old are still v4.0.6) and reinstall from beginning but still we get the same error.
What means that error ?
Adding Marcin and Dan about this.
Claudio Soprano On 25/08/17 15:27, Sandro Bonazzola wrote:
2017-08-25 10:43 GMT+02:00 Claudio Soprano <Claudio.Soprano@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@xxxx yum.repos.d]# grep epel * ovirt-4.0-dependencies.repo:[ovirt-4.0-epel] ovirt-4.0-dependencies.repo:#baseurl=http://download.fedorap roject.org/pub/epel/7/$basearch ovirt-4.0-dependencies.repo:mirrorlist=https://mirrors.fedor aproject.org/metalink?repo=epel-7&arch=$basearch ovirt-4.0-dependencies.repo:includepkgs=epel-release,python- uinput,puppet,python-lockfile,python-cpopen,python-ordereddi ct,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.fed oraproject.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/mirrorlis t-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-lockfil e,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,ioproces s,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/patte rnfly/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@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_deplo y.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@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@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@lnf.infn.it Via Enrico Fermi, 40 www: http://www.lnf.infn.it/ I-00044 Frascati, Italy
_______________________________________________ Users mailing list Users@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>
--
/ | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/
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@lnf.infn.it Via Enrico Fermi, 40 www: http://www.lnf.infn.it/ I-00044 Frascati, Italy
-- 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>

The problem is not the host-deploy, infact the deploy finished without errors, if i remember good in the deploy process the network are not set, i need to attach each network i need manually, under hosts, network interface, setup host networks and the problem is there, when i attach all the VLANs (including the default, that is VLAN 1) it gave error, default is not present in the system, if i add all the VLANS (excluding the default, that is VLAN 1) it is OK, but the host will not activate because missing the default vlan. If i manually add the 2 configuration files (ifcfg-default and ifcfg-intX.1) to the host and make a systemctl network restart, it gave error then ip addr reports the vlan 1 is added, but not the Bridge to default (the default is missing error). I don't know if the name "default" (for the network, VLAN 1) could be the problem, but i can't rename now, because i need to detach from the hosts, but actually i can't. I added 3 screenshoots to show you the situation, before adding VLAN 1 ("default" network), the error when adding it, and the info on the error. Claudio On 30/08/17 08:49, Sandro Bonazzola wrote:
2017-08-29 14:45 GMT+02:00 Claudio Soprano <Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it>>:
Ok in this way i could install the hosts, but we got another error on them when setup networks
we have on each hosts 2 interfaces
interface 1 is ovirtmgm
interface 2 is a TRUNK with VLANs inside.
All my old hosts are all the VLANs on interface2 included VLAN 1 (tagged).
When i setup networks for the new hosts 4.0.6 i can't include VLAN 1, ovirt answer with
VDSM hostname.domainname command HostSetupNetworksVDS failed: [Errno 19] default (that is VLAN 1) is not present in the system.
So thinking about upgrading to 4.1.5 we updated all the new hosts (the old are still v4.0.6) and reinstall from beginning but still we get the same error.
What means that error ?
Adding Marcin and Dan about this.
Claudio Soprano
On 25/08/17 15:27, Sandro Bonazzola wrote:
2017-08-25 10:43 GMT+02:00 Claudio Soprano <Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@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 <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@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 <http://download.fedoraproject.org/pub/epel/7/$basearch> ovirt-4.0-dependencies.repo:mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch <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 <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... <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/ <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 <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 <http://download.fedoraproject.org/pub/epel/7/$basearch> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch <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 <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/ <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-... <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... <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 <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/ <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@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@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 <http://download.fedoraproject.org/pub/epel/7/$basearch> metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch <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 <http://download.fedoraproject.org/pub/epel/7/$basearch/debug> metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch <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 <http://download.fedoraproject.org/pub/epel/7/SRPMS> metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch <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@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 <tel:+39%2006%209403%202349>/2355 Computing Service fax:(+39)-06-9403.2649 <tel:+39%2006%209403%202649> LNF-INFN e-mail:Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it> Via Enrico Fermi, 40 www:http://www.lnf.infn.it/ I-00044 Frascati, Italy
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <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>
--
/ | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/
Claudio Soprano phone:(+39)-06-9403.2349 <tel:+39%2006%209403%202349>/2355 Computing Service fax:(+39)-06-9403.2649 <tel:+39%2006%209403%202649> LNF-INFN e-mail:Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it> Via Enrico Fermi, 40 www:http://www.lnf.infn.it/ I-00044 Frascati, Italy
--
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>
-- / | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/ Claudio Soprano phone: (+39)-06-9403.2349/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail: Claudio.Soprano@lnf.infn.it Via Enrico Fermi, 40 www: http://www.lnf.infn.it/ I-00044 Frascati, Italy

This is a multi-part message in MIME format. --------------46E092E72A39E2A0C2940E6E Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Ok i SOLVED the problem, but i don't know if it is a BUG, the problem is the name default, but i had it working with ovirt v3 and v4.0pre for sure. I don't know if the check has been added in the setup_host_network or not. This is that i did i manually added a ifcfg-def and ifcfg-enp12s0.1 file (first for the bridge and the second for the VLAN) to an host that don't have VLAN 1 [root@XXXXX network-scripts]# more ifcfg-enp12s0.1 # Generated by VDSM version 4.19.28-1.el7.centos DEVICE=enp12s0.1 VLAN=yes BRIDGE=def ONBOOT=yes MTU=1500 DEFROUTE=no NM_CONTROLLED=no IPV6INIT=no [root@XXXXX network-scripts]# more ifcfg-def # Generated by VDSM version 4.19.28-1.el7.centos DEVICE=def TYPE=Bridge DELAY=0 STP=off ONBOOT=yes MTU=1500 DEFROUTE=no NM_CONTROLLED=no IPV6INIT=no then run systemctl restart network it didn't give errors, and ip addr shows [root@XXXXX network-scripts]# ip addr 94: enp12s0.1@enp12s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master def state UP qlen 1000 link/ether 00:25:b5:00:10:5f brd ff:ff:ff:ff:ff:ff inet6 fe80::225:b5ff:fe00:105f/64 scope link valid_lft forever preferred_lft forever 95: def: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000 link/ether 00:25:b5:00:10:5f brd ff:ff:ff:ff:ff:ff inet6 fe80::225:b5ff:fe00:105f/64 scope link valid_lft forever preferred_lft forever I will try to change the name of that network to something different from default Claudio On 30/08/17 11:31, Claudio Soprano wrote:
The problem is not the host-deploy, infact the deploy finished without errors, if i remember good in the deploy process the network are not set, i need to attach each network i need manually, under hosts, network interface, setup host networks
and the problem is there, when i attach all the VLANs (including the default, that is VLAN 1) it gave error, default is not present in the system, if i add all the VLANS (excluding the default, that is VLAN 1) it is OK, but the host will not activate because missing the default vlan.
If i manually add the 2 configuration files (ifcfg-default and ifcfg-intX.1) to the host and make a systemctl network restart, it gave error then
ip addr reports
the vlan 1 is added, but not the Bridge to default (the default is missing error).
I don't know if the name "default" (for the network, VLAN 1) could be the problem, but i can't rename now, because i need to detach from the hosts, but actually i can't.
I added 3 screenshoots to show you the situation, before adding VLAN 1 ("default" network), the error when adding it, and the info on the error.
Claudio
On 30/08/17 08:49, Sandro Bonazzola wrote:
2017-08-29 14:45 GMT+02:00 Claudio Soprano <Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it>>:
Ok in this way i could install the hosts, but we got another error on them when setup networks
we have on each hosts 2 interfaces
interface 1 is ovirtmgm
interface 2 is a TRUNK with VLANs inside.
All my old hosts are all the VLANs on interface2 included VLAN 1 (tagged).
When i setup networks for the new hosts 4.0.6 i can't include VLAN 1, ovirt answer with
VDSM hostname.domainname command HostSetupNetworksVDS failed: [Errno 19] default (that is VLAN 1) is not present in the system.
So thinking about upgrading to 4.1.5 we updated all the new hosts (the old are still v4.0.6) and reinstall from beginning but still we get the same error.
What means that error ?
Adding Marcin and Dan about this.
Claudio Soprano
On 25/08/17 15:27, Sandro Bonazzola wrote:
2017-08-25 10:43 GMT+02:00 Claudio Soprano <Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@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 <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@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 <http://download.fedoraproject.org/pub/epel/7/$basearch> ovirt-4.0-dependencies.repo:mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch <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 <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... <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/ <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 <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 <http://download.fedoraproject.org/pub/epel/7/$basearch> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch <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 <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/ <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-... <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... <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 <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/ <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@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@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 <http://download.fedoraproject.org/pub/epel/7/$basearch> metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch <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 <http://download.fedoraproject.org/pub/epel/7/$basearch/debug> metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch <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 <http://download.fedoraproject.org/pub/epel/7/SRPMS> metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch <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@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 <tel:+39%2006%209403%202349>/2355 Computing Service fax:(+39)-06-9403.2649 <tel:+39%2006%209403%202649> LNF-INFN e-mail:Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it> Via Enrico Fermi, 40 www:http://www.lnf.infn.it/ I-00044 Frascati, Italy
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <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>
--
/ | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/
Claudio Soprano phone:(+39)-06-9403.2349 <tel:+39%2006%209403%202349>/2355 Computing Service fax:(+39)-06-9403.2649 <tel:+39%2006%209403%202649> LNF-INFN e-mail:Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it> Via Enrico Fermi, 40 www:http://www.lnf.infn.it/ I-00044 Frascati, Italy
--
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>
--
/ | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/
Claudio Soprano phone: (+39)-06-9403.2349/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail:Claudio.Soprano@lnf.infn.it Via Enrico Fermi, 40 www:http://www.lnf.infn.it/ I-00044 Frascati, Italy
-- / | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/ Claudio Soprano phone: (+39)-06-9403.2349/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail: Claudio.Soprano@lnf.infn.it Via Enrico Fermi, 40 www: http://www.lnf.infn.it/ I-00044 Frascati, Italy --------------46E092E72A39E2A0C2940E6E Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <p>Ok i SOLVED the problem, but i don't know if it is a BUG, the problem is the name default, but i had it working with ovirt v3 and v4.0pre for sure.</p> <p>I don't know if the check has been added in the setup_host_network or not.</p> <p>This is that i did<br> </p> <p>i manually added a ifcfg-def and ifcfg-enp12s0.1 file (first for the bridge and the second for the VLAN) to an host that don't have VLAN 1 <br> </p> <p>[root@XXXXX network-scripts]# more ifcfg-enp12s0.1<br> # Generated by VDSM version 4.19.28-1.el7.centos<br> DEVICE=enp12s0.1<br> VLAN=yes<br> BRIDGE=def<br> ONBOOT=yes<br> MTU=1500<br> DEFROUTE=no<br> NM_CONTROLLED=no<br> IPV6INIT=no</p> <p>[root@XXXXX network-scripts]# more ifcfg-def<br> # Generated by VDSM version 4.19.28-1.el7.centos<br> DEVICE=def<br> TYPE=Bridge<br> DELAY=0<br> STP=off<br> ONBOOT=yes<br> MTU=1500<br> DEFROUTE=no<br> NM_CONTROLLED=no<br> IPV6INIT=no<br> </p> <p>then run<br> </p> <p>systemctl restart network</p> <p>it didn't give errors, and ip addr shows</p> <p>[root@XXXXX network-scripts]# ip addr <br> </p> <p>94: enp12s0.1@enp12s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master def state UP qlen 1000<br> link/ether 00:25:b5:00:10:5f brd ff:ff:ff:ff:ff:ff<br> inet6 fe80::225:b5ff:fe00:105f/64 scope link<br> valid_lft forever preferred_lft forever<br> 95: def: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000<br> link/ether 00:25:b5:00:10:5f brd ff:ff:ff:ff:ff:ff<br> inet6 fe80::225:b5ff:fe00:105f/64 scope link<br> valid_lft forever preferred_lft forever<br> </p> I will try to change the name of that network to something different from default<br> <br> Claudio<br> <br> <div class="moz-cite-prefix">On 30/08/17 11:31, Claudio Soprano wrote:<br> </div> <blockquote type="cite" cite="mid:eefbfae3-3269-11f1-c446-30462ed00245@lnf.infn.it"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <p>The problem is not the host-deploy, infact the deploy finished without errors, if i remember good in the deploy process the network are not set, i need to attach each network i need manually, under hosts, network interface, setup host networks</p> <p>and the problem is there, when i attach all the VLANs (including the default, that is VLAN 1) it gave error, default is not present in the system, if i add all the VLANS (excluding the default, that is VLAN 1) it is OK, but the host will not activate because missing the default vlan.</p> <p>If i manually add the 2 configuration files (ifcfg-default and ifcfg-intX.1) to the host and make a systemctl network restart, it gave error then <br> </p> <p>ip addr reports</p> <p>the vlan 1 is added, but not the Bridge to default (the default is missing error).<br> </p> <p>I don't know if the name "default" (for the network, VLAN 1) could be the problem, but i can't rename now, because i need to detach from the hosts, but actually i can't.</p> <p>I added 3 screenshoots to show you the situation, before adding VLAN 1 ("default" network), the error when adding it, and the info on the error.<br> </p> <p>Claudio<br> </p> On 30/08/17 08:49, Sandro Bonazzola wrote:<br> <blockquote type="cite" cite="mid:CAPQRNTkUrPx7dsq=7ApbEd8Jc11AGi44f8SVRQFakGOacGEXsg@mail.gmail.com"> <div dir="ltr"><br> <div class="gmail_extra"><br> <div class="gmail_quote">2017-08-29 14:45 GMT+02:00 Claudio Soprano <span dir="ltr"><<a href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a>></span>:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div text="#000000" bgcolor="#FFFFFF"> <p>Ok in this way i could install the hosts, but we got another error on them when setup networks</p> <p>we have on each hosts 2 interfaces</p> <p>interface 1 is ovirtmgm</p> <p>interface 2 is a TRUNK with VLANs inside.</p> <p>All my old hosts are all the VLANs on interface2 included VLAN 1 (tagged).</p> <p>When i setup networks for the new hosts 4.0.6 i can't include VLAN 1, ovirt answer with <br> </p> <p>VDSM hostname.domainname command HostSetupNetworksVDS failed: [Errno 19] default (that is VLAN 1) is not present in the system.</p> <p>So thinking about upgrading to 4.1.5 we updated all the new hosts (the old are still v4.0.6) and reinstall from beginning but still we get the same error.</p> <p>What means that error ?</p> </div> </blockquote> <div><br> </div> <div>Adding Marcin and Dan about this.</div> <div><br> </div> <div> </div> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div text="#000000" bgcolor="#FFFFFF"><span class="HOEnZb"><font color="#888888"> <p>Claudio Soprano<br> </p> </font></span> <div> <div class="h5"> On 25/08/17 15:27, Sandro Bonazzola wrote:<br> <blockquote type="cite"> <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" moz-do-not-send="true">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-<wbr>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" target="_blank" moz-do-not-send="true">http://lists.ovirt.org/<wbr>pipermail/announce/2017-<wbr>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:[o<wbr>virt-4.0-epel]<br> ovirt-4.0-dependencies.repo:#b<wbr>aseurl=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch" target="_blank" moz-do-not-send="true">http://download.fedorap<wbr>roject.org/pub/epel/7/$basearc<wbr>h</a><br> ovirt-4.0-dependencies.repo:mi<wbr>rrorlist=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch" target="_blank" moz-do-not-send="true">https://mirrors.fedor<wbr>aproject.org/metalink?repo=<wbr>epel-7&arch=$basearch</a><br> ovirt-4.0-dependencies.repo:in<wbr>cludepkgs=epel-release,python-<wbr>uinput,puppet,python-lockfile,<wbr>python-cpopen,python-ordereddi<wbr>ct,python-pthreading,python-<wbr>inotify,python-argparse,novnc,<wbr>python-ply,python-kitchen,<wbr>python-daemon,python-<wbr>websockify,livecd-tools,spice-<wbr>html5,mom,python-IPy,python-<wbr>ioprocess,ioprocess,safelease,<wbr>python-paramiko,python2-<wbr>paramiko,python2-crypto,<wbr>libtomcrypt,libtommath,python-<wbr>cheetah,python-ecdsa,python2-<wbr>ecdsa,python-markdown,rubygem-<wbr>rgen,ovirt-guest-agent*,<wbr>userspace-rcu,protobuf-java,<wbr>objenesis,python34*<br> ovirt-4.0-dependencies.repo:gp<wbr>gkey=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7" target="_blank" moz-do-not-send="true">https://dl.fedoraproject.<wbr>org/pub/epel/RPM-GPG-KEY-EPEL-<wbr>7</a><br> ovirt-4.0-dependencies.repo:[o<wbr>virt-4.0-patternfly1-noarch-ep<wbr>el]<br> ovirt-4.0-dependencies.repo:ba<wbr>seurl=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://copr-be.cloud.fedoraproject.org/results/patternfly/patternfly1/epel-7..." target="_blank" moz-do-not-send="true">http://copr-be.cloud.fed<wbr>oraproject.org/results/pattern<wbr>fly/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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://resources.ovirt.org/pub/ovirt-4.0/rpm/el$releasever/" target="_blank" moz-do-not-send="true">http://resources.ovir<wbr>t.org/pub/ovirt-4.0/rpm/el$<wbr>releasever/</a><br> mirrorlist=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-el$releasever" target="_blank" moz-do-not-send="true">http://resources.ov<wbr>irt.org/pub/yum-repo/mirrorlis<wbr>t-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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" moz-do-not-send="true">file:///etc/pki/rpm-gpg<wbr>/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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch" target="_blank" moz-do-not-send="true">http://download.fedor<wbr>aproject.org/pub/epel/7/$basea<wbr>rch</a><br> mirrorlist=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch" target="_blank" moz-do-not-send="true">https://mirrors.fed<wbr>oraproject.org/metalink?repo=<wbr>epel-7&arch=$basearch</a><br> failovermethod=priority<br> enabled=1<br> <br> excludepkgs=collectd*<br> </p> <p>includepkgs=epel-release,pytho<wbr>n-uinput,puppet,python-lockfil<wbr>e,python-cpopen,python-ordered<wbr>dict,python-pthreading,python-<wbr>inotify,python-argparse,novnc,<wbr>python-ply,python-kitchen,<wbr>python-daemon,python-<wbr>websockify,livec<br> d-tools,spice-html5,mom,python<wbr>-IPy,python-ioprocess,ioproces<wbr>s,safelease,python-paramiko,<wbr>python2-paramiko,python2-<wbr>crypto,libtomcrypt,libtommath,<wbr>python-cheetah,python-ecdsa,<wbr>python2-ecdsa,python-markdown,<wbr>rubygem-rgen<br> ,ovirt-guest-agent*,userspace-<wbr>rcu,protobuf-java,objenesis,py<wbr>thon34*<br> gpgcheck=1<br> gpgkey=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7" target="_blank" moz-do-not-send="true">https://dl.fedoraprojec<wbr>t.org/pub/epel/RPM-GPG-KEY-<wbr>EPEL-7</a><br> <br> [ovirt-4.0-centos-gluster37]<br> name=CentOS-7 - Gluster 3.7<br> baseurl=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.7/" target="_blank" moz-do-not-send="true">http://mirror.centos.o<wbr>rg/centos/7/storage/$basearch/<wbr>gluster-3.7/</a><br> <br> excludepkgs=collectd*<br> </p> <p>gpgcheck=1<br> enabled=1<br> gpgkey=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://raw.githubusercontent.com/CentOS-Storage-SIG/centos-release-storage-..." target="_blank" moz-do-not-send="true">https://raw.githubuserc<wbr>ontent.com/CentOS-Storage-SIG/<wbr>centos-release-storage-common/<wbr>master/RPM-GPG-KEY-CentOS-SIG-<wbr>Storage</a><br> <br> [ovirt-4.0-patternfly1-noarch-<wbr>epel]<br> name=Copr repo for patternfly1 owned by patternfly<br> baseurl=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://copr-be.cloud.fedoraproject.org/results/patternfly/patternfly1/epel-7..." target="_blank" moz-do-not-send="true">http://copr-be.cloud.f<wbr>edoraproject.org/results/patte<wbr>rnfly/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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://fedorapeople.org/groups/virt/virtio-win/repo/stable" target="_blank" moz-do-not-send="true">http://fedorapeople.or<wbr>g/groups/virt/virtio-win/repo/<wbr>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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/virt/$basearch/ovirt-4.0/" target="_blank" moz-do-not-send="true">http://mirror.centos.o<wbr>rg/centos/7/virt/$basearch/ovi<wbr>rt-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-201708250927<wbr>19-xxxxxx-53018ceb.log | grep collectd<br> 2017-08-25 09:26:49 DEBUG otopi.context context.dumpSequence:744 METHOD otopi.plugins.ovirt_host_deplo<wbr>y.collectd.packages.Plugin._<wbr>packages (None)<br> 2017-08-25 09:26:50 DEBUG otopi.context context.dumpSequence:744 METHOD otopi.plugins.ovirt_host_deplo<wbr>y.collectd.packages.Plugin._<wbr>packages (None)<br> 2017-08-25 09:27:19 DEBUG otopi.context context._executeMethod:128 Stage packages METHOD otopi.plugins.ovirt_host_deplo<wbr>y.collectd.packages.Plugin._<wbr>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-p<wbr>lugins/ovirt-host-deploy/colle<wbr>ctd/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:'[(<ty<wbr>pe '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:'[(<ty<wbr>pe '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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch" target="_blank" moz-do-not-send="true">http://download.fedor<wbr>aproject.org/pub/epel/7/$basea<wbr>rch</a><br> metalink=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch" target="_blank" moz-do-not-send="true">https://mirrors.fedor<wbr>aproject.org/metalink?repo=<wbr>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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" moz-do-not-send="true">file:///etc/pki/rpm-gpg<wbr>/RPM-GPG-KEY-EPEL-7</a><br> <br> [epel-debuginfo]<br> name=Extra Packages for Enterprise Linux 7 - $basearch - Debug<br> #baseurl=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch/debug" target="_blank" moz-do-not-send="true">http://download.fedor<wbr>aproject.org/pub/epel/7/$basea<wbr>rch/debug</a><br> metalink=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basea..." target="_blank" moz-do-not-send="true">https://mirrors.fedor<wbr>aproject.org/metalink?repo=<wbr>epel-debug-7&arch=$basearch</a><br> failovermethod=priority<br> enabled=0<br> gpgkey=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" moz-do-not-send="true">file:///etc/pki/rpm-gpg<wbr>/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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/SRPMS" target="_blank" moz-do-not-send="true">http://download.fedor<wbr>aproject.org/pub/epel/7/SRPMS</a><br> metalink=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$base..." target="_blank" moz-do-not-send="true">https://mirrors.fedor<wbr>aproject.org/metalink?repo=<wbr>epel-source-7&arch=$basearch</a><br> failovermethod=priority<br> enabled=0<br> gpgkey=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" moz-do-not-send="true">file:///etc/pki/rpm-gpg<wbr>/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:'[(<ty<wbr>pe '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:'[(<ty<wbr>pe '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="m_6349234686212188836gmail-m_-489778866821650453moz-signature" cols="72">-- / | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/ Claudio Soprano phone: <a href="tel:+39%2006%209403%202349" value="+390694032349" target="_blank" moz-do-not-send="true">(+39)-06-9403.2349</a>/2355 Computing Service fax: <a href="tel:+39%2006%209403%202649" value="+390694032649" target="_blank" moz-do-not-send="true">(+39)-06-9403.2649</a> LNF-INFN e-mail: <a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-abbreviated" href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a> Via Enrico Fermi, 40 www: <a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://www.lnf.infn.it/" target="_blank" moz-do-not-send="true">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" target="_blank" moz-do-not-send="true">Users@ovirt.org</a><br> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br> <br> </blockquote> </div> <br> <br clear="all"> <div><br> </div> -- <br> <div class="m_6349234686212188836gmail_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" moz-do-not-send="true">Red Hat <span>EMEA</span></a></p> <table style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium" border="0"> <tbody> <tr> <td width="100px"><a href="https://red.ht/sig" target="_blank" moz-do-not-send="true"><img moz-do-not-send="true" 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" moz-do-not-send="true">TRIED. TESTED. TRUSTED.</a></div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> <br> <pre class="m_6349234686212188836moz-signature" cols="72">-- / | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/ Claudio Soprano phone: <a href="tel:+39%2006%209403%202349" value="+390694032349" target="_blank" moz-do-not-send="true">(+39)-06-9403.2349</a>/2355 Computing Service fax: <a href="tel:+39%2006%209403%202649" value="+390694032649" target="_blank" moz-do-not-send="true">(+39)-06-9403.2649</a> LNF-INFN e-mail: <a class="m_6349234686212188836moz-txt-link-abbreviated" href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a> Via Enrico Fermi, 40 www: <a class="m_6349234686212188836moz-txt-link-freetext" href="http://www.lnf.infn.it/" target="_blank" moz-do-not-send="true">http://www.lnf.infn.it/</a> I-00044 Frascati, Italy </pre> </div> </div> </div> </blockquote> </div> <br> <br clear="all"> <div><br> </div> -- <br> <div class="gmail_signature" data-smartmail="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" moz-do-not-send="true">Red Hat <span>EMEA</span></a></p> <table style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium" border="0"> <tbody> <tr> <td width="100px"><a href="https://red.ht/sig" target="_blank" moz-do-not-send="true"><img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-blac..." moz-do-not-send="true" 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" moz-do-not-send="true">TRIED. TESTED. TRUSTED.</a></div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> <br> <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" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a> Via Enrico Fermi, 40 www: <a class="moz-txt-link-freetext" href="http://www.lnf.infn.it/" moz-do-not-send="true">http://www.lnf.infn.it/</a> I-00044 Frascati, Italy </pre> </blockquote> <br> <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> --------------46E092E72A39E2A0C2940E6E--

This is a multi-part message in MIME format. --------------F752EE8F258D89D6B5BFFF28 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit More investigation on this for you :) the bug is only on CentOS v7.3 infact on previous hosts with CentOS < v7.3 i have no problem about the name of the network. I discovered also that i don't need only to rename the network name, but also the vnic profile associated, infact with network name def, and vnic profile default, it still didn't work, renamed network name and vnic profile to def both, now works on CentOS v7.3 with no errors also from GUI. when i create a network both network name and vnic profile are called the same (for my it was default). Hope that my info can help you. Another boring issues is that i need to detach the network to all the hosts to rename only, but also to change the network on all VMs that use it also if they are stopped, i was lucky only 2 VMs and only 4 hosts, but i can't imagine people have 40-50 hosts and maybe 100-200 VMs on a network. Anyway now i have Centos V7.3 and V7.2 hosts both working. Claudio On 30/08/17 11:52, Claudio Soprano wrote:
Ok i SOLVED the problem, but i don't know if it is a BUG, the problem is the name default, but i had it working with ovirt v3 and v4.0pre for sure.
I don't know if the check has been added in the setup_host_network or not.
This is that i did
i manually added a ifcfg-def and ifcfg-enp12s0.1 file (first for the bridge and the second for the VLAN) to an host that don't have VLAN 1
[root@XXXXX network-scripts]# more ifcfg-enp12s0.1 # Generated by VDSM version 4.19.28-1.el7.centos DEVICE=enp12s0.1 VLAN=yes BRIDGE=def ONBOOT=yes MTU=1500 DEFROUTE=no NM_CONTROLLED=no IPV6INIT=no
[root@XXXXX network-scripts]# more ifcfg-def # Generated by VDSM version 4.19.28-1.el7.centos DEVICE=def TYPE=Bridge DELAY=0 STP=off ONBOOT=yes MTU=1500 DEFROUTE=no NM_CONTROLLED=no IPV6INIT=no
then run
systemctl restart network
it didn't give errors, and ip addr shows
[root@XXXXX network-scripts]# ip addr
94: enp12s0.1@enp12s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master def state UP qlen 1000 link/ether 00:25:b5:00:10:5f brd ff:ff:ff:ff:ff:ff inet6 fe80::225:b5ff:fe00:105f/64 scope link valid_lft forever preferred_lft forever 95: def: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000 link/ether 00:25:b5:00:10:5f brd ff:ff:ff:ff:ff:ff inet6 fe80::225:b5ff:fe00:105f/64 scope link valid_lft forever preferred_lft forever
I will try to change the name of that network to something different from default
Claudio
On 30/08/17 11:31, Claudio Soprano wrote:
The problem is not the host-deploy, infact the deploy finished without errors, if i remember good in the deploy process the network are not set, i need to attach each network i need manually, under hosts, network interface, setup host networks
and the problem is there, when i attach all the VLANs (including the default, that is VLAN 1) it gave error, default is not present in the system, if i add all the VLANS (excluding the default, that is VLAN 1) it is OK, but the host will not activate because missing the default vlan.
If i manually add the 2 configuration files (ifcfg-default and ifcfg-intX.1) to the host and make a systemctl network restart, it gave error then
ip addr reports
the vlan 1 is added, but not the Bridge to default (the default is missing error).
I don't know if the name "default" (for the network, VLAN 1) could be the problem, but i can't rename now, because i need to detach from the hosts, but actually i can't.
I added 3 screenshoots to show you the situation, before adding VLAN 1 ("default" network), the error when adding it, and the info on the error.
Claudio
On 30/08/17 08:49, Sandro Bonazzola wrote:
2017-08-29 14:45 GMT+02:00 Claudio Soprano <Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it>>:
Ok in this way i could install the hosts, but we got another error on them when setup networks
we have on each hosts 2 interfaces
interface 1 is ovirtmgm
interface 2 is a TRUNK with VLANs inside.
All my old hosts are all the VLANs on interface2 included VLAN 1 (tagged).
When i setup networks for the new hosts 4.0.6 i can't include VLAN 1, ovirt answer with
VDSM hostname.domainname command HostSetupNetworksVDS failed: [Errno 19] default (that is VLAN 1) is not present in the system.
So thinking about upgrading to 4.1.5 we updated all the new hosts (the old are still v4.0.6) and reinstall from beginning but still we get the same error.
What means that error ?
Adding Marcin and Dan about this.
Claudio Soprano
On 25/08/17 15:27, Sandro Bonazzola wrote:
2017-08-25 10:43 GMT+02:00 Claudio Soprano <Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@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 <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@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 <http://download.fedoraproject.org/pub/epel/7/$basearch> ovirt-4.0-dependencies.repo:mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch <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 <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... <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/ <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 <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 <http://download.fedoraproject.org/pub/epel/7/$basearch> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch <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 <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/ <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-... <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... <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 <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/ <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@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@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 <http://download.fedoraproject.org/pub/epel/7/$basearch> metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch <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 <http://download.fedoraproject.org/pub/epel/7/$basearch/debug> metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch <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 <http://download.fedoraproject.org/pub/epel/7/SRPMS> metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch <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@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 <tel:+39%2006%209403%202349>/2355 Computing Service fax:(+39)-06-9403.2649 <tel:+39%2006%209403%202649> LNF-INFN e-mail:Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it> Via Enrico Fermi, 40 www:http://www.lnf.infn.it/ I-00044 Frascati, Italy
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <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>
--
/ | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/
Claudio Soprano phone:(+39)-06-9403.2349 <tel:+39%2006%209403%202349>/2355 Computing Service fax:(+39)-06-9403.2649 <tel:+39%2006%209403%202649> LNF-INFN e-mail:Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it> Via Enrico Fermi, 40 www:http://www.lnf.infn.it/ I-00044 Frascati, Italy
--
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>
--
/ | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/
Claudio Soprano phone: (+39)-06-9403.2349/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail:Claudio.Soprano@lnf.infn.it Via Enrico Fermi, 40 www:http://www.lnf.infn.it/ I-00044 Frascati, Italy
--
/ | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/
Claudio Soprano phone: (+39)-06-9403.2349/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail:Claudio.Soprano@lnf.infn.it Via Enrico Fermi, 40 www:http://www.lnf.infn.it/ I-00044 Frascati, Italy
-- / | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/ Claudio Soprano phone: (+39)-06-9403.2349/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail: Claudio.Soprano@lnf.infn.it Via Enrico Fermi, 40 www: http://www.lnf.infn.it/ I-00044 Frascati, Italy --------------F752EE8F258D89D6B5BFFF28 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <p>More investigation on this for you :)</p> <p>the bug is only on CentOS v7.3 infact on previous hosts with CentOS < v7.3 i have no problem about the name of the network.</p> <p>I discovered also that i don't need only to rename the network name, but also the vnic profile associated, infact with network name def, and vnic profile default, it still didn't work, renamed network name and vnic profile to def both, now works on CentOS v7.3 with no errors also from GUI.</p> <p>when i create a network both network name and vnic profile are called the same (for my it was default).</p> <p>Hope that my info can help you.</p> <p>Another boring issues is that i need to detach the network to all the hosts to rename only, but also to change the network on all VMs that use it also if they are stopped, i was lucky only 2 VMs and only 4 hosts, but i can't imagine people have 40-50 hosts and maybe 100-200 VMs on a network.</p> <p>Anyway now i have Centos V7.3 and V7.2 hosts both working.<br> </p> <p>Claudio<br> </p> On 30/08/17 11:52, Claudio Soprano wrote:<br> <blockquote type="cite" cite="mid:bf086f74-6701-8a96-396e-84a4d43cc57e@lnf.infn.it"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <p>Ok i SOLVED the problem, but i don't know if it is a BUG, the problem is the name default, but i had it working with ovirt v3 and v4.0pre for sure.</p> <p>I don't know if the check has been added in the setup_host_network or not.</p> <p>This is that i did<br> </p> <p>i manually added a ifcfg-def and ifcfg-enp12s0.1 file (first for the bridge and the second for the VLAN) to an host that don't have VLAN 1 <br> </p> <p>[root@XXXXX network-scripts]# more ifcfg-enp12s0.1<br> # Generated by VDSM version 4.19.28-1.el7.centos<br> DEVICE=enp12s0.1<br> VLAN=yes<br> BRIDGE=def<br> ONBOOT=yes<br> MTU=1500<br> DEFROUTE=no<br> NM_CONTROLLED=no<br> IPV6INIT=no</p> <p>[root@XXXXX network-scripts]# more ifcfg-def<br> # Generated by VDSM version 4.19.28-1.el7.centos<br> DEVICE=def<br> TYPE=Bridge<br> DELAY=0<br> STP=off<br> ONBOOT=yes<br> MTU=1500<br> DEFROUTE=no<br> NM_CONTROLLED=no<br> IPV6INIT=no<br> </p> <p>then run<br> </p> <p>systemctl restart network</p> <p>it didn't give errors, and ip addr shows</p> <p>[root@XXXXX network-scripts]# ip addr <br> </p> <p>94: enp12s0.1@enp12s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master def state UP qlen 1000<br> link/ether 00:25:b5:00:10:5f brd ff:ff:ff:ff:ff:ff<br> inet6 fe80::225:b5ff:fe00:105f/64 scope link<br> valid_lft forever preferred_lft forever<br> 95: def: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000<br> link/ether 00:25:b5:00:10:5f brd ff:ff:ff:ff:ff:ff<br> inet6 fe80::225:b5ff:fe00:105f/64 scope link<br> valid_lft forever preferred_lft forever<br> </p> I will try to change the name of that network to something different from default<br> <br> Claudio<br> <br> <div class="moz-cite-prefix">On 30/08/17 11:31, Claudio Soprano wrote:<br> </div> <blockquote type="cite" cite="mid:eefbfae3-3269-11f1-c446-30462ed00245@lnf.infn.it"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <p>The problem is not the host-deploy, infact the deploy finished without errors, if i remember good in the deploy process the network are not set, i need to attach each network i need manually, under hosts, network interface, setup host networks</p> <p>and the problem is there, when i attach all the VLANs (including the default, that is VLAN 1) it gave error, default is not present in the system, if i add all the VLANS (excluding the default, that is VLAN 1) it is OK, but the host will not activate because missing the default vlan.</p> <p>If i manually add the 2 configuration files (ifcfg-default and ifcfg-intX.1) to the host and make a systemctl network restart, it gave error then <br> </p> <p>ip addr reports</p> <p>the vlan 1 is added, but not the Bridge to default (the default is missing error).<br> </p> <p>I don't know if the name "default" (for the network, VLAN 1) could be the problem, but i can't rename now, because i need to detach from the hosts, but actually i can't.</p> <p>I added 3 screenshoots to show you the situation, before adding VLAN 1 ("default" network), the error when adding it, and the info on the error.<br> </p> <p>Claudio<br> </p> On 30/08/17 08:49, Sandro Bonazzola wrote:<br> <blockquote type="cite" cite="mid:CAPQRNTkUrPx7dsq=7ApbEd8Jc11AGi44f8SVRQFakGOacGEXsg@mail.gmail.com"> <div dir="ltr"><br> <div class="gmail_extra"><br> <div class="gmail_quote">2017-08-29 14:45 GMT+02:00 Claudio Soprano <span dir="ltr"><<a href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a>></span>:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div text="#000000" bgcolor="#FFFFFF"> <p>Ok in this way i could install the hosts, but we got another error on them when setup networks</p> <p>we have on each hosts 2 interfaces</p> <p>interface 1 is ovirtmgm</p> <p>interface 2 is a TRUNK with VLANs inside.</p> <p>All my old hosts are all the VLANs on interface2 included VLAN 1 (tagged).</p> <p>When i setup networks for the new hosts 4.0.6 i can't include VLAN 1, ovirt answer with <br> </p> <p>VDSM hostname.domainname command HostSetupNetworksVDS failed: [Errno 19] default (that is VLAN 1) is not present in the system.</p> <p>So thinking about upgrading to 4.1.5 we updated all the new hosts (the old are still v4.0.6) and reinstall from beginning but still we get the same error.</p> <p>What means that error ?</p> </div> </blockquote> <div><br> </div> <div>Adding Marcin and Dan about this.</div> <div><br> </div> <div> </div> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div text="#000000" bgcolor="#FFFFFF"><span class="HOEnZb"><font color="#888888"> <p>Claudio Soprano<br> </p> </font></span> <div> <div class="h5"> On 25/08/17 15:27, Sandro Bonazzola wrote:<br> <blockquote type="cite"> <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" moz-do-not-send="true">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-<wbr>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" target="_blank" moz-do-not-send="true">http://lists.ovirt.org/<wbr>pipermail/announce/2017-<wbr>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:[o<wbr>virt-4.0-epel]<br> ovirt-4.0-dependencies.repo:#b<wbr>aseurl=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch" target="_blank" moz-do-not-send="true">http://download.fedorap<wbr>roject.org/pub/epel/7/$basearc<wbr>h</a><br> ovirt-4.0-dependencies.repo:mi<wbr>rrorlist=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch" target="_blank" moz-do-not-send="true">https://mirrors.fedor<wbr>aproject.org/metalink?repo=<wbr>epel-7&arch=$basearch</a><br> ovirt-4.0-dependencies.repo:in<wbr>cludepkgs=epel-release,python-<wbr>uinput,puppet,python-lockfile,<wbr>python-cpopen,python-ordereddi<wbr>ct,python-pthreading,python-<wbr>inotify,python-argparse,novnc,<wbr>python-ply,python-kitchen,<wbr>python-daemon,python-<wbr>websockify,livecd-tools,spice-<wbr>html5,mom,python-IPy,python-<wbr>ioprocess,ioprocess,safelease,<wbr>python-paramiko,python2-<wbr>paramiko,python2-crypto,<wbr>libtomcrypt,libtommath,python-<wbr>cheetah,python-ecdsa,python2-<wbr>ecdsa,python-markdown,rubygem-<wbr>rgen,ovirt-guest-agent*,<wbr>userspace-rcu,protobuf-java,<wbr>objenesis,python34*<br> ovirt-4.0-dependencies.repo:gp<wbr>gkey=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7" target="_blank" moz-do-not-send="true">https://dl.fedoraproject.<wbr>org/pub/epel/RPM-GPG-KEY-EPEL-<wbr>7</a><br> ovirt-4.0-dependencies.repo:[o<wbr>virt-4.0-patternfly1-noarch-ep<wbr>el]<br> ovirt-4.0-dependencies.repo:ba<wbr>seurl=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://copr-be.cloud.fedoraproject.org/results/patternfly/patternfly1/epel-7..." target="_blank" moz-do-not-send="true">http://copr-be.cloud.fed<wbr>oraproject.org/results/pattern<wbr>fly/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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://resources.ovirt.org/pub/ovirt-4.0/rpm/el$releasever/" target="_blank" moz-do-not-send="true">http://resources.ovir<wbr>t.org/pub/ovirt-4.0/rpm/el$<wbr>releasever/</a><br> mirrorlist=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-el$releasever" target="_blank" moz-do-not-send="true">http://resources.ov<wbr>irt.org/pub/yum-repo/mirrorlis<wbr>t-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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" moz-do-not-send="true">file:///etc/pki/rpm-gpg<wbr>/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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch" target="_blank" moz-do-not-send="true">http://download.fedor<wbr>aproject.org/pub/epel/7/$basea<wbr>rch</a><br> mirrorlist=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch" target="_blank" moz-do-not-send="true">https://mirrors.fed<wbr>oraproject.org/metalink?repo=<wbr>epel-7&arch=$basearch</a><br> failovermethod=priority<br> enabled=1<br> <br> excludepkgs=collectd*<br> </p> <p>includepkgs=epel-release,pytho<wbr>n-uinput,puppet,python-lockfil<wbr>e,python-cpopen,python-ordered<wbr>dict,python-pthreading,python-<wbr>inotify,python-argparse,novnc,<wbr>python-ply,python-kitchen,<wbr>python-daemon,python-<wbr>websockify,livec<br> d-tools,spice-html5,mom,python<wbr>-IPy,python-ioprocess,ioproces<wbr>s,safelease,python-paramiko,<wbr>python2-paramiko,python2-<wbr>crypto,libtomcrypt,libtommath,<wbr>python-cheetah,python-ecdsa,<wbr>python2-ecdsa,python-markdown,<wbr>rubygem-rgen<br> ,ovirt-guest-agent*,userspace-<wbr>rcu,protobuf-java,objenesis,py<wbr>thon34*<br> gpgcheck=1<br> gpgkey=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7" target="_blank" moz-do-not-send="true">https://dl.fedoraprojec<wbr>t.org/pub/epel/RPM-GPG-KEY-<wbr>EPEL-7</a><br> <br> [ovirt-4.0-centos-gluster37]<br> name=CentOS-7 - Gluster 3.7<br> baseurl=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.7/" target="_blank" moz-do-not-send="true">http://mirror.centos.o<wbr>rg/centos/7/storage/$basearch/<wbr>gluster-3.7/</a><br> <br> excludepkgs=collectd*<br> </p> <p>gpgcheck=1<br> enabled=1<br> gpgkey=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://raw.githubusercontent.com/CentOS-Storage-SIG/centos-release-storage-..." target="_blank" moz-do-not-send="true">https://raw.githubuserc<wbr>ontent.com/CentOS-Storage-SIG/<wbr>centos-release-storage-common/<wbr>master/RPM-GPG-KEY-CentOS-SIG-<wbr>Storage</a><br> <br> [ovirt-4.0-patternfly1-noarch-<wbr>epel]<br> name=Copr repo for patternfly1 owned by patternfly<br> baseurl=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://copr-be.cloud.fedoraproject.org/results/patternfly/patternfly1/epel-7..." target="_blank" moz-do-not-send="true">http://copr-be.cloud.f<wbr>edoraproject.org/results/patte<wbr>rnfly/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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://fedorapeople.org/groups/virt/virtio-win/repo/stable" target="_blank" moz-do-not-send="true">http://fedorapeople.or<wbr>g/groups/virt/virtio-win/repo/<wbr>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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/virt/$basearch/ovirt-4.0/" target="_blank" moz-do-not-send="true">http://mirror.centos.o<wbr>rg/centos/7/virt/$basearch/ovi<wbr>rt-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-201708250927<wbr>19-xxxxxx-53018ceb.log | grep collectd<br> 2017-08-25 09:26:49 DEBUG otopi.context context.dumpSequence:744 METHOD otopi.plugins.ovirt_host_deplo<wbr>y.collectd.packages.Plugin._<wbr>packages (None)<br> 2017-08-25 09:26:50 DEBUG otopi.context context.dumpSequence:744 METHOD otopi.plugins.ovirt_host_deplo<wbr>y.collectd.packages.Plugin._<wbr>packages (None)<br> 2017-08-25 09:27:19 DEBUG otopi.context context._executeMethod:128 Stage packages METHOD otopi.plugins.ovirt_host_deplo<wbr>y.collectd.packages.Plugin._<wbr>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-p<wbr>lugins/ovirt-host-deploy/colle<wbr>ctd/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:'[(<ty<wbr>pe '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:'[(<ty<wbr>pe '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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch" target="_blank" moz-do-not-send="true">http://download.fedor<wbr>aproject.org/pub/epel/7/$basea<wbr>rch</a><br> metalink=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch" target="_blank" moz-do-not-send="true">https://mirrors.fedor<wbr>aproject.org/metalink?repo=<wbr>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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" moz-do-not-send="true">file:///etc/pki/rpm-gpg<wbr>/RPM-GPG-KEY-EPEL-7</a><br> <br> [epel-debuginfo]<br> name=Extra Packages for Enterprise Linux 7 - $basearch - Debug<br> #baseurl=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch/debug" target="_blank" moz-do-not-send="true">http://download.fedor<wbr>aproject.org/pub/epel/7/$basea<wbr>rch/debug</a><br> metalink=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basea..." target="_blank" moz-do-not-send="true">https://mirrors.fedor<wbr>aproject.org/metalink?repo=<wbr>epel-debug-7&arch=$basearch</a><br> failovermethod=priority<br> enabled=0<br> gpgkey=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" moz-do-not-send="true">file:///etc/pki/rpm-gpg<wbr>/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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/SRPMS" target="_blank" moz-do-not-send="true">http://download.fedor<wbr>aproject.org/pub/epel/7/SRPMS</a><br> metalink=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$base..." target="_blank" moz-do-not-send="true">https://mirrors.fedor<wbr>aproject.org/metalink?repo=<wbr>epel-source-7&arch=$basearch</a><br> failovermethod=priority<br> enabled=0<br> gpgkey=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" moz-do-not-send="true">file:///etc/pki/rpm-gpg<wbr>/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:'[(<ty<wbr>pe '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:'[(<ty<wbr>pe '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="m_6349234686212188836gmail-m_-489778866821650453moz-signature" cols="72">-- / | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/ Claudio Soprano phone: <a href="tel:+39%2006%209403%202349" value="+390694032349" target="_blank" moz-do-not-send="true">(+39)-06-9403.2349</a>/2355 Computing Service fax: <a href="tel:+39%2006%209403%202649" value="+390694032649" target="_blank" moz-do-not-send="true">(+39)-06-9403.2649</a> LNF-INFN e-mail: <a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-abbreviated" href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a> Via Enrico Fermi, 40 www: <a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://www.lnf.infn.it/" target="_blank" moz-do-not-send="true">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" target="_blank" moz-do-not-send="true">Users@ovirt.org</a><br> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br> <br> </blockquote> </div> <br> <br clear="all"> <div><br> </div> -- <br> <div class="m_6349234686212188836gmail_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" moz-do-not-send="true">Red Hat <span>EMEA</span></a></p> <table style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium" border="0"> <tbody> <tr> <td width="100px"><a href="https://red.ht/sig" target="_blank" moz-do-not-send="true"><img moz-do-not-send="true" 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" moz-do-not-send="true">TRIED. TESTED. TRUSTED.</a></div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> <br> <pre class="m_6349234686212188836moz-signature" cols="72">-- / | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/ Claudio Soprano phone: <a href="tel:+39%2006%209403%202349" value="+390694032349" target="_blank" moz-do-not-send="true">(+39)-06-9403.2349</a>/2355 Computing Service fax: <a href="tel:+39%2006%209403%202649" value="+390694032649" target="_blank" moz-do-not-send="true">(+39)-06-9403.2649</a> LNF-INFN e-mail: <a class="m_6349234686212188836moz-txt-link-abbreviated" href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a> Via Enrico Fermi, 40 www: <a class="m_6349234686212188836moz-txt-link-freetext" href="http://www.lnf.infn.it/" target="_blank" moz-do-not-send="true">http://www.lnf.infn.it/</a> I-00044 Frascati, Italy </pre> </div> </div> </div> </blockquote> </div> <br> <br clear="all"> <div><br> </div> -- <br> <div class="gmail_signature" data-smartmail="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" moz-do-not-send="true">Red Hat <span>EMEA</span></a></p> <table style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium" border="0"> <tbody> <tr> <td width="100px"><a href="https://red.ht/sig" target="_blank" moz-do-not-send="true"><img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-blac..." moz-do-not-send="true" 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" moz-do-not-send="true">TRIED. TESTED. TRUSTED.</a></div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> <br> <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" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a> Via Enrico Fermi, 40 www: <a class="moz-txt-link-freetext" href="http://www.lnf.infn.it/" moz-do-not-send="true">http://www.lnf.infn.it/</a> I-00044 Frascati, Italy </pre> </blockquote> <br> <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" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a> Via Enrico Fermi, 40 www: <a class="moz-txt-link-freetext" href="http://www.lnf.infn.it/" moz-do-not-send="true">http://www.lnf.infn.it/</a> I-00044 Frascati, Italy </pre> </blockquote> <br> <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> --------------F752EE8F258D89D6B5BFFF28--

This is a multi-part message in MIME format. --------------108B2666412FC94A8EFE5281 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit No one answered to my messages, so i don't know if someone replicated the bug or not in CentOS 7.3. Let me know if you need more info. Claudio On 30/08/17 12:25, Claudio Soprano wrote:
More investigation on this for you :)
the bug is only on CentOS v7.3 infact on previous hosts with CentOS < v7.3 i have no problem about the name of the network.
I discovered also that i don't need only to rename the network name, but also the vnic profile associated, infact with network name def, and vnic profile default, it still didn't work, renamed network name and vnic profile to def both, now works on CentOS v7.3 with no errors also from GUI.
when i create a network both network name and vnic profile are called the same (for my it was default).
Hope that my info can help you.
Another boring issues is that i need to detach the network to all the hosts to rename only, but also to change the network on all VMs that use it also if they are stopped, i was lucky only 2 VMs and only 4 hosts, but i can't imagine people have 40-50 hosts and maybe 100-200 VMs on a network.
Anyway now i have Centos V7.3 and V7.2 hosts both working.
Claudio
On 30/08/17 11:52, Claudio Soprano wrote:
Ok i SOLVED the problem, but i don't know if it is a BUG, the problem is the name default, but i had it working with ovirt v3 and v4.0pre for sure.
I don't know if the check has been added in the setup_host_network or not.
This is that i did
i manually added a ifcfg-def and ifcfg-enp12s0.1 file (first for the bridge and the second for the VLAN) to an host that don't have VLAN 1
[root@XXXXX network-scripts]# more ifcfg-enp12s0.1 # Generated by VDSM version 4.19.28-1.el7.centos DEVICE=enp12s0.1 VLAN=yes BRIDGE=def ONBOOT=yes MTU=1500 DEFROUTE=no NM_CONTROLLED=no IPV6INIT=no
[root@XXXXX network-scripts]# more ifcfg-def # Generated by VDSM version 4.19.28-1.el7.centos DEVICE=def TYPE=Bridge DELAY=0 STP=off ONBOOT=yes MTU=1500 DEFROUTE=no NM_CONTROLLED=no IPV6INIT=no
then run
systemctl restart network
it didn't give errors, and ip addr shows
[root@XXXXX network-scripts]# ip addr
94: enp12s0.1@enp12s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master def state UP qlen 1000 link/ether 00:25:b5:00:10:5f brd ff:ff:ff:ff:ff:ff inet6 fe80::225:b5ff:fe00:105f/64 scope link valid_lft forever preferred_lft forever 95: def: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000 link/ether 00:25:b5:00:10:5f brd ff:ff:ff:ff:ff:ff inet6 fe80::225:b5ff:fe00:105f/64 scope link valid_lft forever preferred_lft forever
I will try to change the name of that network to something different from default
Claudio
On 30/08/17 11:31, Claudio Soprano wrote:
The problem is not the host-deploy, infact the deploy finished without errors, if i remember good in the deploy process the network are not set, i need to attach each network i need manually, under hosts, network interface, setup host networks
and the problem is there, when i attach all the VLANs (including the default, that is VLAN 1) it gave error, default is not present in the system, if i add all the VLANS (excluding the default, that is VLAN 1) it is OK, but the host will not activate because missing the default vlan.
If i manually add the 2 configuration files (ifcfg-default and ifcfg-intX.1) to the host and make a systemctl network restart, it gave error then
ip addr reports
the vlan 1 is added, but not the Bridge to default (the default is missing error).
I don't know if the name "default" (for the network, VLAN 1) could be the problem, but i can't rename now, because i need to detach from the hosts, but actually i can't.
I added 3 screenshoots to show you the situation, before adding VLAN 1 ("default" network), the error when adding it, and the info on the error.
Claudio
On 30/08/17 08:49, Sandro Bonazzola wrote:
2017-08-29 14:45 GMT+02:00 Claudio Soprano <Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it>>:
Ok in this way i could install the hosts, but we got another error on them when setup networks
we have on each hosts 2 interfaces
interface 1 is ovirtmgm
interface 2 is a TRUNK with VLANs inside.
All my old hosts are all the VLANs on interface2 included VLAN 1 (tagged).
When i setup networks for the new hosts 4.0.6 i can't include VLAN 1, ovirt answer with
VDSM hostname.domainname command HostSetupNetworksVDS failed: [Errno 19] default (that is VLAN 1) is not present in the system.
So thinking about upgrading to 4.1.5 we updated all the new hosts (the old are still v4.0.6) and reinstall from beginning but still we get the same error.
What means that error ?
Adding Marcin and Dan about this.
Claudio Soprano
On 25/08/17 15:27, Sandro Bonazzola wrote:
2017-08-25 10:43 GMT+02:00 Claudio Soprano <Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@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 <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@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 <http://download.fedoraproject.org/pub/epel/7/$basearch> ovirt-4.0-dependencies.repo:mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch <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 <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... <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/ <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 <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 <http://download.fedoraproject.org/pub/epel/7/$basearch> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch <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 <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/ <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-... <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... <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 <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/ <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@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@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 <http://download.fedoraproject.org/pub/epel/7/$basearch> metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch <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 <http://download.fedoraproject.org/pub/epel/7/$basearch/debug> metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch <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 <http://download.fedoraproject.org/pub/epel/7/SRPMS> metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch <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@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 <tel:+39%2006%209403%202349>/2355 Computing Service fax:(+39)-06-9403.2649 <tel:+39%2006%209403%202649> LNF-INFN e-mail:Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it> Via Enrico Fermi, 40 www:http://www.lnf.infn.it/ I-00044 Frascati, Italy
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <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>
--
/ | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/
Claudio Soprano phone:(+39)-06-9403.2349 <tel:+39%2006%209403%202349>/2355 Computing Service fax:(+39)-06-9403.2649 <tel:+39%2006%209403%202649> LNF-INFN e-mail:Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it> Via Enrico Fermi, 40 www:http://www.lnf.infn.it/ I-00044 Frascati, Italy
--
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>
--
/ | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/
Claudio Soprano phone: (+39)-06-9403.2349/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail:Claudio.Soprano@lnf.infn.it Via Enrico Fermi, 40 www:http://www.lnf.infn.it/ I-00044 Frascati, Italy
--
/ | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/
Claudio Soprano phone: (+39)-06-9403.2349/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail:Claudio.Soprano@lnf.infn.it Via Enrico Fermi, 40 www:http://www.lnf.infn.it/ I-00044 Frascati, Italy
--
/ | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/
Claudio Soprano phone: (+39)-06-9403.2349/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail:Claudio.Soprano@lnf.infn.it Via Enrico Fermi, 40 www:http://www.lnf.infn.it/ I-00044 Frascati, Italy
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- / | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/ Claudio Soprano phone: (+39)-06-9403.2349/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail: Claudio.Soprano@lnf.infn.it Via Enrico Fermi, 40 www: http://www.lnf.infn.it/ I-00044 Frascati, Italy --------------108B2666412FC94A8EFE5281 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <p>No one answered to my messages, so i don't know if someone replicated the bug or not in CentOS 7.3.</p> <p>Let me know if you need more info.<br> </p> Claudio<br> <br> <div class="moz-cite-prefix">On 30/08/17 12:25, Claudio Soprano wrote:<br> </div> <blockquote type="cite" cite="mid:b452847a-0ee5-e0e4-ecfa-7cd5a66c1119@lnf.infn.it"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <p>More investigation on this for you :)</p> <p>the bug is only on CentOS v7.3 infact on previous hosts with CentOS < v7.3 i have no problem about the name of the network.</p> <p>I discovered also that i don't need only to rename the network name, but also the vnic profile associated, infact with network name def, and vnic profile default, it still didn't work, renamed network name and vnic profile to def both, now works on CentOS v7.3 with no errors also from GUI.</p> <p>when i create a network both network name and vnic profile are called the same (for my it was default).</p> <p>Hope that my info can help you.</p> <p>Another boring issues is that i need to detach the network to all the hosts to rename only, but also to change the network on all VMs that use it also if they are stopped, i was lucky only 2 VMs and only 4 hosts, but i can't imagine people have 40-50 hosts and maybe 100-200 VMs on a network.</p> <p>Anyway now i have Centos V7.3 and V7.2 hosts both working.<br> </p> <p>Claudio<br> </p> On 30/08/17 11:52, Claudio Soprano wrote:<br> <blockquote type="cite" cite="mid:bf086f74-6701-8a96-396e-84a4d43cc57e@lnf.infn.it"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <p>Ok i SOLVED the problem, but i don't know if it is a BUG, the problem is the name default, but i had it working with ovirt v3 and v4.0pre for sure.</p> <p>I don't know if the check has been added in the setup_host_network or not.</p> <p>This is that i did<br> </p> <p>i manually added a ifcfg-def and ifcfg-enp12s0.1 file (first for the bridge and the second for the VLAN) to an host that don't have VLAN 1 <br> </p> <p>[root@XXXXX network-scripts]# more ifcfg-enp12s0.1<br> # Generated by VDSM version 4.19.28-1.el7.centos<br> DEVICE=enp12s0.1<br> VLAN=yes<br> BRIDGE=def<br> ONBOOT=yes<br> MTU=1500<br> DEFROUTE=no<br> NM_CONTROLLED=no<br> IPV6INIT=no</p> <p>[root@XXXXX network-scripts]# more ifcfg-def<br> # Generated by VDSM version 4.19.28-1.el7.centos<br> DEVICE=def<br> TYPE=Bridge<br> DELAY=0<br> STP=off<br> ONBOOT=yes<br> MTU=1500<br> DEFROUTE=no<br> NM_CONTROLLED=no<br> IPV6INIT=no<br> </p> <p>then run<br> </p> <p>systemctl restart network</p> <p>it didn't give errors, and ip addr shows</p> <p>[root@XXXXX network-scripts]# ip addr <br> </p> <p>94: enp12s0.1@enp12s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master def state UP qlen 1000<br> link/ether 00:25:b5:00:10:5f brd ff:ff:ff:ff:ff:ff<br> inet6 fe80::225:b5ff:fe00:105f/64 scope link<br> valid_lft forever preferred_lft forever<br> 95: def: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000<br> link/ether 00:25:b5:00:10:5f brd ff:ff:ff:ff:ff:ff<br> inet6 fe80::225:b5ff:fe00:105f/64 scope link<br> valid_lft forever preferred_lft forever<br> </p> I will try to change the name of that network to something different from default<br> <br> Claudio<br> <br> <div class="moz-cite-prefix">On 30/08/17 11:31, Claudio Soprano wrote:<br> </div> <blockquote type="cite" cite="mid:eefbfae3-3269-11f1-c446-30462ed00245@lnf.infn.it"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <p>The problem is not the host-deploy, infact the deploy finished without errors, if i remember good in the deploy process the network are not set, i need to attach each network i need manually, under hosts, network interface, setup host networks</p> <p>and the problem is there, when i attach all the VLANs (including the default, that is VLAN 1) it gave error, default is not present in the system, if i add all the VLANS (excluding the default, that is VLAN 1) it is OK, but the host will not activate because missing the default vlan.</p> <p>If i manually add the 2 configuration files (ifcfg-default and ifcfg-intX.1) to the host and make a systemctl network restart, it gave error then <br> </p> <p>ip addr reports</p> <p>the vlan 1 is added, but not the Bridge to default (the default is missing error).<br> </p> <p>I don't know if the name "default" (for the network, VLAN 1) could be the problem, but i can't rename now, because i need to detach from the hosts, but actually i can't.</p> <p>I added 3 screenshoots to show you the situation, before adding VLAN 1 ("default" network), the error when adding it, and the info on the error.<br> </p> <p>Claudio<br> </p> On 30/08/17 08:49, Sandro Bonazzola wrote:<br> <blockquote type="cite" cite="mid:CAPQRNTkUrPx7dsq=7ApbEd8Jc11AGi44f8SVRQFakGOacGEXsg@mail.gmail.com"> <div dir="ltr"><br> <div class="gmail_extra"><br> <div class="gmail_quote">2017-08-29 14:45 GMT+02:00 Claudio Soprano <span dir="ltr"><<a href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a>></span>:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div text="#000000" bgcolor="#FFFFFF"> <p>Ok in this way i could install the hosts, but we got another error on them when setup networks</p> <p>we have on each hosts 2 interfaces</p> <p>interface 1 is ovirtmgm</p> <p>interface 2 is a TRUNK with VLANs inside.</p> <p>All my old hosts are all the VLANs on interface2 included VLAN 1 (tagged).</p> <p>When i setup networks for the new hosts 4.0.6 i can't include VLAN 1, ovirt answer with <br> </p> <p>VDSM hostname.domainname command HostSetupNetworksVDS failed: [Errno 19] default (that is VLAN 1) is not present in the system.</p> <p>So thinking about upgrading to 4.1.5 we updated all the new hosts (the old are still v4.0.6) and reinstall from beginning but still we get the same error.</p> <p>What means that error ?</p> </div> </blockquote> <div><br> </div> <div>Adding Marcin and Dan about this.</div> <div><br> </div> <div> </div> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div text="#000000" bgcolor="#FFFFFF"><span class="HOEnZb"><font color="#888888"> <p>Claudio Soprano<br> </p> </font></span> <div> <div class="h5"> On 25/08/17 15:27, Sandro Bonazzola wrote:<br> <blockquote type="cite"> <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" moz-do-not-send="true">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-<wbr>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" target="_blank" moz-do-not-send="true">http://lists.ovirt.org/<wbr>pipermail/announce/2017-<wbr>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:[o<wbr>virt-4.0-epel]<br> ovirt-4.0-dependencies.repo:#b<wbr>aseurl=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch" target="_blank" moz-do-not-send="true">http://download.fedorap<wbr>roject.org/pub/epel/7/$basearc<wbr>h</a><br> ovirt-4.0-dependencies.repo:mi<wbr>rrorlist=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch" target="_blank" moz-do-not-send="true">https://mirrors.fedor<wbr>aproject.org/metalink?repo=<wbr>epel-7&arch=$basearch</a><br> ovirt-4.0-dependencies.repo:in<wbr>cludepkgs=epel-release,python-<wbr>uinput,puppet,python-lockfile,<wbr>python-cpopen,python-ordereddi<wbr>ct,python-pthreading,python-<wbr>inotify,python-argparse,novnc,<wbr>python-ply,python-kitchen,<wbr>python-daemon,python-<wbr>websockify,livecd-tools,spice-<wbr>html5,mom,python-IPy,python-<wbr>ioprocess,ioprocess,safelease,<wbr>python-paramiko,python2-<wbr>paramiko,python2-crypto,<wbr>libtomcrypt,libtommath,python-<wbr>cheetah,python-ecdsa,python2-<wbr>ecdsa,python-markdown,rubygem-<wbr>rgen,ovirt-guest-agent*,<wbr>userspace-rcu,protobuf-java,<wbr>objenesis,python34*<br> ovirt-4.0-dependencies.repo:gp<wbr>gkey=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7" target="_blank" moz-do-not-send="true">https://dl.fedoraproject.<wbr>org/pub/epel/RPM-GPG-KEY-EPEL-<wbr>7</a><br> ovirt-4.0-dependencies.repo:[o<wbr>virt-4.0-patternfly1-noarch-ep<wbr>el]<br> ovirt-4.0-dependencies.repo:ba<wbr>seurl=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://copr-be.cloud.fedoraproject.org/results/patternfly/patternfly1/epel-7..." target="_blank" moz-do-not-send="true">http://copr-be.cloud.fed<wbr>oraproject.org/results/pattern<wbr>fly/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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://resources.ovirt.org/pub/ovirt-4.0/rpm/el$releasever/" target="_blank" moz-do-not-send="true">http://resources.ovir<wbr>t.org/pub/ovirt-4.0/rpm/el$<wbr>releasever/</a><br> mirrorlist=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-el$releasever" target="_blank" moz-do-not-send="true">http://resources.ov<wbr>irt.org/pub/yum-repo/mirrorlis<wbr>t-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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" moz-do-not-send="true">file:///etc/pki/rpm-gpg<wbr>/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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch" target="_blank" moz-do-not-send="true">http://download.fedor<wbr>aproject.org/pub/epel/7/$basea<wbr>rch</a><br> mirrorlist=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch" target="_blank" moz-do-not-send="true">https://mirrors.fed<wbr>oraproject.org/metalink?repo=<wbr>epel-7&arch=$basearch</a><br> failovermethod=priority<br> enabled=1<br> <br> excludepkgs=collectd*<br> </p> <p>includepkgs=epel-release,pytho<wbr>n-uinput,puppet,python-lockfil<wbr>e,python-cpopen,python-ordered<wbr>dict,python-pthreading,python-<wbr>inotify,python-argparse,novnc,<wbr>python-ply,python-kitchen,<wbr>python-daemon,python-<wbr>websockify,livec<br> d-tools,spice-html5,mom,python<wbr>-IPy,python-ioprocess,ioproces<wbr>s,safelease,python-paramiko,<wbr>python2-paramiko,python2-<wbr>crypto,libtomcrypt,libtommath,<wbr>python-cheetah,python-ecdsa,<wbr>python2-ecdsa,python-markdown,<wbr>rubygem-rgen<br> ,ovirt-guest-agent*,userspace-<wbr>rcu,protobuf-java,objenesis,py<wbr>thon34*<br> gpgcheck=1<br> gpgkey=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7" target="_blank" moz-do-not-send="true">https://dl.fedoraprojec<wbr>t.org/pub/epel/RPM-GPG-KEY-<wbr>EPEL-7</a><br> <br> [ovirt-4.0-centos-gluster37]<br> name=CentOS-7 - Gluster 3.7<br> baseurl=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.7/" target="_blank" moz-do-not-send="true">http://mirror.centos.o<wbr>rg/centos/7/storage/$basearch/<wbr>gluster-3.7/</a><br> <br> excludepkgs=collectd*<br> </p> <p>gpgcheck=1<br> enabled=1<br> gpgkey=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://raw.githubusercontent.com/CentOS-Storage-SIG/centos-release-storage-..." target="_blank" moz-do-not-send="true">https://raw.githubuserc<wbr>ontent.com/CentOS-Storage-SIG/<wbr>centos-release-storage-common/<wbr>master/RPM-GPG-KEY-CentOS-SIG-<wbr>Storage</a><br> <br> [ovirt-4.0-patternfly1-noarch-<wbr>epel]<br> name=Copr repo for patternfly1 owned by patternfly<br> baseurl=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://copr-be.cloud.fedoraproject.org/results/patternfly/patternfly1/epel-7..." target="_blank" moz-do-not-send="true">http://copr-be.cloud.f<wbr>edoraproject.org/results/patte<wbr>rnfly/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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://fedorapeople.org/groups/virt/virtio-win/repo/stable" target="_blank" moz-do-not-send="true">http://fedorapeople.or<wbr>g/groups/virt/virtio-win/repo/<wbr>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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/virt/$basearch/ovirt-4.0/" target="_blank" moz-do-not-send="true">http://mirror.centos.o<wbr>rg/centos/7/virt/$basearch/ovi<wbr>rt-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-201708250927<wbr>19-xxxxxx-53018ceb.log | grep collectd<br> 2017-08-25 09:26:49 DEBUG otopi.context context.dumpSequence:744 METHOD otopi.plugins.ovirt_host_deplo<wbr>y.collectd.packages.Plugin._<wbr>packages (None)<br> 2017-08-25 09:26:50 DEBUG otopi.context context.dumpSequence:744 METHOD otopi.plugins.ovirt_host_deplo<wbr>y.collectd.packages.Plugin._<wbr>packages (None)<br> 2017-08-25 09:27:19 DEBUG otopi.context context._executeMethod:128 Stage packages METHOD otopi.plugins.ovirt_host_deplo<wbr>y.collectd.packages.Plugin._<wbr>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-p<wbr>lugins/ovirt-host-deploy/colle<wbr>ctd/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:'[(<ty<wbr>pe '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:'[(<ty<wbr>pe '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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch" target="_blank" moz-do-not-send="true">http://download.fedor<wbr>aproject.org/pub/epel/7/$basea<wbr>rch</a><br> metalink=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch" target="_blank" moz-do-not-send="true">https://mirrors.fedor<wbr>aproject.org/metalink?repo=<wbr>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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" moz-do-not-send="true">file:///etc/pki/rpm-gpg<wbr>/RPM-GPG-KEY-EPEL-7</a><br> <br> [epel-debuginfo]<br> name=Extra Packages for Enterprise Linux 7 - $basearch - Debug<br> #baseurl=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/$basearch/debug" target="_blank" moz-do-not-send="true">http://download.fedor<wbr>aproject.org/pub/epel/7/$basea<wbr>rch/debug</a><br> metalink=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basea..." target="_blank" moz-do-not-send="true">https://mirrors.fedor<wbr>aproject.org/metalink?repo=<wbr>epel-debug-7&arch=$basearch</a><br> failovermethod=priority<br> enabled=0<br> gpgkey=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" moz-do-not-send="true">file:///etc/pki/rpm-gpg<wbr>/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="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/SRPMS" target="_blank" moz-do-not-send="true">http://download.fedor<wbr>aproject.org/pub/epel/7/SRPMS</a><br> metalink=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$base..." target="_blank" moz-do-not-send="true">https://mirrors.fedor<wbr>aproject.org/metalink?repo=<wbr>epel-source-7&arch=$basearch</a><br> failovermethod=priority<br> enabled=0<br> gpgkey=<a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" moz-do-not-send="true">file:///etc/pki/rpm-gpg<wbr>/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:'[(<ty<wbr>pe '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:'[(<ty<wbr>pe '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="m_6349234686212188836gmail-m_-489778866821650453moz-signature" cols="72">-- / | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/ Claudio Soprano phone: <a href="tel:+39%2006%209403%202349" value="+390694032349" target="_blank" moz-do-not-send="true">(+39)-06-9403.2349</a>/2355 Computing Service fax: <a href="tel:+39%2006%209403%202649" value="+390694032649" target="_blank" moz-do-not-send="true">(+39)-06-9403.2649</a> LNF-INFN e-mail: <a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-abbreviated" href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a> Via Enrico Fermi, 40 www: <a class="m_6349234686212188836gmail-m_-489778866821650453moz-txt-link-freetext" href="http://www.lnf.infn.it/" target="_blank" moz-do-not-send="true">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" target="_blank" moz-do-not-send="true">Users@ovirt.org</a><br> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br> <br> </blockquote> </div> <br> <br clear="all"> <div><br> </div> -- <br> <div class="m_6349234686212188836gmail_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" moz-do-not-send="true">Red Hat <span>EMEA</span></a></p> <table style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium" border="0"> <tbody> <tr> <td width="100px"><a href="https://red.ht/sig" target="_blank" moz-do-not-send="true"><img moz-do-not-send="true" 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" moz-do-not-send="true">TRIED. TESTED. TRUSTED.</a></div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> <br> <pre class="m_6349234686212188836moz-signature" cols="72">-- / | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/ Claudio Soprano phone: <a href="tel:+39%2006%209403%202349" value="+390694032349" target="_blank" moz-do-not-send="true">(+39)-06-9403.2349</a>/2355 Computing Service fax: <a href="tel:+39%2006%209403%202649" value="+390694032649" target="_blank" moz-do-not-send="true">(+39)-06-9403.2649</a> LNF-INFN e-mail: <a class="m_6349234686212188836moz-txt-link-abbreviated" href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a> Via Enrico Fermi, 40 www: <a class="m_6349234686212188836moz-txt-link-freetext" href="http://www.lnf.infn.it/" target="_blank" moz-do-not-send="true">http://www.lnf.infn.it/</a> I-00044 Frascati, Italy </pre> </div> </div> </div> </blockquote> </div> <br> <br clear="all"> <div><br> </div> -- <br> <div class="gmail_signature" data-smartmail="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" moz-do-not-send="true">Red Hat <span>EMEA</span></a></p> <table style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium" border="0"> <tbody> <tr> <td width="100px"><a href="https://red.ht/sig" target="_blank" moz-do-not-send="true"><img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-blac..." moz-do-not-send="true" 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" moz-do-not-send="true">TRIED. TESTED. TRUSTED.</a></div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> <br> <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" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a> Via Enrico Fermi, 40 www: <a class="moz-txt-link-freetext" href="http://www.lnf.infn.it/" moz-do-not-send="true">http://www.lnf.infn.it/</a> I-00044 Frascati, Italy </pre> </blockquote> <br> <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" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a> Via Enrico Fermi, 40 www: <a class="moz-txt-link-freetext" href="http://www.lnf.infn.it/" moz-do-not-send="true">http://www.lnf.infn.it/</a> I-00044 Frascati, Italy </pre> </blockquote> <br> <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" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a> Via Enrico Fermi, 40 www: <a class="moz-txt-link-freetext" href="http://www.lnf.infn.it/" moz-do-not-send="true">http://www.lnf.infn.it/</a> I-00044 Frascati, Italy </pre> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> <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> --------------108B2666412FC94A8EFE5281--

On Wed, Aug 30, 2017 at 1:25 PM, Claudio Soprano <Claudio.Soprano@lnf.infn.it> wrote:
More investigation on this for you :)
the bug is only on CentOS v7.3 infact on previous hosts with CentOS < v7.3 i have no problem about the name of the network.
I discovered also that i don't need only to rename the network name, but also the vnic profile associated, infact with network name def, and vnic profile default, it still didn't work, renamed network name and vnic profile to def both, now works on CentOS v7.3 with no errors also from GUI.
when i create a network both network name and vnic profile are called the same (for my it was default).
Hope that my info can help you.
Another boring issues is that i need to detach the network to all the hosts to rename only, but also to change the network on all VMs that use it also if they are stopped, i was lucky only 2 VMs and only 4 hosts, but i can't imagine people have 40-50 hosts and maybe 100-200 VMs on a network.
Unfortunately, we are currently unable to modify a network name while it is attached to any host, and in particular, while it is used by a running VM. We even have an old feature request to allow that https://bugzilla.redhat.com/show_bug.cgi?id=1121101 I hope we manage to implement it in time for oVirt-4.2, but I cannot promise it right now. Regards, Dan.

I do not understand which steps you are doing until you get the "Unexpected Exception" dialog. Could you detail them? Also, can you share supervdsm.log from the relevant host, so we can understand the nature of that unexpected exception? On Wed, Aug 30, 2017 at 12:31 PM, Claudio Soprano <Claudio.Soprano@lnf.infn.it> wrote:
The problem is not the host-deploy, infact the deploy finished without errors, if i remember good in the deploy process the network are not set, i need to attach each network i need manually, under hosts, network interface, setup host networks
and the problem is there, when i attach all the VLANs (including the default, that is VLAN 1) it gave error, default is not present in the system, if i add all the VLANS (excluding the default, that is VLAN 1) it is OK, but the host will not activate because missing the default vlan.
If i manually add the 2 configuration files (ifcfg-default and ifcfg-intX.1) to the host and make a systemctl network restart, it gave error then
ip addr reports
the vlan 1 is added, but not the Bridge to default (the default is missing error).
I don't know if the name "default" (for the network, VLAN 1) could be the problem, but i can't rename now, because i need to detach from the hosts, but actually i can't.
I added 3 screenshoots to show you the situation, before adding VLAN 1 ("default" network), the error when adding it, and the info on the error.

Ok After installed the host, i need to attach it the networks so I got the Unexpected Exception while I'm trying to add a vlan 1 (called default) to a Host, in the Setup_networks gui. I attached: - a screenshoot of all the network we have - two screenshoots for the "default" network proprierties (one for vnic profile, other for the proprierties) - supervdsm.log from host ovc2n06 (i attached all the file, but you will find all at the beginning) Like already explained, it is simple to replicate the problem with a CentOS v7.3 host, you need to create a Bridge called default (ifcfg-default) and a Vlan 1 attached to it (ifcfg-enp12s0.1), do a systemctl restart network and you will get the error. To fix the problem rename the bridge to "def" for example and change the Vlan 1 file configuration to link the new name and then all works. This problem is found only on the CentOS v7.3 on old CentOS v7.2 hosts the "default" bridge works, to override this problem we changed the name to "def" for now. All the hosts now are ovirt v4.1.5 and CentOS v7.3 we have also some old hosts on CentOS v7.2 Claudio On 07/09/17 13:46, Dan Kenigsberg wrote:
I do not understand which steps you are doing until you get the "Unexpected Exception" dialog. Could you detail them?
Also, can you share supervdsm.log from the relevant host, so we can understand the nature of that unexpected exception?
On Wed, Aug 30, 2017 at 12:31 PM, Claudio Soprano <Claudio.Soprano@lnf.infn.it> wrote:
The problem is not the host-deploy, infact the deploy finished without errors, if i remember good in the deploy process the network are not set, i need to attach each network i need manually, under hosts, network interface, setup host networks
and the problem is there, when i attach all the VLANs (including the default, that is VLAN 1) it gave error, default is not present in the system, if i add all the VLANS (excluding the default, that is VLAN 1) it is OK, but the host will not activate because missing the default vlan.
If i manually add the 2 configuration files (ifcfg-default and ifcfg-intX.1) to the host and make a systemctl network restart, it gave error then
ip addr reports
the vlan 1 is added, but not the Bridge to default (the default is missing error).
I don't know if the name "default" (for the network, VLAN 1) could be the problem, but i can't rename now, because i need to detach from the hosts, but actually i can't.
I added 3 screenshoots to show you the situation, before adding VLAN 1 ("default" network), the error when adding it, and the info on the error.
-- / | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/ Claudio Soprano phone: (+39)-06-9403.2349/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail: Claudio.Soprano@lnf.infn.it Via Enrico Fermi, 40 www: http://www.lnf.infn.it/ I-00044 Frascati, Italy

This is a limitation of the brctl tool. Attempting to define a bridge named 'default' fails: # brctl addbr default add bridge failed: Invalid argument Thanks, Edy. On Thu, Sep 7, 2017 at 8:26 PM, Claudio Soprano <Claudio.Soprano@lnf.infn.it
wrote:
Ok
After installed the host, i need to attach it the networks
so I got the Unexpected Exception while I'm trying to add a vlan 1 (called default) to a Host, in the Setup_networks gui.
I attached:
- a screenshoot of all the network we have
- two screenshoots for the "default" network proprierties (one for vnic profile, other for the proprierties)
- supervdsm.log from host ovc2n06 (i attached all the file, but you will find all at the beginning)
Like already explained, it is simple to replicate the problem with a CentOS v7.3 host, you need to create a Bridge called default (ifcfg-default) and a Vlan 1 attached to it (ifcfg-enp12s0.1), do a systemctl restart network and you will get the error. To fix the problem rename the bridge to "def" for example and change the Vlan 1 file configuration to link the new name and then all works.
This problem is found only on the CentOS v7.3 on old CentOS v7.2 hosts the "default" bridge works, to override this problem we changed the name to "def" for now.
All the hosts now are ovirt v4.1.5 and CentOS v7.3 we have also some old hosts on CentOS v7.2
Claudio
On 07/09/17 13:46, Dan Kenigsberg wrote:
I do not understand which steps you are doing until you get the "Unexpected Exception" dialog. Could you detail them?
Also, can you share supervdsm.log from the relevant host, so we can understand the nature of that unexpected exception?
On Wed, Aug 30, 2017 at 12:31 PM, Claudio Soprano <Claudio.Soprano@lnf.infn.it> wrote:
The problem is not the host-deploy, infact the deploy finished without errors, if i remember good in the deploy process the network are not set, i need to attach each network i need manually, under hosts, network interface, setup host networks
and the problem is there, when i attach all the VLANs (including the default, that is VLAN 1) it gave error, default is not present in the system, if i add all the VLANS (excluding the default, that is VLAN 1) it is OK, but the host will not activate because missing the default vlan.
If i manually add the 2 configuration files (ifcfg-default and ifcfg-intX.1) to the host and make a systemctl network restart, it gave error then
ip addr reports
the vlan 1 is added, but not the Bridge to default (the default is missing error).
I don't know if the name "default" (for the network, VLAN 1) could be the problem, but i can't rename now, because i need to detach from the hosts, but actually i can't.
I added 3 screenshoots to show you the situation, before adding VLAN 1 ("default" network), the error when adding it, and the info on the error.
--
/ | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/
Claudio Soprano phone: (+39)-06-9403.2349/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail: Claudio.Soprano@lnf.infn.it Via Enrico Fermi, 40 www: http://www.lnf.infn.it/ I-00044 Frascati, Italy

This is a multi-part message in MIME format. --------------64B770B2D51E52B8F7EF8908 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit You are welcome. I'm happy you can replicate the problem. Infact the problem is the name "default" used for the bridge any other name works (i can't test all the names :) ) Claudio On 10/09/17 08:39, Edward Haas wrote:
This is a limitation of the brctl tool.
Attempting to define a bridge named 'default' fails: # brctl addbr default add bridge failed: Invalid argument
Thanks, Edy.
On Thu, Sep 7, 2017 at 8:26 PM, Claudio Soprano <Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it>> wrote:
Ok
After installed the host, i need to attach it the networks
so I got the Unexpected Exception while I'm trying to add a vlan 1 (called default) to a Host, in the Setup_networks gui.
I attached:
- a screenshoot of all the network we have
- two screenshoots for the "default" network proprierties (one for vnic profile, other for the proprierties)
- supervdsm.log from host ovc2n06 (i attached all the file, but you will find all at the beginning)
Like already explained, it is simple to replicate the problem with a CentOS v7.3 host, you need to create a Bridge called default (ifcfg-default) and a Vlan 1 attached to it (ifcfg-enp12s0.1), do a systemctl restart network and you will get the error. To fix the problem rename the bridge to "def" for example and change the Vlan 1 file configuration to link the new name and then all works.
This problem is found only on the CentOS v7.3 on old CentOS v7.2 hosts the "default" bridge works, to override this problem we changed the name to "def" for now.
All the hosts now are ovirt v4.1.5 and CentOS v7.3 we have also some old hosts on CentOS v7.2
Claudio
On 07/09/17 13:46, Dan Kenigsberg wrote:
I do not understand which steps you are doing until you get the "Unexpected Exception" dialog. Could you detail them?
Also, can you share supervdsm.log from the relevant host, so we can understand the nature of that unexpected exception?
On Wed, Aug 30, 2017 at 12:31 PM, Claudio Soprano <Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it>> wrote:
The problem is not the host-deploy, infact the deploy finished without errors, if i remember good in the deploy process the network are not set, i need to attach each network i need manually, under hosts, network interface, setup host networks
and the problem is there, when i attach all the VLANs (including the default, that is VLAN 1) it gave error, default is not present in the system, if i add all the VLANS (excluding the default, that is VLAN 1) it is OK, but the host will not activate because missing the default vlan.
If i manually add the 2 configuration files (ifcfg-default and ifcfg-intX.1) to the host and make a systemctl network restart, it gave error then
ip addr reports
the vlan 1 is added, but not the Bridge to default (the default is missing error).
I don't know if the name "default" (for the network, VLAN 1) could be the problem, but i can't rename now, because i need to detach from the hosts, but actually i can't.
I added 3 screenshoots to show you the situation, before adding VLAN 1 ("default" network), the error when adding it, and the info on the error.
--
/ | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/
Claudio Soprano phone: (+39)-06-9403.2349 <tel:%28%2B39%29-06-9403.2349>/2355 Computing Service fax: (+39)-06-9403.2649 <tel:%28%2B39%29-06-9403.2649> LNF-INFN e-mail: Claudio.Soprano@lnf.infn.it <mailto:Claudio.Soprano@lnf.infn.it> Via Enrico Fermi, 40 www: http://www.lnf.infn.it/ I-00044 Frascati, Italy
-- / | / _____/ / | / _____/ | / / / | / / / / | / / / | / / / | / ___/ _____/ / / | / ___/ / | / / / | / / / / | / / / | / ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/ Claudio Soprano phone: (+39)-06-9403.2349/2355 Computing Service fax: (+39)-06-9403.2649 LNF-INFN e-mail: Claudio.Soprano@lnf.infn.it Via Enrico Fermi, 40 www: http://www.lnf.infn.it/ I-00044 Frascati, Italy --------------64B770B2D51E52B8F7EF8908 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <p>You are welcome.</p> <p>I'm happy you can replicate the problem.</p> <p>Infact the problem is the name "default" used for the bridge any other name works (i can't test all the names :) )</p> <p>Claudio<br> </p> On 10/09/17 08:39, Edward Haas wrote:<br> <blockquote type="cite" cite="mid:CALmkdFQUKvohdp-FVvRW77MUPZ8wAD25RWqvd-BAJ7yinJS78w@mail.gmail.com"> <div dir="ltr"> <div> <div> <div>This is a limitation of the brctl tool.<br> <br> </div> Attempting to define a bridge named 'default' fails:<br> # brctl addbr default<br> add bridge failed: Invalid argument<br> <br> </div> Thanks,<br> </div> Edy.<br> <br> </div> <div class="gmail_extra"><br> <div class="gmail_quote">On Thu, Sep 7, 2017 at 8:26 PM, Claudio Soprano <span dir="ltr"><<a href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok<br> <br> After installed the host, i need to attach it the networks<br> <br> so I got the Unexpected Exception while I'm trying to add a vlan 1 (called default) to a Host, in the Setup_networks gui.<br> <br> I attached:<br> <br> - a screenshoot of all the network we have<br> <br> - two screenshoots for the "default" network proprierties (one for vnic profile, other for the proprierties)<br> <br> - supervdsm.log from host ovc2n06 (i attached all the file, but you will find all at the beginning)<br> <br> Like already explained, it is simple to replicate the problem with a CentOS v7.3 host, you need to create a Bridge called default (ifcfg-default) and a Vlan 1 attached to it (ifcfg-enp12s0.1), do a systemctl restart network and you will get the error.<br> To fix the problem rename the bridge to "def" for example and change the Vlan 1 file configuration to link the new name and then all works.<br> <br> This problem is found only on the CentOS v7.3 on old CentOS v7.2 hosts the "default" bridge works, to override this problem we changed the name to "def" for now.<br> <br> All the hosts now are ovirt v4.1.5 and CentOS v7.3 we have also some old hosts on CentOS v7.2<span class="HOEnZb"><font color="#888888"><br> <br> Claudio</font></span> <div class="HOEnZb"> <div class="h5"><br> <br> On 07/09/17 13:46, Dan Kenigsberg wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> I do not understand which steps you are doing until you get the<br> "Unexpected Exception" dialog.<br> Could you detail them?<br> <br> Also, can you share supervdsm.log from the relevant host, so we can<br> understand the nature of that unexpected exception?<br> <br> On Wed, Aug 30, 2017 at 12:31 PM, Claudio Soprano<br> <<a href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a>> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> The problem is not the host-deploy, infact the deploy finished without<br> errors, if i remember good in the deploy process the network are not set, i<br> need to attach each network i need manually, under hosts, network interface,<br> setup host networks<br> <br> and the problem is there, when i attach all the VLANs (including the<br> default, that is VLAN 1) it gave error, default is not present in the<br> system, if i add all the VLANS (excluding the default, that is VLAN 1) it is<br> OK, but the host will not activate because missing the default vlan.<br> <br> If i manually add the 2 configuration files (ifcfg-default and ifcfg-intX.1)<br> to the host and make a systemctl network restart, it gave error then<br> <br> ip addr reports<br> <br> the vlan 1 is added, but not the Bridge to default (the default is missing<br> error).<br> <br> I don't know if the name "default" (for the network, VLAN 1) could be the<br> problem, but i can't rename now, because i need to detach from the hosts,<br> but actually i can't.<br> <br> I added 3 screenshoots to show you the situation, before adding VLAN 1<br> ("default" network), the error when adding it, and the info on the error.<br> </blockquote> </blockquote> <br> </div> </div> <div class="HOEnZb"> <div class="h5"> -- <br> <br> / | / _____/ / | / _____/ | /<br> / / | / / / / | / / / | /<br> / / | / ___/ _____/ / / | / ___/ / | /<br> / / | / / / / | / / / | /<br> ______/ _/ __/ _/ _/ _/ __/ _/ _/ __/<br> <br> Claudio Soprano phone: <a href="tel:%28%2B39%29-06-9403.2349" value="+390694032349" target="_blank" moz-do-not-send="true">(+39)-06-9403.2349</a>/2355<br> Computing Service fax: <a href="tel:%28%2B39%29-06-9403.2649" value="+390694032649" target="_blank" moz-do-not-send="true">(+39)-06-9403.2649</a><br> LNF-INFN e-mail: <a href="mailto:Claudio.Soprano@lnf.infn.it" target="_blank" moz-do-not-send="true">Claudio.Soprano@lnf.infn.it</a><br> Via Enrico Fermi, 40 www: <a href="http://www.lnf.infn.it/" rel="noreferrer" target="_blank" moz-do-not-send="true">http://www.lnf.infn.it/</a><br> I-00044 Frascati, Italy<br> <br> </div> </div> </blockquote> </div> <br> </div> </blockquote> <br> <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> --------------64B770B2D51E52B8F7EF8908--
participants (4)
-
Claudio Soprano
-
Dan Kenigsberg
-
Edward Haas
-
Sandro Bonazzola