Bug #3216

vmm/xen4: xl reset: command not implemented

Added by Laurent Grawet almost 7 years ago. Updated over 6 years ago.

Status:ClosedStart date:10/01/2014
Priority:NormalDue date:
Assignee:Javi Fontan% Done:

0%

Category:Drivers - VM
Target version:Release 4.10
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.4, OpenNebula 4.6, OpenNebula 4.8

Description

Hi,

The "xl reset" command is still not implemented in Xen 4.4 (Ubuntu LTS 14.04)

Wed Oct 1 10:43:48 2014 [VMM][I]: Command execution fail: 'if [ -x "/var/tmp/one/vmm/xen4/reset" ]; then /var/tmp/one/vmm/xen4/reset one-1472 xen8.mydomain 1472 xen8.mydomain; else exit 42; fi'
Wed Oct 1 10:43:48 2014 [VMM][E]: reset: Command "sudo /usr/sbin/xl reset one-1472" failed: command not implemented
Wed Oct 1 10:43:48 2014 [VMM][E]: Could not reset domain one-1472
Wed Oct 1 10:43:48 2014 [VMM][I]: ExitCode: 1
Wed Oct 1 10:43:48 2014 [VMM][E]: Error rebooting-hard VM, assume it's still running: Could not reset domain one-1472
Wed Oct 1 10:44:49 2014 [LCM][I]: New VM state is CLEANUP.
Wed Oct 1 10:44:49 2014 [VMM][I]: Driver command for 1472 cancelled

Best regards,

Laurent

Associated revisions

Revision 74735504
Added by Javi Fontan over 6 years ago

bug #3216: xen4 reset executes reboot with ACPI

xen 4.2 lacks reset command and can not be implemented with the information provided to
the driver (lacks deployment file path). The driver is changed so it calls reboot with
-F parameters so it will send ACPI signal in case it is HVM and does not have PV drivers.

History

#1 Updated by Ruben S. Montero almost 7 years ago

  • Target version changed from 67 to Release 4.10

#2 Updated by Javi Fontan over 6 years ago

Xen 4.4 lacks a force reset command. It could be implemented using destroy and create but the reset action does not know where the deployment file is located. The xen4 reset command will be modified to call reboot with -F parameter. This will send an ACPI message to the guest for HVM VMs without PV drivers. It won't solve the problem but may be helpful in some cases.

The real reset action can not be implemented until xen itself adds a reset action (or force reboot) or the reset action gets more information about the VM (deployment file location).

#3 Updated by Javi Fontan over 6 years ago

  • Assignee set to Javi Fontan

#4 Updated by Ruben S. Montero over 6 years ago

  • Status changed from Pending to Closed
  • Resolution set to fixed

Also available in: Atom PDF