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

[Xen-API] xcp-xapi devscan.py kernel support


  • To: xen-api@xxxxxxxxxxxxx
  • From: Andrey <basketboy@xxxxx>
  • Date: Thu, 17 Jan 2013 16:55:36 +0400
  • Delivery-date: Thu, 17 Jan 2013 12:58:12 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

Hello,

I installed xcp-xapi on the Debian Wheezy and can't get LVMoHBA to work:

stderr: Traceback (most recent call last):
  File "/usr/lib/xcp/sm/LVMoHBASR", line 220, in <module>
    SRCommand.run(LVHDoHBASR, DRIVER_INFO)
  File "/usr/lib/xcp/sm/SRCommand.py", line 261, in run
    sr = driver(cmd, cmd.sr_uuid)
  File "/usr/lib/xcp/sm/SR.py", line 136, in __init__
    self.load(sr_uuid)
  File "/usr/lib/xcp/sm/LVMoHBASR", line 94, in load
    print >>sys.stderr,self.hbasr.print_devs()
  File "/usr/lib/xcp/sm/HBASR.py", line 224, in print_devs
    self._init_hbadict()
  File "/usr/lib/xcp/sm/HBASR.py", line 61, in _init_hbadict
    dict = devscan.adapters(filterstr=self.type)
  File "/usr/lib/xcp/sm/devscan.py", line 168, in adapters
    glob.glob(os.path.join(path,"device","block:*"))[0]).split(':')[1]
IndexError: list index out of range


Can you please send devscan.py patch to support lvmohba in kernel 3.X.

Also will in this case other lvmohba features will work smoothly in that case on Debian, especially multipath?

With regards, Andrey.

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

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