Docker容器使用过程中触发了宿主机Crash

zhang_gq 发布于 2016/05/28 14:59
阅读 1K+
收藏 0

环境是这样的,在Vmware上起虚机,安装了Centos7.1.1503的Base Web Server版本。在其基础上安装docker,并启动Centos7.1.1503的docker容器,容器中安装openstack kilo版本。运行过程中宿主机系统突然Crash,而此时容器中并没有做什么操作。

Crash部分日志如下:

[90337.470999] device qr-1309f530-fc entered promiscuous mode
[91463.675866] device veth1pl30778 left promiscuous mode
[91463.675908] br0: port 2(veth1pl30778) entered disabled state
[91519.165094] XFS (dm-3): Mounting V4 Filesystem
[91519.240631] XFS (dm-3): Ending clean mount
[91519.240648] SELinux: initialized (dev dm-3, type xfs), uses xattr
[91519.345969] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[91519.373317] SELinux: initialized (dev mqueue, type mqueue), uses transition SIDs
[91519.373979] IPVS: Creating netns size=2032 id=9
[91519.374217] SELinux: initialized (dev proc, type proc), uses genfs_contexts
[91519.392949] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[91519.393044] SELinux: initialized (dev devpts, type devpts), uses transition SIDs
[91519.393616] SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
[91519.393936] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[91520.018018] device veth1pl29855 entered promiscuous mode
[91520.019111] IPv6: ADDRCONF(NETDEV_UP): veth1pl29855: link is not ready
[91520.157206] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[91520.205487] IPv6: ADDRCONF(NETDEV_CHANGE): veth1pl29855: link becomes ready
[91520.205516] br0: port 2(veth1pl29855) entered forwarding state
[91520.205519] br0: port 2(veth1pl29855) entered forwarding state
[91520.546132] device vens192pl29855 entered promiscuous mode
[91520.547192] IPv6: ADDRCONF(NETDEV_UP): vens192pl29855: link is not ready
[91520.547196] br1: port 3(vens192pl29855) entered forwarding state
[91520.547200] br1: port 3(vens192pl29855) entered forwarding state
[91520.709692] SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
[91520.755182] IPv6: ADDRCONF(NETDEV_CHANGE): vens192pl29855: link becomes ready
[91520.910045] device vens224pl29855 entered promiscuous mode
[91520.913025] IPv6: ADDRCONF(NETDEV_UP): vens224pl29855: link is not ready
[91520.913029] br2: port 3(vens224pl29855) entered forwarding state
[91520.913033] br2: port 3(vens224pl29855) entered forwarding state
[91521.026734] br2: port 3(vens224pl29855) entered disabled state
[91521.064058] SELinux: initialized (dev hugetlbfs, type hugetlbfs), uses transition SIDs
[91521.114385] IPv6: ADDRCONF(NETDEV_CHANGE): vens224pl29855: link becomes ready
[91521.114417] br2: port 3(vens224pl29855) entered forwarding state
[91521.114422] br2: port 3(vens224pl29855) entered forwarding state
[91521.157323] end_request: I/O error, dev fd0, sector 0
[91521.402652] systemd-udevd[32]: starting version 208
[91522.336222] end_request: I/O error, dev fd0, sector 0
[91524.374677] intel_rapl: domain package energy ctr 0:0 not working, skip
[91524.506934] intel_rapl: domain core energy ctr 0:0 not working, skip
[91524.642437] intel_rapl: domain uncore energy ctr 0:0 not working, skip
[91524.777244] intel_rapl: domain dram energy ctr 0:0 not working, skip
[91524.777247] intel_rapl: no valid rapl domains found in package 0
[91524.826352] device ovs-system entered promiscuous mode
[91524.826562] openvswitch: netlink: Unknown key attribute (type=62, max=21).
[91524.865220] device br-ex entered promiscuous mode
[91524.865412] device ens224 entered promiscuous mode
[91524.899459] device br-int entered promiscuous mode
[91524.903144] device tap339c2e31-58 entered promiscuous mode
[91524.906209] device qr-1309f530-fc entered promiscuous mode
[91524.910658] device qr-45e21002-ed entered promiscuous mode
[91524.914585] device tap49df5ef2-f5 entered promiscuous mode
[91524.914907] device ens192 entered promiscuous mode
[91524.924507] intel_rapl: domain package energy ctr 0:0 not working, skip
[91524.955483] device br-vlan entered promiscuous mode
[91525.055271] intel_rapl: domain core energy ctr 0:0 not working, skip
[91525.190580] intel_rapl: domain uncore energy ctr 0:0 not working, skip
[91525.326202] intel_rapl: domain dram energy ctr 0:0 not working, skip
[91525.326207] intel_rapl: no valid rapl domains found in package 0
[91525.474397] intel_rapl: domain package energy ctr 0:0 not working, skip
[91525.609771] intel_rapl: domain core energy ctr 0:0 not working, skip
[91525.744894] intel_rapl: domain uncore energy ctr 0:0 not working, skip
[91525.880407] intel_rapl: domain dram energy ctr 0:0 not working, skip
[91525.880411] intel_rapl: no valid rapl domains found in package 0
[91526.026378] intel_rapl: domain package energy ctr 0:0 not working, skip
[91526.162079] intel_rapl: domain core energy ctr 0:0 not working, skip
[91526.297704] intel_rapl: domain uncore energy ctr 0:0 not working, skip
[91526.432515] intel_rapl: domain dram energy ctr 0:0 not working, skip
[91526.432519] intel_rapl: no valid rapl domains found in package 0
[91528.459707] systemd-journald[16]: Received request to flush runtime journal from PID 1
[91535.245195] br0: port 2(veth1pl29855) entered forwarding state
[91535.565475] br1: port 3(vens192pl29855) entered forwarding state
[91536.141883] br2: port 3(vens224pl29855) entered forwarding state
[91693.977943] device br-ex left promiscuous mode
[91694.006031] device ens224 left promiscuous mode
[91694.006057] device br-vlan left promiscuous mode
[91694.031267] device ens192 left promiscuous mode
[91694.031296] device br-int left promiscuous mode
[91694.065161] BUG: unable to handle kernel paging request at 0000001fffffffe7
[91694.065218] IP: [<ffffffffa03caf89>] __dp_destroy+0x39/0xe0 [openvswitch]
[91694.065269] PGD 108bb2067 PUD 0 
[91694.065294] Oops: 0000 [#1] SMP 
[91694.065319] Modules linked in: xt_REDIRECT xt_mark xt_CHECKSUM xt_comment veth ipt_MASQUERADE nf_nat_masquerade_ipv4 xt_addrtype xt_conntrack dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio loop coretemp crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd ppdev vmw_balloon pcspkr serio_raw shpchp sg i2c_piix4 parport_pc parport vmw_vmci ip_vs openvswitch gre vxlan ip_tunnel ip_set_hash_net ip_set nfnetlink iptable_security iptable_raw iptable_mangle iptable_filter iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip6t_rpfilter ip6t_REJECT ip6table_security ip6table_raw ip6table_mangle ip6table_filter ip6_tables ebt_arp ebtable_broute bridge stp llc ebtable_filter ebtable_nat ebtables ip_tables xfs
[91694.065865]  libcrc32c sd_mod sr_mod cdrom crc_t10dif crct10dif_common ata_generic pata_acpi vmwgfx drm_kms_helper ttm e1000 drm mptspi scsi_transport_spi mptscsih mptbase ata_piix libata i2c_core floppy dm_mirror dm_region_hash dm_log dm_mod
[91694.066035] CPU: 3 PID: 10372 Comm: kworker/u8:2 Not tainted 3.10.0-229.el7.x86_64 #1
[91694.066082] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 04/14/2014
[91694.066149] Workqueue: netns cleanup_net
[91694.066175] task: ffff880084e56660 ti: ffff8800b7b7c000 task.ti: ffff8800b7b7c000
[91694.066220] RIP: 0010:[<ffffffffa03caf89>]  [<ffffffffa03caf89>] __dp_destroy+0x39/0xe0 [openvswitch]
[91694.066280] RSP: 0018:ffff8800b7b7fd58  EFLAGS: 00010206
[91694.066312] RAX: ffff8800606a17b8 RBX: 0000001fffffffff RCX: 0000000000651439
[91694.066408] RDX: 0000000000651438 RSI: ffffea0002df53c0 RDI: 0000001fffffffc7
[91694.066452] RBP: ffff8800b7b7fd70 R08: 0000000000016380 R09: ffff88013fd96380
[91694.066494] R10: ffffea0002be8c80 R11: ffffffff812d7368 R12: 0000000000000038
[91694.066536] R13: ffff8800763c4a80 R14: ffffffffa03d5020 R15: 0000000000000100
[91694.066580] FS:  0000000000000000(0000) GS:ffff88013fd80000(0000) knlGS:0000000000000000
[91694.066627] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[91694.066733] CR2: 0000001fffffffe7 CR3: 0000000101407000 CR4: 00000000000407e0
[91694.066824] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[91694.066924] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[91694.069048] Stack:
[91694.070996]  ffff88001a51e8b0 ffff88001a51e8c0 ffffffffa03d5018 ffff8800b7b7fd90
[91694.072337]  ffffffffa03cb093 ffff880138178000 ffff8800b7b7fde0 ffff8800b7b7fdc0
[91694.073681]  ffffffff814f4919 ffffffffa03d5000 ffff8800b7b7fde0 ffff8800b7b7fdd0
[91694.074988] Call Trace:
[91694.076263]  [<ffffffffa03cb093>] ovs_exit_net+0x63/0xa0 [openvswitch]
[91694.077750]  [<ffffffff814f4919>] ops_exit_list.isra.1+0x39/0x60
[91694.079047]  [<ffffffff814f51c0>] cleanup_net+0x110/0x260
[91694.080326]  [<ffffffff8108f1db>] process_one_work+0x17b/0x470
[91694.081615]  [<ffffffff8108ffbb>] worker_thread+0x11b/0x400
[91694.082824]  [<ffffffff8108fea0>] ? rescuer_thread+0x400/0x400
[91694.084012]  [<ffffffff8109739f>] kthread+0xcf/0xe0
[91694.085161]  [<ffffffff810972d0>] ? kthread_create_on_node+0x140/0x140
[91694.086294]  [<ffffffff8161497c>] ret_from_fork+0x7c/0xb0
[91694.087437]  [<ffffffff810972d0>] ? kthread_create_on_node+0x140/0x140
[91694.088521] Code: 41 54 45 31 e4 53 0f 1f 40 00 49 8b 45 48 4a 8b 04 20 48 85 c0 74 29 48 8d 78 c8 eb 0e 0f 1f 44 00 00 48 85 db 74 19 48 8d 7b c8 <66> 83 7f 20 00 48 8b 5f 38 74 ec e8 67 fe ff ff 48 85 db 75 e7 
[91694.091872] RIP  [<ffffffffa03caf89>] __dp_destroy+0x39/0xe0 [openvswitch]
[91694.093167]  RSP <ffff8800b7b7fd58>
[91694.094367] CR2: 0000001fffffffe7




加载中
0
让往事随风
让往事随风
推荐一个学习资料给你,试着研究一下吧:http://edu.51cto.com/course/course_id-4761.html
0
zhang_gq
zhang_gq

自己给自己顶一个,centos内核太低(人家Ubuntu就与时俱进多了),升级到了4.x之后该问题就没了。

返回顶部
顶部