Re: [Users] oVirt 3.3 Dependency Resolution

2013-09-12 Thread Dave Neary
Hi James,

I didn't have the same issues - is that because I disabled one or more
of the repos, or purely luck in the order the repos were processed for me?

Thanks,
Dave.

On 09/12/2013 06:39 PM, James Wilson wrote:
 Hi,
 
 I've just performed a clean install of CentOS 6.4 x86_64 (Minimal) along with 
 oVirt 3.3 from the official EL6 Beta repository.  This resulted in dependency 
 conflicts between the official oVirt repo and EPEL.
 
 The following repositories were installed and activated:
 
 # yum localinstall 
 http://resources.ovirt.org/releases/ovirt-release-el6-8-1.noarch.rpm -y
 # yum localinstall 
 http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm -y
 
 Followed by installation of the main oVirt engine and all-in-one 
 configuration:
 
 # yum install ovirt-engine-setup-plugin-allinone -y
 
 This resulted in the following fatal error:
 
 Error: Package: vdsm-4.12.1-2.el6.x86_64 (ovirt-beta)
Requires: mom = 0.3.2-3
Available: mom-0.3.0-1.el6.noarch (epel)
mom = 0.3.0-1.el6
 Error: Package: glusterfs-api-3.4.0-8.el6.x86_64 (glusterfs-epel)
Requires: glusterfs = 3.4.0-8.el6
Available: glusterfs-3.2.7-1.el6.i686 (epel)
glusterfs = 3.2.7-1.el6
 Error: Package: vdsm-4.12.1-2.el6.x86_64 (ovirt-beta)
Requires: glusterfs = 3.4.0
Available: glusterfs-3.2.7-1.el6.i686 (epel)
glusterfs = 3.2.7-1.el6
  You could try using --skip-broken to work around the problem
  You could try running: rpm -Va --nofiles --nodigest
 
 To resolve, priorities have to be set within the yum repository definitions:
 
 # yum install yum-priorities
 
 Adding arbitrary priorities to the oVirt and EPEL repositories rectified the 
 issue - giving EPEL a lower value.  For example:
 
 /etc/yum.repos.d/el6-ovirt.repo 
 
 [ovirt-beta]
 name=Beta builds of the oVirt project
 baseurl=http://ovirt.org/releases/beta/rpm/EL/$releasever/
 enabled=1
 skip_if_unavailable=1
 gpgcheck=0
 priority=20
 priority=20
 
 /etc/yum.repos.d/epel.repo 
 
 [epel]
 name=Extra Packages for Enterprise Linux 6 - $basearch
 #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
 mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6arch=$basearch
 failovermethod=priority
 enabled=1
 gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
 priority=25
 
 The priority setting must be enabled for each repo definition,  Once 
 complete, the installation succeeds without issue.
 
 Hope this helps!
 
 James
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 

-- 
Dave Neary - Community Action and Impact
Open Source and Standards, Red Hat - http://community.redhat.com
Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] oVirt 3.3 Dependency Resolution

2013-09-12 Thread James Wilson
Hi,

I've just performed a clean install of CentOS 6.4 x86_64 (Minimal) along with 
oVirt 3.3 from the official EL6 Beta repository.  This resulted in dependency 
conflicts between the official oVirt repo and EPEL.

The following repositories were installed and activated:

# yum localinstall 
http://resources.ovirt.org/releases/ovirt-release-el6-8-1.noarch.rpm -y
# yum localinstall 
http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm -y

Followed by installation of the main oVirt engine and all-in-one configuration:

# yum install ovirt-engine-setup-plugin-allinone -y

This resulted in the following fatal error:

Error: Package: vdsm-4.12.1-2.el6.x86_64 (ovirt-beta)
   Requires: mom = 0.3.2-3
   Available: mom-0.3.0-1.el6.noarch (epel)
   mom = 0.3.0-1.el6
Error: Package: glusterfs-api-3.4.0-8.el6.x86_64 (glusterfs-epel)
   Requires: glusterfs = 3.4.0-8.el6
   Available: glusterfs-3.2.7-1.el6.i686 (epel)
   glusterfs = 3.2.7-1.el6
Error: Package: vdsm-4.12.1-2.el6.x86_64 (ovirt-beta)
   Requires: glusterfs = 3.4.0
   Available: glusterfs-3.2.7-1.el6.i686 (epel)
   glusterfs = 3.2.7-1.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

To resolve, priorities have to be set within the yum repository definitions:

