Bug 1919567

Summary: Malformed system fact for ipv6 breaks the system page on HBI
Product: Red Hat Hybrid Cloud Console (console.redhat.com) Reporter: Waldirio M Pinheiro <wpinheir>
Component: Insights - Satellite IntegrationAssignee: Greg McCullough <gmccullo>
Status: CLOSED CURRENTRELEASE QA Contact: Rodrigo Antunes <rantunes>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: apatel, cmarinea, lphiri, robwilli, ronny.pfannschmidt, sjagtap, sshtein, theute
Target Milestone: ---Keywords: SubscriptionWatch
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1927775 (view as bug list) Environment:
Last Closed: 2021-11-05 19:45:43 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: 1927775    

Description Waldirio M Pinheiro 2021-01-23 17:54:31 UTC
Description of problem:
After pushing the fresh info via rh_cloud plugin, the customer is getting the issue as below when accessing the server information

---
Response body does not conform to specification
'' is not a 'ipv6' Failed validating 'format' in schema['properties']['results']['items']['properties']['system_profile']['properties']['network_interfaces']['items']['properties']['ipv6_addresses']['items']: {'description': 'The ipv6 address of the system', 'example': '0123:4567:89ab:cdef:0123:4567:89ab:cdef', 'format': 'ipv6', 'type': 'string'} On instance['results'][0]['system_profile']['network_interfaces'][0]['ipv6_addresses'][0]: ''
Request Id: e59fb48581ce430b8450a69dea145879
---

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


How reproducible:
100% with the customer data

Steps to Reproduce:
1. Steps below
- Unregistering the content host via Satellite Inventory page
- Remove also from cloud.redhat.com - Red Hat Insights - Inventory page
- Execute the command below on the Content Host
---
# insights-client --unregister && rm -f /etc/insights-client/machine-id && insights-client --register
---

- Push the info via Satellite/rh_cloud plugin

2.
3.

Actual results:

When accessing the server page, we got the info below


---
Response body does not conform to specification
'' is not a 'ipv6' Failed validating 'format' in schema['properties']['results']['items']['properties']['system_profile']['properties']['network_interfaces']['items']['properties']['ipv6_addresses']['items']: {'description': 'The ipv6 address of the system', 'example': '0123:4567:89ab:cdef:0123:4567:89ab:cdef', 'format': 'ipv6', 'type': 'string'} On instance['results'][0]['system_profile']['network_interfaces'][0]['ipv6_addresses'][0]: ''
Request Id: e59fb48581ce430b8450a69dea145879
---

Expected results:

See the correct information with no issues

Additional info:

Comment 14 Greg McCullough 2021-11-05 19:45:43 UTC
The Jira associated with this BZ was closed with a fix back in mid-Fed.  Closing issue as Current Release.

Comment 15 Red Hat Bugzilla 2023-09-15 00:59:03 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days