[Pkg-xen-devel] Bug#675055: xcp-xapi: xe-edit-bootloader does not compatible with new /dev/sm
George Shuklin
george.shuklin at gmail.com
Tue May 29 15:22:41 UTC 2012
Package: xcp-xapi
Version: 1.3.2-6
Severity: normal
Tags: upstream
/usr/lib/xcp/bin/xe-edit-bootloader failing with following message:
/usr/lib/xcp/bin/xe-edit-bootloader -u 19f66083-e776-70d1-1808-3712688ad138
Creating dom0 VBD: 0fdb952e-92ff-4b53-dd49-8d54b2268787
Plugging VBD:
Waiting for /dev/sm/backend/4c15ea03-5d70-938e-8265-d5424c0fda5e/963afb9a-9ceb-410f-8554-8be9fb70e7e0: . done
Mounting filesystem: failed
Partitions in the VDI are:
brw------- 1 root root 252, 0 May 29 19:13 /dev/sm/backend/4c15ea03-5d70-938e-8265-d5424c0fda5e/963afb9a-9ceb-410f-8554-8be9fb70e7e0
You can use the -p option to specify a partition number to mount.
Unplugging VBD: . done
root at lab-xh3:~# /usr/lib/xcp/bin/xe-edit-bootloader -u 19f66083-e776-70d1-1808-3712688ad138 -p 1
Creating dom0 VBD: 445a1179-a947-b884-8cbe-06ea1515ee38
Plugging VBD:
Waiting for /dev/sm/backend/4c15ea03-5d70-938e-8265-d5424c0fda5e/963afb9a-9ceb-410f-8554-8be9fb70e7e01: .....Device /dev/sm/backend/4c15ea03-5d70-938e-8265-d5424c0fda5e/963afb9a-9ceb-410f-8554-8be9fb70e7e01 not found.
Reason is that older model creates /dev/xvd* devices (see message history for bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674088 ) and xe-edit-bootloader just add partition number to device (/dev/xvdb -> /dev/xvdb1). With new sm model this is not true: script must call kpartx to probe partition table of attached VDI.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-2-686-pae (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xcp-xapi depends on:
ii hwdata 0.233-1
ii libc6 2.13-32
ii libpam0g 1.1.3-7.1
ii libuuid1 2.20.1-5
ii libvhd0 2.0.90-1
ii libxen-4.1 4.1.2-6
ii libxenstore3.0 4.1.2-6
ii lsb-base 4.1+Debian4
ii pciutils 1:3.1.9-3
ii python 2.7.2-10
ii python-xenapi 1.3.2-6
ii stunnel4 [stunnel] 3:4.52-1
ii xcp-eliloader 0.1-4
ii xcp-fe 0.5.2-3+b1
ii xcp-networkd 1.3.2-6
ii xcp-squeezed 1.3.2-6
ii xcp-storage-managers 0.1.1-2
ii xcp-v6d 1.3.2-6
ii xcp-xe 1.3.2-6
ii xen-hypervisor-4.1-amd64 [xen-hypervisor-4.1] 4.1.2-6
ii xen-utils-4.1 4.1.2-6
ii zlib1g 1:1.2.7.dfsg-11
Versions of packages xcp-xapi recommends:
ii cifs-utils 2:5.4-2
ii xcp-guest-templates 0.1-3
ii xcp-vncterm 0.1-2
xcp-xapi suggests no packages.
-- no debconf information
More information about the Pkg-xen-devel
mailing list