Closed
Bug 1157337
Opened 10 years ago
Closed 10 years ago
Upgrade collectd to latest (5.5.0)
Categories
(Infrastructure & Operations :: RelOps: Puppet, task)
Infrastructure & Operations
RelOps: Puppet
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dividehex, Assigned: dividehex)
References
Details
Attachments
(5 files)
|
2.72 KB,
patch
|
arich
:
review+
dividehex
:
checked-in+
|
Details | Diff | Splinter Review |
|
4.81 KB,
patch
|
arich
:
review+
dividehex
:
checked-in+
|
Details | Diff | Splinter Review |
|
1.36 KB,
patch
|
arich
:
review+
dividehex
:
checked-in+
|
Details | Diff | Splinter Review |
|
3.81 KB,
patch
|
arich
:
review+
dividehex
:
checked-in+
|
Details | Diff | Splinter Review |
|
1.03 KB,
patch
|
arich
:
review+
dividehex
:
checked-in+
|
Details | Diff | Splinter Review |
Test and deploy the latest version of collectd.
| Assignee | ||
Comment 1•10 years ago
|
||
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
| Assignee | ||
Comment 2•10 years ago
|
||
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.
| Assignee | ||
Comment 3•10 years ago
|
||
10.6 version built and uploaded
| Assignee | ||
Comment 4•10 years ago
|
||
For 10.9, I reinstalled xcode and rebuilding it found libiokit.
| Assignee | ||
Comment 5•10 years ago
|
||
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.
| Assignee | ||
Updated•10 years ago
|
Summary: Upgrade collectd to latest (5.4.2) → Upgrade collectd to latest (5.5.0)
| Assignee | ||
Comment 6•10 years ago
|
||
Adds collectd custom repos but does not bump installed version yet
Attachment #8620502 -
Flags: review?(dustin)
| Assignee | ||
Updated•10 years ago
|
Attachment #8620502 -
Flags: review?(dustin) → review?(arich)
Updated•10 years ago
|
Attachment #8620502 -
Flags: review?(arich) → review+
| Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8620502 [details] [diff] [review]
bug1157337-1.patch
remote: https://hg.mozilla.org/build/puppet/rev/4072c3b67541
remote: https://hg.mozilla.org/build/puppet/rev/675660d42cf1
Attachment #8620502 -
Flags: checked-in+
| Assignee | ||
Comment 8•10 years ago
|
||
* 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)
| Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8620742 [details] [diff] [review]
bug1157337-2.patch
Ignore the node change at slipped in
Comment 10•10 years ago
|
||
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.
Updated•10 years ago
|
Attachment #8620742 -
Flags: review?(arich) → review+
| Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8620742 [details] [diff] [review]
bug1157337-2.patch
Checked in less the node def
remote: https://hg.mozilla.org/build/puppet/rev/7407874b0a9c
remote: https://hg.mozilla.org/build/puppet/rev/e8b6fadd9334
Attachment #8620742 -
Flags: checked-in+
| Assignee | ||
Comment 12•10 years ago
|
||
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)
| Assignee | ||
Comment 13•10 years ago
|
||
Comment on attachment 8621180 [details] [diff] [review]
bug1157337-backout.patch
Once again, ignore the node def
Updated•10 years ago
|
Attachment #8621180 -
Flags: review?(arich) → review+
| Assignee | ||
Comment 14•10 years ago
|
||
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+
| Assignee | ||
Comment 15•10 years ago
|
||
Build script and cpu states patch to build 5.5.0 for OSX
Attachment #8621815 -
Flags: review?(arich)
Comment 16•10 years ago
|
||
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+
| Assignee | ||
Comment 17•10 years ago
|
||
(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.
| Assignee | ||
Comment 18•10 years ago
|
||
Comment on attachment 8621815 [details] [diff] [review]
bug1157337-4.patch
remote: https://hg.mozilla.org/build/puppet/rev/1b51cb194fb2
remote: https://hg.mozilla.org/build/puppet/rev/0b995ab1e350
Attachment #8621815 -
Flags: checked-in+
| Assignee | ||
Comment 19•10 years ago
|
||
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)
Updated•10 years ago
|
Attachment #8621865 -
Flags: review?(arich) → review+
Comment 20•10 years ago
|
||
(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.
| Assignee | ||
Comment 21•10 years ago
|
||
Comment on attachment 8621865 [details] [diff] [review]
bug1157337-5.patch
remote: https://hg.mozilla.org/build/puppet/rev/ea1805cfd117
remote: https://hg.mozilla.org/build/puppet/rev/202efb9c5de3
Attachment #8621865 -
Flags: checked-in+
| Assignee | ||
Updated•10 years ago
|
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.
Description
•