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

Re: [Xen-API] [Project Kronos] SR_BACKEND_FAILURE_53 when creating SR

To: eneal@xxxxxxxxxxxxxxxxx
Subject: Re: [Xen-API] [Project Kronos] SR_BACKEND_FAILURE_53 when creating SR
From: Errol Neal <eneal@xxxxxxxxxxxxxxxxx>
Date: Tue, 23 Aug 2011 15:21:34 -0400
Cc: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 23 Aug 2011 12:23:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <1314126782132552500@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <1314126782132552500@xxxxxxxxxxxxxxxxx>
Reply-to: eneal@xxxxxxxxxxxxxxxxx
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 08/23/2011 03:13 PM, Errol Neal <eneal@xxxxxxxxxxxxxxxxx> wrote:
> Hi again. I've been following the forums and I see that other people are 
> having some success with Kronos where I'm outright failing, so I decided to 
> start completely over again. 
> Right out the gate, as I did previously, I'm having issues just creating an 
> SR. 
> 
> root@squeeze:/etc# xe sr-create host-uuid=`xe host-list --minimal` type=lvm 
> content-type=user device-config:device=/dev/sda3 name-label="Local LVM 
> Storage"
> 
> That gives an error:
> 
> Error code: SR_BACKEND_FAILURE_53
> Error parameters: , Logical Volume unmount/deactivate error [opterr=errno is 
> 3], /usr/lib/xen-common/xapi/sm/util.py:17: DeprecationWarning: The popen2 
> module is deprecated.  Use the subprocess module.


Sorry, didn't notice this before, but SMLog says this:

[3010] 2011-08-23 15:17:42.111948       SUCCESS
[3010] 2011-08-23 15:17:42.112201       ['/sbin/vgcreate', 
'VG_XenStorage-c6ed11e9-8acf-3c48-93b9-10a7607f6035', '/dev/sda3']
[3010] 2011-08-23 15:17:42.209556       SUCCESS
[3010] 2011-08-23 15:17:42.209789       ['/sbin/vgchange', '-an', '--master', 
'VG_XenStorage-c6ed11e9-8acf-3c48-93b9-10a7607f6035']
[3010] 2011-08-23 15:17:42.223883       FAILED: (rc 3) stdout: '', stderr: 
'/sbin/vgchange: unrecognized option '--master'
  Error during parsing of command line.

Obviously, --master is not a flag for vgchange.. 

Editing lvutil.pyc in /usr/lib/xen-common/xapi/sm gets me past this issue...

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api