Bug 24181

Summary: DNF complains about 'Unknown configuration value: failovermethod=priority' and 'Configuration: OptionBinding with id "failovermethod" does not exist'
Product: Mageia Reporter: Marja Van Waes <marja11>
Component: RPM PackagesAssignee: Neal Gompa <ngompa13>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: bequimao.de, ignatenko
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=1653831
Whiteboard:
Source RPM: dnf-4.0.10-1.mga7 CVE:
Status comment:
Attachments: output from last dnf run.

Description Marja Van Waes 2019-01-14 19:46:36 CET
Created attachment 10662 [details]
output from last dnf run.

Today, when updating with dnf, I noticed many error lines like this one:

Unknown configuration value: failovermethod=priority in /etc/yum.repos.d/mageia-x86_64.repo; Configuration: OptionBinding with id "failovermethod" does not exist

I haven't yet tried to reproduce it on a different system.
Ulrich Beckmann 2019-01-14 21:12:47 CET

CC: (none) => bequimao.de

Comment 1 Marja Van Waes 2019-01-25 21:27:53 CET
Forgot to tell that this issue exists in a different cauldron, too.

However, there the following warning is printed when starting dnf: 

/usr/lib/python3.7/site-packages/bs4/element.py:16: UserWarning: The soupsieve package is not installed. CSS selectors cannot be used.
  'The soupsieve package is not installed. CSS selectors cannot be used.'

That warning was shown for the first time on the same day as the "failovermethod" errors.

Is that a different issue, requiring a separate bug report, or are they related?
Comment 2 Ulrich Beckmann 2019-01-27 16:36:52 CET
(In reply to Marja Van Waes from comment #1)
> 
> /usr/lib/python3.7/site-packages/bs4/element.py:16: UserWarning: The
> soupsieve package is not installed. CSS selectors cannot be used.
>   'The soupsieve package is not installed. CSS selectors cannot be used.'
> 

I got this message in a new test of Mga7 beta 2, since I installed python3-dnf-plugin-tracer and python3-dnf-plugin-versionlock, and let go 
lib64python3.6 and lib64python3.6-stdlib because of their dependencies. However all dnf transactions went fine.

There are also no transactional problems in a Upgrade from Mga 6 with # dnf system-upgrade. Though there are dependency issues documented in 
https://bugs.mageia.org/show_bug.cgi?id=24100

Ulrich Beckmann
Comment 3 Marja Van Waes 2019-02-07 08:03:07 CET
The "failover" message started to annoy me, I've now silenced it with (as root)

  sed -i 's/failovermethod/#failovermethod/' /etc/yum.repos.d/*

According to https://bugzilla.redhat.com/show_bug.cgi?id=1653831 the failovermethod warning started with dnf-4.0.9, a version we skipped.

See Also: (none) => https://bugzilla.redhat.com/show_bug.cgi?id=1653831

Comment 4 Ulrich Beckmann 2020-05-21 20:27:28 CEST
I don't recall seeing the "failover" message. So I guess the issue is old and fixed since long.

As to soupsieve, python3-soupsieve should be installed, preferably automatically through dependencies.

Ulrich