)]}'
{"nova/virt/vmwareapi/vmops.py":[{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"e6137c76ce6f9e56821b3d2c65565b5377a22d06","unresolved":false,"context_lines":[{"line_number":790,"context_line":"            LOG.debug(_(\"Rebooted guest OS of VM\"), instance\u003dinstance)"},{"line_number":791,"context_line":"        else:"},{"line_number":792,"context_line":"            LOG.debug(_(\"Doing hard reboot of VM\"), instance\u003dinstance)"},{"line_number":793,"context_line":"            reset_task \u003d self._session._call_method(self._session._get_vim(),"},{"line_number":794,"context_line":"                                                    \"ResetVM_Task\", vm_ref)"},{"line_number":795,"context_line":"            self._session._wait_for_task(instance[\u0027uuid\u0027], reset_task)"},{"line_number":796,"context_line":"            LOG.debug(_(\"Did hard reboot of VM\"), instance\u003dinstance)"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATn%2F%2FJHI%3D","line":793,"updated":"2013-11-13 21:36:25.000000000","message":"I don\u0027t think you can hard reset when the VM is powered-off.","commit_id":"917d5340daef551b538ea3a3b847b0d185b35020"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"fdcd3ac6bb00501bd756e1a6d84e49fc36c89986","unresolved":false,"context_lines":[{"line_number":790,"context_line":"            LOG.debug(_(\"Rebooted guest OS of VM\"), instance\u003dinstance)"},{"line_number":791,"context_line":"        else:"},{"line_number":792,"context_line":"            LOG.debug(_(\"Doing hard reboot of VM\"), instance\u003dinstance)"},{"line_number":793,"context_line":"            reset_task \u003d self._session._call_method(self._session._get_vim(),"},{"line_number":794,"context_line":"                                                    \"ResetVM_Task\", vm_ref)"},{"line_number":795,"context_line":"            self._session._wait_for_task(instance[\u0027uuid\u0027], reset_task)"},{"line_number":796,"context_line":"            LOG.debug(_(\"Did hard reboot of VM\"), instance\u003dinstance)"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATn%2F%2FJCg%3D","line":793,"in_reply_to":"AAAATn%2F%2FJDA%3D","updated":"2013-11-13 21:56:21.000000000","message":"Yeah, the statement on the doc is misleading (or my vCenter). Either ways good to check :)","commit_id":"917d5340daef551b538ea3a3b847b0d185b35020"},{"author":{"_account_id":7629,"name":"Shawn Hartsock","email":"hartsock@acm.org","username":"hartsocks"},"change_message_id":"5f753cfd1c526c2943f988ca3a19c78c9846f1a7","unresolved":false,"context_lines":[{"line_number":790,"context_line":"            LOG.debug(_(\"Rebooted guest OS of VM\"), instance\u003dinstance)"},{"line_number":791,"context_line":"        else:"},{"line_number":792,"context_line":"            LOG.debug(_(\"Doing hard reboot of VM\"), instance\u003dinstance)"},{"line_number":793,"context_line":"            reset_task \u003d self._session._call_method(self._session._get_vim(),"},{"line_number":794,"context_line":"                                                    \"ResetVM_Task\", vm_ref)"},{"line_number":795,"context_line":"            self._session._wait_for_task(instance[\u0027uuid\u0027], reset_task)"},{"line_number":796,"context_line":"            LOG.debug(_(\"Did hard reboot of VM\"), instance\u003dinstance)"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATn%2F%2FJDA%3D","line":793,"in_reply_to":"AAAATn%2F%2FJEA%3D","updated":"2013-11-13 21:54:34.000000000","message":"From the documentation: \n\nResetVM_Task: Resets power on this virtual machine. If the current state is poweredOn, then this method first performs powerOff(hard). Once the power state is poweredOff, then this method performs powerOn(option).\n\nThis implies that if the machine is off it will skip the powerOff command and move to the powerOn command. I will manually test this and provide a work-around if vSphere is not behaving according to its documentation.","commit_id":"917d5340daef551b538ea3a3b847b0d185b35020"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"6fb2ce3679f02cd3c31f2931bd1a5f2c511d458b","unresolved":false,"context_lines":[{"line_number":790,"context_line":"            LOG.debug(_(\"Rebooted guest OS of VM\"), instance\u003dinstance)"},{"line_number":791,"context_line":"        else:"},{"line_number":792,"context_line":"            LOG.debug(_(\"Doing hard reboot of VM\"), instance\u003dinstance)"},{"line_number":793,"context_line":"            reset_task \u003d self._session._call_method(self._session._get_vim(),"},{"line_number":794,"context_line":"                                                    \"ResetVM_Task\", vm_ref)"},{"line_number":795,"context_line":"            self._session._wait_for_task(instance[\u0027uuid\u0027], reset_task)"},{"line_number":796,"context_line":"            LOG.debug(_(\"Did hard reboot of VM\"), instance\u003dinstance)"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATn%2F%2FJEA%3D","line":793,"in_reply_to":"AAAATn%2F%2FJFs%3D","updated":"2013-11-13 21:49:34.000000000","message":"Invoking the API on a powered-off VM, results in an Invalid State \"Attempted operation cannot be performed in the current state\". It would be nice if you could check this out.","commit_id":"917d5340daef551b538ea3a3b847b0d185b35020"},{"author":{"_account_id":7629,"name":"Shawn Hartsock","email":"hartsock@acm.org","username":"hartsocks"},"change_message_id":"b8f77d46cad107d13c335f13387c88eda4534873","unresolved":false,"context_lines":[{"line_number":790,"context_line":"            LOG.debug(_(\"Rebooted guest OS of VM\"), instance\u003dinstance)"},{"line_number":791,"context_line":"        else:"},{"line_number":792,"context_line":"            LOG.debug(_(\"Doing hard reboot of VM\"), instance\u003dinstance)"},{"line_number":793,"context_line":"            reset_task \u003d self._session._call_method(self._session._get_vim(),"},{"line_number":794,"context_line":"                                                    \"ResetVM_Task\", vm_ref)"},{"line_number":795,"context_line":"            self._session._wait_for_task(instance[\u0027uuid\u0027], reset_task)"},{"line_number":796,"context_line":"            LOG.debug(_(\"Did hard reboot of VM\"), instance\u003dinstance)"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATn%2F%2FJFs%3D","line":793,"in_reply_to":"AAAATn%2F%2FJHI%3D","updated":"2013-11-13 21:41:15.000000000","message":"This is actually okay:\nhttp://pubs.vmware.com/vsphere-51/index.jsp#com.vmware.wssdk.apiref.doc/vim.VirtualMachine.html#reset\n\nWhat I should cover is \"suspended\" though. That\u0027s not going to work. Also... looks like I may need to alter some tests.","commit_id":"917d5340daef551b538ea3a3b847b0d185b35020"}]}
