Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-42828

The API call for performing a power action on the VM is failing for OCP-V.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 6.19.0
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      While performing power on/off actions on a VM through the compute resource API, the request fails and returns an error instead of executing successfully.
      Error -

      "ERF42-9613 [Foreman::Exception]: Virtual machine was not found by id 1"

      How reproducible:

      Always

      Is this issue a regression from an earlier version:

      No

      Steps to Reproduce:

      1. Infrastructure -> Compute Resources -> Create OCP-V Compute Resources

      2. Run API call - 
      PUT /api/compute_resources/:id/available_virtual_machines/:vm_id/power

      Actual behavior:
      The API call is not working with the VM ID, and as a result, it fails to perform the power action on the VM.

      Expected behavior:
      The API request is expected to complete successfully and initiate the specified power operation on the VM.

      Additional info:

      The same issue has been identified in the CLI, and a bug has been raised SAT-42582.

              rhn-engineering-lstejska Leos Stejskal
              rh-ee-amolpati Amol Patil
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: