Re: [Users] installation failed on cluster host
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 d...@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=crei=GsnVUu- YCo7T7AbG6YCICw#q=Cannot+find+a+valid+baseurl+for+repo:+ base+CentOS+6.5spell=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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] installation failed on cluster host
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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] installation failed on cluster host
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 d...@redhat.com Reply-to: d...@redhat.com To: William Kwan pota...@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 + 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=crei=GsnVUu-YCo7T7AbG6YCICw#q=Cannot+find+a+valid+baseurl+for+repo:+base+CentOS+6.5spell=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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] installation failed on cluster host
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. On Tuesday, January 14, 2014 6:43 PM, Dafna Ron d...@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=crei=GsnVUu-YCo7T7AbG6YCICw#q=Cannot+find+a+valid+baseurl+for+repo:+base+CentOS+6.5spell=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
[Users] installation failed on cluster host
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