George Shuklin
2012-May-29 15:22 UTC
[Pkg-xen-devel] Bug#675055: xcp-xapi: xe-edit-bootloader does not compatible with new /dev/sm
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
Mike McClurg
2012-May-29 16:34 UTC
[Pkg-xen-devel] Bug#675055: [Xen-API] Bug#675055: xcp-xapi: xe-edit-bootloader does not compatible with new /dev/sm
On 29/05/12 16:22, George Shuklin wrote:> 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.Thanks for reporting this (and everything else ;) ). I'll file a bug with upstream xapi. Mike
Debian Bug Tracking System
2012-Jun-29 19:54 UTC
[Pkg-xen-devel] Bug#675055: marked as done (xcp-xapi: xe-edit-bootloader does not compatible with new /dev/sm)
Your message dated Fri, 29 Jun 2012 19:52:39 +0000 with message-id <E1SkhF9-0004AE-Gj at franck.debian.org> and subject line Bug#675055: fixed in xen-api 1.3.2-7 has caused the Debian Bug report #675055, regarding xcp-xapi: xe-edit-bootloader does not compatible with new /dev/sm to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 675055: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675055 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: George Shuklin <george.shuklin at gmail.com> Subject: xcp-xapi: xe-edit-bootloader does not compatible with new /dev/sm Date: Tue, 29 May 2012 19:22:41 +0400 Size: 4924 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20120629/107d94b2/attachment-0002.mht> -------------- next part -------------- An embedded message was scrubbed... From: Thomas Goirand <zigo at debian.org> Subject: Bug#675055: fixed in xen-api 1.3.2-7 Date: Fri, 29 Jun 2012 19:52:39 +0000 Size: 7757 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20120629/107d94b2/attachment-0003.mht>
Debian Bug Tracking System
2014-Mar-02 18:45 UTC
[Pkg-xen-devel] Bug#675055: marked as done (xcp-xapi: xe-edit-bootloader does not compatible with new /dev/sm)
Your message dated Sun, 02 Mar 2014 18:42:06 +0000 with message-id <E1WKBKw-0004SD-Mw at franck.debian.org> and subject line Bug#740517: Removed package(s) from unstable has caused the Debian Bug report #675055, regarding xcp-xapi: xe-edit-bootloader does not compatible with new /dev/sm to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 675055: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675055 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: George Shuklin <george.shuklin at gmail.com> Subject: xcp-xapi: xe-edit-bootloader does not compatible with new /dev/sm Date: Tue, 29 May 2012 19:22:41 +0400 Size: 4918 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140302/b3cb9853/attachment.mht> -------------- next part -------------- An embedded message was scrubbed... From: Debian FTP Masters <ftpmaster at ftp-master.debian.org> Subject: Bug#740517: Removed package(s) from unstable Date: Sun, 02 Mar 2014 18:42:06 +0000 Size: 3077 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140302/b3cb9853/attachment-0001.mht>