[Openstack] Help with non booting images (problem with root file system)

Jorge Luiz Correa correajl at gmail.com
Fri Jan 20 16:05:37 UTC 2017


Yes, I've tried with 0 (without define a minimum size) and with large
sizes. Same error.

Two things that I've noted:

1) When I create a volume based on the image, I can boot the system
normally. But, when I try to launch the instance as ephemeral disk (without
volume on storage), I get the error.

2) When I use 'file' to compare the backing file on compute nodes (the
image that compute nodes download from glance on controller, in
/var/lib/nova/instances/_base) I see different information between the
Cirros image (that works) and Ubuntu (that fails).

file Cirros -> DOS/MBR boot sector; GRand Unified Bootloader, stage1
version 0x3, stage2 address 0x2000, stage2 segment 0x200

file Ubuntu -> DOS/MBR boot sector

Could this be the problem?

- JLC

On Fri, Jan 20, 2017 at 11:47 AM, George Mihaiescu <lmihaiescu at gmail.com>
wrote:

> Check if the flavour you chose has a large enough root disk.
>
> On Jan 20, 2017, at 08:25, Jorge Luiz Correa <correajl at gmail.com> wrote:
>
> Hi, I need some help with images that I can't boot. I've here some images
> like Cirros, Ubuntu, Fedora, CentOS etc. All downloaded as indicated here:
>
> http://docs.openstack.org/image-guide/obtain-images.html
>
> Some weeks ago they were working fine. But now, I can boot only Cirros
> image. Ubuntu, Fedora, CentOS etc give me the same error, as bellow
> (example of Ubuntu).
>
> ------------------------
>
> Begin: Running /scripts/init-premount ... done.
> Begin: Mounting root file system ... Begin: Running /scripts/local-top ...
> done.
> Begin: Running /scripts/local-premount ... [    4.703377] Btrfs loaded
> Scanning for Btrfs filesystems
> done.
> Begin: Waiting for root file system ... Begin: Running
> /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done.
> done.
> Gave up waiting for root device.  Common problems:
>  - Boot args (cat /proc/cmdline)
>    - Check rootdelay= (did the system wait long enough?)
>    - Check root= (did the system wait for the right device?)
>  - Missing modules (cat /proc/modules; ls /dev)
> ALERT!  LABEL=cloudimg-rootfs does not exist.  Dropping to a shell!
>
>
> BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) built-in shell (ash)
> Enter 'help' for a list of built-in commands.
>
> (initramfs) [  722.260923] random: nonblocking pool is initialized
>
> ------------------------
>
> Tests already done:
>
> - download all images again and update on glance;
> - delete files in instance/_base diretory of compute nodes forcing them
> download new images from controller;
> - look for errors on logs (no errors, images are spawned normally);
>
> Tks!
>
> - JLC
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170120/1b149313/attachment.html>


More information about the Openstack mailing list