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

[Xen-users] The VDI is not available

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] The VDI is not available
From: Rushikesh <rushikesh.jadhav@xxxxxxxxxx>
Date: Mon, 07 Feb 2011 01:27:49 +0530
Delivery-date: Sun, 06 Feb 2011 12:00:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100528 Thunderbird/3.0.5
Hi guys,

I am trying to sort the "" issue out but not able to.
Can someone help by looking at following logs..

I tried reattaching disk but its not able to boot. The VM is Win2k8r2
and its on XCP1.0
sr-scan was not helpful and vdi-introduce said that the SR doesnt
support it.
Rebooting the server dint helped.

Thanks for help.

Regards,
Rushikesh

sr-id cdad9599-e1a3-9c95-a440-b91dfeb4149e
vdi-id a80c714d-8315-4159-8b6b-279be81dd497

======
SMlog
========

[853] 2011-02-07 00:58:29.160499    Fist points loaded
[853] 2011-02-07 00:58:29.181025    lock: acquired
/var/lock/sm/cdad9599-e1a3-9c95-a440-b91dfeb4149e/sr
[853] 2011-02-07 00:58:29.182557    ['/usr/sbin/td-util', 'query',
'vhd', '-vpf',
'/var/run/sr-mount/cdad9599-e1a3-9c95-a440-b91dfeb4149e/a80c714d-8315-4159-8b6b-279be81dd497.vhd']
[853] 2011-02-07 00:58:29.214627    SUCCESS                  <----------
SERVER ABLE TO FIND THE VDI
[853] 2011-02-07 00:58:29.215343    vdi_attach {'sr_uuid':
'cdad9599-e1a3-9c95-a440-b91dfeb4149e', 'subtask_of':
'OpaqueRef:75a693af-8e69-780d-fcb3-127c83e3d8a0', 'vdi_ref':
'OpaqueRef:aa1ea962-9393-53d0-de66-b3ad5afa88f9', 'vdi_on_boot':
'persist', 'args': ['true'], 'vdi_location':
'a80c714d-8315-4159-8b6b-279be81dd497', 'host_ref':
'OpaqueRef:39d1e1f5-e1a1-a3be-ed39-06ad79a572c4', 'session_ref':
'OpaqueRef:9bafd676-dc8a-46cd-b5f3-67d3e3f3016a', 'device_config':
{'options': '', 'SRmaster': 'true', 'serverpath': '/mnt/lustre',
'server': '192.168.10.2'}, 'command': 'vdi_attach', 'vdi_allow_caching':
'false', 'sr_ref': 'OpaqueRef:5fdf589c-b781-9389-ffaa-bdcf328acbe2',
'vdi_uuid': 'a80c714d-8315-4159-8b6b-279be81dd497'}
[853] 2011-02-07 00:58:29.215550    lock: creating lock file
/var/lock/sm/a80c714d-8315-4159-8b6b-279be81dd497/vdi
[853] 2011-02-07 00:58:29.215683    lock: closed
/var/lock/sm/a80c714d-8315-4159-8b6b-279be81dd497/vdi
[853] 2011-02-07 00:58:29.215755    lock: released
/var/lock/sm/cdad9599-e1a3-9c95-a440-b91dfeb4149e/sr
[853] 2011-02-07 00:58:29.215885    lock: closed
/var/lock/sm/cdad9599-e1a3-9c95-a440-b91dfeb4149e/sr
[859] 2011-02-07 00:58:29.277449    Fist points loaded
[859] 2011-02-07 00:58:29.291621    lock: acquired
/var/lock/sm/cdad9599-e1a3-9c95-a440-b91dfeb4149e/sr
[859] 2011-02-07 00:58:29.292951    ['/usr/sbin/td-util', 'query',
'vhd', '-vpf',
'/var/run/sr-mount/cdad9599-e1a3-9c95-a440-b91dfeb4149e/a80c714d-8315-4159-8b6b-279be81dd497.vhd']
[859] 2011-02-07 00:58:29.304185    SUCCESS
[859] 2011-02-07 00:58:29.304853    lock: released
/var/lock/sm/cdad9599-e1a3-9c95-a440-b91dfeb4149e/sr
[859] 2011-02-07 00:58:29.304947    vdi_activate {'sr_uuid':
'cdad9599-e1a3-9c95-a440-b91dfeb4149e', 'subtask_of':
'OpaqueRef:75a693af-8e69-780d-fcb3-127c83e3d8a0', 'vdi_ref':
'OpaqueRef:aa1ea962-9393-53d0-de66-b3ad5afa88f9', 'vdi_on_boot':
'persist', 'args': ['true'], 'vdi_location':
'a80c714d-8315-4159-8b6b-279be81dd497', 'host_ref':
'OpaqueRef:39d1e1f5-e1a1-a3be-ed39-06ad79a572c4', 'session_ref':
'OpaqueRef:1e6d05b0-d14e-130c-bf52-5140b0ad4c57', 'device_config':
{'options': '', 'SRmaster': 'true', 'serverpath': '/mnt/lustre',
'server': '192.168.10.2'}, 'command': 'vdi_activate',
'vdi_allow_caching': 'false', 'sr_ref':
'OpaqueRef:5fdf589c-b781-9389-ffaa-bdcf328acbe2', 'vdi_uuid':
'a80c714d-8315-4159-8b6b-279be81dd497'}
[859] 2011-02-07 00:58:29.305094    blktap2.activate
[859] 2011-02-07 00:58:29.305163    lock: acquired
/var/lock/sm/a80c714d-8315-4159-8b6b-279be81dd497/vdi
[859] 2011-02-07 00:58:29.305215    Adding tag to:
a80c714d-8315-4159-8b6b-279be81dd497
[859] 2011-02-07 00:58:29.316286    ***** BLKTAP2:<function
_activate_locked at 0xb6ff2f44>: EXCEPTION util.SMException, VDI
a80c714d-8315-4159-8b6b-279be81dd497 already attached
RW                                                              
<----------------   HERE comes the exception while attaching the VDI
  File "/opt/xensource/sm/blktap2.py", line 29, in wrapper
    ret = op(self, *args)
  File "/opt/xensource/sm/blktap2.py", line 1300, in _activate_locked
    if not self._add_tag(vdi_uuid):
  File "/opt/xensource/sm/blktap2.py", line 1230, in _add_tag
    raise util.SMException("VDI %s already attached RW" % vdi_uuid)

