Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.4.2
-
None
Description
2 items for checkpoint image save on kvm provisioned nodes
1) fails to determine the proper domain name, under checkpoint state, libvirt fails to find the correct domain name for checking the power_status
- modifications in get_domain_name routine
add checkpoint in addition to image
change code:
if ($request_state_name eq 'image') {
to
if ($request_state_name =~ /image|checkpoint/) {
2) if a checkpoint fails, the request stateid and laststateid get updated to maintenance/image. Which shows as an image failure in the dashboard, and if the vcl admin triggers a re-capture through the dashboard, it is treated as an image capture and user looses the reservation.
Need to check for which state it is(image|checkpoint) and set correctly.