Red Hat Bugzilla – Bug 1272021
"undefined method `state'" when starting/stopping VM on vmware compute resource
Last modified: 2016-07-27 07:13:01 EDT
Description of problem:
When starting/stopping a VM on vmware compute resource, the operation takes a long time (~5 minutes), then the page loads and an error is displayed in a popup:
"Error - undefined method `state' for #<Fog::Compute::Vsphere::Server:0x007f72c8966d00>"
However, the operation is successful, VM on the vmware host starts/stops as requested.
Version-Release number of selected component (if applicable):
Satellite 6.1.3 COMPOSE 6
Steps to Reproduce:
1. Add a vmware compute resource
2. Click on Virtual Machines tab
3. Try to start or stop a VM
Operation takes a long time, in the end error is displayed
Operation takes less time, no error is displayed or success message is displayed
This is Satellite with updated fog gems:
This issue is no longer seen but upon trying to shutdown a vm, we see this message, during the confirmation dialog box.
"Are you sure you want to power off #<FogExtensions::Vsphere::MiniServer:0x0000000ec28e78>"
Will try to track this is another bug.
VERIFIED with sat62-snap12.1
The other bug to track the mentioned issue is https://bugzilla.redhat.com/show_bug.cgi?id=1337949
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.