Project

General

Profile

Actions

Bug #26812

closed

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

Added by Jitendra Yejare almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
High
Category:
Compute resources - GCE
Target version:
-
Difficulty:
Triaged:
No
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.


Files

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
Actions #2

Updated by The Foreman Bot almost 5 years ago

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

Updated by Tomer Brisker almost 5 years ago

  • Fixed in Releases 1.22.1, 1.23.0 added
  • Found in Releases 1.22.0 added
  • Found in Releases deleted (1.22.1)
Actions #4

Updated by Kavita Gaikwad almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Jitendra Yejare almost 5 years ago

  • Bugzilla link set to 1721888
Actions #6

Updated by The Foreman Bot almost 5 years ago

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

Updated by Kavita Gaikwad almost 5 years ago

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

Actions #8

Updated by Ondřej Ezr almost 5 years ago

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

Also available in: Atom PDF