[nova][ops] Help with kernel panic on cirros image boot process.

Jorge Luiz Correa correajl at gmail.com
Thu Apr 4 13:53:45 UTC 2019

Hi all!

I'm having kernel panic randomically with cirros image. Sometimes the
instances boots, sometimes not.

I'm using Openstack Queens, Ubuntu Server 18.04 and KVM (following the
install guide). The nova/instances directory, where are stored
ephemeral disks, is over a GlusterFS system.

I've noted that other images, like Ubuntu Cloud Image, do not get this
error. It's just with cirros and sometimes.

I appreciate any help guiding on where I can look for to identify what
is causing these errors. I've analyzed libvirt logs and them show just
a launched instance, everything ok. The _base/<ID> file used to launch
the instances is the same that is used with cirros instances that
worked (it's in a GlusterFS). Something got wrong during the instance
boot process.

Boot log:

[    1.586076] EDD information not available.
[    1.590261] Freeing unused kernel memory: 1480K (ffffffff81f42000 -
[    1.594823] Write protecting the kernel read-only data: 14336k
[    1.598951] Freeing unused kernel memory: 1860K (ffff88000182f000 -
[    1.625178] Freeing unused kernel memory: 168K (ffff880001dd6000 -

info: initramfs: up at 1.07
modprobe: module virtio_pci not found in modules.dep
modprobe: module virtio_blk not found in modules.dep
modprobe: module virtio_net not found in modules.dep
modprobe: module vfat not found in modules.dep
modprobe: module nls_cp437 not found in modules.dep
info: copying initramfs to /dev/vda1
[    2.028648] jbd2_journal_bmap: journal block not found at offset 12 on vda1-8
[    2.034075] Aborting journal on device vda1-8.
mount: mounting /dev on ./dev failed: No such file or directory
info: initramfs loading root from /dev/vda1
switch_root: can't execute '/sbin/init': No such file or directory
[    2.692399] Kernel panic - not syncing: Attempted to kill init!
[    2.692399]
[    2.696061] CPU: 0 PID: 1 Comm: switch_root Not tainted
4.4.0-28-generic #47-Ubuntu
[    2.699012] Hardware name: OpenStack Foundation OpenStack Nova,
BIOS 1.10.2-1ubuntu1 04/01/2014
[    2.702373]  0000000000000086 000000004016d54a ffff88003e2fbe10
[    2.705849]  ffffffff81cb10d8 ffff88003e2fbea8 ffff88003e2fbe98
[    2.709353]  ffff880000000010 ffff88003e2fbea8 ffff88003e2fbe40
[    2.712875] Call Trace:
[    2.714013]  [<ffffffff813eb1a3>] dump_stack+0x63/0x90
[    2.715995]  [<ffffffff8118bf57>] panic+0xd3/0x215
[    2.717840]  [<ffffffff81184e1e>] ? perf_event_exit_task+0xbe/0x350
[    2.720105]  [<ffffffff81084541>] do_exit+0xae1/0xaf0
[    2.722090]  [<ffffffff810845d3>] do_group_exit+0x43/0xb0
[    2.724150]  [<ffffffff81084654>] SyS_exit_group+0x14/0x20
[    2.726207]  [<ffffffff818276b2>] entry_SYSCALL_64_fastpath+0x16/0x71
[    2.729271] Kernel Offset: disabled
[    2.730741] ---[ end Kernel panic - not syncing: Attempted to kill
init! exitcode=0x00000100

Thank you!

More information about the openstack-discuss mailing list