[859] 2011-02-07 00:58:29.333906    Raising exception [46, The VDI is
not available [opterr=VDI a80c714d-8315-4159-8b6b-279be81dd497 already
attached RW]]
[859] 2011-02-07 00:58:29.333981    lock: released
/var/lock/sm/a80c714d-8315-4159-8b6b-279be81dd497/vdi
[859] 2011-02-07 00:58:29.334243    ***** vdi_activate: EXCEPTION
SR.SROSError, The VDI is not available [opterr=VDI
a80c714d-8315-4159-8b6b-279be81dd497 already attached RW]
  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 37, in wrapper
    raise xs_errors.XenError(excType, opterr=msg)
  File "/opt/xensource/sm/xs_errors.py", line 49, in __init__
    raise SR.SROSError(errorcode, errormessage)

[859] 2011-02-07 00:58:29.334376    lock: closed
/var/lock/sm/a80c714d-8315-4159-8b6b-279be81dd497/vdi
[859] 2011-02-07 00:58:29.334464    lock: closed
/var/lock/sm/cdad9599-e1a3-9c95-a440-b91dfeb4149e/sr
[868] 2011-02-07 00:58:29.430637    Fist points loaded
[868] 2011-02-07 00:58:29.451364    lock: acquired
/var/lock/sm/cdad9599-e1a3-9c95-a440-b91dfeb4149e/sr
[868] 2011-02-07 00:58:29.452828    ['/usr/sbin/td-util', 'query',
'vhd', '-vpf',
'/var/run/sr-mount/cdad9599-e1a3-9c95-a440-b91dfeb4149e/a80c714d-8315-4159-8b6b-279be81dd497.vhd']
[868] 2011-02-07 00:58:29.469486    SUCCESS
[868] 2011-02-07 00:58:29.471345    vdi_detach {'sr_uuid':
'cdad9599-e1a3-9c95-a440-b91dfeb4149e', 'subtask_of':
'OpaqueRef:75a693af-8e69-780d-fcb3-127c83e3d8a0', 'vdi_ref':
'OpaqueRef:aa1ea962-9393-53d0-de66-b3ad5afa88f9', 'vdi_on_boot':
'persist', 'args': [], 'vdi_location':
'a80c714d-8315-4159-8b6b-279be81dd497', 'host_ref':
'OpaqueRef:39d1e1f5-e1a1-a3be-ed39-06ad79a572c4', 'session_ref':
'OpaqueRef:3c43988f-198d-2255-3890-bd391542d728', 'device_config':
{'options': '', 'SRmaster': 'true', 'serverpath': '/mnt/lustre',
'server': '192.168.10.2'}, 'command': 'vdi_detach', 'vdi_allow_caching':
'false', 'sr_ref': 'OpaqueRef:5fdf589c-b781-9389-ffaa-bdcf328acbe2',
'vdi_uuid': 'a80c714d-8315-4159-8b6b-279be81dd497'}
[868] 2011-02-07 00:58:29.471625    lock: closed
/var/lock/sm/a80c714d-8315-4159-8b6b-279be81dd497/vdi
[868] 2011-02-07 00:58:29.471743    lock: released
/var/lock/sm/cdad9599-e1a3-9c95-a440-b91dfeb4149e/sr
[868] 2011-02-07 00:58:29.472028    lock: closed
/var/lock/sm/cdad9599-e1a3-9c95-a440-b91dfeb4149e/sr
[886] 2011-02-07 00:58:45.267069    Fist points loaded
[886] 2011-02-07 00:58:45.309613    ['uuidgen', '-r']
[886] 2011-02-07 00:58:45.322165    SUCCESS


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] The VDI is not available, Rushikesh <=