Bug 1879068

Summary: Collect hostsubnet information
Product: OpenShift Container Platform Reporter: Tomas Remes <tremes>
Component: Insights OperatorAssignee: Tomas Remes <tremes>
Status: CLOSED ERRATA QA Contact: Pavel Šimovec <psimovec>
Severity: high Docs Contact: Marc Muehlfeld <mmuehlfe>
Priority: unspecified    
Version: 4.6CC: aos-bugs, avicenzi, inecas, tremes
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: Insights Operator gathers anonymized HostSubnet resource configuration. Reason: Result: Anonymized HostSubnet configuration is collected by Insights Operator.
Story Points: ---
Clone Of:
: 1880352 (view as bug list) Environment:
Last Closed: 2020-10-27 16:41:13 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:
Bug Depends On:    
Bug Blocks: 1880352    

Description Tomas Remes 2020-09-15 11:34:44 UTC
Description of problem:

Collect hostsubnet cluster information

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Pavel Šimovec 2020-09-18 16:56:22 UTC
Expected:
1.
2.
3.
4. latestArchiveFiles output contains some hostsubnet files

Verification steps:
1. Ask for cluster-bot for cluster
2. Set KUBECONFIG env variable accordingly
3. run helper function insights-operator/test/integration/main_test.go::latestArchiveFiles 
4. output contains
...
config/hostsubnet/ip-10-0-156-237.ec2.internal.json
config/hostsubnet/ip-10-0-165-129.ec2.internal.json
config/hostsubnet/ip-10-0-228-21.ec2.internal.json
...

Automated test will be simple check - Does latestArchiveFiles output contain at least 1 file in format config/hostsubnet/ip-*.json ?

VERIFIED on 4.6.0-0.ci-2020-09-18-113850

Comment 5 errata-xmlrpc 2020-10-27 16:41:13 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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196