Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-877

libvirt provisioning module fails to process checkpoint state correctly

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.2
    • 2.5
    • vcld (backend)
    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            fapeeler Frank Aaron Peeler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment