Closed Bug 1157337 Opened 10 years ago Closed 10 years ago

Upgrade collectd to latest (5.5.0)

Categories

(Infrastructure & Operations :: RelOps: Puppet, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dividehex, Assigned: dividehex)

References

Details

Attachments

(5 files)

Test and deploy the latest version of collectd.
Build config output for 5.4.2 on yosemite: Configuration: Libraries: intel mic . . . . . . no (MicAccessApi not found) libaquaero5 . . . . . no (libaquaero5.h not found) libcurl . . . . . . . yes libdbi . . . . . . . no (dbi/dbi.h not found) libcredis . . . . . . no (credis.h not found) libesmtp . . . . . . no (libesmtp not found) libganglia . . . . . no (gm_protocol.h not found) libgcrypt . . . . . . no (gcrypt.h not found) libiokit . . . . . . yes libiptc . . . . . . . no (Linux only) libjvm . . . . . . . no (jar not found) libkstat . . . . . . no (Solaris only) libkvm . . . . . . . no libmemcached . . . . no (libmemcached/memcached.h not found) libmnl . . . . . . . no (Linux only library) libmodbus . . . . . . no (pkg-config doesn't know libmodbus) libmysql . . . . . . yes libnetapp . . . . . . no (netapp_api.h not found) libnetsnmp . . . . . yes libnotify . . . . . . no (No package 'libnotify' found) liboconfig . . . . . yes (shipped version) libopenipmi . . . . . no (pkg-config doesn't know OpenIPMIpthread) liboping . . . . . . no (oping.h not found) libpcap . . . . . . . yes libperfstat . . . . . no (AIX only) libperl . . . . . . . yes (version 5.18.2) libpq . . . . . . . . no (libpq-fe.h not found) libpthread . . . . . yes librabbitmq . . . . . no (amqp.h not found) librouteros . . . . . no (routeros_api.h not found) librrd . . . . . . . no (rrd.h not found) libsensors . . . . . no (Linux only library) libsigrok . . . . . no (libsigrok/libsigrok.h not found) libstatgrab . . . . . no (pkg-config doesn't know libstatgrab) libtokyotyrant . . . no (tcrdb.h not found) libupsclient . . . . no (pkg-config doesn't know libupsclient) libvarnish . . . . . no (pkg-config doesn't know varnishapi) libvirt . . . . . . . no (pkg-config doesn't know libvirt) libxml2 . . . . . . . yes libxmms . . . . . . . no libyajl . . . . . . . no (yajl/yajl_parse.h not found) libevent . . . . . . protobuf-c . . . . . no oracle . . . . . . . no (ORACLE_HOME is not set) python . . . . . . . no Features: daemon mode . . . . . yes debug . . . . . . . . no Bindings: perl . . . . . . . . yes (PREFIX=/usr/local) Modules: aggregation . . . . . yes amqp . . . . . . . no apache . . . . . . . yes apcups . . . . . . . yes aquaero . . . . . . . no apple_sensors . . . . yes ascent . . . . . . . yes battery . . . . . . . yes bind . . . . . . . . yes conntrack . . . . . . no contextswitch . . . . yes cgroups . . . . . . . no cpu . . . . . . . . . yes cpufreq . . . . . . . no csv . . . . . . . . . yes curl . . . . . . . . yes curl_json . . . . . . no curl_xml . . . . . . yes dbi . . . . . . . . . no df . . . . . . . . . yes disk . . . . . . . . yes dns . . . . . . . . . yes email . . . . . . . . yes entropy . . . . . . . no ethstat . . . . . . . no exec . . . . . . . . yes filecount . . . . . . yes fscache . . . . . . . no gmond . . . . . . . . no hddtemp . . . . . . . yes interface . . . . . . yes ipmi . . . . . . . . no iptables . . . . . . no ipvs . . . . . . . . no irq . . . . . . . . . no java . . . . . . . . no libvirt . . . . . . . no load . . . . . . . . yes logfile . . . . . . . yes lpar . . . . . . . . no lvm . . . . . . . . . no madwifi . . . . . . . no match_empty_counter . yes match_hashed . . . . yes match_regex . . . . . yes match_timediff . . . yes match_value . . . . . yes mbmon . . . . . . . . yes md . . . . . . . . . no memcachec . . . . . . no memcached . . . . . . yes memory . . . . . . . yes mic . . . . . . . . . no modbus . . . . . . . no multimeter . . . . . yes mysql . . . . . . . . yes netapp . . . . . . . no netlink . . . . . . . no network . . . . . . . yes nfs . . . . . . . . . no nginx . . . . . . . . yes notify_desktop . . . no notify_email . . . . no ntpd . . . . . . . . yes numa . . . . . . . . no nut . . . . . . . . . no olsrd . . . . . . . . yes onewire . . . . . . . no openvpn . . . . . . . yes oracle . . . . . . . no perl . . . . . . . . yes pf . . . . . . . . . no pinba . . . . . . . . no ping . . . . . . . . no postgresql . . . . . no powerdns . . . . . . yes processes . . . . . . yes protocols . . . . . . no python . . . . . . . no redis . . . . . . . . no routeros . . . . . . no rrdcached . . . . . . no rrdtool . . . . . . . no sensors . . . . . . . no serial . . . . . . . no sigrok . . . . . . . no snmp . . . . . . . . yes statsd . . . . . . . yes swap . . . . . . . . yes syslog . . . . . . . yes table . . . . . . . . yes tail . . . . . . . . yes tail_csv . . . . . . yes tape . . . . . . . . no target_notification . yes target_replace . . . yes target_scale . . . . yes target_set . . . . . yes target_v5upgrade . . yes tcpconns . . . . . . yes teamspeak2 . . . . . yes ted . . . . . . . . . yes thermal . . . . . . . no threshold . . . . . . yes tokyotyrant . . . . . no unixsock . . . . . . yes uptime . . . . . . . yes users . . . . . . . . yes uuid . . . . . . . . yes varnish . . . . . . . no vmem . . . . . . . . no vserver . . . . . . . no wireless . . . . . . no write_graphite . . . yes write_http . . . . . yes write_mongodb . . . . no write_redis . . . . . no write_riemann . . . . no xmms . . . . . . . . no zfs_arc . . . . . . . no
Versions for 10.7, 10.8 and 10.10 have been built and uploaded to releng-puppet2.srv.releng. I'll need to find a 10.6.8 host with xcode installed or I need to get an install disk and install a vm in Fusion to build it. As for 10.9, I compiled a build but my VM seems to be missing libiokit which is causing it to skip building the disk module. I'll need to fix that since the disk module is a must have.
10.6 version built and uploaded
For 10.9, I reinstalled xcode and rebuilding it found libiokit.
Looks like 5.5.0 was release last week which includes the ability for the cpu module to report percentage instead of jiffies. Since I was half way through backporting 5.4 to precise, I've switched gears to 5.5.0. It should be trivial to fire off the builds for OSX and centos.
Summary: Upgrade collectd to latest (5.4.2) → Upgrade collectd to latest (5.5.0)
Adds collectd custom repos but does not bump installed version yet
Attachment #8620502 - Flags: review?(dustin)
Attachment #8620502 - Flags: review?(dustin) → review?(arich)
Attachment #8620502 - Flags: review?(arich) → review+
* Removes unused centos collectd package modules (cleanup) * Ensure absent -dev and -dbg ubuntu collectd package modules * Bumps collectd to version 5.5.0 across all posix platforms Tested on Centos 6.5, Precise, Trusty and OSX 10.6
Attachment #8620742 - Flags: review?(arich)
Comment on attachment 8620742 [details] [diff] [review] bug1157337-2.patch Ignore the node change at slipped in
Blocks: 1173635
Blocks: 1173636
It looks like the addition to the ubuntu repo caused some issues with the AWS puppet runs for golden images last night. Should probably give you a chance to check into that before I do the next review.
Attachment #8620742 - Flags: review?(arich) → review+
Looks like cpu module for OSX is broken in 5.5.0 :-/ http://mailman.verplant.org/pipermail/collectd/2015-May/006547.html https://github.com/collectd/collectd/commit/e0683047a42e217c352c2419532b8e029f9f3f0a This patch downgrades collectd back to 5.3.0 on Darwin only Jun 11 03:08:00 r4-mini-001 collectd[46412]: cpu plugin: processor_info returned only 4 elements.. Jun 11 03:13:00 r4-mini-001 collectd[46412]: cpu plugin: processor_info returned only 4 elements.. Jun 11 03:13:00 r4-mini-001 collectd[46412]: cpu plugin: processor_info returned only 4 elements..
Attachment #8621180 - Flags: review?(arich)
Comment on attachment 8621180 [details] [diff] [review] bug1157337-backout.patch Once again, ignore the node def
Attachment #8621180 - Flags: review?(arich) → review+
Comment on attachment 8621180 [details] [diff] [review] bug1157337-backout.patch Less the node def that I can never seem to remember to exclude from my patches remote: https://hg.mozilla.org/build/puppet/rev/a3cccbd455d1 remote: https://hg.mozilla.org/build/puppet/rev/fd6d25a8973e
Attachment #8621180 - Flags: checked-in+
Build script and cpu states patch to build 5.5.0 for OSX
Attachment #8621815 - Flags: review?(arich)
Comment on attachment 8621815 [details] [diff] [review] bug1157337-4.patch Reading an hg diff of a git diff temporarily broke my brain. :} My only feedback is that I notice that the only other patch file we store in that directory is just the bare patch, not a mail message containing the patch. I don't know if we want that to remain consistent one way or the other.
Attachment #8621815 - Flags: review?(arich) → review+
(In reply to Amy Rich [:arr] [:arich] from comment #16) > Comment on attachment 8621815 [details] [diff] [review] > bug1157337-4.patch > > Reading an hg diff of a git diff temporarily broke my brain. :} > > My only feedback is that I notice that the only other patch file we store in > that directory is just the bare patch, not a mail message containing the > patch. I don't know if we want that to remain consistent one way or the > other. I don't think it really matters. I prefer to keep the full patch with comments for context. This entire commit is simple for anyone in the future who is looking to build collectd. The more context the better imho.
I've rebuilt the osx dmgs with the cpu states patch. This bumps the version to 5.5.0-1
Attachment #8621865 - Flags: review?(arich)
Attachment #8621865 - Flags: review?(arich) → review+
(In reply to Jake Watkins [:dividehex] from comment #17) I agree that having more context is better. I was wondering if we had that for the other patch.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: