[Users] installation failed on cluster host

---1226699745-752350724-1389742179=:10403 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable HI,=0A=0ARunning through the whole installation exercises on two hosts agai= n with the latest release on CentOS6.5.=0A=0AI added a host to a new cluste= r.=A0 There are "action items" listed under the new host. One of them is = =0A=A0=A0=A0=A0=A0 "Host installation failed. Fix installation issues and t= ry to Re-Install"=0A=0A=0AI clicked Re-install, I monitor the engine.log an= d see the followings=0A=A0=A0=A0 Installation 10.10.25.10: Yum [u'Errors we= re encountered while downloading packages.', u'libselinux-=A0 python-2.0.94= -5.3.el6_4.1.x86_64: failure: Packages/libselinux-python-2.0.94-5.3.el6_4.1= .x86_64.rpm from base: [Errno 256] No more mirrors to try.']=0A=0A=0AI'm su= re I ran yum update already and I cleaned the db and rerun update...etc.=A0= Eventually I manually did `yum install vdsm.x86_64` on the host.=A0 Try to= run re-install again and I still get yum error.=A0 =0A=A0=A0 Yum Cannot qu= eue package iproute: Cannot find a valid baseurl for repo: base=0A=0AERROR = [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation 10.1= 0.25.10: Failed to execute stage 'Environment packages setup': Cannot find = a valid baseurl for repo: base=0A=0A=0Aiproute is sure installed.=0A# rpm -= qa|grep iproute=0Aiproute-2.6.32-31.el6.x86_64=0A=0A=0ASomething in ssh?=A0= Password is sure correct, what could be wrong=0A=0AWill ---1226699745-752350724-1389742179=:10403 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">HI,<br><br>Running through the whole installation exercises o= n two hosts again with the latest release on CentOS6.5.<br><br>I added a ho= st to a new cluster. There are "action items" listed under the new ho= st. One of them is <br> "Host installation fa= iled. Fix installation issues and try to Re-Install"<br><br><br>I clicked R= e-install, I monitor the engine.log and see the followings<br> &= nbsp; Installation 10.10.25.10: Yum [u'Errors were encountered while downlo= ading packages.', u'libselinux- python-2.0.94-5.3.el6_4.1.x86_64: fai= lure: Packages/libselinux-python-2.0.94-5.3.el6_4.1.x86_64.rpm from base: [= Errno 256] No more mirrors to try.']<br><br><br>I'm sure I ran yum update a= lready and I cleaned the db and rerun update...etc. Eventually I manually did `yum install vdsm.x86_64` on the host. Try to run re-in= stall again and I still get yum error. <br> Yum Cannot qu= eue package iproute: Cannot find a valid baseurl for repo: base<br><div sty= le=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helv= etica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: tran= sparent; font-style: normal;">ERROR [org.ovirt.engine.core.bll.InstallerMes= sages] (VdsDeploy) Installation 10.10.25.10: Failed to execute stage 'Envir= onment packages setup': Cannot find a valid baseurl for repo: base</div><di= v style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue= ,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color:= transparent; font-style: normal;"><br></div><div style=3D"color: rgb(0, 0,= 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,A= rial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; fon= t-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-s= erif; background-color: transparent; font-style: normal;">iproute is sure i= nstalled.</div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-fam= ily: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;= background-color: transparent; font-style: normal;"># rpm -qa|grep iproute= <br>iproute-2.6.32-31.el6.x86_64<br></div><div style=3D"color: rgb(0, 0, 0)= ; font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Aria= l,Lucida Grande,sans-serif; background-color: transparent; font-style: norm= al;"><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-fam= ily: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;= background-color: transparent; font-style: normal;">Something in ssh? = ; Password is sure correct, what could be wrong</div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,H= elvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; fon= t-style: normal;"><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 1= 6px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grand= e,sans-serif; background-color: transparent; font-style: normal;">Will<br><= /div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: Helve= ticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; backgroun= d-color: transparent; font-style: normal;"><br><br></div></div></body></htm= l> ---1226699745-752350724-1389742179=:10403--

Hi William, The issue you are having is a yum issue with Centos and not ovirt issue. I found several posts on it by searching 'Cannot find a valid baseurl for repo: base' in google. https://www.google.co.uk/?gws_rd=cr&ei=GsnVUu-YCo7T7AbG6YCICw#q=Cannot+find+a+valid+baseurl+for+repo:+base+CentOS+6.5&spell=1 can you please look at the link and see if any of the forms were reporting anything like you describe with Yum? If you do, can you also post it here so others encountering this yum issue on centos can use your workaround? Just so you know, ovirt has a deployment log under /var/log/ovirt-engine/host-deploy/ so if a host installation fails, it should be reported there in a way which should be easy to debug. Thanks, Dafna On 01/14/2014 11:29 PM, William Kwan wrote:
HI,
Running through the whole installation exercises on two hosts again with the latest release on CentOS6.5.
I added a host to a new cluster. There are "action items" listed under the new host. One of them is "Host installation failed. Fix installation issues and try to Re-Install"
I clicked Re-install, I monitor the engine.log and see the followings Installation 10.10.25.10: Yum [u'Errors were encountered while downloading packages.', u'libselinux- python-2.0.94-5.3.el6_4.1.x86_64: failure: Packages/libselinux-python-2.0.94-5.3.el6_4.1.x86_64.rpm from base: [Errno 256] No more mirrors to try.']
I'm sure I ran yum update already and I cleaned the db and rerun update...etc. Eventually I manually did `yum install vdsm.x86_64` on the host. Try to run re-install again and I still get yum error. Yum Cannot queue package iproute: Cannot find a valid baseurl for repo: base ERROR [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation 10.10.25.10: Failed to execute stage 'Environment packages setup': Cannot find a valid baseurl for repo: base
iproute is sure installed. # rpm -qa|grep iproute iproute-2.6.32-31.el6.x86_64
Something in ssh? Password is sure correct, what could be wrong
Will
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Dafna Ron

<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 <dron@redhat.com> 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=3DCannot+fi= 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=
---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@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@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= 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@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--

Hi, I think I can answer this. oVirt relies on a working yum for this kind of installation. And it's not a "yum issue" at all, but a configuration issue on your side. If you have a proxy, configure your yum.conf accordingly. Information how to do this, can be found e.g. here: https://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html If this doesn't work and oVirt doesn't respect yum.conf (which I doubt) you found a bug and should open a BZ for it. HTH Am 16.01.2014 08:38, schrieb William Kwan:
problem resolved.
It is a Yum issue. Hosts are behind a http proxy. I wonder if ovirt should add some options during or after engine-setup. I added env var to bashrc and the install ran fine.
-- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

