← Back to team overview

openstack team mailing list archive

Re: instance disk space

 

2012/11/9 John Garbutt <John.Garbutt@xxxxxxxxxx>

> Sounds like a bug worth reporting.****
>
> ** **
>
> What flavor where you selecting, and what image were you using?
>

I created a flavor (RAM: 128 MB, Root disk: 10 GB, Ephemeral disk: 10 GB,
CPU:1)
I used an ubuntu image.

> ****
>
> ** **
>
> There is some code in XenAPI driver that tries to resize the partition of
> the disk, and the file system on it, if I remember correctly. Can you see
> that in the logs? Maybe it fails because your image doesn’t have a file
> system type it expects, or doesn’t have a partition table on the disk, or
> vv.
>

the dmesg command (launched in the instance) shows the following log
dmesg
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.2.0-23-virtual (buildd@crested) (gcc version
4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu4) ) #36-Ubuntu SMP Tue Apr 10 22:29:03
UTC 2012 (Ubuntu 3.2.0-23.36-virtual 3.2.14)
[    0.000000] Command line: root=/dev/xvda1
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] ACPI in unprivileged domain disabled
[    0.000000] Released 0 pages of unused memory
[    0.000000] Set 0 page(s) to 1-1 mapping
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  Xen: 0000000000000000 - 00000000000a0000 (usable)
[    0.000000]  Xen: 00000000000a0000 - 0000000000100000 (reserved)
[    0.000000]  Xen: 0000000000100000 - 0000000008000000 (usable)
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] e820 update range: 0000000000000000 - 0000000000010000
(usable) ==> (reserved)
[    0.000000] e820 remove range: 00000000000a0000 - 0000000000100000
(usable)
[    0.000000] No AGP bridge found
[    0.000000] last_pfn = 0x8000 max_arch_pfn = 0x400000000
[    0.000000] initial memory mapped : 0 - 0206f000
[    0.000000] Base memory trampoline at [ffff88000009b000] 9b000 size 20480
[    0.000000] init_memory_mapping: 0000000000000000-0000000008000000
[    0.000000]  0000000000 - 0008000000 page 4k
[    0.000000] kernel direct mapping tables up to 8000000 @ 2016000-2058000
[    0.000000] xen: setting RW the range 2040000 - 2058000
[    0.000000] RAMDISK: 02058000 - 0206f000
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at 0000000000000000-0000000008000000
[    0.000000] Initmem setup node 0 0000000000000000-0000000008000000
[    0.000000]   NODE_DATA [0000000007ffb000 - 0000000007ffffff]
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000010 -> 0x00001000
[    0.000000]   DMA32    0x00001000 -> 0x00100000
[    0.000000]   Normal   empty
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000010 -> 0x000000a0
[    0.000000]     0: 0x00000100 -> 0x00008000
[    0.000000] On node 0 totalpages: 32656
[    0.000000]   DMA zone: 64 pages used for memmap
[    0.000000]   DMA zone: 5 pages reserved
[    0.000000]   DMA zone: 3915 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 448 pages used for memmap
[    0.000000]   DMA32 zone: 28224 pages, LIFO batch:7
[    0.000000] SFI: Simple Firmware Interface v0.81
http://simplefirmware.org
[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] No local APIC present
[    0.000000] APIC: disable apic facility
[    0.000000] APIC: switched to apic NOOP
[    0.000000] nr_irqs_gsi: 16
[    0.000000] PM: Registered nosave memory: 00000000000a0000 -
0000000000100000
[    0.000000] Allocating PCI resources starting at 8000000 (gap:
8000000:f8000000)
[    0.000000] Booting paravirtualized kernel on Xen
[    0.000000] Xen version: 4.1.2 (preserve-AD)
[    0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1
nr_node_ids:1
[    0.000000] PERCPU: Embedded 28 pages/cpu @ffff880007fa7000 s82816 r8192
d23680 u114688
[    0.000000] pcpu-alloc: s82816 r8192 d23680 u114688 alloc=28*4096
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.
 Total pages: 32139
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: root=/dev/xvda1
[    0.000000] PID hash table entries: 512 (order: 0, 4096 bytes)
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Calgary: detecting Calgary via BIOS EBDA area
[    0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[    0.000000] Memory: 112008k/131072k available (6537k kernel code, 448k
absent, 18616k reserved, 6655k data, 920k init)
[    0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0,
CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] NR_IRQS:4352 nr_irqs:256 16
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] console [hvc0] enabled
[    0.000000] allocated 1048576 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want
memory cgroups
[    0.000000] Xen: using vcpuop timer interface
[    0.000000] installing Xen timer for CPU 0
[    0.000000] Detected 2394.120 MHz processor.
[    0.004000] Calibrating delay loop (skipped), value calculated using
timer frequency.. 4788.24 BogoMIPS (lpj=9576480)
[    0.004000] pid_max: default: 32768 minimum: 301
[    0.004000] Security Framework initialized
[    0.004000] AppArmor: AppArmor initialized
[    0.004000] Yama: becoming mindful.
[    0.004000] Dentry cache hash table entries: 16384 (order: 5, 131072
bytes)
[    0.004000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.004000] Mount-cache hash table entries: 256
[    0.004000] Initializing cgroup subsys cpuacct
[    0.004000] Initializing cgroup subsys memory
[    0.004000] Initializing cgroup subsys devices
[    0.004000] Initializing cgroup subsys freezer
[    0.004000] Initializing cgroup subsys blkio
[    0.004000] Initializing cgroup subsys perf_event
[    0.004000] tseg: 0000000000
[    0.004000] CPU: Physical Processor ID: 1
[    0.004000] CPU: Processor Core ID: 0
[    0.004000] SMP alternatives: switching to UP code
[    0.004044] Freeing SMP alternatives: 24k freed
[    0.004094] ftrace: allocating 27043 entries in 107 pages
[    0.008170] cpu 0 spinlock event irq 17
[    0.008208] Performance Events:
[    0.008216] no APIC, boot with the "lapic" boot parameter to
force-enable it.
[    0.008224] no hardware sampling interrupt available.
[    0.008251] Broken PMU hardware detected, using software events only.
[    0.008546] NMI watchdog disabled (cpu0): hardware events not enabled
[    0.008593] Brought up 1 CPUs
[    0.008889] devtmpfs: initialized
[    0.010119] EVM: security.selinux
[    0.010129] EVM: security.SMACK64
[    0.010135] EVM: security.capability
[    0.011053] Grant table initialized
[    0.011133] print_constraints: dummy:
[    0.030730] RTC time: 165:165:165, date: 165/165/65
[    0.030783] NET: Registered protocol family 16
[    0.031073] PCI: setting up Xen PCI frontend stub
[    0.031073] PCI: pci_cache_line_size set to 64 bytes
[    0.032866] bio: create slab <bio-0> at 0
[    0.032986] ACPI: Interpreter disabled.
[    0.033015] xen/balloon: Initialising balloon driver.
[    0.033015] xen-balloon: Initialising balloon driver.
[    0.033015] vgaarb: loaded
[    0.033015] i2c-core: driver [aat2870] using legacy suspend method
[    0.033015] i2c-core: driver [aat2870] using legacy resume method
[    0.033015] SCSI subsystem initialized
[    0.033015] libata version 3.00 loaded.
[    0.033015] usbcore: registered new interface driver usbfs
[    0.033015] usbcore: registered new interface driver hub
[    0.033015] usbcore: registered new device driver usb
[    0.033015] PCI: System does not support PCI
[    0.033015] PCI: System does not support PCI
[    0.033015] NetLabel: Initializing
[    0.033015] NetLabel:  domain hash size = 128
[    0.033015] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.033015] NetLabel:  unlabeled traffic allowed by default
[    0.033015] Switching to clocksource xen
[    0.042120] AppArmor: AppArmor Filesystem Enabled
[    0.042172] pnp: PnP ACPI: disabled
[    0.045044] PCI: max bus depth: 0 pci_try_num: 1
[    0.045094] NET: Registered protocol family 2
[    0.045214] IP route cache hash table entries: 1024 (order: 1, 8192
bytes)
[    0.045473] TCP established hash table entries: 4096 (order: 4, 65536
bytes)
[    0.045548] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[    0.045594] TCP: Hash tables configured (established 4096 bind 4096)
[    0.045603] TCP reno registered
[    0.045613] UDP hash table entries: 128 (order: 0, 4096 bytes)
[    0.045629] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
[    0.045703] NET: Registered protocol family 1
[    0.045717] PCI: CLS 0 bytes, default 64
[    0.045767] platform rtc_cmos: registered platform RTC device (no PNP
device found)
[    0.046062] audit: initializing netlink socket (disabled)
[    0.046082] type=2000 audit(1353602017.186:1): initialized
[    0.159787] Trying to unpack rootfs image as initramfs...
[    0.159884] rootfs image is not initramfs (junk in compressed archive);
looks like an initrd
[    0.160154] Freeing initrd memory: 92k freed
[    0.161188] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.163450] VFS: Disk quotas dquot_6.5.2
[    0.163541] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.164338] fuse init (API version 7.17)
[    0.164463] msgmni has been set to 218
[    0.164972] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 253)
[    0.165023] io scheduler noop registered
[    0.165031] io scheduler deadline registered (default)
[    0.165076] io scheduler cfq registered
[    0.165181] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.165215] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.165663] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    0.167214] Linux agpgart interface v0.103
[    0.168992] brd: module loaded
[    0.169892] loop: module loaded
[    0.173245] blkfront device/vbd/51760 num-ring-pages 1 nr_ents 32.
[    0.179881] blkfront device/vbd/51712 num-ring-pages 1 nr_ents 32.
[    0.180935] Fixed MDIO Bus: probed
[    0.180963] tun: Universal TUN/TAP device driver, 1.6
[    0.180970] tun: (C) 1999-2004 Max Krasnyansky <maxk@xxxxxxxxxxxx>
[    0.181055] PPP generic driver version 2.4.2
[    0.181128] Initialising Xen virtual ethernet driver.
[    0.186072] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.186094] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.186117] uhci_hcd: USB Universal Host Controller Interface driver
[    0.186167] usbcore: registered new interface driver libusual
[    0.186207] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    0.187037] i8042: No controller found
[    0.187416] mousedev: PS/2 mouse device common for all mice
[    0.227609] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    0.227692] rtc_cmos: probe of rtc_cmos failed with error -38
[    0.227810] device-mapper: uevent: version 1.0.3
[    0.227906] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised:
dm-devel@xxxxxxxxxx
[    0.227929] EFI Variables Facility v0.08 2004-May-17
[    0.228279] TCP cubic registered
[    0.228420] NET: Registered protocol family 10
[    0.229356] NET: Registered protocol family 17
[    0.229380] Registering the dns_resolver key type
[    0.229580] PM: Hibernation image not present or could not be loaded.
[    0.229596] registered taskstats version 1
[    0.237844] blkfront: xvdd: barrier or flush: disabled
[    0.239535]  xvdd: xvdd1
[    0.240181] blkfront: xvda: barrier or flush: disabled
[    0.241783]  xvda: xvda1
[    0.328104]   Magic number: 1:252:3141
[    0.328174] /build/buildd/linux-3.2.0/drivers/rtc/hctosys.c: unable to
open rtc device (rtc0)
[    0.328190] powernow-k8: Found 1 Dual-Core AMD Opteron(tm) Processor
2216 HE (1 cpu cores) (version 2.20.00)
[    0.328352] [Firmware Bug]: powernow-k8: No PSB or ACPI _PSS objects
[    0.328360] powernow-k8: Make sure that your BIOS is up to date and
Cool'N'Quiet support is enabled in BIOS setup
[    0.328373] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    0.328379] EDD information not available.
[    0.328598] md: Waiting for all devices to be available before autodetect
[    0.328606] md: If you don't use raid, use raid=noautodetect
[    0.328870] md: Autodetecting RAID arrays.
[    0.328877] md: Scanned 0 and added 0 devices.
[    0.328883] md: autorun ...
[    0.328887] md: ... autorun DONE.
[    0.328933] RAMDISK: Couldn't find valid RAM disk image starting at 0.
[    0.329702] EXT3-fs (xvda1): error: couldn't mount because of
unsupported optional features (240)
[    0.457132] EXT4-fs (xvda1): mounted filesystem with ordered data mode.
Opts: (null)
[    0.457178] VFS: Mounted root (ext4 filesystem) on device 202:1.
[    0.484845] devtmpfs: mounted
[    0.485402] Freeing unused kernel memory: 920k freed
[    0.485897] Write protecting the kernel read-only data: 12288k
[    0.495371] Freeing unused kernel memory: 1636k freed
[    0.497151] Freeing unused kernel memory: 1200k freed
[    0.817484] init: Failed to create pty - disabling logging for job
[    0.817568] init: Temporary process spawn error: No such file or
directory
[    0.863348] init: Failed to create pty - disabling logging for job
[    0.863426] init: Temporary process spawn error: No such file or
directory
[    0.877401] init: Failed to create pty - disabling logging for job
[    0.877468] init: Temporary process spawn error: No such file or
directory
[    2.819692] ISOFS: Unable to identify CD-ROM format.
[    2.846931] ISOFS: Unable to identify CD-ROM format.
[    2.913905] init: Failed to create pty - disabling logging for job
[    2.914012] init: Temporary process spawn error: No such file or
directory
[    2.962085] init: Failed to create pty - disabling logging for job
[    2.962174] init: Temporary process spawn error: No such file or
directory
[   14.144048] eth0: no IPv6 routers present
[   78.722870] init: Failed to create pty - disabling logging for job
[   78.722978] init: Temporary process spawn error: No such file or
directory
[   78.748515] init: Failed to create pty - disabling logging for job
[   78.748642] init: Temporary process spawn error: No such file or
directory
[   78.757375] init: cloud-init-nonet main process (78) killed by TERM
signal
[   79.303097] ISOFS: Unable to identify CD-ROM format.
[   79.335912] ISOFS: Unable to identify CD-ROM format.
[   81.223943] init: Failed to create pty - disabling logging for job
[   81.224037] init: Temporary process spawn error: No such file or
directory
[   81.231728] init: Failed to create pty - disabling logging for job
[   81.231820] init: Temporary process spawn error: No such file or
directory
[   81.416194] init: Failed to create pty - disabling logging for job
[   81.416285] init: Temporary process spawn error: No such file or
directory
[   81.610058] init: Failed to create pty - disabling logging for job
[   81.610158] init: Temporary process spawn error: No such file or
directory
[   81.780882] init: Failed to create pty - disabling logging for job
[   81.780979] init: Temporary process spawn error: No such file or
directory
[   81.784587] init: Failed to create pty - disabling logging for job
[   81.784680] init: Temporary process spawn error: No such file or
directory
[   81.788488] init: Failed to create pty - disabling logging for job
[   81.788578] init: Temporary process spawn error: No such file or
directory
[   82.085567] init: Failed to create pty - disabling logging for job
[   82.085662] init: Temporary process spawn error: No such file or
directory
[   82.112388] init: Failed to create pty - disabling logging for job
[   82.112482] init: Temporary process spawn error: No such file or
directory
[   82.126039] init: Failed to create pty - disabling logging for job
[   82.126138] init: Temporary process spawn error: No such file or
directory
[   82.152458] init: Failed to create pty - disabling logging for job
[   82.152550] init: Temporary process spawn error: No such file or
directory
[   82.172196] init: Failed to create pty - disabling logging for job
[   82.172287] init: Temporary process spawn error: No such file or
directory
[   82.188900] init: Failed to create pty - disabling logging for job
[   82.188987] init: Temporary process spawn error: No such file or
directory
[   82.194474] init: Failed to create pty - disabling logging for job
[   82.194555] init: Temporary process spawn error: No such file or
directory
[   82.218482] init: Failed to create pty - disabling logging for job
[   82.218562] init: Temporary process spawn error: No such file or
directory
[   82.282193] udevd[241]: starting version 175
[   82.304444] init: Failed to create pty - disabling logging for job
[   82.304542] init: Temporary process spawn error: No such file or
directory
[   82.320387] init: Failed to create pty - disabling logging for job
[   82.320482] init: Temporary process spawn error: No such file or
directory
[   82.325005] init: Failed to create pty - disabling logging for job
[   82.325093] init: Temporary process spawn error: No such file or
directory
[   82.551462] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[   85.347036] type=1400 audit(1353602102.482:2): apparmor="STATUS"
operation="profile_load" name="/sbin/dhclient" pid=315
comm="apparmor_parser"
[   85.347306] type=1400 audit(1353602102.482:3): apparmor="STATUS"
operation="profile_load"
name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=315
comm="apparmor_parser"
[   85.347402] type=1400 audit(1353602102.482:4): apparmor="STATUS"
operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script"
pid=315 comm="apparmor_parser"
[   85.660881] type=1400 audit(1353602102.798:5): apparmor="STATUS"
operation="profile_replace" name="/sbin/dhclient" pid=359
comm="apparmor_parser"
[   85.661082] type=1400 audit(1353602102.798:6): apparmor="STATUS"
operation="profile_replace"
name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=359
comm="apparmor_parser"
[   85.661183] type=1400 audit(1353602102.798:7): apparmor="STATUS"
operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script"
pid=359 comm="apparmor_parser"
[   85.664898] init: Failed to create pty - disabling logging for job
[   85.664981] init: Temporary process spawn error: No such file or
directory
[   86.316654] type=1400 audit(1353602103.454:8): apparmor="STATUS"
operation="profile_replace" name="/sbin/dhclient" pid=394
comm="apparmor_parser"
[   86.316845] type=1400 audit(1353602103.454:9): apparmor="STATUS"
operation="profile_replace"
name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=394
comm="apparmor_parser"
[   86.316955] type=1400 audit(1353602103.454:10): apparmor="STATUS"
operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script"
pid=394 comm="apparmor_parser"
[   86.370607] init: Failed to create pty - disabling logging for job
[   86.370694] init: Temporary process spawn error: No such file or
directory
[   86.661849] init: failsafe main process (524) killed by TERM signal
[   86.779757] init: Failed to create pty - disabling logging for job
[   86.779840] init: Temporary process spawn error: No such file or
directory
[   86.838401] init: Failed to create pty - disabling logging for job
[   86.838512] init: Temporary process spawn error: No such file or
directory
[   86.867451] init: udev-fallback-graphics main process (579) terminated
with status 1
[   86.882124] init: Failed to create pty - disabling logging for job
[   86.882221] init: Temporary process spawn error: No such file or
directory
[   86.907043] init: Failed to create pty - disabling logging for job
[   86.907167] init: Temporary process spawn error: No such file or
directory
[   86.980813] type=1400 audit(1353602104.118:11): apparmor="STATUS"
operation="profile_load" name="/usr/sbin/tcpdump" pid=424
comm="apparmor_parser"
[   87.037071] init: plymouth-splash main process (588) terminated with
status 2
[   87.038182] init: plymouth main process (62) killed by SEGV signal
[   87.210251] init: Failed to create pty - disabling logging for job
[   87.210349] init: Temporary process spawn error: No such file or
directory
[   87.234884] init: Failed to create pty - disabling logging for job
[   87.234961] init: Temporary process spawn error: No such file or
directory
[   87.241334] init: Failed to create pty - disabling logging for job
[   87.241422] init: Temporary process spawn error: No such file or
directory
[   87.258140] init: Failed to create pty - disabling logging for job
[   87.258239] init: Temporary process spawn error: No such file or
directory
[   87.265491] init: Failed to create pty - disabling logging for job
[   87.265589] init: Temporary process spawn error: No such file or
directory
[   87.273343] init: Failed to create pty - disabling logging for job
[   87.273443] init: Temporary process spawn error: No such file or
directory
[   87.283583] init: Failed to create pty - disabling logging for job
[   87.283697] init: Temporary process spawn error: No such file or
directory
[   87.331368] init: Failed to create pty - disabling logging for job
[   87.331466] init: Temporary process spawn error: No such file or
directory
[   87.358775] init: Failed to create pty - disabling logging for job
[   87.358891] init: Temporary process spawn error: No such file or
directory
[   87.373681] init: Failed to create pty - disabling logging for job
[   87.373801] init: Temporary process spawn error: No such file or
directory
[   87.383006] init: Failed to create pty - disabling logging for job
[   87.383114] init: Temporary process spawn error: No such file or
directory
[   87.397835] init: Failed to create pty - disabling logging for job
[   87.397946] init: Temporary process spawn error: No such file or
directory
[   88.441229] init: Failed to create pty - disabling logging for job
[   88.441309] init: Temporary process spawn error: No such file or
directory
[   88.447228] init: Failed to create pty - disabling logging for job
[   88.447327] init: Temporary process spawn error: No such file or
directory
[   88.474064] init: plymouth-stop pre-start process (728) terminated with
status 1
[   89.536116] eth0: no IPv6 routers present


> ****
>
> Thank you,
>
Afef

Follow ups

References