Bug 1527672 - Missing update of collectd-nut to version 5.8.0
Summary: Missing update of collectd-nut to version 5.8.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: collectd
Version: 26
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ruben Kerkhof
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-19 21:04 UTC by Håkon Løvdal
Modified: 2018-04-15 18:12 UTC (History)
7 users (show)

Fixed In Version: collectd-5.8.0-2.fc26.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-15 18:12:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Håkon Løvdal 2017-12-19 21:04:55 UTC
Description of problem:

The collectd-nut package is not updated to version 5.8.0 like all the other collectd packages, making it impossible to upgrade.


How reproducible:

Always.


Steps to Reproduce:
1. dnf check-update; dnf update -y; rpm -qi collectd-nut-5.7.2-5.fc26.x86_64

Actual results:

Last metadata expiration check: 2:58:37 ago on Tue 19 Dec 2017 18:49:00 CET.

collectd.x86_64                                 5.8.0-2.fc26                   updates
collectd-curl.x86_64                            5.8.0-2.fc26                   updates
collectd-curl_json.x86_64                       5.8.0-2.fc26                   updates
collectd-dbi.x86_64                             5.8.0-2.fc26                   updates
collectd-disk.x86_64                            5.8.0-2.fc26                   updates
collectd-dns.x86_64                             5.8.0-2.fc26                   updates
collectd-email.x86_64                           5.8.0-2.fc26                   updates
collectd-ipmi.x86_64                            5.8.0-2.fc26                   updates
collectd-iptables.x86_64                        5.8.0-2.fc26                   updates
collectd-java.x86_64                            5.8.0-2.fc26                   updates
collectd-lua.x86_64                             5.8.0-2.fc26                   updates
collectd-lvm.x86_64                             5.8.0-2.fc26                   updates
collectd-mysql.x86_64                           5.8.0-2.fc26                   updates
collectd-notify_desktop.x86_64                  5.8.0-2.fc26                   updates
collectd-notify_email.x86_64                    5.8.0-2.fc26                   updates
collectd-onewire.x86_64                         5.8.0-2.fc26                   updates
collectd-postgresql.x86_64                      5.8.0-2.fc26                   updates
collectd-python.x86_64                          5.8.0-2.fc26                   updates
collectd-rrdcached.x86_64                       5.8.0-2.fc26                   updates
collectd-rrdtool.x86_64                         5.8.0-2.fc26                   updates
collectd-sensors.x86_64                         5.8.0-2.fc26                   updates
collectd-smart.x86_64                           5.8.0-2.fc26                   updates
collectd-snmp.x86_64                            5.8.0-2.fc26                   updates
collectd-utils.x86_64                           5.8.0-2.fc26                   updates
collectd-virt.x86_64                            5.8.0-2.fc26                   updates
collectd-web.x86_64                             5.8.0-2.fc26                   updates
libcollectdclient.x86_64                        5.8.0-2.fc26                   updates
perl-Collectd.x86_64                            5.8.0-2.fc26                   updates
Last metadata expiration check: 2:58:42 ago on Tue 19 Dec 2017 18:49:00 CET.
Dependencies resolved.

 Problem 1: package collectd-nut-5.7.2-5.fc26.x86_64 requires collectd(x86-64) = 5.7.2-5.fc26, but none of the providers can be installed
  - cannot install both collectd-5.8.0-2.fc26.x86_64 and collectd-5.7.2-5.fc26.x86_64
  - cannot install both collectd-5.7.2-5.fc26.x86_64 and collectd-5.8.0-2.fc26.x86_64
  - cannot install the best update candidate for package collectd-nut-5.7.2-5.fc26.x86_64
  - cannot install the best update candidate for package collectd-5.7.2-5.fc26.x86_64
 Problem 2: problem with installed package collectd-nut-5.7.2-5.fc26.x86_64
  - package collectd-nut-5.7.2-5.fc26.x86_64 requires collectd(x86-64) = 5.7.2-5.fc26, but none of the providers can be installed
  - cannot install both collectd-5.8.0-2.fc26.x86_64 and collectd-5.7.2-5.fc26.x86_64
  - cannot install both collectd-5.7.2-5.fc26.x86_64 and collectd-5.8.0-2.fc26.x86_64
  - package collectd-curl-5.8.0-2.fc26.x86_64 requires collectd(x86-64) = 5.8.0-2.fc26, but none of the providers can be installed
  - cannot install the best update candidate for package collectd-curl-5.7.2-5.fc26.x86_64
