Jump to content
Welcome to our new Citrix community!
  • 0

The VDI is not available


Antonio Zec

Question

Hi,

 

Just had a host with hardware failure and with 3 VMs still on it.

Executed this command for each VM:

 

xe vm-reset-powerstate uuid=<UUID_of_the_VM_to_recover> --force

 

All good so far, I got the VMs back to the pool.

 

Now i wanted to boot the VMs but I get "The VDI is not available".

 

I guess its because the storage is locked on the VMs?

 

Tried "solution 1" in this guide Error: "VDI Not Available" (citrix.com)

 

/opt/xensource/sm/resetvdis.py single <VDI UUID>

 

Throws an error(See below), in the guide it says that " Use the VDI UUID from the error message or refer to the previous step. 

 

Traceback (most recent call last):
  File "/opt/xensource/sm/resetvdis.py", line 167, in <module>
    reset_vdi(session, vdi_uuid, force)
  File "/opt/xensource/sm/resetvdis.py", line 103, in reset_vdi
    {"vdiUuid": vdi_uuid, "srRef": vdi_rec["SR"]})
  File "/usr/lib/python2.7/site-packages/XenAPI.py", line 254, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/site-packages/XenAPI.py", line 150, in xenapi_request
    result = _parse_result(getattr(self, methodname)(*full_params))
  File "/usr/lib/python2.7/site-packages/XenAPI.py", line 228, in _parse_result
    raise Failure(result['ErrorDescription'])
XenAPI.Failure: ['HOST_OFFLINE', 'OpaqueRef:<Number>']

 

Im a little bit lost now, any help please :) ?

Link to comment

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...