yum源安装OpenStackclient安不上

在OpenStack配置中出现的问题
已经安装了centos–release–openstack–aliyun.repos
root@localhost yum.repos.d]#yum install python-openstackclient-y

Loadedplugins: fastestmirrorlangpacks
Repository base is listed more than once in the configuration Repository updates is listed more than once in the configuration Repository extras is listed more than once in the configuration
Repositorv centosplus is listed more than once in the configuration Loading mirror speeds from cached hostfile*base: mirror.lzu.edu.cn
centos-qemu-ev:ftp.twaren.net
extras:ftp.twaren.net
updates:ftp.twaren.net
http://mirror.centos.org/altarch/7/storage/*8664/ceph-luminous/repodata/repomd.x mL:TErrno 141 HTTP Error404=Not Found Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.cento

Search Terminal Help
compromise:

yum-contig-manager--save--setopt=centos-ceph-luminousskip if unava


*问题在这

faliure:repodata/repomd.xml from centos-ceph-luminous:[Errno 256] No more mirro rs to try.
http://mirror.centos.org/altarch/7/storage/x86_64/ceph-luminous/repodata/repomd.x
[Errno 14] HTTP Error 404 - Not Found
ping百度是以下这样还有一些没展示
yum.repos.d]#ping http://www.baidu.com/
www.a.shi 1601) 5 24) butes of data.
GentOS (192 168.200.4) icmp seq=1 Destination hostonTetch
Centos(192.168.200.4) icmp_seq=2 Destination Host Unreachable Centos(192.168.200.4) icmp_seq=3 Destination Host Unreachable


rpm –qa|grep yum后无回应

引用chatgpt部分指引作答:
这个问题可能与你使用的OpenStack源有关。根据日志,yum尝试从一个名为'centos-ceph-luminous'的源中安装python-openstackclient程序,但该源返回了HTTP 404错误,因此yum无法下载所需文件。

解决方法如下:

1、检查源列表
可以通过以下命令查看当前操作系统中启用的源列表:

yum repolist all

检查是否存在重复的源,以及是否有无效或过时的源。如果存在问题,请编辑/sources.list.d/目录下的相应源配置文件并进行修改。

2、检查网络连接
检查您的计算机是否可以连接到互联网,并检查网络设置、防火墙配置和DNS解析设置是否正确。您可以尝试使用ping测试域名地址是否能够解析:

ping www.baidu.com

如果无法建立网络连接,可能需要配置网络设置或检查所在的网络环境。

3、更换OpenStack源并重新运行yum
您可以更换一个可靠的OpenStack源,例如EPEL源、OpenStack官方源或其他第三方源,并更新本地repo缓存,然后再次运行yum安装python-openstackclient程序:

yum clean all
yum makecache
yum install python-openstackclient -y

请注意,在替换源时,请使用认证渠道,确保下载软件包是“官方”的软件包,避免不必要的风险和安全问题。