Re: [ovirt-users] Cannot install ovirt-hosted-engine-setup as package has file conflicts in its dependancies

2018-04-29 Thread Nico De Ranter
Yep, that's what I did after hitting my head on the same thing.  It's so
boring to read release notes upfront ;-)

Nico

On Mon, Apr 30, 2018 at 8:55 AM, Sam McLeod 
wrote:

> Thanks for the tip Nico - I hadn't spotted that.
>
> We use EPEL for a number of packages across our hosts, I'm guessing a
> proper workaround for us might be to only enable it for individual packages.
>
> Thanks again!
>
> --
> Sam McLeod
> Please respond via email when possible.
> https://smcleod.net
> https://twitter.com/s_mcleod
>
> On 30 Apr 2018, at 4:53 pm, Nico De Ranter 
> wrote:
>
> Do not install the EPEL repository.  See also the remark in the release
> notes about this
>
> https://ovirt.org/release/4.2.0/#epel
>
> Do a clean install of CentOS, install oVirt. Afterwards get anything extra
> from epel if required.
>
> Nico
>
> On Mon, Apr 30, 2018 at 1:35 AM, Sam McLeod 
> wrote:
>
>> This started occurring on all new oVirt installs I've attempted to do on
>> minimal CentOS 7 since 27/4.
>>
>> I logged a bug for this on Bugzilla last week: https://bugzilla.redhat.
>> com/show_bug.cgi?id=1572434
>>
>> The package ovirt-hosted-engine-setup depends on collectd, collectd-disk
>> and collectd-write_http.
>>
>> ovirt-hosted-engine-setup depends on the two collectd plugins which are
>> provided by the ovirt-4.2-centos-opstools repo - but those two packages
>> seem to provide files that are already included in the standard collectd
>> package from epel (which the package also depends on).
>>
>> Additionally, this conflict is not picked up until the packages are at
>> the install phase, resulting in:
>>
>> Transaction check error:
>>   file /usr/lib64/collectd/disk.so conflicts between attempted installs of 
>> collectd-disk-5.8.0-3.el7.x86_64 and collectd-5.8.0-3.el7.x86_64
>>   file /usr/lib64/collectd/write_http.so conflicts between attempted 
>> installs of collectd-write_http-5.8.0-3.el7.x86_64 and 
>> collectd-5.8.0-3.el7.x86_64
>>
>>
>> ---
>>
>>
>> root@s1-b2:~ 1 # yum info collectd-write_http
>> Loaded plugins: fastestmirror, priorities, protectbase, rpm-warm-cache, 
>> versionlock
>> Loading mirror speeds from cached hostfile
>>  * ovirt-4.2-epel: fedora.melbourneitmirror.net
>> 0 packages excluded due to repository protections
>> Available Packages
>> Name: collectd-write_http
>> Arch: x86_64
>> Version : 5.8.0
>> Release : 3.el7
>> Size: 33 k
>> Repo: ovirt-4.2-centos-opstools/x86_64
>> Summary : HTTP output plugin for collectd
>> URL : https://collectd.org/
>> License : MIT and GPLv2
>> Description : This plugin can send data to Redis.
>>
>> root@s1-b2:~  # yum info collectd-disk-5.8.0-3.el7.x86_64
>> Loaded plugins: fastestmirror, priorities, protectbase, rpm-warm-cache, 
>> versionlock
>> Loading mirror speeds from cached hostfile
>>  * ovirt-4.2-epel: fedora.melbourneitmirror.net
>> 0 packages excluded due to repository protections
>> Available Packages
>> Name: collectd-disk
>> Arch: x86_64
>> Version : 5.8.0
>> Release : 3.el7
>> Size: 26 k
>> Repo: ovirt-4.2-centos-opstools/x86_64
>> Summary : Disk plugin for collectd
>> URL : https://collectd.org/
>> License : MIT and GPLv2
>> Description : This plugin collects statistics of harddisk and, where 
>> supported, partitions.
>>
>> root@s1-b2:~  # yum info collectd-5.8.0-3.el7.x86_64
>> Loaded plugins: fastestmirror, priorities, protectbase, rpm-warm-cache, 
>> versionlock
>> Loading mirror speeds from cached hostfile
>>  * ovirt-4.2-epel: fedora.melbourneitmirror.net
>> 0 packages excluded due to repository protections
>> Available Packages
>> Name: collectd
>> Arch: x86_64
>> Version : 5.8.0
>> Release : 3.el7
>> Size: 711 k
>> Repo: epel
>> Summary : Statistics collection daemon for filling RRD files
>> URL : https://collectd.org/
>> License : GPLv2
>> Description : collectd is a daemon which collects system performance 
>> statistics periodically
>> : and provides mechanisms to store the values in a variety of 
>> ways,
>> : for example in RRD files.
>>
>>
>>
>> --
>> Sam McLeod
>> Please respond via email when possible.
>> https://smcleod.net
>> https://twitter.com/s_mcleod
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
> --
>
> Nico De Ranter
> Operations Engineer
>
> T. +32 16 38 72 10
>
> 
> 
>
> eSATURNUS
> Romeinse straat 12
> 
> 3001 Leuven – Belgium
> 
>
> T. +32 16 40 12 82
> F. +32 16 40 84 77
> www.esaturnus.com
>
> 
>
> *For Service & Support *
>
> Support Line: +32 16 387210 or 

