Ubuntu 14.04 上 cinder-volume 的问题

Ubuntu 14.04 上 cinder-volume 的问题

我正在使用多节点架构 Icehouse,包括网络、控制器、计算和 Cinder 节点。除了创建卡在创建状态的 Cinder 卷之外,一切工作正常,摆脱它的唯一方法是使用“cinder reset-state”,使卷进入“可用”状态。除非使用“force-delete”命令然后重新启动 Cinder 节点,否则无法删除创建的卷。日志文件中没有显示任何错误,除了以下内容:

2018-05-30 10:49:22.664 2864 WARNING keystoneclient.middleware.auth_token [-] Configuring auth_uri to point to the public identity endpoint is required; clients may not be able to authenticate against an admin endpoint
2018-05-30 10:49:22.667 2864 WARNING cinder.service [-] Value of config option osapi_volume_workers must be integer greater than 1.  Input value ignored.

它来自 Cinder 节点上的 Cinder-api 日志文件,

2018-05-30 11:08:06.613 1209 WARNING cinder.context [-] Arguments dropped when creating context: {'user': None, 'tenant': None, 'user_identity': u'- - - - -'}

它来自控制节点中的 cinder-scheduler 日志文件。

这是我在 Cinder 节点中的配置文件:

[DEFAULT]
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes
rpc_backend = rabbit
rabbit_hosts = controller
rabbit_port = 5672
rabbit_userid = guest
rabbit_password = xxx
glance_host = controller
[keystone_authtoken]
auth_uri = http://controller:5000
auth_host = controller
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = cinder
admin_password = xxx
[database]
connection = mysql://cinder:xxx@controller/cinder

这是我的控制节点中的 Cinder 配置文件:

[DEFAULT]
control_exchange = cinder
notification_driver = cinder.openstack.common.notifier.rpc_notifier
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes
rpc_backend = rabbit
rabbit_host = controller
rabbit_port = 5672
rabbit_userid = guest
rabbit_password = xxx
[database]
connection = mysql://cinder:xxx@controller/cinder
[keystone_authtoken]
auth_uri = http://controller:5000
auth_host = controller
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = cinder
admin_password = xxx

如果有人能帮助我,我将不胜感激。我尝试过很多次将我的问题提交到 ask.openstack,但都失败了,因为它一直提示我帖子中有垃圾邮件!

相关内容