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

鲁德佑
2023-12-01

在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

安装成功。 

 类似资料: