Archives


Unable to VMotion, unable to disconnect ISO

We had a small issue today with a virtual machine at one of our customer sites. We were unable to do a VMotion. The message we got was that there was an ISO image connected to the system.

Well, we tried all the standard things like being tenacious and clicking Yes on the question if I wanted to continue the VMotion (which failed ofcourse) and trying to edit it from within VirtualCenter. Unfortunately the option to edit was grayed out. Hmm..


Since I installed the VI Toolkit for PowerShell I tried it with that.
get-vm -name "ServerName" | get-cddrive | where {$_.ISOPATH -ne $null}|set-cddrive -nomedia
Ofcourse this also didn’t work. The message I got was

Set-CDDrive : 11/5/2008 1:46:51 PM Set-CDDrive The operation for the entity vm-253 failed with the following message: “The operation is not allowed in the current state.”

It looked like one of those things that make your heartbeat just rise a little.
From the commandline (vmware-cmd /vmfs/volumes/LUN/SERVER/SERVER.vmx disconnect ide0:0 ) it also ended in an error: Error executing the command “disconnect”.
It still looked like I did the right things to it.

Eventually I restarted the management services on the host itself (service mgmt-vmware restart).
It finally worked again.. I could disable the CD-ROM and VMotion the machine to another system.

Google BookmarksEmailHyvesStumbleUponLinkedInShare

Related posts:

  1. ESXi 4.1 installation fails – Unable to find the system image
  2. Long distance VMotion
  3. New articles published for week ending 3/1/2009
  4. Windows 7 unable to connect to View Connection Server
  5. New articles published for week ending 6/14/2009

Tags: , ,

About

Anne Jan Elsinga is a Consultant for Imtech ICT in the Netherlands. He spends his working hours with a lot of virtualization stuff, from feasibility to implementation for server virtualization/consolidation and desktop virtualization. In 2009, 2010 and 2011 he was awarded with the VMware vExpert status. In the night time he dances latin, ballroom and salsa and he also discovered the pleasure of diving.

  • http://www.vmguru.nl/ Tazz

    Looks like a bad VC day today!

  • http://www.vmguru.nl Tazz

    Looks like a bad VC day today!