分享

下载的CentOS镜像无法使用

renjie 发表于 2016-4-27 16:00:00 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 4 13028
我安装的是icehouse版本,从网上下载了很多个镜像版本有
centos6.4-x86_64-gold-master.img
CentOS-6-x86_64-GenericCloud-1508.qcow2
CentOS-6-x86_64-GenericCloud-1601.qcow2
但是用这些镜像创建的实例都无法使用,系统报错为:
Call Trace:
[<ffffffff8153d014>] oops_end+0xe4/0x100
[<ffffffff81010f5b>] die+0x5b/0x90
[<ffffffff8153c844>] do_trap+0xc4/0x160
[<ffffffff8100cf55>] do_invalid_op+0x95/0xb0
[<ffffffff8105553b>] ? _barrett+0xd/0x2f
[<ffffffff8100c01b>] invalid_op+0x1b/0x20
[<ffffffff8105553b>] ? _barrett+0xd/0x2f
[<ffffffff81055867>] ? __chksum_finup+0xf7/0x170
[<ffffffff81055912>] chksum_finup+0x12/0x20
[<ffffffff8125e63f>] crypto_shash_finup+0x1f/0x40
[<ffffffff8125e879>] shash_ahash_finup+0x49/0xa0
[<ffffffff8125e9ef>] shash_ahash_digest+0xef/0x110
[<ffffffff8125ea10>] ? shash_async_digest+0x0/0x30
[<ffffffff8125ea34>] shash_async_digest+0x24/0x30
[<ffffffff8125d748>] crypto_ahash_op+0x38/0xf0
[<ffffffff8125d816>] crypto_ahash_digest+0x16/0x20
[<ffffffff81260b84>] test_hash+0x1f4/0x620
[<ffffffff81177547>] ? cache_grow+0x217/0x320
[<ffffffff811785fc>] ? __kmalloc+0x21c/0x230
[<ffffffff81257585>] ? crypto_create_tfm+0x55/0xe0
[<ffffffff81260ff5>] alg_test_hash+0x45/0x80
[<ffffffff81260705>] alg_test+0xc5/0x350
[<ffffffff810672c2>] ? default_wake_function+0x12/0x20
[<ffffffff8125ec60>] ? cryptomgr_test+0x0/0x60
[<ffffffff8125ecae>] cryptomgr_test+0x4e/0x60
[<ffffffff810a0fce>] kthread+0x9e/0xc0
[<ffffffff8100c28a>] child_rip+0xa/0x20
[<ffffffff810a0f30>] ? kthread+0x0/0xc0
[<ffffffff8100c280>] ? child_rip+0x0/0x20
Code: e8 c0 46 d6 ff 48 8b 45 98 48 8d 5c 03 01 69 05 d5 ff 90 00 e8 03 00 00 48 98 48 39 d8 7f ca e8 51 07 b6 ff fb 66 0f 1f 44 00 00 <31> db e8 33 4b bb ff 48 89 df ff 15 aa ff 90 00 bf 58 89 41 00
RIP  [<ffffffff815382d6>] panic+0x14c/0x16f
RSP <ffff88007aaf37a8>
---[ end trace 93d72a36b9146f23 ]---


已有(4)人评论

跳转到指定楼层
renjie 发表于 2016-4-27 17:39:59
详细步骤如下:
我安装Openstack Icehouse版本,有三个节点:
controller0, network0, compute0
下载了CentOS-6-x86_64-GenericCloud-20160331_01.raw
wget http://cloud.centos.org/centos/6 ... oud-1603.raw.tar.gz
解压缩后,再上传到glance:
glance image-create --name="CentOS-6-GenericCloud Raw" --container-format=bare --disk-format=raw --is-public=true < CentOS-6-x86_64-GenericCloud-20160331_01.raw
用该镜像创建实例,类型为m1.small,
查看该实例的日志:compute0:/var/lib/nova/instances/70d71b6a-c3a2-4ca2-ba59-
34524ad4abb4/console.log:
里面的内容如下:
[<ffffffff8153da44>] oops_end+0xe4/0x100
[<ffffffff81010fab>] die+0x5b/0x90
[<ffffffff8153d274>] do_trap+0xc4/0x160
[<ffffffff8100cd95>] do_invalid_op+0x95/0xb0
[<ffffffff8105553b>] ? _barrett+0xd/0x2f
[<ffffffff8100c01b>] invalid_op+0x1b/0x20
[<ffffffff8105553b>] ? _barrett+0xd/0x2f
[<ffffffff81055af7>] ? __chksum_finup+0x187/0x210
[<ffffffff81055bb2>] chksum_finup+0x12/0x20
[<ffffffff8125ec5f>] crypto_shash_finup+0x1f/0x40
[<ffffffff8125ee99>] shash_ahash_finup+0x49/0xa0
[<ffffffff8125f00f>] shash_ahash_digest+0xef/0x110
[<ffffffff8125f030>] ? shash_async_digest+0x0/0x30
[<ffffffff8125f054>] shash_async_digest+0x24/0x30
[<ffffffff8125dd68>] crypto_ahash_op+0x38/0xf0
[<ffffffff8125de36>] crypto_ahash_digest+0x16/0x20
[<ffffffff812611a4>] test_hash+0x1f4/0x610
[<ffffffff81177b67>] ? cache_grow+0x217/0x320
[<ffffffff81178c1c>] ? __kmalloc+0x21c/0x230
[<ffffffff81257b75>] ? crypto_create_tfm+0x55/0xe0
[<ffffffff81257b75>] ? crypto_create_tfm+0x55/0xe0
[<ffffffff81261605>] alg_test_hash+0x45/0x80
[<ffffffff81260d25>] alg_test+0xc5/0x350
[<ffffffff81067682>] ? default_wake_function+0x12/0x20
[<ffffffff8125f280>] ? cryptomgr_test+0x0/0x60
[<ffffffff8125f2ce>] cryptomgr_test+0x4e/0x60
[<ffffffff810a138e>] kthread+0x9e/0xc0
[<ffffffff8100c28a>] child_rip+0xa/0x20
[<ffffffff810a12f0>] ? kthread+0x0/0xc0
[<ffffffff8100c280>] ? child_rip+0x0/0x20
Code: e8 90 42 d6 ff 48 8b 45 98 48 8d 5c 03 01 69 05 c5 f5 90 00 e8 03 00 00 48 98 48 39 d8 7f ca e8 01 01 b6 ff fb 66 0f 1f 44 00 00 <31> db e8 03 45 bb ff 48 89 df ff 15 9a f5 90 00 bf 58 89 41 00
RIP  [<ffffffff81538ce6>] panic+0x14c/0x16f
RSP <ffff88007aaf7798>
---[ end trace 93d72a36b9146f23 ]---
回复

