← Back to team overview

kernel-packages team mailing list archive

[Bug 1311987] Re: deploy-ironic ramdisks do not boot: Failed to execute /init (error -28)

 

This turns out to be a kernel issue, either upstream or in Ubuntu.
Bisected to the following, which was released in 3.12.

commit 16203a7a9422315bc929461503e3a046459ea5ff
Author: Rob Landley <rob@xxxxxxxxxxx>
Date:   Wed Sep 11 14:26:12 2013 -0700

    initmpfs: make rootfs use tmpfs when CONFIG_TMPFS enabled
    
    Conditionally call the appropriate fs_init function and fill_super
    functions.  Add a use once guard to shmem_init() to simply succeed on a
    second call.
    
    (Note that IS_ENABLED() is a compile time constant so dead code
    elimination removes unused function calls when CONFIG_TMPFS is disabled.)

I agree this is an edge case for tripleO but not so much for general
Ironic usage, as admins should be free to declare nodes with as little
memory as they want, and DIB produced deploy-ironic ramdisks should be
expected to work.

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1311987

Title:
  deploy-ironic ramdisks do not boot:  Failed to execute /init (error
  -28)

Status in Openstack disk image builder:
  Triaged
Status in “linux” package in Ubuntu:
  New

Bug description:
  The default ubuntu release for ramdisks was bumped to Trusty
  https://review.openstack.org/#/c/88384/  Ironic + devstack deployments
  stopped functioning.  The ramdisk fails to run init, crashing with the
  following error:

  [   23.154016] Failed to execute /init (error -28)
  [   23.154909] Starting init: /sbin/init exists but couldn't execute it (error -28)
  [   23.156388] Starting init: /bin/init exists but couldn't execute it (error -28)
  [   23.157490] Starting init: /bin/sh exists but couldn't execute it (error -28)
  [   23.160313] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
  [   23.164146] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.13.0-24-generic #46-Ubuntu
  [   23.164146] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
  [   23.164146]  0000000000000000 ffff88001a3a9ec0 ffffffff81715a64 ffffffff81a39f38
  [   23.164146]  ffff88001a3a9f38 ffffffff8170ec65 0000000000000008 ffff88001a3a9f48
  [   23.164146]  ffff88001a3a9ee8 ffffffff81a39a38 0000000013981396 0000000000001396
  [   23.164146] Call Trace:
  [   23.164146]  [<ffffffff81715a64>] dump_stack+0x45/0x56
  [   23.164146]  [<ffffffff8170ec65>] panic+0xc8/0x1d7
  [   23.164146]  [<ffffffff81703f40>] ? rest_init+0x80/0x80
  [   23.164146]  [<ffffffff81704062>] kernel_init+0x122/0x130
  [   23.164146]  [<ffffffff8172637c>] ret_from_fork+0x7c/0xb0
  [   23.164146]  [<ffffffff81703f40>] ? rest_init+0x80/0x80
  [   23.164146] general protection fault: fff2 [#1] SMP
  [   23.164146] Modules linked in:
  [   23.164146] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.13.0-24-generic #46-Ubuntu
  [   23.164146] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
  [   23.164146] task: ffff88001a3a0000 ti: ffff88001a3a8000 task.ti: ffff88001a3a8000
  [   23.164146] RIP: 0010:[<ffffffff8170ed30>]  [<ffffffff8170ed30>] panic+0x193/0x1d7
  [   23.164146] RSP: 0000:ffff88001a3a9ed0  EFLAGS: 00000246
  [   23.164146] RAX: 0000000014a814a8 RBX: ffffffff81a39f38 RCX: 0000000000000854
  [   23.164146] RDX: 00000000000014a8 RSI: 0000000000000000 RDI: 0000000000000046

  #define ENOSPC      28  /* No space left on device */

  Setting DIB_RELEASE=saucy fixes the issue.    A saucy ramdisk is 83M
  compressed, 238M decompressed.  trusty ramdisk is 87M compressed, 245M
  decompressed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/diskimage-builder/+bug/1311987/+subscriptions