ubuntu/ipa ramdisk cannot be boot successfully

Bug #1488445 reported by Ligong Duan on 2015-08-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
High
Ligong Duan

Bug Description

When we use the ramdisk created based on the "ubuntu" and "ironic-agent" elements to boot a baremetal server with ironic agent-ilo driver, the OS cannot be boot successfully. Below are the detailed console log:

[ 8.876618] Write protecting the kernel read-only data: 12288k
[ 8.906918] Freeing unused kernel memory: 796K (ffff880001739000 - ffff880001800000)
[ 8.947367] Freeing unused kernel memory: 688K (ffff880001b54000 - ffff880001c00000)
Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory
[ 8.998381] random: init urandom read with 2 bits of entropy available
[ 9.009227] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 9.014010] init: Error while reading from descriptor: Bad file descriptor
[ 9.016295] init: Error while reading from descriptor: Bad file descriptor
[ 9.018655] init: plymouth-ready (startup) main process (212) terminated with status 127
[ 9.021324] init: plymouth-upstart-bridge main process (213) terminated with status 1
[ 9.023722] init: plymouth-upstart-bridge main process ended, respawning
[ 9.025919] init: hwclock main process (216) terminated with status 127
[ 9.036650] init: plymouth-upstart-bridge main process (221) terminated with status 1
[ 9.039194] init: plymouth-upstart-bridge main process ended, respawning
[ 9.045018] init: plymouth-upstart-bridge main process (226) terminated with status 1
[ 9.047567] init: plymouth-upstart-bridge main process ended, respawning
[ 9.055948] init: plymouth main process (227) terminated with status 71
[ 9.058092] init: plymouth-upstart-bridge main process (230) terminated with status 1
[ 9.060508] init: plymouth-upstart-bridge main process ended, respawning
[ 9.066196] init: mountall main process (229) terminated with status 127
[ 9.141571] usb 1-1: New USB device found, idVendor=8087, idProduct=0024
[ 9.143670] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 9.146363] hub 1-1:1.0: USB hub found
[ 9.147693] hub 1-1:1.0: 6 ports detected
[ 9.261111] usb 2-1: new high-speed USB device number 2 using ehci-pci
[ 9.393459] usb 2-1: New USB device found, idVendor=8087, idProduct=0024
[ 9.395704] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 9.398192] hub 2-1:1.0: USB hub found
[ 9.399613] hub 2-1:1.0: 8 ports detected
[ 9.469036] tsc: Refined TSC clocksource calibration: 1795.672 MHz
[ 9.513021] usb 3-1: new full-speed USB device number 2 using uhci_hcd
[ 9.662991] usb 3-1: New USB device found, idVendor=03f0, idProduct=7029
[ 9.665189] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 9.667384] usb 3-1: Product: Virtual Keyboard
[ 9.668828] usb 3-1: Manufacturer: HP
[ 9.784898] usb 3-2: new full-speed USB device number 3 using uhci_hcd
[ 9.927177] usb 3-2: New USB device found, idVendor=03f0, idProduct=2127
[ 9.929297] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 9.931688] usb 3-2: Product: iLO Virtual USB Key
[ 9.933130] usb 3-2: Manufacturer: HP
[ 10.008930] usb 2-1.1: new high-speed USB device number 3 using ehci-pci
[ 10.102296] usb 2-1.1: New USB device found, idVendor=03f0, idProduct=2027
[ 10.104481] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 10.106813] usb 2-1.1: Product: iLO Virtual USB CD/DVD ROM
[ 10.108525] usb 2-1.1: Manufacturer: HP
[ 10.180856] usb 2-1.3: new high-speed USB device number 4 using ehci-pci
[ 10.273060] usb 2-1.3: New USB device found, idVendor=0424, idProduct=2660
[ 10.275294] usb 2-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 10.277922] hub 2-1.3:1.0: USB hub found
[ 10.279300] hub 2-1.3:1.0: 2 ports detected
[ 10.468777] Switched to clocksource tsc
[ 18.868776] usb 3-1: USB disconnect, device number 2
[ 21.091736] usb 3-1: new full-speed USB device number 4 using uhci_hcd
[ 21.241356] usb 3-1: New USB device found, idVendor=03f0, idProduct=7029
[ 21.243483] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 21.245689] usb 3-1: Product: Virtual Keyboard
[ 21.247088] usb 3-1: Manufacturer: HP
[ 31.015240] usb 3-1: USB disconnect, device number 4
[ 33.238203] usb 3-1: new full-speed USB device number 5 using uhci_hcd
[ 33.387932] usb 3-1: New USB device found, idVendor=03f0, idProduct=7029
[ 33.390054] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 33.392255] usb 3-1: Product: Virtual Keyboard
[ 33.393652] usb 3-1: Manufacturer: HP
[ 42.913819] usb 3-1: USB disconnect, device number 5
[ 45.136768] usb 3-1: new full-speed USB device number 6 using uhci_hcd
[ 45.286770] usb 3-1: New USB device found, idVendor=03f0, idProduct=7029
[ 45.288922] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

Ligong Duan (duanlg) wrote :
Changed in diskimage-builder:
assignee: nobody → Ligong Duan (duanlg)
status: New → In Progress
Ligong Duan (duanlg) on 2015-08-26
description: updated
Changed in diskimage-builder:
importance: Undecided → High

Reviewed: https://review.openstack.org/215060
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=398494568a5bcfebc25ba2cef79830353afb8ac9
Submitter: Jenkins
Branch: master

commit 398494568a5bcfebc25ba2cef79830353afb8ac9
Author: Gary Duan <email address hidden>
Date: Tue Aug 25 16:29:37 2015 +0800

    Contains the directory name of /sys and /proc

    When a ubuntu/IPA ramdisk is used to boot a baremetal machine with
    ironic agent-ilo driver, it fails at the point of mounting /proc
    and /sys. After the vmlinuz(kernel) is started and it tries to
    load the partitions on ramdisk. It need the directory of "/sys"
    and "/proc" to mount the corresponding filesystems.
    In order to fix this issue, the directories of "sys" and "proc"
    are retained but the subdirectories or files under them are empty.
    With this change, the directories of "/sys" and "/proc" shows
    up in the ramdisk and kernel will mount sys and proc filesystems
    on them respectively.

    Closes-Bug: #1488445
    Change-Id: Iad5d62f373b73789118f23db4c932ea6e9a784c3
    Signed-off-by: Gary Duan <email address hidden>

Changed in diskimage-builder:
status: In Progress → Fix Committed
Changed in diskimage-builder:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Changed in diskimage-builder:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers