Bug 1271984 - "500 Internal Server Error" or "undefined method 'state' for..." when listing VMs in RHEV compute resource
Summary: "500 Internal Server Error" or "undefined method 'state' for..." when listing...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources - RHEV
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-15 08:38 UTC by Antonin Pagac
Modified: 2019-09-26 13:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-13 20:14:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Antonin Pagac 2015-10-15 08:38:23 UTC
Description of problem:
When trying to list VMs on freshly added RHEV compute resource, one of following errors appear:

"There was an error listing VMs: 500 Internal Server Error"
or
"There was an error listing VMs: undefined method `state' for #<Fog::Compute::Ovirt::Server:0x0000000a5c7ab0>"

There is no additional info in production.log

Version-Release number of selected component (if applicable):
Satellite Version 6.1.3 COMPOSE 6
Red Hat Enterprise Virtualization Manager Version: 3.6.0-0.18.el6

How reproducible:
There always appears an error, it seems to be random of the two errors mentioned.

Steps to Reproduce:
1. Add a rhev (3.6) compute resource
2. Click on Virtual Machines tab
3. One of the errors appears

Actual results:
Can't list VMs, error appears

Expected results:
Can list VMs, list of VMs appears

Additional info:
Sat6 running with updated fog:

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

Also updated is rbovirt:
ruby193-rubygem-rbovirt-0.0.35-1.el7.noarch

Comment 1 Antonin Pagac 2015-10-15 08:55:37 UTC
Tried also with rhevm3.5, the error appears there too.

Red Hat Enterprise Virtualization Manager Version: 3.5.0-0.32.el6ev

Comment 3 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 4 Bryan Kearney 2016-07-26 15:39:52 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 6 Bryan Kearney 2017-03-13 20:14:59 UTC
I do not see this bug being addressed in the near term. If you believe closing this is an issue, please feel free to re-open with additional information.


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