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
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