Bug 1728671

Summary: There was an error listing VMs: undefined method `boot_order' for nil:NilClass
Product: Red Hat Satellite Reporter: Lukáš Hellebrandt <lhellebr>
Component: Compute Resources - CNVAssignee: Shira Maximov <mshira>
Status: CLOSED ERRATA QA Contact: Vladimír Sedmík <vsedmik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.6.0CC: orabin, pkliczew, vsedmik, zhunting
Target Milestone: 6.7.0Keywords: TestBlocker, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman_kubevirt-0.1.5,rubygem-foreman_kubevirt-0.1.5-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-14 13:24:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
production.log none

Description Lukáš Hellebrandt 2019-07-10 11:58:56 UTC
Description of problem:
When I open the Kubevirt CR, I get traceback (attached). The VMs tab shows "There was an error listing VMs: undefined method `boot_order' for nil:NilClass" error.

Version-Release number of selected component (if applicable):
Reproduced on Sat 6.6 snap 10, Kubernetes Master v1.11.0+d4cacc0.

How reproducible:
Deterministic

Steps to Reproduce:
1. Have a Satellite with some Kubevirt CR.
2. Infrastructure -> Compute Resources -> <CR>
3. -> Now you get a traceback in production.log
4. Virtual Machines
5. -> Now you get an error

Actual results:
Traceback, error, VMs not listed

Expected results:
VMs listed

Comment 4 Lukáš Hellebrandt 2019-07-10 11:59:45 UTC
Created attachment 1589087 [details]
production.log

Comment 6 Lukáš Hellebrandt 2019-07-15 08:40:42 UTC
This is not a regression from 6.5 because there was no support for kubevirt.
I doubt this is a regression from previous builds, but I'm not sure.
This makes an important part of feature useless but given kubevirt support is still experimental, I don't think this needs to be a beta blocker.

Comment 7 Shira Maximov 2019-08-01 11:33:18 UTC
Created redmine issue https://projects.theforeman.org/issues/27493 from this bug

Comment 8 Bryan Kearney 2019-08-27 14:01:44 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27493 has been resolved.

Comment 13 errata-xmlrpc 2020-04-14 13:24:51 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/RHSA-2020:1454