This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-bugs] [Bug 321] New: xm block-detach fails to detach a device by na

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 321] New: xm block-detach fails to detach a device by name
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Wed, 12 Oct 2005 18:40:01 +0000
Delivery-date: Wed, 12 Oct 2005 18:40:05 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx

           Summary: xm block-detach fails to detach a device by name
           Product: Xen
           Version: unstable
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: lge@xxxxxxxxxx
                CC: pl@xxxxxxxxxx

Changeset: 7344

After creating a domain with disk = [ 'phy:/dev/ram0,hda1,w' ], xm block-detach
fails to detach the device by name (hda1). I am able to detach the device using
device ID (769). 05_block-destroy_byname_pos.test of xmtest fails because of
this reason. 

Here is the return status and output after running block-detach command:

status =256
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in ?
  File "/tmp/xen-unstable.hg/dist/install/usr/lib/python/xen/xm/main.py", line
712, in main
    handle_xend_error(argv[1], args[0], ex)
  File "/tmp/xen-unstable.hg/dist/install/usr/lib/python/xen/xm/main.py", line
176, in handle_xend_error
    raise ex
xen.xend.XendProtocol.XendError: Exception: invalid literal for int(): hda1

Configure bugmail: 
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Xen-bugs mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 321] New: xm block-detach fails to detach a device by name, bugzilla-daemon <=