Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1272021 - "undefined method `state'" when starting/stopping VM on vmware compute resource
Summary: "undefined method `state'" when starting/stopping VM on vmware compute resource
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-15 09:52 UTC by Antonin Pagac
Modified: 2019-09-26 14:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:13:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Antonin Pagac 2015-10-15 09:52:14 UTC
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

How reproducible:
Always

Steps to Reproduce:
1. Add a vmware compute resource
2. Click on Virtual Machines tab
3. Try to start or stop a VM

Actual results:
Operation takes a long time, in the end error is displayed

Expected results:
Operation takes less time, no error is displayed or success message is displayed

Additional info:
This is Satellite with updated fog gems:
ruby193-rubygem-fog-core-1.32.0-1.el7.noarch
ruby193-rubygem-fog-google-0.0.7-1.el7.noarch
ruby193-rubygem-fog-1.32.0-1.el7.noarch
ruby193-rubygem-fog-aws-0.7.2-1.el7.noarch
ruby193-rubygem-fog-json-1.0.0-2.1.el7.noarch
ruby193-rubygem-fog-xml-0.1.2-1.el7.noarch

Comment 3 Kedar Bidarkar 2016-05-20 13:12:04 UTC
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

Comment 4 Kedar Bidarkar 2016-05-20 14:11:33 UTC
The other bug to track the mentioned issue is https://bugzilla.redhat.com/show_bug.cgi?id=1337949

Comment 5 Bryan Kearney 2016-07-27 11:13:01 UTC
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/RHBA-2016:1501


Note You need to log in before you can comment on or make changes to this bug.