Bug 1044567

Summary: Cannot install 'ovirt-engine' with yum
Product: [Retired] oVirt Reporter: Zvika <haramaty.zvika>
Component: ovirt-engine-installerAssignee: David Caro <dcaroest>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: urgent    
Version: 3.3CC: acathrow, dcaroest, eedri, haramaty.zvika, iheim, sbonazzo, yeylon
Target Milestone: ---   
Target Release: 3.3.2   
Hardware: x86_64   
OS: Linux   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-23 07:49:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Zvika 2013-12-18 15:06:44 UTC
Description of problem:
I've followed instructions in 'http://www.ovirt.org/Download', 'Enterprise Linux 6' section.
But I'm getting the following error after running 'yum install ovirt-engine':

http://ovirt.org/releases/stable/rpm/EL/6.4/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
..
..
No Package ovirt-engine available.
Error: Nothing to do



Version-Release number of selected component (if applicable):


How reproducible:
Every time I try - the same result.


Steps to Reproduce:
1. sudo yum localinstall http://ovirt.org/releases/ovirt-release-el.noarch.rpm
2. sudo yum install -y ovirt-engine
3.

Thanks

Comment 1 Sandro Bonazzola 2013-12-19 16:00:04 UTC
Seems that 6 and 6server are not enough.
Eyal, should we create a symlink from 6 to 6.4 and 6.5?
Can you do that?

Zvika: as workaround you can just edit /etc/yum.repos.d/ovirt.repo changing $releasever with 6.

Comment 2 David Caro 2013-12-19 16:15:16 UTC
Hi Zvika,

do you know if you have a custom releasever variable definition? You can check looking for files inside /etc/yum/vars directory.

Can you paste the output of

> python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)'

In any case, I've created the links for those releasever values, so it will work now. But I'd like to know if it's a custom configuration the one you are using.

Thanks!

Comment 3 Sandro Bonazzola 2013-12-19 16:24:27 UTC
moving to ON_QA, waiting for needinfo and verification.
Thanks David!

Comment 4 Zvika 2013-12-22 15:07:53 UTC
Hi.
Now it's working, thanks for the quick fix!

Regarding your questions - well, my environment has changed a lot meanwhile, so I'm not sure these answers reflect the situation from last week...

# ls -l /etc/yum/vars/
total 0

#  python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)'
{'arch': 'ia32e',
 'basearch': 'x86_64',
 'releasever': '6.4',
 'uuid': '8562a99b-3cf9-410b-ab15-aede9cebd5b0'}