天天看点

fuel部署openstack报错:Repo availability verification using public network failed on following nodes

fuel验证网络正确性时,报错如下:

Repo availability verification using public network failed on following nodes Untitled (99:1b).  
    Following repos are not available - http://archive.ubuntu.com/ubuntu/, http://mirror.fuel-infra.org/mos-repos/ubuntu//.  
    Check your public network settings and availability of the repositories from public network. Please examine nailgun and astute logs for additional details.  
           
fuel部署openstack报错:Repo availability verification using public network failed on following nodes

原因分析:

在fuel_master上没有运行

fuel-createmirror

创建本地源(针对fuel9而言,反正我之前使用fuel11是无法运行这一行命令。谷歌了下好像是fuel10以后不支持这条命令),就直接开始新建openstack环境,导致设置中的Repositories使用的网络链接,而不是本地的源

解决方案:

进入设置-基础配置-Repositories,看看你的配置是不是如下图:

fuel部署openstack报错:Repo availability verification using public network failed on following nodes

将其修改为如下:

deb http://10.20.0.2:8080/mirrors/ubuntu trusty main multiverse restricted universe
deb http://10.20.0.2:8080/mirrors/ubuntu trusty-updates main multiverse restricted universe
deb http://10.20.0.2:8080/mirrors/ubuntu trusty-security main multiverse restricted universe
deb http://10.20.0.2:8080/mirrors/mos-repos/ubuntu/9.0 mos9.0 main restricted
deb http://10.20.0.2:8080/mirrors/mos-repos/ubuntu/9.0 mos9.0-updates main restricted
deb http://10.20.0.2:8080/mirrors/mos-repos/ubuntu/9.0 mos9.0-security main restricted
deb http://10.20.0.2:8080/mirrors/mos-repos/ubuntu/9.0 mos9.0-holdback main restricted
deb http://10.20.0.2:8080/mitaka-9.0/ubuntu/auxiliary auxiliary main restricted
           
fuel部署openstack报错:Repo availability verification using public network failed on following nodes

然后重新检验网络正确性,正确。