Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.4.2
-
None
Description
The 8.pm::pre_capture subroutine isn't properly handling the argument which specifies what the power state of the node being captured should be after the subroutine completes. It is setting a local variable before calling the parent module's pre_capture subroutine. This local variable is the value of $self->{end_state} if it is already set, otherwise it defaults to off. The parent module contains the code which sets the $self->{end_state}. As a result, the power state always gets set to the defualt value of off.
The libvirt.pm module specifies that the power state must be on after pre_capture is executed. Since the node is powered off, captures always fail.