分享

vmware上cinder存储报错

Tidehunter 发表于 2015-5-18 19:24:35 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 9 28195
在vmware workstation上装的openstack,在从卷启动镜像的时候失败了,/var/log/message里的日志。这个sdb是vm虚拟机上新加上的磁盘做cinder存储用的,所以现在不确定是否需要改什么东西。
[mw_shl_code=bash,true]May 18 04:04:23 controller kernel: sd 0:0:1:0: [sdb]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
May 18 04:04:23 controller kernel: sd 0:0:1:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 20 00
May 18 04:04:23 controller kernel: end_request: I/O error, dev sdb, sector 0
May 18 04:04:23 controller kernel: Buffer I/O error on device sdb, logical block 0
May 18 04:04:23 controller kernel: Buffer I/O error on device sdb, logical block 1
May 18 04:04:23 controller kernel: Buffer I/O error on device sdb, logical block 2
May 18 04:04:23 controller kernel: Buffer I/O error on device sdb, logical block 3
May 18 04:04:23 controller kernel: sd 0:0:1:0: [sdb]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
May 18 04:04:23 controller kernel: sd 0:0:1:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
May 18 04:04:23 controller kernel: end_request: I/O error, dev sdb, sector 0
May 18 04:04:23 controller kernel: Buffer I/O error on device sdb, logical block 0
May 18 04:04:23 controller kernel: sd 0:0:1:0: [sdb]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
May 18 04:04:23 controller kernel: sd 0:0:1:0: [sdb] CDB: Read(10): 28 00 03 bf ff f8 00 00 08 00
May 18 04:04:23 controller kernel: end_request: I/O error, dev sdb, sector 62914552
May 18 04:04:23 controller kernel: Buffer I/O error on device sdb, logical block 7864319
May 18 04:04:23 controller kernel: sd 0:0:1:0: [sdb]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
May 18 04:04:23 controller kernel: sd 0:0:1:0: [sdb] CDB: Read(10): 28 00 03 bf ff f8 00 00 08 00
May 18 04:04:23 controller kernel: end_request: I/O error, dev sdb, sector 62914552
May 18 04:04:23 controller kernel: Buffer I/O error on device sdb, logical block 7864319
May 18 04:04:23 controller kernel: sd 0:0:1:0: [sdb]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
May 18 04:04:23 controller kernel: sd 0:0:1:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 20 00
May 18 04:04:23 controller kernel: end_request: I/O error, dev sdb, sector 0
May 18 04:04:23 controller kernel: Buffer I/O error on device sdb, logical block 0
May 18 04:04:23 controller kernel: Buffer I/O error on device sdb, logical block 1
May 18 04:04:23 controller kernel: Buffer I/O error on device sdb, logical block 2
May 18 04:04:23 controller kernel: sd 0:0:1:0: [sdb]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
May 18 04:04:23 controller kernel: sd 0:0:1:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
May 18 04:04:23 controller kernel: end_request: I/O error, dev sdb, sector 0
May 18 04:08:34 controller kernel: Rounding down aligned max_sectors from 4294967295 to 4294967288
May 18 04:08:34 controller abrt: detected unhandled Python exception in '/usr/bin/cinder-rtstool'
May 18 04:08:34 controller abrtd: New client connected
May 18 04:08:34 controller abrt-server[19488]: Saved Python crash dump of pid 19481 to /var/spool/abrt/pyhook-2015-05-18-04:08:34-19481
May 18 04:08:34 controller abrtd: Directory 'pyhook-2015-05-18-04:08:34-19481' creation detected
May 18 04:08:35 controller abrtd: Package 'openstack-cinder' isn't signed with proper key
May 18 04:08:35 controller abrtd: 'post-create' on '/var/spool/abrt/pyhook-2015-05-18-04:08:34-19481' exited with 1
May 18 04:08:35 controller abrtd: Deleting problem directory '/var/spool/abrt/pyhook-2015-05-18-04:08:34-19481'[/mw_shl_code]

已有(9)人评论

跳转到指定楼层
bob007 发表于 2015-5-18 19:38:58
是否格式化了sdb了
格式化参考

