Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16231

Stop slave options should list all possible options, not just "save" and "poweroff"

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • virtualbox-plugin
    • None

      In the latest release there were added the possibility to also poweroff a VM instead of just suspend (savestate) it.

      Poweroff is fine, if you've made the root disk reverting back to orig state on poweroff (or sometimes have to recover your machine from a snapshot if the filesystems were corrupted by the hard poweroff).

      But it would be better to be able to shutdown VMs in a clean way -> send ACPI Poweroff event to the VM, so the kernel can shut down (acpid does this on Linux, on Windows it depends on your energy settings what the poweroff button does).

      There should be at least all options to stop the slave that the API offers: https://www.virtualbox.org/sdkref/interface_i_console.html

      Or vboxmanage:

      VBoxManage controlvm        <uuid>|<name>
                                  pause|resume|reset|poweroff|savestate|
                                  acpipowerbutton|acpisleepbutton
      

          [JENKINS-16231] Stop slave options should list all possible options, not just "save" and "poweroff"

          Uwe Schindler created issue -
          Uwe Schindler made changes -
          Description Original: In the latest release there were added the possibility to also poweroff a VM instead of just suspend (savestate) it.

          Poweroff is fine, if you've made the root disk reverting back to orig state on poweroff (or sometimes have to recover your machine from a snapshot if the filesystems were corrupted by the hard poweroff), but it would be better to be able toshutdown VMs in a clean way -> send ACPI Poweroff event to the VM, so the kernel can shut down (acpid does this on Linux, on Windows it depends on your energy settings what the poweroff button does).

          There should be at least all options to stop the slave that the API offers: https://www.virtualbox.org/sdkref/interface_i_console.html

          Or vboxmanage:
          {noformat}
          VBoxManage controlvm <uuid>|<name>
                                      pause|resume|reset|poweroff|savestate|
                                      acpipowerbutton|acpisleepbutton
          {noformat}
          New: In the latest release there were added the possibility to also poweroff a VM instead of just suspend (savestate) it.

          Poweroff is fine, if you've made the root disk reverting back to orig state on poweroff (or sometimes have to recover your machine from a snapshot if the filesystems were corrupted by the hard poweroff).

          But it would be better to be able to shutdown VMs in a clean way -> send ACPI Poweroff event to the VM, so the kernel can shut down (acpid does this on Linux, on Windows it depends on your energy settings what the poweroff button does).

          There should be at least all options to stop the slave that the API offers: https://www.virtualbox.org/sdkref/interface_i_console.html

          Or vboxmanage:
          {noformat}
          VBoxManage controlvm <uuid>|<name>
                                      pause|resume|reset|poweroff|savestate|
                                      acpipowerbutton|acpisleepbutton
          {noformat}
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 147044 ] New: JNJira + In-Review [ 176797 ]

            godin godin
            thetaphi Uwe Schindler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: