2012/11/9 John Garbutt john.garb...@citrix.com
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.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] 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.00] Command line: root=/dev/xvda1
[0.00] KERNEL supported cpus:
[0.00] Intel GenuineIntel
[0.00] AMD AuthenticAMD
[0.00] Centaur CentaurHauls
[0.00] ACPI in unprivileged domain disabled
[0.00] Released 0 pages of unused memory
[0.00] Set 0 page(s) to 1-1 mapping
[0.00] BIOS-provided physical RAM map:
[0.00] Xen: - 000a (usable)
[0.00] Xen: 000a - 0010 (reserved)
[0.00] Xen: 0010 - 0800 (usable)
[0.00] NX (Execute Disable) protection: active
[0.00] DMI not present or invalid.
[0.00] e820 update range: - 0001
(usable) == (reserved)
[0.00] e820 remove range: 000a - 0010
(usable)
[0.00] No AGP bridge found
[0.00] last_pfn = 0x8000 max_arch_pfn = 0x4
[0.00] initial memory mapped : 0 - 0206f000
[0.00] Base memory trampoline at [8809b000] 9b000 size 20480
[0.00] init_memory_mapping: -0800
[0.00] 00 - 000800 page 4k
[0.00] kernel direct mapping tables up to 800 @ 2016000-2058000
[0.00] xen: setting RW the range 204 - 2058000
[0.00] RAMDISK: 02058000 - 0206f000
[0.00] No NUMA configuration found
[0.00] Faking a node at -0800
[0.00] Initmem setup node 0 -0800
[0.00] NODE_DATA [07ffb000 - 07ff]
[0.00] Zone PFN ranges:
[0.00] DMA 0x0010 - 0x1000
[0.00] DMA320x1000 - 0x0010
[0.00] Normal empty
[0.00] Movable zone start PFN for each node
[0.00] early_node_map[2] active PFN ranges
[0.00] 0: 0x0010 - 0x00a0
[0.00] 0: 0x0100 - 0x8000
[0.00] On node 0 totalpages: 32656
[0.00] DMA zone: 64 pages used for memmap
[0.00] DMA zone: 5 pages reserved
[0.00] DMA zone: 3915 pages, LIFO batch:0
[0.00] DMA32 zone: 448 pages used for memmap
[0.00] DMA32 zone: 28224 pages, LIFO batch:7
[0.00] SFI: Simple Firmware Interface v0.81
http://simplefirmware.org
[0.00] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[0.00] No local APIC present
[0.00] APIC: disable apic facility
[0.00] APIC: switched to apic NOOP
[0.00] nr_irqs_gsi: 16
[0.00] PM: Registered nosave memory: 000a -
0010
[0.00] Allocating PCI resources starting at 800 (gap:
800:f800)
[0.00] Booting paravirtualized kernel on Xen
[0.00] Xen version: 4.1.2 (preserve-AD)
[0.00] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1
nr_node_ids:1
[0.00] PERCPU: Embedded 28 pages/cpu @880007fa7000 s82816 r8192
d23680 u114688
[0.00] pcpu-alloc: s82816 r8192 d23680 u114688 alloc=28*4096
[0.00] pcpu-alloc: [0] 0
[0.00] Built 1 zonelists in Node order, mobility grouping on.
Total pages: 32139
[0.00] Policy zone: DMA32
[0.00] Kernel command line: root=/dev/xvda1
[0.00] PID hash table entries: 512 (order: 0, 4096 bytes)
[0.00] Checking aperture...
[0.00] No AGP bridge found
[0.00] Calgary: detecting Calgary via BIOS EBDA area
[0.00] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[0.00] Memory: 112008k/131072k available (6537k kernel code, 448k
absent, 18616k reserved, 6655k data, 920k init)
[0.00] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0,
CPUs=1, Nodes=1
[0.00] Hierarchical RCU implementation.
[0.00] RCU dyntick-idle grace-period acceleration is enabled.
[0.00] NR_IRQS:4352 nr_irqs:256 16
[0.00] Console: colour dummy device 80x25
[0.00] console [tty0] enabled
[0.00] console