Just a thought whenever I get one of these "yum cannot download" messages i check my network cards, default routes , and dns and /etc/resolv.conf to make sure its all working properly Ovirt does mess with networking when installing .. so you should double check these. -----Original Message----- From: Dafna Ron <dron@redhat.com> Reply-to: dron@redhat.com To: William Kwan <potatok@yahoo.com> Cc: users@ovirt.org <users@ovirt.org> Subject: Re: [Users] installation failed on cluster host Date: Tue, 14 Jan 2014 23:43:40 +0000 Hi William, The issue you are having is a yum issue with Centos and not ovirt issue. I found several posts on it by searching 'Cannot find a valid baseurl for repo: base' in google. https://www.google.co.uk/?gws_rd=cr&ei=GsnVUu-YCo7T7AbG6YCICw#q=Cannot+find+a+valid+baseurl+for+repo:+base+CentOS+6.5&spell=1 can you please look at the link and see if any of the forms were reporting anything like you describe with Yum? If you do, can you also post it here so others encountering this yum issue on centos can use your workaround? Just so you know, ovirt has a deployment log under /var/log/ovirt-engine/host-deploy/ so if a host installation fails, it should be reported there in a way which should be easy to debug. Thanks, Dafna On 01/14/2014 11:29 PM, William Kwan wrote:
HI,
Running through the whole installation exercises on two hosts again with the latest release on CentOS6.5.
I added a host to a new cluster. There are "action items" listed under the new host. One of them is "Host installation failed. Fix installation issues and try to Re-Install"
I clicked Re-install, I monitor the engine.log and see the followings Installation 10.10.25.10: Yum [u'Errors were encountered while downloading packages.', u'libselinux- python-2.0.94-5.3.el6_4.1.x86_64: failure: Packages/libselinux-python-2.0.94-5.3.el6_4.1.x86_64.rpm from base: [Errno 256] No more mirrors to try.']
I'm sure I ran yum update already and I cleaned the db and rerun update...etc. Eventually I manually did `yum install vdsm.x86_64` on the host. Try to run re-install again and I still get yum error. Yum Cannot queue package iproute: Cannot find a valid baseurl for repo: base ERROR [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation 10.10.25.10: Failed to execute stage 'Environment packages setup': Cannot find a valid baseurl for repo: base
iproute is sure installed. # rpm -qa|grep iproute iproute-2.6.32-31.el6.x86_64
Something in ssh? Password is sure correct, what could be wrong
Will
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

its obvious that something is bad with your repo. can you please run: yum repolist and: for f in `ls /etc/yum.repos.d/`; do cat /etc/yum.repos.d/$f; done i'd check the centos repo, I use: [BASE] name=BASE baseurl=http://mirror.centos.org/centos/6/os/x86_64/ gpgcheck=0 enabled=1 On Wed, Jan 15, 2014 at 1:43 AM, Dafna Ron <dron@redhat.com> wrote:
Hi William,
The issue you are having is a yum issue with Centos and not ovirt issue. I found several posts on it by searching 'Cannot find a valid baseurl for repo: base' in google.
https://www.google.co.uk/?gws_rd=cr&ei=GsnVUu- YCo7T7AbG6YCICw#q=Cannot+find+a+valid+baseurl+for+repo:+ base+CentOS+6.5&spell=1
can you please look at the link and see if any of the forms were reporting anything like you describe with Yum? If you do, can you also post it here so others encountering this yum issue on centos can use your workaround?
Just so you know, ovirt has a deployment log under /var/log/ovirt-engine/host-deploy/ so if a host installation fails, it should be reported there in a way which should be easy to debug.
Thanks, Dafna
On 01/14/2014 11:29 PM, William Kwan wrote:
HI,
Running through the whole installation exercises on two hosts again with the latest release on CentOS6.5.
I added a host to a new cluster. There are "action items" listed under the new host. One of them is "Host installation failed. Fix installation issues and try to Re-Install"
I clicked Re-install, I monitor the engine.log and see the followings Installation 10.10.25.10: Yum [u'Errors were encountered while downloading packages.', u'libselinux- python-2.0.94-5.3.el6_4.1.x86_64: failure: Packages/libselinux-python-2.0.94-5.3.el6_4.1.x86_64.rpm from base: [Errno 256] No more mirrors to try.']
I'm sure I ran yum update already and I cleaned the db and rerun update...etc. Eventually I manually did `yum install vdsm.x86_64` on the host. Try to run re-install again and I still get yum error. Yum Cannot queue package iproute: Cannot find a valid baseurl for repo: base ERROR [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation 10.10.25.10: Failed to execute stage 'Environment packages setup': Cannot find a valid baseurl for repo: base
iproute is sure installed. # rpm -qa|grep iproute iproute-2.6.32-31.el6.x86_64
Something in ssh? Password is sure correct, what could be wrong
Will
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Dafna Ron _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (5)
-
Dafna Ron
-
haim ateya
-
Madhav V Diwan
-
Sven Kieske
-
William Kwan