======================================================================================
 Package                Arch            Version                Repository        Size
======================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 collectd               x86_64          5.8.0-2.fc26           updates          621 k
Skipping packages with broken dependencies:
 collectd-curl          x86_64          5.8.0-2.fc26           updates           45 k

Transaction Summary
======================================================================================
Skip  2 Packages

Nothing to do.
Complete!
Name        : collectd-nut
Version     : 5.7.2
Release     : 5.fc26
Architecture: x86_64
Install Date: Fri 20 Oct 2017 00:08:17 CEST
Group       : System Environment/Daemons
Size        : 10999
License     : GPLv2
Signature   : RSA/SHA256, Sun 18 Jun 2017 14:16:45 CEST, Key ID 812a6b4b64dab85d
Source RPM  : collectd-5.7.2-5.fc26.src.rpm
Build Date  : Sun 18 Jun 2017 14:01:34 CEST
Build Host  : buildhw-05.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : https://collectd.org/
Summary     : Network UPS Tools plugin for collectd
Description :
This plugin for collectd provides Network UPS Tools support.


Expected results:

All collectd-* packages should be updated.

Comment 1 Gabriele Pohl 2018-01-07 12:27:38 UTC
Second problem is that the configuration of 5.8 
demands plugin nut per entry in /etc/collectd.d/nut.conf 

So is does not only break upgrading but also a fresh install of collectd.

......... 

I installed collectd for the first time and got the following
error when starting the service:

Jan 07 12:53:20 niva collectd[4659]: plugin_load: Could not find plugin "nut" in /usr/lib64/collectd
Jan 07 12:53:20 niva systemd[1]: collectd.service: Main process exited, code=exited, status=1/FAILURE
Jan 07 12:53:20 niva systemd[1]: Failed to start Collectd statistics daemon.

Investigating the error I found that collectd package
delivered file /etc/collectd.d/nut.conf 
with directive to load the nut plugin

-> LoadPlugin nut

# rpm -qf collectd.d/nut.conf 
collectd-5.8.0-2.fc26.x86_64

My try to fix the problem by installing the nut plugin
resulted in downgrade (as to be expected when the plugin is not existent
for version 5.8..)

# dnf install collectd-nut
Last metadata expiration check: 0:52:07 ago on Sun 07 Jan 2018 12:06:42 PM CET.
Dependencies resolved.
===============================================================================
 Package             Arch          Version                Repository      Size
===============================================================================
Installing:
 collectd-nut        x86_64        5.7.2-5.fc26           fedora          28 k
Installing dependencies:
 nut-client          x86_64        2.7.4-14.fc26          updates        212 k
Downgrading:
 collectd            x86_64        5.7.2-5.fc26           fedora         600 k

I then commented out the entry in nut.conf in Version 5.8
and start of service collectd was possible then;

Redirecting to /bin/systemctl status collectd.service
● collectd.service - Collectd statistics daemon
   Loaded: loaded (/usr/lib/systemd/system/collectd.service; disabled; vendor p
   Active: active (running) since Sun 2018-01-07 13:02:40 CET; 8s ago
     Docs: man:collectd(1)
           man:collectd.conf(5)
 Main PID: 6046 (collectd)
    Tasks: 11 (limit: 4915)
   CGroup: /system.slice/collectd.service
           └─6046 /usr/sbin/collectd

Comment 2 Fedora Update System 2018-04-04 13:59:36 UTC
collectd-5.8.0-2.fc26.1 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a136bba4d4

Comment 3 Fedora Update System 2018-04-04 17:45:29 UTC
collectd-5.8.0-2.fc26.1 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a136bba4d4

Comment 4 Fedora Update System 2018-04-15 18:12:26 UTC
collectd-5.8.0-2.fc26.1 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


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