---645100006-755665962-1389857929=:13029
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
problem resolved.=0A=0AIt is a Yum issue. Hosts are behind a http proxy. =
=A0I wonder if ovirt should add some options during or after engine-setup. =
=A0I added env var to bashrc and the install ran fine.=0A=0A=0A=0AOn Tuesda=
y, January 14, 2014 6:43 PM, Dafna Ron <dron(a)redhat.com> wrote:=0A =0AHi Wi=
lliam,=0A=0AThe issue you are having is a yum issue with Centos and not ovi=
rt issue.=0AI found several posts on it by searching 'Cannot find a valid b=
aseurl =0Afor repo: base' in google.=0A=0Ahttps://www.google.co.uk/?gws_rd=
=3Dcr&ei=3DGsnVUu-YCo7T7AbG6YCICw#q=3DCannot+find+a+valid+baseurl+for+repo:=
+base+CentOS+6.5&spell=3D1=0A=0Acan you please look at the link and see if =
any of the forms were =0Areporting anything like you describe with Yum?=0AI=
f you do, can you also post it here so others encountering this yum =0Aissu=
e on centos can use your workaround?=0A=0AJust so you know, ovirt has a dep=
loyment log under =0A/var/log/ovirt-engine/host-deploy/ so if a host instal=
lation fails, it =0Ashould be reported there in a way which should be easy =
to debug.=0A=0AThanks,=0ADafna=0A=0A=0AOn 01/14/2014 11:29 PM, William Kwan=
wrote:=0A> HI,=0A>=0A> Running through the whole installation exercises on=
two hosts again =0A> with the latest release on CentOS6.5.=0A>=0A> I added=
a host to a new cluster.=A0 There are "action items" listed =0A> under the=
new host. One of them is=0A>=A0 =A0 =A0 "Host installation failed. Fix in=
stallation issues and try to =0A> Re-Install"=0A>=0A>=0A> I clicked
Re-inst=
all, I monitor the engine.log and see the followings=0A>=A0 =A0 Installati=
on 10.10.25.10: Yum [u'Errors were encountered while =0A> downloading packa=
ges.', u'libselinux- =0A> python-2.0.94-5.3.el6_4.1.x86_64: failure: =0A>
P=
ackages/libselinux-python-2.0.94-5.3.el6_4.1.x86_64.rpm from base: =0A> [Er=
rno 256] No more mirrors to try.']=0A>=0A>=0A> I'm sure I ran yum update
al=
ready and I cleaned the db and rerun =0A> update...etc.=A0 Eventually I man=
ually did `yum install vdsm.x86_64` on =0A> the host.=A0 Try to run re-inst=
all again and I still get yum error.=0A>=A0 =A0 Yum Cannot queue package ip=
route: Cannot find a valid baseurl for =0A> repo: base=0A> ERROR [org.ovirt=
.engine.core.bll.InstallerMessages] (VdsDeploy) =0A> Installation 10.10.25.=
10: Failed to execute stage 'Environment =0A> packages setup': Cannot find =
a valid baseurl for repo: base=0A>=0A>=0A> iproute is sure installed.=0A> #=
rpm -qa|grep iproute=0A> iproute-2.6.32-31.el6.x86_64=0A>=0A> Something in=
ssh?=A0 Password is sure correct, what could be wrong=0A>=0A> Will=0A>=0A>=
=0A>=0A>=0A> _______________________________________________=0A> Users mail=
ing list=0A> Users(a)ovirt.org=0A>
http://lists.ovirt.org/mailman/listinfo/us=
ers=0A=0A=0A-- =0ADafna Ron
---645100006-755665962-1389857929=:13029
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"color:#000; background-color:#fff;
font-family:He=
lveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;fo=
nt-size:12pt"><div><span>problem
resolved.</span></div><div style=3D"color:=
rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue=
', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transpa=
rent; font-style: normal;"><span><br></span></div><div
style=3D"color: rgb(=
0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', He=
lvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent;=
font-style: normal;"><span>It is a Yum issue. Hosts are behind a http
prox=
y. I wonder if ovirt should add some options during or after engine-s=
etup. I added env var to bashrc and the install ran fine.</span></div=
<div class=3D"yahoo_quoted" style=3D"display:
block;"> <br> <br> <div styl=
e=3D"font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucid=
a
Grande', sans-serif; font-size: 12pt;"> <div style=3D"font-family:
Helveti=
caNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
fo=
nt-size: 12pt;"> <div dir=3D"ltr"> <font size=3D"2"
face=3D"Arial"> On Tues=
day, January 14, 2014 6:43 PM, Dafna Ron &lt;dron(a)redhat.com&gt;
wrote:<br>=
</font> </div> <div class=3D"y_msg_container">Hi
William,<br clear=3D"non=
e"><br clear=3D"none">The issue you are having is a yum issue with
Centos a=
nd not ovirt issue.<br clear=3D"none">I found several posts on it by
search=
ing 'Cannot find a valid baseurl <br clear=3D"none">for repo:
base' in goog=
le.<br clear=3D"none"><br clear=3D"none"><a
shape=3D"rect" href=3D"https://=
www.google.co.uk/?gws_rd=3Dcr&ei=3DGsnVUu-YCo7T7AbG6YCICw#q=3DCan...
nd+a+valid+baseurl+for+repo:+base+CentOS+6.5&spell=3D1"
target=3D"_blan=
k">https://www.google.co.uk/?gws_rd=3Dcr&ei=3DGsnVUu-YCo7T7AbG6YCICw#q=
=3DCannot+find+a+valid+baseurl+for+repo:+base+CentOS+6.5&spell=3D1</a><=
br clear=3D"none"><br clear=3D"none">can
you please look at the link and see if any of the forms were <br clear=3D"=
none">reporting anything like you describe with Yum?<br
clear=3D"none">If y=
ou do, can you also post it here so others encountering this yum <br clear=
=3D"none">issue on centos can use your workaround?<br
clear=3D"none"><br cl=
ear=3D"none">Just so you know, ovirt has a deployment log under <br
clear=
=3D"none">/var/log/ovirt-engine/host-deploy/ so if a host installation fail=
s, it <br clear=3D"none">should be reported there in a way which should be
=
easy to debug.<br clear=3D"none"><br
clear=3D"none">Thanks,<br clear=3D"non=
e">Dafna<br clear=3D"none"><div
class=3D"yqt9203153155" id=3D"yqtfd47259"><=
br clear=3D"none">On 01/14/2014 11:29 PM, William Kwan wrote:<br
clear=3D"n=
one">> HI,<br clear=3D"none">><br
clear=3D"none">> Running through=
the whole installation exercises on two hosts again <br
clear=3D"none">>=
; with the latest release on CentOS6.5.<br clear=3D"none">><br
clear=3D"=
none">> I added a host to a new
cluster. There are "action items" listed <br
clear=3D"none">> und=
er the new host. One of them is<br clear=3D"none">>
=
"Host installation failed. Fix installation issues and try to <br clear=3D=
"none">> Re-Install"<br
clear=3D"none">><br clear=3D"none">><br cl=
ear=3D"none">> I clicked Re-install, I monitor the engine.log and see
th=
e followings<br clear=3D"none">> Installation
10.10.25.10:=
Yum [u'Errors were encountered while <br clear=3D"none">>
downloading p=
ackages.', u'libselinux- <br clear=3D"none">>
python-2.0.94-5.3.el6_4.1.=
x86_64: failure: <br clear=3D"none">>
Packages/libselinux-python-2.0.94-=
5.3.el6_4.1.x86_64.rpm from base: <br clear=3D"none">> [Errno 256]
No mo=
re mirrors to try.']<br clear=3D"none">><br
clear=3D"none">><br clear=
=3D"none">> I'm sure I ran yum update already and I cleaned the db
and r=
erun <br clear=3D"none">> update...etc. Eventually I
manually did =
`yum install
vdsm.x86_64` on <br clear=3D"none">> the host. Try to
run re-inst=
all again and I still get yum error.<br clear=3D"none">>
Yu=
m Cannot queue package iproute: Cannot find a valid baseurl for <br clear=
=3D"none">> repo: base<br clear=3D"none">>
ERROR [org.ovirt.engine.co=
re.bll.InstallerMessages] (VdsDeploy) <br clear=3D"none">>
Installation =
10.10.25.10: Failed to execute stage 'Environment <br
clear=3D"none">> p=
ackages setup': Cannot find a valid baseurl for repo: base<br clear=3D"none=
">><br clear=3D"none">><br
clear=3D"none">> iproute is sure instal=
led.<br clear=3D"none">> # rpm -qa|grep iproute<br
clear=3D"none">> i=
proute-2.6.32-31.el6.x86_64<br clear=3D"none">><br
clear=3D"none">> S=
omething in ssh? Password is sure correct, what could be wrong<br cle=
ar=3D"none">><br clear=3D"none">>
Will</div><br clear=3D"none">><b=
r clear=3D"none">><br clear=3D"none">><br
clear=3D"none">><br clea=
r=3D"none">>
_______________________________________________<br
clear=3D"none">> Use=
rs mailing list<br clear=3D"none">> <a shape=3D"rect"
ymailto=3D"mailto:=
Users(a)ovirt.org"
href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br cle=
ar=3D"none">> <a shape=3D"rect"
href=3D"http://lists.ovirt.org/mailman/l=
istinfo/users"
target=3D"_blank">http://lists.ovirt.org/mailman/listinfo/us=
ers</a><br clear=3D"none"><br clear=3D"none"><br
clear=3D"none">-- <br clea=
r=3D"none">Dafna Ron<div class=3D"yqt9203153155"
id=3D"yqtfd86579"><br clea=
r=3D"none"></div><br><br></div> </div>
</div> </div> </div></body></html>
---645100006-755665962-1389857929=:13029--