RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2234609 - Need correction in summary of "Title: Automatic registration into Red Hat Insights" in /var/log/leapp/leapp-report.txt log file
Summary: Need correction in summary of "Title: Automatic registration into Red Hat I...
Keywords:
Status: CLOSED DUPLICATE of bug 2222861
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: leapp-repository
Version: 8.8
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Leapp Notifications Bot
QA Contact: upgrades-and-conversions
Miriam Portman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-24 21:09 UTC by Suresh
Modified: 2023-08-25 08:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-25 08:50:15 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OAMG-9708 0 None None None 2023-08-24 21:10:19 UTC
Red Hat Issue Tracker RHELPLAN-166493 0 None None None 2023-08-24 21:10:15 UTC

Description Suresh 2023-08-24 21:09:35 UTC
Description of problem:
=======================

For RHEl8 to RHEl9 upgrade using leapp , "leapp preugrade" generates /var/log/leapp/leapp-report.txt the below "Risk Factor: info" regarding "Automatic registration into Red Hat Insights"  need correction in summary.


Version-Release number of selected component (if applicable):
=============================================================
~~~
#rpm -qa |grep leapp
leapp-0.15.1-1.el8.noarch
leapp-upgrade-el8toel9-deps-0.18.0-1.el8_8.2.noarch
python3-leapp-0.15.1-1.el8.noarch
leapp-upgrade-el8toel9-0.18.0-1.el8_8.2.noarch
leapp-deps-0.15.1-1.el8.noarch
~~

How reproducible:
=================
Always

Steps to Reproduce:
===================

1. On registered and subscribed RHEl7.9 system to customer portal enable "rhel-7-server-extras-rpms" repository and install  package for leapp

 #yum install leapp-upgrade

2.Execute "leapp preupgrade"

3. Check /var/log/leapp/leapp-report.txt for "Title: Automatic registration into Red Hat Insights" You will see below message . 
~~~
Risk Factor: info
Title: Automatic registration into Red Hat Insights
Summary: After the upgrade, this system will be automatically registered into Red Hat Insights. To skip the automatic registration, use the '--no-insights-autoregister' command line option or set the NO_INSIGHTS_AUTOREGISTER environment variable.
~~~

'--no-insights-autoregister' is not correct option it should be "--no-insights-register" also 'NO_INSIGHTS_AUTOREGISTER' environment variable is not valid it should be "LEAPP_NO_INSIGHTS_REGISTER"

Reference:https://leapp.readthedocs.io/en/latest/el7toel8/envars.html#leapp-no-insights-register

Actual results:
===============
The leapp-report.txt shows incorrect command line option  and environment variable in summary to skip the automatic registration to insights during leapp.
~~~
Risk Factor: info
Title: Automatic registration into Red Hat Insights
Summary: After the upgrade, this system will be automatically registered into Red Hat Insights. To skip the automatic registration, use the '--no-insights-autoregister' command line option or set the NO_INSIGHTS_AUTOREGISTER environment variable.
~~~

Expected results:
=================

The message in leapp-report.txt  should be look like below
~~~
Risk Factor: info
Title: Automatic registration into Red Hat Insights
Summary: After the upgrade, this system will be automatically registered into Red Hat Insights. To skip the automatic registration, use the '--no-insights-register' command line option or set the LEAPP_NO_INSIGHTS_REGISTER environment variable.
~~~

Additional info:
=================

#leapp upgrade --help
~~~
  --no-insights-register
                        Do not register into Red Hat Insights
~~~

Reference:

https://leapp.readthedocs.io/en/latest/el7toel8/envars.html#leapp-no-insights-register

Comment 1 Petr Stodulka 2023-08-25 08:50:15 UTC
Hi Suresh \o thank you for the report. It's duplicate of bug 2222861 which is going to be fixed in the next release.

*** This bug has been marked as a duplicate of bug 2222861 ***


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