amuck-landowner

openvz.org mirrorlist only accessible from host node, not guests/VPSs

ICPH

Member
Hello,

i found that OpenVZ 6 host node can access openvz repository.

# curl -I http://download.openvz.org/kernel/mirrors-rhel6-2.6.32
# host download.openvz.org
download.openvz.org has address 185.231.241.69
# ping 185.231.241.69
works

but from any VPS acros various IP ranges i can not ping or run host command. It timeout. Yum on OpenVZ VPS says:
Could not retrieve mirrorlist http://download.openvz.org/kernel/mirrors-rhel6-2.6.32 error was
12: Timeout on http://download.openvz.org/kernel/mirrors-rhel6-2.6.32: (28, 'connect() timed out!')
Error: Cannot find a valid baseurl for repo: openvz-kernel-rhel6

I was checking my firewall on host node if the IP 185.231.241.69 is not blocked:
iptables -L|grep 185.231.241.69
ipset list|grep 185.231.241.69
cat /etc/hosts.deny
but nothing

Other hosts are reachable OK from VPS's... Do you have any idea to fix this, except disabling repository in /etc/yum.repos.d/openvz.repo and then "yum clean all;yum update"

I was thinking if i can index mirror list somewhere on host node and so VPSs use local IP to get list of mirrors, if that can help, but not found any tutorial on this.

Thank you
 
Top
amuck-landowner