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

Re: [Xen-devel] Xen API and PSCSI Devices

Hi Joshua,

It's a bug, maybe...

Could you give me more information?

 - a result of lsscsi -vl
 - /var/log/xen/xend.log
 - /var/log/messages

Best regards,

Tue, 13 Oct 2009 14:48:53 -0400, Joshua West wrote:

>Hey folks,
>I've noticed that, when using the Xen API, results returned by examining
>the list of PSCSI's available to Xen is not updated between calls.  It
>seems that PSCSI devices are detected once and only once -- upon startup
>of xend.
>An example of what I'm discussing is:
>[root@some-xen-server:~]# python
>Python 2.4.3 (#1, Jun 11 2009, 14:09:37)
>[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
>Type "help", "copyright", "credits" or "license" for more information.
>>>> import xen.xm.XenAPI as XenAPI
>>>> session = XenAPI.Session('')
>>>> session.login_with_password('', '')
>>>> session.xenapi.PSCSI.get_all()
>Attach a new LUN to the host (dom0).
>>>> session.xenapi.PSCSI.get_all()
>The new LUN is not detected, unless you restart xend.  Is this a bug? 
>Or by design?  It would be really nice if the API were to refresh the
>list of PSCSI devices detected during each call... or at least have an
>API method to instruct xend that it should refresh its listing?
>BTW -- I'm doing this on RHEL 5.4 x86_64 with Xen 3.4.1.
>Joshua West
>Senior Systems Engineer
>Brandeis University
>Xen-devel mailing list

Xen-devel mailing list



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