WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 771] New: block-nbd script does not receive nbd argument

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 771] New: block-nbd script does not receive nbd arguments.
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Sun, 17 Sep 2006 08:55:35 -0700
Delivery-date: Sun, 17 Sep 2006 08:56:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=771

           Summary: block-nbd script does not receive nbd arguments.
           Product: Xen
           Version: 3.0.2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: xen@xxxxxxxxxx


Here is the line in the config file :
# grep disk /etc/xen/mailguard3
disk = [ 'nbd:172.17.4.137 20001,sda1,w',
'file:/mnt/mirror/mailguard1/gentoo.swap,sda2,w']

At the begining of the block-nbd script, I added the folowing line in order to
check arguments :
echo "$0 $1 $2 $3" >> /tmp/debug

# xm create mailguard3
Using config file "/etc/xen/mailguard3".
Error: Device 2049 (vbd) could not be connected. Backend device not found.
# cat /tmp/debug
/etc/xen/scripts/block-nbd add
/etc/xen/scripts/block-nbd remove


You can see that the arguments are not given to the script. We should see the
ip address and the port after the add command.


-- 
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

<Prev in Thread] Current Thread [Next in Thread>