Bug 2185934 - NFS repository messages less useful and in a less natural place than before
Summary: NFS repository messages less useful and in a less natural place than before
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 39
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: openqa
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-11 16:28 UTC by Adam Williamson
Modified: 2023-08-16 08:15 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Adam Williamson 2023-04-11 16:28:36 UTC
Since recent Rawhide changes - probably 31cd5e7eab51ae05ec1b58f120f90e034eff679c - the log messages relating to NFS repositories are less useful and in a less useful place than before.

Previously, the messages appeared in packaging.log (where you'd expect to find them), and one of them looked like this:

10:38:37,252 DBG packaging: Add the 'addrepo' repository (RepoConfigurationData(cost=1000, enabled=True, excluded_packages=[], included_packages=[], installation_enabled=False, name='addrepo', origin='USER', proxy='', ssl_configuration=SSLConfigurationData(), ssl_verification_enabled=True, type='BASEURL', url='nfs://172.16.2.110:/mnt/update_repo')).

note the 'url' given is the actual url of the repository.

Now, the messages appear in syslog (probably not where you'd expect to find them), and that same message looks like this:

14:34:24,666 WARNING org.fedoraproject.Anaconda.Modules.Payloads:DEBUG:anaconda.modules.payloads.payload.dnf.repositories:Add the 'addrepo' repository (RepoConfigurationData(cost=1000, enabled=True, excluded_packages=[], included_packages=[], installation_enabled=False, name='addrepo', origin='USER', proxy='', ssl_configuration=SSLConfigurationData(), ssl_verification_enabled=True, type='BASEURL', url='file:///run/install/sources/mount-0000-nfs-device')).

it's got a useless prefix on it which is annoying, but more importantly the url is now not the actual url of the NFS repo at all, but some kind of internal anaconda redirection file URL, which is of no use to the user.

Comment 1 Adam Williamson 2023-04-11 16:29:29 UTC
I noticed this because it messes up openQA's checks for verifying that the repo we attempted to add actually got added, but even if I hack up that check to keep working, this is clearly a less useful log message than before.

Comment 2 Fedora Release Engineering 2023-08-16 08:15:06 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.


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