Re: [ovirt-users] Cannot install ovirt-hosted-engine-setup as package has file conflicts in its dependancies

2018-04-29 Thread Sam McLeod
Thanks for the tip Nico - I hadn't spotted that.

We use EPEL for a number of packages across our hosts, I'm guessing a proper 
workaround for us might be to only enable it for individual packages.

Thanks again!

--
Sam McLeod
Please respond via email when possible.
https://smcleod.net
https://twitter.com/s_mcleod

> On 30 Apr 2018, at 4:53 pm, Nico De Ranter  
> wrote:
> 
> Do not install the EPEL repository.  See also the remark in the release notes 
> about this
> 
> https://ovirt.org/release/4.2.0/#epel 
> 
> 
> Do a clean install of CentOS, install oVirt. Afterwards get anything extra 
> from epel if required.
> 
> Nico
> 
> On Mon, Apr 30, 2018 at 1:35 AM, Sam McLeod  > wrote:
> This started occurring on all new oVirt installs I've attempted to do on 
> minimal CentOS 7 since 27/4.
> 
> I logged a bug for this on Bugzilla last week: 
> https://bugzilla.redhat.com/show_bug.cgi?id=1572434 
> 
> 
> The package ovirt-hosted-engine-setup depends on collectd, collectd-disk and 
> collectd-write_http.
> 
> ovirt-hosted-engine-setup depends on the two collectd plugins which are 
> provided by the ovirt-4.2-centos-opstools repo - but those two packages seem 
> to provide files that are already included in the standard collectd package 
> from epel (which the package also depends on).
> 
> Additionally, this conflict is not picked up until the packages are at the 
> install phase, resulting in:
> 
> Transaction check error:
>   file /usr/lib64/collectd/disk.so conflicts between attempted installs of 
> collectd-disk-5.8.0-3.el7.x86_64 and collectd-5.8.0-3.el7.x86_64
>   file /usr/lib64/collectd/write_http.so conflicts between attempted installs 
> of collectd-write_http-5.8.0-3.el7.x86_64 and collectd-5.8.0-3.el7.x86_64
> 
> ---
> 
> root@s1-b2:~ 1 # yum info collectd-write_http
> Loaded plugins: fastestmirror, priorities, protectbase, rpm-warm-cache, 
> versionlock
> Loading mirror speeds from cached hostfile
>  * ovirt-4.2-epel: fedora.melbourneitmirror.net 
> 
> 0 packages excluded due to repository protections
> Available Packages
> Name: collectd-write_http
> Arch: x86_64
> Version : 5.8.0
> Release : 3.el7
> Size: 33 k
> Repo: ovirt-4.2-centos-opstools/x86_64
> Summary : HTTP output plugin for collectd
> URL : https://collectd.org/ 
> License : MIT and GPLv2
> Description : This plugin can send data to Redis.
> 
> root@s1-b2:~  # yum info collectd-disk-5.8.0-3.el7.x86_64
> Loaded plugins: fastestmirror, priorities, protectbase, rpm-warm-cache, 
> versionlock
> Loading mirror speeds from cached hostfile
>  * ovirt-4.2-epel: fedora.melbourneitmirror.net 
> 
> 0 packages excluded due to repository protections
> Available Packages
> Name: collectd-disk
> Arch: x86_64
> Version : 5.8.0
> Release : 3.el7
> Size: 26 k
> Repo: ovirt-4.2-centos-opstools/x86_64
> Summary : Disk plugin for collectd
> URL : https://collectd.org/ 
> License : MIT and GPLv2
> Description : This plugin collects statistics of harddisk and, where 
> supported, partitions.
> 
> root@s1-b2:~  # yum info collectd-5.8.0-3.el7.x86_64
> Loaded plugins: fastestmirror, priorities, protectbase, rpm-warm-cache, 
> versionlock
> Loading mirror speeds from cached hostfile
>  * ovirt-4.2-epel: fedora.melbourneitmirror.net 
> 
> 0 packages excluded due to repository protections
> Available Packages
> Name: collectd
> Arch: x86_64
> Version : 5.8.0
> Release : 3.el7
> Size: 711 k
> Repo: epel
> Summary : Statistics collection daemon for filling RRD files
> URL : https://collectd.org/ 
> License : GPLv2
> Description : collectd is a daemon which collects system performance 
> statistics periodically
> : and provides mechanisms to store the values in a variety of 
> ways,
> : for example in RRD files.
> 
> 
> --
> Sam McLeod
> Please respond via email when possible.
> https://smcleod.net 
> https://twitter.com/s_mcleod 
> 
> ___
> Users mailing list
> Users@ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users 
> 
> 
> 
> 
> 
> -- 
> 
> Nico De Ranter
> Operations Engineer
> T. +32 16 38 72 10
> 
>  
>  
> 
> eSATURNUS
> Romeinse straat 12
> 3001 Leuven – Belgium
> 
> T. +32 16 40 12 82
> F. +32 16 40 84 77
> www.esaturnus.com 
>  
> For Service & Support 
> 
> Support Line: +32 16 38

