[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-bugs] [Bug 316] New: xm block-attach returns bad status (0) when attempting to attach a non-exist device



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=316

           Summary: xm block-attach returns bad status (0) when attempting
                    to attach a non-exist device
           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: 7308

07_block_attach_baddevice_neg.test of xm-test fails because xm attach-block
returns success (status 0) when attempting to attach a non-exist device. It
should detect that the device does not exist and return non 0 status and give
out error message.

[root@lamb5 block-create]# xm block-attach
07_block_attach_baddevice_neg-1129062690 phy:NOT-EXIST sdb1 w
[root@lamb5 block-create]# echo $?
0

-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.