1 (edited by allanlewis 2018-09-27 09:30:16)

Topic: DNF warning: "Unknown configuration value: failovermethod=roundrobin"

When running DNF in verbose mode on Fedora 28 I get the following warnings:

Unknown configuration value: failovermethod=roundrobin in /etc/yum.repos.d/remi-glpi91.repo; 'roundrobin' value is not implemented
Unknown configuration value: failovermethod=roundrobin in /etc/yum.repos.d/remi-glpi92.repo; 'roundrobin' value is not implemented
Unknown configuration value: failovermethod=roundrobin in /etc/yum.repos.d/remi-glpi93.repo; 'roundrobin' value is not implemented
Unknown configuration value: failovermethod=roundrobin in /etc/yum.repos.d/remi-php73-test.repo; 'roundrobin' value is not implemented
Unknown configuration value: failovermethod=roundrobin in /etc/yum.repos.d/remi-php73.repo; 'roundrobin' value is not implemented
Unknown configuration value: failovermethod=roundrobin in /etc/yum.repos.d/remi-test.repo; 'roundrobin' value is not implemented
Unknown configuration value: failovermethod=roundrobin in /etc/yum.repos.d/remi.repo; 'roundrobin' value is not implemented

This config option isn't mentioned in `man dnf.conf` but it is in `man yum.conf`, which says:

failovermethod Either `roundrobin' or `priority'.

`roundrobin' randomly selects a URL out of the list of URLs to start with and proceeds through each of them as it encounters a failure  contacting the host.

`priority' starts from the first baseurl listed and reads through them sequentially.

failovermethod defaults to `roundrobin' if not specified.

So it seems like this option could be removed from the repo file with no impact on either Yum- or DNF-based distros.

Re: DNF warning: "Unknown configuration value: failovermethod=roundrobin"

Strangely I cannot reproduce...

Which dnf version ? with which plugins ?

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: DNF warning: "Unknown configuration value: failovermethod=roundrobin"

I should read twice initial message... indeed in verbose mode...

Will respin a new remi-release package ASAP

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

4 (edited by allanlewis 2018-09-27 09:34:47)

Re: DNF warning: "Unknown configuration value: failovermethod=roundrobin"

Remi wrote:

Which dnf version ? with which plugins ?

$ dnf --version
2.7.5
$ rpm -q dnf
dnf-2.7.5-12.fc28.noarch
$ dnf list installed '*dnf*'       
Installed Packages
dnf.noarch                                                                               2.7.5-12.fc28                                                 @fedora
dnf-conf.noarch                                                                          2.7.5-12.fc28                                                 @fedora
dnf-plugins-core.noarch                                                                  2.1.5-4.fc28                                                  @fedora
dnf-utils.noarch                                                                         2.1.5-4.fc28                                                  @fedora
dnf-yum.noarch                                                                           2.7.5-12.fc28                                                 @fedora
libdnf.x86_64                                                                            0.11.1-3.fc28                                                 @fedora
python2-dnf.noarch                                                                       2.7.5-12.fc28                                                 @fedora
python3-dnf.noarch                                                                       2.7.5-12.fc28                                                 @fedora
python3-dnf-plugin-rpmconf.noarch                                                        2.0.5-3.fc28                                                  @fedora
python3-dnf-plugin-versionlock.noarch                                                    2.1.5-4.fc28                                                  @fedora
python3-dnf-plugins-core.noarch                                                          2.1.5-4.fc28                                                  @fedora
python3-dnf-plugins-extras-common.noarch                                                 2.0.5-3.fc28                                                  @fedora

Re: DNF warning: "Unknown configuration value: failovermethod=roundrobin"

Remi wrote:

Will respin a new remi-release package ASAP

Thanks for the quick response!

Re: DNF warning: "Unknown configuration value: failovermethod=roundrobin"

Fixed in

* remi-release-29-2.f29
* remi-release-28-4.f28
* remi-release-27-5.f27

Thanks agein for the notice.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: DNF warning: "Unknown configuration value: failovermethod=roundrobin"

Remi wrote:

Fixed in
...
* remi-release-28-4.f28

I've installed this and can confirm that I no longer see the warnings in verbose mode - thanks for fixing this!

Re: DNF warning: "Unknown configuration value: failovermethod=roundrobin"

smile

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi