VMware Cloud Community
itsthedeal
Contributor
Contributor

Multi-Machine provisioned resource or blueprint is stuck in the MachineProvisioned state


With this state you can't do any second day operations. Is it somehow possible to change this state of a VM without deleting the machine?

0 Kudos
3 Replies
itsthedeal
Contributor
Contributor


I found a solutions by going into the SQL db and run this query.


    USE

    GO


    UPDATE .[VirtualMachine]

       SET = 'On'

    WHERE like 'MachineProvisoned' 

    GO


Don't know if it's tricky but it works like a charm. 

0 Kudos
itsthedeal
Contributor
Contributor


Lost some characters by pasting the clipboard:


This is the query that did the trick:


    USE

    GO


    UPDATE .[VirtualMachine]

       SET = 'On'

    WHERE like 'MachineProvisoned' 

    GO


Cheers

USE

GO



 



UPDATE .[VirtualMachine]

  SET = 'On'

WHERE like 'MachineProvisoned' 

GO


0 Kudos
itsthedeal
Contributor
Contributor


happy Chrome. ;-( For some reason not everything is paste into the reply and uploaded to the forum.


Another try with Firefox and leave the breackets out


USE vRa


GO


UPDATE dbo.VirtualMachine


   SET VirtualMachineState = 'On'


WHERE VirtualMachineState like 'MachineProvisioned'


GO

0 Kudos