-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shutdown/power on controls not functioning in ESXi 5.1 #2
Comments
do you mind posting the result of the ajax call here? |
It works well for a specific VM on the "vm.html" page, but not on the "vm-list.html" page. The shutdown prompt never displays. |
I don't mind posting the Ajax call but I have no clue how to get that info. |
That's weird. I couldn't reproduce the issue. I have a commit upcoming that removes power functions from the vm-list page soon |
Does it require a reboot of the host? Are you on the latest esxi build? |
It shouldn't require a reboot of the host, does it work on the individual vm page? |
It didn't seem to work on either. I'm going to reboot just for the hell of it and report back. |
Tested on ESXi 5.5 and the poweron / poweroff does not work on the vm or wm-list screens. Has the API call changed? |
Are you guys using the free ESXi? I haven't tested it on that version. |
ESXi does not come in different flavors from version to version - only different licensing. That being said, I've tested it on both with the same results. |
Yes, the version I am using it on is ESXi 5.5. You can get a free license for ESXi 5.5, if you are interested in grabbing a copy and testing. |
can you try going to https://{{esxihost}}/mob/?moid={{vmid}} and trying the poweron/poweroff methods in the ESX mob and let me know if they work. I'm directly POSTing to those built in methods. |
Wei Kin Huang - Good day. I performed the below. On executing, I received: Managed Object Type: ManagedObjectReference:VirtualMachine Properties Methods On clicking ShutdownGuess, I then clicked Invoke Method and received: Managed Object Type: MANAGEDOBJECTREFERENCE:VIRTUALMACHINE VOID SHUTDOWNGUEST Parameters
Method Invocation Result: RestrictedVersion
On 2013-11-02 13:48, Wei Kin Huang wrote:
Links:[1] |
Wei Kin Huang - The same result also applies for PowerOffVM_Task and ResetVM_Task. Blaine Schmidt On 2013-11-02 13:48, Wei Kin Huang wrote:
Links:[1] |
Wei Kin Huang - More information on the server: SERVERNAME VMWARE ESXI 5.5.0, 1331820 RESOURCES Uptime 17 DAYS Since Oct 25, 2013 5:25:06 PM Cpu: 525 MHZ / 12 x 1999 MHz Memory: 32466 MB / 65503 MB STORAGE: 1 DATASTORE(S) DATASTORE2 [2] NETWORK: 1 NETWORK(S) VM NETWORK GENERAL MANUFACTURER MODEL CPU CORES PROCESSOR TYPE PROCESSOR SOCKETS CORES PER SOCKET LOGICAL PROCESSORS NUMBER OF NICS STATE VMS AND TEMPLATES VMOTION ENABLED HOST CONFIG FOR FT On 2013-11-02 13:48, Wei Kin Huang wrote:
Links:[1] |
I think I'm having a similar issue. I'm running ESXi 5.0 non free license and when I am using the vm list page, the shutdown / power on buttons will not work. If I click on the VM and then click on the shutdown / power on buttons, then it will work. I'll have to dig more into the api calls to see what's going on. |
@nitrocode please do, thanks. I haven't had much time to work on this project lately. |
I'm pretty sure that this has something to do with the API restrictions in the free licensed ESXis. The API is read-only there :o( |
Title says it all, I have not been able to get power off/on to work on any of my VMs via the web access.
The text was updated successfully, but these errors were encountered: