Bug #26812
The VM power off/on from CR -> VMs tab, throws undefined method error 'state'
Description
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.
Associated revisions
Refs #26812 - add more vm's fields on vm detail page
History
#1
Updated by Jitendra Yejare over 3 years ago
Screenshot:
#2
Updated by The Foreman Bot about 3 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6780 added
#3
Updated by Tomer Brisker about 3 years ago
- Found in Releases 1.22.0 added
- Found in Releases deleted (
1.22.1) - Fixed in Releases 1.22.1, 1.23.0 added
#4
Updated by Kavita Gaikwad about 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 07a19c7f8bbfb81ad741a6c64203c8f2cf0a323d.
#5
Updated by Jitendra Yejare about 3 years ago
- Bugzilla link set to 1721888
#6
Updated by The Foreman Bot about 3 years ago
- Pull request https://github.com/theforeman/foreman/pull/6794 added
#7
Updated by Kavita Gaikwad about 3 years ago
I think PR https://github.com/theforeman/foreman/pull/6794 is irrelevant to this issue.
#8
Updated by Ondřej Ezr about 3 years ago
- Pull request deleted (
https://github.com/theforeman/foreman/pull/6794)
Fixes #26812,#26814 - display correct vm_details in notifications