VMware Cloud Community
gregorybfell
Contributor
Contributor

the attempted operation cannot be performed in the current state (powered o

i get this error when trying to stop/start/reset a vm.

the attempted operation cannot be performed in the current state (powered on)

i've already done a

service mgmt-vmware restart

tia

24 Replies
Fredie__CEM_
Contributor
Contributor

Hi,

I've the same problem, It seems that some host have incorrect information of vm state. In my case it occurs after a failed vmotion.

I try to reset management service of two hosts (source and destination off vmotion) with the command: service mgmt-vmware restart, then I restart Virtual center service on virtual center server and then it shows vmstate correct and I can start VM

Thanks for you post

Fredie

Reply
0 Kudos
tjpr
Contributor
Contributor

Hi,

     A VM had the said problem after removing a snapshot.

     We resolve this issue with the command "service mgmt-vmware restart" on the host esx (4.0.u2)

     Thanks for the tip.

Marcio.

Reply
0 Kudos
Bikunov
Contributor
Contributor

1) esxcli

2) esxcli vm process list          (Search list vm)

Exemple:

<strong>VM_name</strong>

World ID: <strong>8816110</strong>

Process ID: 0

VMX Cartel ID: 8816107

UUID: 42 1d 7e a7 93 4b d0 73-66 e2 8d e9 e0 b4 48 8b

Display Name: VM_name

Config File: /vmfs/volumes/578cb648-91d22142-bdcb-e09796147f2c/VM_name/VM_name.vmx

3)esxcli vm process kill --type= [soft,hard,force] --world-id= WorldNumber (Off VM)

Exemple:

esxcli vm process kill --type=force --world-id=8816110

Mattai
Contributor
Contributor

Check

If

"Compatibility ESXi 4 and later"

Then

"Upgrade Hardware"

After weekly problems...success

Reply
0 Kudos
robertitus
Contributor
Contributor

la solucion es sencilla, habilitar por un momento el SHELL SEGURO del esxi, ingresar por SSH:

/etc/init.d/hostd restart

/etc/init.d/vpxa restart

Listo por si acaso cambian el CD ISO que tenian

Reply
0 Kudos