fog / fog-vsphere

Fog for vSphere
MIT License
36 stars 63 forks source link

VMware 8 U2 issue with InvalidPowerState #287

Open sbernhard opened 11 months ago

sbernhard commented 11 months ago

VirtualMachine.reconfigure fails with InvalidPowerState

--> Result:
--> (vim.fault.InvalidPowerState) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = <unset>,
--> requestedState = "poweredOff",
--> existingState = "poweredOn"
--> msg = "The attempted operation cannot be performed in the current state (Powered on)."

Failed to detach ISO image from CDROM drive of instance : InvalidPowerState: The attempted operation cannot be performed in the current state (Powered on). Backtrace for 'Failed to detach ISO image from CDROM drive of instance InvalidPowerState: The attempted operation cannot be performed in the current state (Powered on).' error (RbVmomi::Fault):

sbernhard commented 11 months ago

@chris1984 Do you have a vmware 8.2 on which you can test this ?

chris1984 commented 11 months ago

I think our QE has one I can use. Worst case I just spin up one on my laptop with VMware Workstation.

sbernhard commented 11 months ago

@chris1984 Just saw this: https://bugzilla.redhat.com/show_bug.cgi?id=2247081

chris1984 commented 11 months ago

Oh nice it will fix this bug :)

chris1984 commented 11 months ago

Added it to our jira board so I remember to review it and linked it up with the BZ.

chris1984 commented 11 months ago

@sbernhard oh I thought this was a pr you made lol. Ok will get it so we can make a fix