分享

manila-share ERROR manila.coordination Error starting coordination back end

网络行者 发表于 2018-4-25 14:58:56 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 3 9825
OpenStack Ocata版本在Block Storage上装了manali后,启动openstack-manila-share.service正常,但是日志中有大量错误:
[mw_shl_code=applescript,true]2018-04-25 01:57:10.300 35974 INFO oslo_service.service [req-023ecee1-be22-43bb-8727-8337d074701c - - - - -] Starting 1 workers
2018-04-25 01:57:10.308 35984 INFO manila.service [-] Starting manila-share node (version 4.0.0)
2018-04-25 01:57:10.328 35984 ERROR manila.coordination [req-a944032b-5529-4c52-951f-2c4524bd2493 - - - - -] Error starting coordination back end.
2018-04-25 01:57:10.328 35984 ERROR manila.coordination Traceback (most recent call last):
2018-04-25 01:57:10.328 35984 ERROR manila.coordination   File "/usr/lib/python2.7/site-packages/manila/coordination.py", line 84, in start
2018-04-25 01:57:10.328 35984 ERROR manila.coordination     self._start()
2018-04-25 01:57:10.328 35984 ERROR manila.coordination   File "/usr/lib/python2.7/site-packages/manila/coordination.py", line 157, in _start
2018-04-25 01:57:10.328 35984 ERROR manila.coordination     self.coordinator.start()
2018-04-25 01:57:10.328 35984 ERROR manila.coordination   File "/usr/lib/python2.7/site-packages/tooz/coordination.py", line 419, in start
2018-04-25 01:57:10.328 35984 ERROR manila.coordination     self._start()
2018-04-25 01:57:10.328 35984 ERROR manila.coordination   File "/usr/lib/python2.7/site-packages/tooz/drivers/file.py", line 257, in _start
2018-04-25 01:57:10.328 35984 ERROR manila.coordination     raise coordination.ToozConnectionError(e)[/mw_shl_code]

控制服务器上创建share也报错:
[mw_shl_code=applescript,true]2018-04-25 02:33:46.991 28809 INFO manila.scheduler.filters.base [req-91204b21-f3b4-463f-9731-583f4f4ff25e 1a46cf65046d409387cdfe55911a0526 ba7a2b9447454600b12c7c7f81360632 - - -] Filter AvailabilityZoneFilter returned 0 host(s)
2018-04-25 02:33:46.991 28809 ERROR manila.scheduler.manager [req-91204b21-f3b4-463f-9731-583f4f4ff25e 1a46cf65046d409387cdfe55911a0526 ba7a2b9447454600b12c7c7f81360632 - - -] Failed to schedule create_share: No valid host was found. .
[/mw_shl_code]
求大神指导!

已有(3)人评论

跳转到指定楼层
NEOGX 发表于 2018-4-25 16:44:41

用区块链构建电商平台

英文不错的话,可查看下面内容
You should manage share types very carefully. If share type contains invalid extra spec scheduler will never find valid host for share of this type. To diagnose this issue, make sure that scheduler service is running in debug mode, try to create a new share and look for message Failed to schedule create_share: No valid host was found. in /etc/var/log/manila-scheduler.log.

To solve this issue look carefully through list of extra specs in share type and list of share service reported capabilities and make sure that extra specs are pointed in the right way.
翻译:

您应该非常小心地管理分享类型。 如果共享类型包含无效的额外规格调度程序,则永远不会找到此类型的共享的有效主机。 要诊断此问题,请确保调度程序服务正在调试模式下运行,尝试创建新共享并查找消息无法调度create_share:找不到有效的主机。 在/etc/var/log/manila-scheduler.log中。

要解决这个问题,请仔细查看共享类型和共享服务报告功能列表中的额外规格列表,并确保以正确的方式指出额外的规格。




回复

使用道具 举报

网络行者 发表于 2018-4-25 17:07:51
NEOGX 发表于 2018-4-25 16:44
英文不错的话,可查看下面内容
翻译:

感谢回答。我用的是https://docs.openstack.org/proje ... tall-share-rdo.html,部署的是Shared File Systems Option 1: No driver support for share servers management这种。share type用的是default_share_type,控制服务器上也创建了这个default_share_type。
回复

使用道具 举报

网络行者 发表于 2018-4-25 17:18:11
NEOGX 发表于 2018-4-25 16:44
英文不错的话,可查看下面内容
翻译:

我部署的是Shared File Systems Option 1: No driver support for share servers management,share type设置的是default_share_type = default_share_type,控制服务器上也创建了这个type。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条