- 论坛徽章:
- 0
|
由于练习,安装puppet.
主机用的是RHEL6.2.
KVM,2台虚拟机用的是RHEL6.3,虚拟机最小化安装。主机配的是桥接。主机虚拟机都能通外网。
这是puppet的源了:
[puppet]
name=puppet
baseurl=http://yum.puppetlabs.com/el/6Server/dependencies/x86_64/
gpgcheck=0
enabled=1
[ruby]
name=ruby
baseurl=http://yum.puppetlabs.com/el/6Server/dependencies/x86_64/
gpgcheck=0
enabled=1
DNS解析正常,网络正常。能ping通:
ping yum.puppetlabs.com
PING burji.puppetlabs.com (96.126.116.126) 56(84) bytes of data.
64 bytes from burji.puppetlabs.com (96.126.116.126): icmp_seq=1 ttl=43 time=436 ms
64 bytes from burji.puppetlabs.com (96.126.116.126): icmp_seq=2 ttl=43 time=444 ms
64 bytes from burji.puppetlabs.com (96.126.116.126): icmp_seq=3 ttl=43 time=458 ms
。。。
但是使用yun list 或者 yum install puppet的时候,就会报错:
yum install puppet
Loaded plugins: downloadonly, product-id, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
http://yum.puppetlabs.com/el/6Se ... epodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2600:3c00::f03c:91ff:fe93:711a: Network is unreachable"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: puppet. Please verify its path and try again
yum list
Loaded plugins: downloadonly, product-id, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
http://yum.puppetlabs.com/el/6Se ... epodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2600:3c00::f03c:91ff:fe93:711a: Network is unreachable"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: puppet. Please verify its path and try again
主机设置源能安装,就虚拟机都不行。
虚拟机能安装本地源上的东西,就不能装在线的。但是解析和网络都是正常的,配置文件也没改过,都是默认的。
求大神看看。谢了~~
|
|