发起问题
0

Cannot configure StorageObject because device (newton)

提问于 2016-12-19 21:33:32 -0500

yaoshenshen+1 图像
 因为公司服务器断电,断电后使用块设备的服务器无法启动。具体错误如下

root@node ~]# systemctl status  target.service                               
● target.service - Restore LIO kernel target configuration
   Loaded: loaded (/usr/lib/systemd/system/target.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since 一 2016-12-19 12:26:27 CST; 4min 28s ago
  Process: 1180 ExecStart=/usr/bin/targetctl restore (code=exited, status=1/FAILURE)
 Main PID: 1180 (code=exited, status=1/FAILURE)

12月 19 12:26:27 node target[1180]: so_obj = so_cls(**kwargs)
12月 19 12:26:27 node`enter code here` target[1180]: File "/usr/lib/python2.7/site-packages/rtslib/tcm.py", line 669, in __init__
12月 19 12:26:27 node target[1180]: self._configure(dev, wwn, readonly)
12月 19 12:26:27 node target[1180]: File "/usr/lib/python2.7/site-packages/rtslib/tcm.py", line 682, in _configure
12月 19 12:26:27 node target[1180]: + "device %s is already in use." % dev)
12月 19 12:26:27 node target[1180]: rtslib.utils.RTSLibError: Cannot configure StorageObject because device /dev/cinder-volumes/volume-8646116b-dd7f-46dc...dy in use.
12月 19 12:26:27 node systemd[1]: target.service: main process exited, code=exited, status=1/FAILURE
12月 19 12:26:27 node systemd[1]: Failed to start Restore LIO kernel target configuration.
12月 19 12:26:27 node systemd[1]: Unit target.service entered failed state.
12月 19 12:26:27 node systemd[1]: target.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@node ~]# 


解决办法:
删除/var/lib/iscsi  删除之前做好备份。重启控制节点和计算节点
edit retag flag offensive close merge delete
0

回答 2016-12-19 21:33:58 -0500

yaoshenshen+1 图像
解决办法:
删除/var/lib/iscsi  删除之前做好备份。重启控制节点和计算节点
edit flag offensive delete link 更多

你的回答

Please start posting anonymously - your entry will be published after you log in or create a new account.

开始回答

提问工具

1 follower

统计

已提问: 2016-12-19 21:33:32 -0500

已查看: 812 次

最后更新: Dec 19 '16