Bug 1439345 - appliance_console will not open if no network attached
Summary: appliance_console will not open if no network attached
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.9.0
Assignee: Brandon Dunne
QA Contact: luke couzens
URL:
Whiteboard: black
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-05 18:33 UTC by Ian Tewksbury
Modified: 2018-03-01 13:11 UTC (History)
6 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-01 13:11:02 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
image of the error because couldn't copy paste out of console. (22.51 KB, image/png)
2017-04-05 18:34 UTC, Ian Tewksbury
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 0 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 18:37:12 UTC

Description Ian Tewksbury 2017-04-05 18:33:25 UTC
Description of problem:

Before a network was attached to the appliance if the appliance_console is attempted to be opened it will error.

Version-Release number of selected component (if applicable):
5.8.0.9-alpha2.20170404195944_1d7ece4

How reproducible:
Always


Steps to Reproduce:
1. create an appliance without a network adaptor
2. attempt to open appliance_console

Actual results:
appliance_console fails to open and throws an error.

Expected results:
Appliance console should either just open, or give a nicer error that there is no network.

Additional info:
Found during 5.8 test-a-thon

Comment 2 Ian Tewksbury 2017-04-05 18:34:30 UTC
Created attachment 1269047 [details]
image of the error because couldn't copy paste out of console.

Comment 4 CFME Bot 2017-10-03 15:10:13 UTC
New commit detected on ManageIQ/linux_admin/master:
https://github.com/ManageIQ/linux_admin/commit/a93307ee94f73bd47c28e7ba100346dd4cd53a52

commit a93307ee94f73bd47c28e7ba100346dd4cd53a52
Author:     Brandon Dunne <bdunne>
AuthorDate: Wed Sep 27 12:03:30 2017 -0400
Commit:     Brandon Dunne <bdunne>
CommitDate: Wed Sep 27 14:06:38 2017 -0400

    Allow using NetworkInterface when the file doesn't exist yet
    
    Also rescue failures for refreshing interfaces that don't exist
    https://bugzilla.redhat.com/show_bug.cgi?id=1439345

 lib/linux_admin/network_interface.rb               | 10 ++--
 .../network_interface/network_interface_rh.rb      | 20 ++++---
 .../network_interface/network_interface_rh_spec.rb |  3 ++
 spec/network_interface_spec.rb                     | 63 +++++++++++-----------
 4 files changed, 51 insertions(+), 45 deletions(-)

Comment 5 luke couzens 2017-10-12 10:30:40 UTC
Verified in 5.9.0.2

Comment 8 errata-xmlrpc 2018-03-01 13:11:02 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-2018:0380


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