cinder错误, LVMVolumeDriver未初始化?

weixin_38276528 2017-11-11 11:05:14
安装openstack的cinder部分出现问题重启cinder-scheduler和cinder-volume后,创建卷,cinder-volume有如下报错:

Stderr: u' /usr/sbin/thin_check: execvp failed: No such file or directory\n Check of pool cinder-volumes/cinder-volumes-pool failed (status:2). Manual repair required!\n'
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager Traceback (most recent call last):
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 430, in init_host
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager self.driver.check_for_setup_error()
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/lvm.py", line 308, in check_for_setup_error
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager self.configuration.lvm_suppress_fd_warnings))
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/brick/local_dev/lvm.py", line 127, in __init__
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager self.activate_lv(self.vg_thin_pool)
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/brick/local_dev/lvm.py", line 691, in activate_lv
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager run_as_root=True)
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager File "/usr/lib/python2.7/dist-packages/os_brick/executor.py", line 52, in _execute
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager result = self.__execute(*args, **kwargs)
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager File "/usr/lib/python2.7/dist-packages/cinder/utils.py", line 123, in execute
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager return processutils.execute(*cmd, **kwargs)
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager File "/usr/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 400, in execute
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager cmd=sanitized_cmd)
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager ProcessExecutionError: Unexpected error while running command.
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvchange -a y --yes -K cinder-volumes/cinder-volumes-pool
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager Exit code: 5
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager Stdout: u''
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager Stderr: u' /usr/sbin/thin_check: execvp failed: No such file or directory\n Check of pool cinder-volumes/cinder-volumes-pool failed (status:2). Manual repair required!\n'
2017-11-11 10:28:02.753 30946 ERROR cinder.volume.manager
2017-11-11 10:28:02.802 30946 INFO cinder.volume.manager [req-0c20370a-1765-4354-8a6a-4b5ecee18684 - - - - -] Initializing RPC dependent components of volume driver LVMVolumeDriver (3.0.0)
2017-11-11 10:28:02.803 30946 ERROR cinder.utils [req-0c20370a-1765-4354-8a6a-4b5ecee18684 - - - - -] Volume driver LVMVolumeDriver not initialized
2017-11-11 10:28:02.803 30946 ERROR cinder.volume.manager [req-0c20370a-1765-4354-8a6a-4b5ecee18684 - - - - -] Cannot complete RPC initialization because driver isn't initialized properly.: DriverNotInitialized: Volume driver not ready.


有关于卷组的报错,lvdisplay查看逻辑卷,显示不可用

--- Logical volume ---
LV Name cinder-volumes-pool
VG Name cinder-volumes
LV UUID MegQSQ-KAAi-88Ik-Asz2-BmBR-TkqN-PbYnkF
LV Write Access read/write
LV Creation host, time node-5, 2017-11-10 20:43:36 +0800
LV Pool metadata cinder-volumes-pool_tmeta
LV Pool data cinder-volumes-pool_tdata
LV Status NOT available
LV Size 1.04 TiB
Current LE 271730
Segments 1
Allocation inherit
Read ahead sectors auto


此外,还有关于驱动 LVMVolumeDriver未初始化的报错,请问这两者相关吗?怎么解决
...全文
2588 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
SimonYCJ 2017-11-16
  • 打赏
  • 举报
回复
@weixin_38276528 麻烦贴下/etc/cinder/cinder.conf的配置看下

999

社区成员

发帖
与我相关
我的任务
社区描述
OpenStack
社区管理员
  • OpenStack社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