openstack【juno】入门 【cinder外篇】Device /dev/sdb1 not found (or ignored by

回复

使用道具 举报

Tidehunter 发表于 2015-5-18 19:48:45
bob007 发表于 2015-5-18 19:38
是否格式化了sdb了
格式化参考

我把sdb做了个分区,下面是报错结果,难道要对sdb1格式化,有必要么,格式化成哪种格式?
[mw_shl_code=applescript,true]May 18 04:44:30 controller kernel: sd 0:0:1:0: [sdb] Cache data unavailable
May 18 04:44:30 controller kernel: sd 0:0:1:0: [sdb] Assuming drive cache: write through
May 18 04:44:30 controller kernel: sdb: sdb1
May 18 04:46:28 controller kernel: Rounding down aligned max_sectors from 4294967295 to 4294967288
May 18 04:46:28 controller abrt: detected unhandled Python exception in '/usr/bin/cinder-rtstool'
May 18 04:46:28 controller abrtd: New client connected
May 18 04:46:28 controller abrt-server[20700]: Saved Python crash dump of pid 20693 to /var/spool/abrt/pyhook-2015-05-18-04:46:28-20693
May 18 04:46:28 controller abrtd: Directory 'pyhook-2015-05-18-04:46:28-20693' creation detected
May 18 04:46:28 controller abrtd: Package 'openstack-cinder' isn't signed with proper key
May 18 04:46:28 controller abrtd: 'post-create' on '/var/spool/abrt/pyhook-2015-05-18-04:46:28-20693' exited with 1
May 18 04:46:28 controller abrtd: Deleting problem directory '/var/spool/abrt/pyhook-2015-05-18-04:46:28-20693'[/mw_shl_code]
回复

使用道具 举报

Tidehunter 发表于 2015-5-18 19:58:01
bob007 发表于 2015-5-18 19:38
是否格式化了sdb了
格式化参考

并不是找不到盘,而是vg划完了,在启动instance时,在mapping_block_device过程中,/usr/bin/cinder-rtstool这个报错了
回复

使用道具 举报

arsenduan 发表于 2015-5-18 20:36:17
Tidehunter 发表于 2015-5-18 19:58
并不是找不到盘,而是vg划完了,在启动instance时,在mapping_block_device过程中,/usr/bin/cinder-rtst ...

命令贴出来。cinder使用需要一个处理过程的,并不是你添加上、格式化就能用的。

参考这个:
openstack【juno】入门 【cinder篇】二十:cinder介绍及安装配置【控制节点】

openstack【juno】入门 【cinder篇】二十一:安装配置块存储节点(cinder)

如果不是上面说的情况,建议描述清楚。
回复

使用道具 举报

Tidehunter 发表于 2015-5-18 20:49:06
arsenduan 发表于 2015-5-18 20:36
命令贴出来。cinder使用需要一个处理过程的,并不是你添加上、格式化就能用的。

参考这个:

我在dashboard上创建实例报的错误啊,日志在最上面。。。  还需要我贴什么

回复

使用道具 举报

arsenduan 发表于 2015-5-18 21:03:13
Tidehunter 发表于 2015-5-18 20:49
我在dashboard上创建实例报的错误啊,日志在最上面。。。  还需要我贴什么

dashboard功能没有命令完善,最好使用命令,这样对openstack了解的更深一些
回复

使用道具 举报

Alkaloid0515 发表于 2015-5-19 00:19:58
Tidehunter 发表于 2015-5-18 20:49
我在dashboard上创建实例报的错误啊,日志在最上面。。。  还需要我贴什么

感觉楼主需要静下来心来。
学习新知识需要按部就班的。
从楼主提供的信息来看,基本知识有些缺乏,上来就干
别人说点什么,接着就去操作了。
所以首先调整下自己的心态。然后对cinder有一个整体的认识。
然后在来进行更深层次的操作。
如果这样跳跃式的往坑里跳,恐怕那个大神都捞不上来
回复

使用道具 举报

Tidehunter 发表于 2015-5-19 09:13:10
算了  结贴吧  没人解决问题 都是些教书育人的。。。
回复

使用道具 举报

a2901153 发表于 2015-10-13 11:06:39
学习中,攒分中
回复

使用道具 举报

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

本版积分规则

关闭

推荐上一条 /2 下一条