Project

General

Profile

Bug #26812

The VM power off/on from CR -> VMs tab, throws undefined method error 'state'

Added by Jitendra Yejare 6 months ago. Updated 5 months ago.

Status:
Closed
Priority:
High
Category:
Compute resources - GCE
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

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.

power_on_off_error_in_UI.png View power_on_off_error_in_UI.png 132 KB Jitendra Yejare, 05/17/2019 07:54 AM
Power on off error in ui

Associated revisions

Revision 07a19c7f (diff)
Added by Kavita Gaikwad 5 months ago

Fixes #26812,#26814 - display correct vm_details in notifications

Revision a65a604c (diff)
Added by Kavita Gaikwad 5 months ago

Refs #26812 - add more vm's fields on vm detail page

History

#2 Updated by The Foreman Bot 6 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6780 added

#3 Updated by Tomer Brisker 5 months 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 5 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Jitendra Yejare 5 months ago

  • Bugzilla link set to 1721888

#6 Updated by The Foreman Bot 5 months ago

  • Pull request https://github.com/theforeman/foreman/pull/6794 added

#7 Updated by Kavita Gaikwad 5 months ago

I think PR https://github.com/theforeman/foreman/pull/6794 is irrelevant to this issue.

#8 Updated by Ondřej Ezr 5 months ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/6794)

Also available in: Atom PDF