Centos 7 on Hyper-V yum problem
Centos 7 on Hyper-V yum problem
Hello
I installed 6 VM centos 7 on hyperv.
All 6 vm cannot connect to yum repository.
After many troubleshooting I installed a VM on VMWare and yum works.
You know why?
The network and Dns are properly configured and works fine.
Thanks
I installed 6 VM centos 7 on hyperv.
All 6 vm cannot connect to yum repository.
After many troubleshooting I installed a VM on VMWare and yum works.
You know why?
The network and Dns are properly configured and works fine.
Thanks
Re: Centos 7 on Hyper-V yum problem
What is the exact error message? Can you ping mirrorlist.centos.org ? If not, then your network is not set up properly.
Re: Centos 6/7 yum problem
Yes of course,
my network connection is properly configured.
Now I tried to install a Centos 6 but the same error even on Vsphere production and not on my Workstation.
So, the problem is not on hyper-v only but vsphere too, so I corrected the Subject.
The output of the commands are the following.
Thanks
[root@localhost ~]# yum update
Loaded plugins: fastestmirror, security
Setting up Update Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6 ... nfra=stock error was
12: Timeout on http://mirrorlist.centos.org/?release=6 ... nfra=stock: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Error: Cannot find a valid baseurl for repo: base
[root@localhost ~]# ping mirrorlist.centos.org
PING mirrorlist.centos.org (84.22.180.89) 56(84) bytes of data.
64 bytes from 89.180.22.84.as20860.net (84.22.180.89): icmp_seq=1 ttl=58 time=30.9 ms
64 bytes from 89.180.22.84.as20860.net (84.22.180.89): icmp_seq=2 ttl=58 time=31.6 ms
64 bytes from 89.180.22.84.as20860.net (84.22.180.89): icmp_seq=3 ttl=58 time=29.9 ms
^C
--- mirrorlist.centos.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2635ms
rtt min/avg/max/mdev = 29.960/30.850/31.607/0.693 ms
[root@localhost ~]# nslookup mirrorlist.centos.org
Server: 192.168.101.30
Address: 192.168.101.30#53
Non-authoritative answer:
Name: mirrorlist.centos.org
Address: 88.150.173.218
Name: mirrorlist.centos.org
Address: 108.61.16.227
Name: mirrorlist.centos.org
Address: 84.22.180.89
[root@localhost ~]#
my network connection is properly configured.
Now I tried to install a Centos 6 but the same error even on Vsphere production and not on my Workstation.
So, the problem is not on hyper-v only but vsphere too, so I corrected the Subject.
The output of the commands are the following.
Thanks
[root@localhost ~]# yum update
Loaded plugins: fastestmirror, security
Setting up Update Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6 ... nfra=stock error was
12: Timeout on http://mirrorlist.centos.org/?release=6 ... nfra=stock: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Error: Cannot find a valid baseurl for repo: base
[root@localhost ~]# ping mirrorlist.centos.org
PING mirrorlist.centos.org (84.22.180.89) 56(84) bytes of data.
64 bytes from 89.180.22.84.as20860.net (84.22.180.89): icmp_seq=1 ttl=58 time=30.9 ms
64 bytes from 89.180.22.84.as20860.net (84.22.180.89): icmp_seq=2 ttl=58 time=31.6 ms
64 bytes from 89.180.22.84.as20860.net (84.22.180.89): icmp_seq=3 ttl=58 time=29.9 ms
^C
--- mirrorlist.centos.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2635ms
rtt min/avg/max/mdev = 29.960/30.850/31.607/0.693 ms
[root@localhost ~]# nslookup mirrorlist.centos.org
Server: 192.168.101.30
Address: 192.168.101.30#53
Non-authoritative answer:
Name: mirrorlist.centos.org
Address: 88.150.173.218
Name: mirrorlist.centos.org
Address: 108.61.16.227
Name: mirrorlist.centos.org
Address: 84.22.180.89
[root@localhost ~]#
Re: Centos 7 on Hyper-V yum problem
Try with --disableplugin=fastestmirror
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Centos 7 on Hyper-V yum problem
Sorry, but the command is correct?
yum --disableplugin=fastestmirror nothing to do.
thanks
[root@localhost ~]# yum update --disableplugin=fastestmirror
Loaded plugins: security
Setting up Update Process
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6 ... nfra=stock error was
12: Timeout on http://mirrorlist.centos.org/?release=6 ... nfra=stock: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
[root@localhost ~]#
yum --disableplugin=fastestmirror nothing to do.
thanks
[root@localhost ~]# yum update --disableplugin=fastestmirror
Loaded plugins: security
Setting up Update Process
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6 ... nfra=stock error was
12: Timeout on http://mirrorlist.centos.org/?release=6 ... nfra=stock: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
[root@localhost ~]#
Re: Centos 7 on Hyper-V yum problem
Tried to disable IPV6.
Nothing to do.
Nothing to do.
Re: Centos 7 on Hyper-V yum problem
Any Ideas?
thanks
Mario
thanks
Mario
Re: Centos 7 on Hyper-V yum problem
anyone can help me?
thanks
Mario
thanks
Mario