Description: ------------------- The VM power off/on from CR -> VMs throws below error but the VM in GCE is turning on and off as expected. Error - undefined method `state' for #Fog::Compute::Google::Server:0x005564da4bac78 Did you mean? start status Step: --------- 1. Create/Integrate a Compute Resource of GCE in/with foreman. 2. Wait for all the VMs to be listed in VMs tab under GCE CR. 3. Click PowerOff/On button for the VM in VMs tab. Actual Result: ---------------- The VM power off/on from CR -> VMs throws below error but the VM in GCE is turning on and off as expected. Error - undefined method `state' for #Fog::Compute::Google::Server:0x005564da4bac78 Did you mean? start status Expected Behavior: -------------------- The VM Power on/off should not through any error.
Created from redmine issue https://projects.theforeman.org/issues/26812
Upstream bug assigned to kgaikwad
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26812 has been resolved.
*** Bug 1721887 has been marked as a duplicate of this bug. ***
Verified merge-request satellite6/foreman/merge_requests/428 which contains the commit for this BZ.
Verified! @Satellite 6.6 snap 9 Steps: ------------ 1. Create/Integrate a Compute Resource of GCE in/with the foreman. 2. Wait for all the VMs to be listed in VMs tab under GCE CR. 3. Click PowerOff/On button for the VM in VMs tab. Observation: ---------------- 1. Error(s) (specially reported in the description of this bug) is not seen.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:3172