Openstack 执行时出错,“要测试Glance,请直接从internet上载“cirros云图像”

Openstack 执行时出错,“要测试Glance,请直接从internet上载“cirros云图像”,openstack,Openstack,已尝试执行给定的相同查询: glance image-create --name OS4Y_Cirros --is-public true --container-format bare --disk-format qcow2 --location https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img 收到错误: Error communicating with http://192.16

已尝试执行给定的相同查询:

glance image-create --name OS4Y_Cirros --is-public true --container-format bare --disk-format qcow2 --location https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img
收到错误:

Error communicating with http://192.168.1.51:9292 [Errno 110] Connection timed out
命令:glance image create-name OS4Y_Cirros-is public true-container format bare-disk format qcow2-location

错误:与[链接]通信时出错http://192.168.1.51:9292! [Errno 110]连接超时


解决方案:将keystone_basic.sh中的外部主机ip地址更改为192.168.100.51

192.168.*是本地网络地址,而不是internet位置。192.168.x.x和10.x.x.x属于专用网络地址。怎么样?您的意思是什么?您向launchpad.net发送了一个请求,但从192.*返回了一个错误,这表明您的请求以某种方式被重定向到您的本地网络代理,而不是到达目标站点,因此失败了。