openstack 配置cinder节点时No package openstack-cinder available No package python-keystone available.的解决

博主分享了在cinder节点上遇到的'cd /etc/cinder: No such file or directory'错误,发现未安装openstack相关组件。通过安装openstack-release和相关客户端包,如python-openstackclient和openstack-selinux,成功解决了问题。这个教程对OpenStack管理员或运维人员很有帮助。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在cinder节点上键入下面命令

cd /etc/cinder
-bash: cd: /etc/cinder: No such file or directory

我的cinder还没装?

于是安装一看
[root@cinder ~]# yum install openstack-cinder targetcli python-keystone -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.cn99.com
 * extras: mirrors.cn99.com
 * updates: mirrors.cn99.com
No package openstack-cinder available.
Package targetcli-2.1.53-1.el7_9.noarch already installed and latest version
No package python-keystone available.
Nothing to do

解决方法是先安装openstack的包

yum install centos-release-openstack-rocky -y
yum install python-openstackclient -y
yum install openstack-selinux -y

事实上,每个openstack节点都必须安装openstack和客户端

运行

yum install openstack-cinder targetcli python-keystone -y

安装成功。 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值