# yum install yum-priorities

Adding arbitrary priorities to the oVirt and EPEL repositories rectified the 
issue - giving EPEL a lower value.  For example:

/etc/yum.repos.d/el6-ovirt.repo 

[ovirt-beta]
name=Beta builds of the oVirt project
baseurl=http://ovirt.org/releases/beta/rpm/EL/$releasever/
enabled=1
skip_if_unavailable=1
gpgcheck=0
priority=20
priority=20

/etc/yum.repos.d/epel.repo 

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
priority=25

The priority setting must be enabled for each repo definition,  Once complete, 
the installation succeeds without issue.

Hope this helps!

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


Re: [Users] oVirt 3.3 Dependency Resolution

2013-09-12 Thread James Wilson
Hi Dave,

I can replicate this consistently.  The only repo I disabled was the Stable 
oVirt definition, to enable only the Beta:

name=Stable builds of the oVirt project
baseurl=http://ovirt.org/releases/updates-testing/rpm/EL/$releasever/
enabled=0
skip_if_unavailable=1
gpgcheck=0
priority=20

[ovirt-beta]
name=Beta builds of the oVirt project
baseurl=http://ovirt.org/releases/beta/rpm/EL/$releasever/
enabled=1
skip_if_unavailable=1
gpgcheck=0
priority=20

Otherwise, this is a vanilla install!  Could it be a similar regression to this 
issue?

http://list-archives.org/2013/07/31/users-ovirt-org/vdsm-v4-12-0-dependencies-for-el6-hosts/f/2841672598

Thanks,

James

On 12 Sep 2013, at 19:49, Dave Neary dne...@redhat.com wrote:

 Hi James,
 
 I didn't have the same issues - is that because I disabled one or more
 of the repos, or purely luck in the order the repos were processed for me?
 
 Thanks,
 Dave.
 
 On 09/12/2013 06:39 PM, James Wilson wrote:
 Hi,
 
 I've just performed a clean install of CentOS 6.4 x86_64 (Minimal) along 
 with oVirt 3.3 from the official EL6 Beta repository.  This resulted in 
 dependency conflicts between the official oVirt repo and EPEL.
 
 The following repositories were installed and activated:
 
 # yum localinstall 
 http://resources.ovirt.org/releases/ovirt-release-el6-8-1.noarch.rpm -y
 # yum localinstall 
 http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm -y
 
 Followed by installation of the main oVirt engine and all-in-one 
 configuration:
 
 # yum install ovirt-engine-setup-plugin-allinone -y
 
 This resulted in the following fatal error:
 
 Error: Package: vdsm-4.12.1-2.el6.x86_64 (ovirt-beta)
   Requires: mom = 0.3.2-3
   Available: mom-0.3.0-1.el6.noarch (epel)
   mom = 0.3.0-1.el6
 Error: Package: glusterfs-api-3.4.0-8.el6.x86_64 (glusterfs-epel)
   Requires: glusterfs = 3.4.0-8.el6
   Available: glusterfs-3.2.7-1.el6.i686 (epel)
   glusterfs = 3.2.7-1.el6
 Error: Package: vdsm-4.12.1-2.el6.x86_64 (ovirt-beta)
   Requires: glusterfs = 3.4.0
   Available: glusterfs-3.2.7-1.el6.i686 (epel)
   glusterfs = 3.2.7-1.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
 
 To resolve, priorities have to be set within the yum repository definitions:
 
 # yum install yum-priorities
 
 Adding arbitrary priorities to the oVirt and EPEL repositories rectified the 
 issue - giving EPEL a lower value.  For example:
 
 /etc/yum.repos.d/el6-ovirt.repo 
 
 [ovirt-beta]
 name=Beta builds of the oVirt project
 baseurl=http://ovirt.org/releases/beta/rpm/EL/$releasever/
 enabled=1
 skip_if_unavailable=1
 gpgcheck=0
 priority=20
 priority=20
 
 /etc/yum.repos.d/epel.repo 
 
 [epel]
 name=Extra Packages for Enterprise Linux 6 - $basearch
 #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
 mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6arch=$basearch
 failovermethod=priority
 enabled=1
 gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
 priority=25
 
 The priority setting must be enabled for each repo definition,  Once 
 complete, the installation succeeds without issue.
 
 Hope this helps!
 
 James
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 -- 
 Dave Neary - Community Action and Impact
 Open Source and Standards, Red Hat - http://community.redhat.com
 Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13

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