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

Re: [Xen-API] XCP 1.0-beta: SM backend driver



Hi,

Could someone help me on this? or should I just say "phy" for the vid_type 
variable?

Tomoe

On 11/29/2010 04:49 PM, Tomoe Sugihara wrote:
Hi,

I got the following error while testing XCP 1.0 beta with VastSky SM backend:

----------------------
[4779] 2010-11-26 10:22:50.311777       blktap2.activate
[4779] 2010-11-26 10:22:50.311844       lock: acquired 
/var/lock/sm/b9c2db94-bb72-5fae-9848-02c06de4e24d/vdi
[4779] 2010-11-26 10:22:50.319652       ***** BLKTAP2:<function _activate_locked at 
0xb706433c>: EXCEPTION blktap2.UnexpectedVDIType, Target<class '__main__.VASVDI'>  
has unexpected VDI type 'disk'
    File "/opt/xensource/sm/blktap2.py", line 29, in wrapper
      ret = op(self, *args)
    File "/opt/xensource/sm/blktap2.py", line 1299, in _activate_locked
      if self.tap_wanted():
    File "/opt/xensource/sm/blktap2.py", line 922, in tap_wanted
      self.target.vdi)

[4779] 2010-11-26 10:22:50.319711       lock: released 
/var/lock/sm/b9c2db94-bb72-5fae-9848-02c06de4e24d/vdi
[4779] 2010-11-26 10:22:50.322101       ***** vdi_activate: EXCEPTION 
blktap2.UnexpectedVDIType, Target<class '__main__.VASVDI'>  has unexpected VDI 
type 'disk'
    File "/opt/xensource/sm/SRCommand.py", line 87, in run
      return self._run_locked(sr)
    File "/opt/xensource/sm/SRCommand.py", line 124, in _run_locked
      return self._run(sr, target)
    File "/opt/xensource/sm/SRCommand.py", line 174, in _run
      caching_params)
    File "/opt/xensource/sm/blktap2.py", line 1286, in activate
      if self._activate_locked(sr_uuid, vdi_uuid, caching_params):
    File "/opt/xensource/sm/blktap2.py", line 29, in wrapper
      ret = op(self, *args)
    File "/opt/xensource/sm/blktap2.py", line 1299, in _activate_locked
      if self.tap_wanted():
    File "/opt/xensource/sm/blktap2.py", line 922, in tap_wanted
      self.target.vdi)
----------------------

This is because blktap2.VDI_PLUG_TYPE doesn't have the key 'disk'.
'disk' for vid_type used be usable in XCP 0.5, but seems like it isn't anymore.

Is there any suggested policies on the value?
I referred to the documentation(http://www.xen.org/files/XenCloud/storage.pdf),
but I couldn't find any.

Incidentally, SHMSR.py also has "disk" as vid_type and should causes an error.

Best,
Tomoe



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



--
æå æè <sugihara@xxxxxxxxxxxxx>

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


 


Rackspace

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