Error "The tools ISO must be ejected from all running VMs in the pool" While installing XenServer hotfix.

Error "The tools ISO must be ejected from all running VMs in the pool" While installing XenServer hotfix.

book

Article ID: CTX209546

calendar_today

Updated On:

Description

When attempting to install XenServer hotfix the following error message is displayed:




Note that there are no ISO's attached to any of the VM's running in the pool. Also executed the 'xe vm-cd-eject --multiple' command to ensure this is the case:

xe vm-cd-eject --multiple operation failed on 175dba47-ed62-9810-dba7-1d3447fb1860:
 

Operation could not be performed because the drive is empty vbd

Resolution


1) Find out out all the VDI which are related to tools ISO

#xe vdi-list  | grep -B2 tools

Except the vdi which has name-label xs-tools.iso, no other VDI should have Virtual block devices attached to it.

2) To figure out that run the following command against each VDI

#xe vdi-list uuid=<UUID from step1> params=vbd-uuids

If any of the above except vdi with name-label xs-tools.iso return a VBD, we need to remove that object which holds that VBD

#xe vbd-list uuid=<UUID from step2> params=all

This will tell you which one is holding the VBD. In one case, it was a snapshot, which was destroyed using

#xe snapshot-destroy= UUID

Problem Cause

One of the snapshots (disk+memory) was holding old xentools as attached in XAPI DB.