使用道具 举报

renjie 发表于 2016-4-27 17:43:35
我安装Openstack Icehouse版本,有三个节点:
controller0, network0, compute0
下载了CentOS-6-x86_64-GenericCloud-20160331_01.raw
wget http://cloud.centos.org/centos/6 ... oud-1603.raw.tar.gz
解压缩后,再上传到glance:
glance image-create --name="CentOS-6-GenericCloud Raw" --container-format=bare --disk-format=raw --is-public=true < CentOS-6-x86_64-GenericCloud-20160331_01.raw
用该镜像创建实例,类型为m1.small,
查看该实例的日志:compute0:/var/lib/nova/instances/70d71b6a-c3a2-4ca2-ba59-
34524ad4abb4/console.log:
里面的内容如下:
[<ffffffff8153da44>] oops_end+0xe4/0x100
[<ffffffff81010fab>] die+0x5b/0x90
[<ffffffff8153d274>] do_trap+0xc4/0x160
[<ffffffff8100cd95>] do_invalid_op+0x95/0xb0
[<ffffffff8105553b>] ? _barrett+0xd/0x2f
[<ffffffff8100c01b>] invalid_op+0x1b/0x20
[<ffffffff8105553b>] ? _barrett+0xd/0x2f
[<ffffffff81055af7>] ? __chksum_finup+0x187/0x210
[<ffffffff81055bb2>] chksum_finup+0x12/0x20
[<ffffffff8125ec5f>] crypto_shash_finup+0x1f/0x40
[<ffffffff8125ee99>] shash_ahash_finup+0x49/0xa0
[<ffffffff8125f00f>] shash_ahash_digest+0xef/0x110
[<ffffffff8125f030>] ? shash_async_digest+0x0/0x30
[<ffffffff8125f054>] shash_async_digest+0x24/0x30
[<ffffffff8125dd68>] crypto_ahash_op+0x38/0xf0
[<ffffffff8125de36>] crypto_ahash_digest+0x16/0x20
[<ffffffff812611a4>] test_hash+0x1f4/0x610
[<ffffffff81177b67>] ? cache_grow+0x217/0x320
[<ffffffff81178c1c>] ? __kmalloc+0x21c/0x230
[<ffffffff81257b75>] ? crypto_create_tfm+0x55/0xe0
[<ffffffff81257b75>] ? crypto_create_tfm+0x55/0xe0
[<ffffffff81261605>] alg_test_hash+0x45/0x80
[<ffffffff81260d25>] alg_test+0xc5/0x350
[<ffffffff81067682>] ? default_wake_function+0x12/0x20
[<ffffffff8125f280>] ? cryptomgr_test+0x0/0x60
[<ffffffff8125f2ce>] cryptomgr_test+0x4e/0x60
[<ffffffff810a138e>] kthread+0x9e/0xc0
[<ffffffff8100c28a>] child_rip+0xa/0x20
[<ffffffff810a12f0>] ? kthread+0x0/0xc0
[<ffffffff8100c280>] ? child_rip+0x0/0x20
Code: e8 90 42 d6 ff 48 8b 45 98 48 8d 5c 03 01 69 05 c5 f5 90 00 e8 03 00 00 48 98 48 39 d8 7f ca e8 01 01 b6 ff fb 66 0f 1f 44 00 00 <31> db e8 03 45 bb ff 48 89 df ff 15 9a f5 90 00 bf 58 89 41 00
RIP  [<ffffffff81538ce6>] panic+0x14c/0x16f
RSP <ffff88007aaf7798>
---[ end trace 93d72a36b9146f23 ]---
我还下载了其它QCOW2格式的镜像,也都出现了一样的错误。

请能帮忙看下,到底是什么问题?
回复

使用道具 举报

starrycheng 发表于 2016-4-27 18:07:47
楼主参考下这些文档吧
openstack镜像制作思路、指导及问题总结
http://www.aboutyun.com/forum.php?mod=viewthread&tid=6617


openstack镜像制作指南
http://www.aboutyun.com/forum.php?mod=viewthread&tid=14416
制作openstack所使用的centos6.5镜像

http://www.aboutyun.com/forum.php?mod=viewthread&tid=13877
OpenStack-CentOS 6.4镜像制作

http://www.aboutyun.com/forum.php?mod=viewthread&tid=6869


回复

使用道具 举报

renjie 发表于 2016-5-25 10:10:46
以上问题已解决。原因是openstack安装的问题。后来我安装Openstack Juno,这个问题就不存在了。
回复

使用道具 举报

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

本版积分规则

关闭

推荐上一条 /2 下一条