Re: [ovirt-users] Cannot install ovirt-hosted-engine-setup as package has file conflicts in its dependancies

2018-04-29 Thread Nico De Ranter
Do not install the EPEL repository.  See also the remark in the release
notes about this

https://ovirt.org/release/4.2.0/#epel

Do a clean install of CentOS, install oVirt. Afterwards get anything extra
from epel if required.

Nico

On Mon, Apr 30, 2018 at 1:35 AM, Sam McLeod 
wrote:

> This started occurring on all new oVirt installs I've attempted to do on
> minimal CentOS 7 since 27/4.
>
> I logged a bug for this on Bugzilla last week: https://bugzilla.redhat.
> com/show_bug.cgi?id=1572434
>
> The package ovirt-hosted-engine-setup depends on collectd, collectd-disk
> and collectd-write_http.
>
> ovirt-hosted-engine-setup depends on the two collectd plugins which are
> provided by the ovirt-4.2-centos-opstools repo - but those two packages
> seem to provide files that are already included in the standard collectd
> package from epel (which the package also depends on).
>
> Additionally, this conflict is not picked up until the packages are at the
> install phase, resulting in:
>
> Transaction check error:
>   file /usr/lib64/collectd/disk.so conflicts between attempted installs of 
> collectd-disk-5.8.0-3.el7.x86_64 and collectd-5.8.0-3.el7.x86_64
>   file /usr/lib64/collectd/write_http.so conflicts between attempted installs 
> of collectd-write_http-5.8.0-3.el7.x86_64 and collectd-5.8.0-3.el7.x86_64
>
>
> ---
>
>
> root@s1-b2:~ 1 # yum info collectd-write_http
> Loaded plugins: fastestmirror, priorities, protectbase, rpm-warm-cache, 
> versionlock
> Loading mirror speeds from cached hostfile
>  * ovirt-4.2-epel: fedora.melbourneitmirror.net
> 0 packages excluded due to repository protections
> Available Packages
> Name: collectd-write_http
> Arch: x86_64
> Version : 5.8.0
> Release : 3.el7
> Size: 33 k
> Repo: ovirt-4.2-centos-opstools/x86_64
> Summary : HTTP output plugin for collectd
> URL : https://collectd.org/
> License : MIT and GPLv2
> Description : This plugin can send data to Redis.
>
> root@s1-b2:~  # yum info collectd-disk-5.8.0-3.el7.x86_64
> Loaded plugins: fastestmirror, priorities, protectbase, rpm-warm-cache, 
> versionlock
> Loading mirror speeds from cached hostfile
>  * ovirt-4.2-epel: fedora.melbourneitmirror.net
> 0 packages excluded due to repository protections
> Available Packages
> Name: collectd-disk
> Arch: x86_64
> Version : 5.8.0
> Release : 3.el7
> Size: 26 k
> Repo: ovirt-4.2-centos-opstools/x86_64
> Summary : Disk plugin for collectd
> URL : https://collectd.org/
> License : MIT and GPLv2
> Description : This plugin collects statistics of harddisk and, where 
> supported, partitions.
>
> root@s1-b2:~  # yum info collectd-5.8.0-3.el7.x86_64
> Loaded plugins: fastestmirror, priorities, protectbase, rpm-warm-cache, 
> versionlock
> Loading mirror speeds from cached hostfile
>  * ovirt-4.2-epel: fedora.melbourneitmirror.net
> 0 packages excluded due to repository protections
> Available Packages
> Name: collectd
> Arch: x86_64
> Version : 5.8.0
> Release : 3.el7
> Size: 711 k
> Repo: epel
> Summary : Statistics collection daemon for filling RRD files
> URL : https://collectd.org/
> License : GPLv2
> Description : collectd is a daemon which collects system performance 
> statistics periodically
> : and provides mechanisms to store the values in a variety of 
> ways,
> : for example in RRD files.
>
>
>
> --
> Sam McLeod
> Please respond via email when possible.
> https://smcleod.net
> https://twitter.com/s_mcleod
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 

