Azure上的一个kernel panic测试

   今天意外发现,如果在Azure上的Centos 6.8 or 6.9的虚拟机上如果执行了“sudo yum remove -y net-tools”后,再执行重新部署的话,虚拟机就会出现“kernel panic”的报错,导致虚拟机无法正常启动。

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
dracut Warning: Boot has failed. To debug this issue add "rdshell" to the kernel command line.

dracut Warning: Signal caught!

dracut Warning: Boot has failed. To debug this issue add "rdshell" to the kernel command line.
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: init Not tainted 2.6.32-642.15.1.el6.x86_64 #1
Call Trace:
[<ffffffff815484e1>] ? panic+0xa7/0x179
[<ffffffff8112b080>] ? perf_event_exit_task+0xc0/0x340
[<ffffffff81081f97>] ? do_exit+0x867/0x870
[<ffffffff8119b915>] ? fput+0x25/0x30
[<ffffffff81081ff8>] ? do_group_exit+0x58/0xd0
[<ffffffff81082087>] ? sys_exit_group+0x17/0x20
[<ffffffff8100b0d2>] ? system_call_fastpath+0x16/0x1b
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

不知其原因为何?

猜你喜欢

转载自blog.51cto.com/jiaxiaolei/2139168