Project

General

Profile

Actions

Bug #36338

closed

Module streams on Content tab is missing for Rocky Linux 8.7 and 9

Added by Lucy Fu over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Community issue https://community.theforeman.org/t/question-about-module-stream/33347

Regex from the following line does not support "Rocky Linux"
https://github.com/Katello/katello/blob/918b22b4bc147b433f724a9f47eeffd731c32f24/webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/ModuleStreamsTab.js#L52

Is it better to enable the tab by default unless we know it should be disabled? Thoughts?

Actions #1

Updated by Lucy Fu over 1 year ago

  • Description updated (diff)
Actions #2

Updated by Samir Jha over 1 year ago

  • Triaged changed from No to Yes

Lucy Fu wrote:

Community issue https://community.theforeman.org/t/question-about-module-stream/33347

Regex from the following line does not support "Rocky Linux"
https://github.com/Katello/katello/blob/918b22b4bc147b433f724a9f47eeffd731c32f24/webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/ModuleStreamsTab.js#L52

Is it better to enable the tab by default unless we know it should be disabled? Thoughts?

Try showing Module Stream tab regardless of host OS. Default to empty state if host.available_module_stream is empty. Display the table otherwise.

Actions #3

Updated by Lucy Fu over 1 year ago

host.available_module_stream returns [] for both unsupported OS and no module streams reported.
so we can't use it to to make the decision to hide the Module streams tab.
also I don't like to display Module streams tab for a CentOS 7 which says 'this host does not support Module streams'.
I would like to keep the existing logic but fix the regex (hopefully).

Actions #4

Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.9.0 added
Actions #5

Updated by Lucy Fu over 1 year ago

  • Status changed from New to Closed
Actions #6

Updated by The Foreman Bot over 1 year ago

  • Assignee set to Lucy Fu
Actions #7

Updated by Ewoud Kohl van Wijngaarden over 1 year ago

  • Fixed in Releases Katello 4.8.1 added
Actions

Also available in: Atom PDF