Nico De Ranter

Operations Engineer

T. +32 16 38 72 10







eSATURNUS
Romeinse straat 12
3001 Leuven – Belgium

T. +32 16 40 12 82
F. +32 16 40 84 77
www.esaturnus.com



*For Service & Support *

Support Line: +32 16 387210 or via email : supp...@esaturnus.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Cannot install ovirt-hosted-engine-setup as package has file conflicts in its dependancies

2018-04-29 Thread Sam McLeod
This started occurring on all new oVirt installs I've attempted to do on 
minimal CentOS 7 since 27/4.

I logged a bug for this on Bugzilla last week: 
https://bugzilla.redhat.com/show_bug.cgi?id=1572434 


The package ovirt-hosted-engine-setup depends on collectd, collectd-disk and 
collectd-write_http.

ovirt-hosted-engine-setup depends on the two collectd plugins which are 
provided by the ovirt-4.2-centos-opstools repo - but those two packages seem to 
provide files that are already included in the standard collectd package from 
epel (which the package also depends on).

Additionally, this conflict is not picked up until the packages are at the 
install phase, resulting in:

Transaction check error:
  file /usr/lib64/collectd/disk.so conflicts between attempted installs of 
collectd-disk-5.8.0-3.el7.x86_64 and collectd-5.8.0-3.el7.x86_64
  file /usr/lib64/collectd/write_http.so conflicts between attempted installs 
of collectd-write_http-5.8.0-3.el7.x86_64 and collectd-5.8.0-3.el7.x86_64

---

root@s1-b2:~ 1 # yum info collectd-write_http
Loaded plugins: fastestmirror, priorities, protectbase, rpm-warm-cache, 
versionlock
Loading mirror speeds from cached hostfile
 * ovirt-4.2-epel: fedora.melbourneitmirror.net
0 packages excluded due to repository protections
Available Packages
Name: collectd-write_http
Arch: x86_64
Version : 5.8.0
Release : 3.el7
Size: 33 k
Repo: ovirt-4.2-centos-opstools/x86_64
Summary : HTTP output plugin for collectd
URL : https://collectd.org/ 
License : MIT and GPLv2
Description : This plugin can send data to Redis.

root@s1-b2:~  # yum info collectd-disk-5.8.0-3.el7.x86_64
Loaded plugins: fastestmirror, priorities, protectbase, rpm-warm-cache, 
versionlock
Loading mirror speeds from cached hostfile
 * ovirt-4.2-epel: fedora.melbourneitmirror.net
0 packages excluded due to repository protections
Available Packages
Name: collectd-disk
Arch: x86_64
Version : 5.8.0
Release : 3.el7
Size: 26 k
Repo: ovirt-4.2-centos-opstools/x86_64
Summary : Disk plugin for collectd
URL : https://collectd.org/ 
License : MIT and GPLv2
Description : This plugin collects statistics of harddisk and, where supported, 
partitions.

root@s1-b2:~  # yum info collectd-5.8.0-3.el7.x86_64
Loaded plugins: fastestmirror, priorities, protectbase, rpm-warm-cache, 
versionlock
Loading mirror speeds from cached hostfile
 * ovirt-4.2-epel: fedora.melbourneitmirror.net
0 packages excluded due to repository protections
Available Packages
Name: collectd
Arch: x86_64
Version : 5.8.0
Release : 3.el7
Size: 711 k
Repo: epel
Summary : Statistics collection daemon for filling RRD files
URL : https://collectd.org/ 
License : GPLv2
Description : collectd is a daemon which collects system performance statistics 
periodically
: and provides mechanisms to store the values in a variety of ways,
: for example in RRD files.


--
Sam McLeod
Please respond via email when possible.
https://smcleod.net
https://twitter.com/s_mcleod

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] restricting release version when upgrading/installing Linux Enterprise hosts?

2018-04-29 Thread Matthias Leopold

Hi,

is it possible to restrict the oVirt version when installing or 
upgrading CentOS hypervisor hosts? let's say: 4.2.3 is already released, 
but i want to update/install certain hosts only to version 4.2.2 to have 
the same version in the whole cluster/data center. i know i could to 
this manually with yum and specifying rpm package versions but is there 
an "oVirt way"? or is this not necessary at all and newer hosts will 
always work smoothly with older engine and other hosts? still i think 
this is a topic that must be of interest to others.


besides that: please excuse my impatience sometimes, my upgrade of our 
oVirt installation (4.1.9 to 4.2.2) worked perfectly, even with a very 
customized cinder/ceph setup. thanks a lot for this great software!


matthias

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Remove Host Device Error

2018-04-29 Thread Fred Rolland
Hi,

You hit this one: https://bugzilla.redhat.com/show_bug.cgi?id=155

It is fixed in 4.2.2

Regards,
Fred

On Sat, Apr 28, 2018 at 7:28 AM, gss...@pku.edu.cn 
wrote:

>  Hi,
>
> I got this log in /var/log/ovirt-engine/engine.log, when I remove a host
> pass through SCSI device in VM.
>
> 2018-04-28 12:23:14,568+08 ERROR 
> [org.ovirt.engine.core.bll.hostdev.RemoveVmHostDevicesCommand]
> (default task-9) [7d10eb49-328e-4cde-89b9-3f3e7e9d3666] Command
> 'org.ovirt.engine.core.bll.hostdev.RemoveVmHostDevicesCommand' failed:
> null
> 2018-04-28 12:23:14,568+08 ERROR 
> [org.ovirt.engine.core.bll.hostdev.RemoveVmHostDevicesCommand]
> (default task-9) [7d10eb49-328e-4cde-89b9-3f3e7e9d3666] Exception:
> java.lang.NullPointerException
> at org.ovirt.engine.core.bll.hostdev.RemoveVmHostDevicesCommand.
> executeCommand(RemoveVmHostDevicesCommand.java:64) [bll.jar:]
> at org.ovirt.engine.core.bll.CommandBase.
> executeWithoutTransaction(CommandBase.java:1205) [bll.jar:]
> at org.ovirt.engine.core.bll.CommandBase.
> executeActionInTransactionScope(CommandBase.java:1345) [bll.jar:]
> at 
> org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1987)
> [bll.jar:]
> at org.ovirt.engine.core.utils.transaction.TransactionSupport.
> executeInNewTransaction(TransactionSupport.java:202) [utils.jar:]
> at org.ovirt.engine.core.utils.transaction.TransactionSupport.
> executeInRequired(TransactionSupport.java:137) [utils.jar:]
> at org.ovirt.engine.core.utils.transaction.TransactionSupport.
> executeInScope(TransactionSupport.java:105) [utils.jar:]
> at 
> org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1405)
> [bll.jar:]
> at 
> org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:412)
> [bll.jar:]
> at org.ovirt.engine.core.bll.executor.
> DefaultBackendActionExecutor.execute(DefaultBackendActionExecutor.java:13)
> [bll.jar:]
> at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:509)
> [bll.jar:]
> at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:491)
> [bll.jar:]
> at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:444)
> [bll.jar:]
> at sun.reflect.GeneratedMethodAccessor370.invoke(Unknown Source)
> [:1.8.0_161]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_161]
> at java.lang.reflect.Method.invoke(Method.java:498)
> [rt.jar:1.8.0_161]
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users