18 Commits

Author SHA1 Message Date
K Jonathan Harker
5f58803b8d Use the correct name for apache
The name of the apache package and service are different on different
operating systems. Fortunately, the apache module populates a variable
with the correct name for us. This is also true of the apache ssl
package.

Change-Id: I7d93e56281f828cba9262c135b0beb43dce9748a
2014-06-04 17:33:50 -07:00
Monty Taylor
2611cc05b4 Don't keep fetching the same graphite-web revision
The vcsrepo module doesn't really like the combo of latest and a
specific sha. It keeps grabbing it over and over again. Guess what?
The sha hasn't updated since the last time you looked for the same
sha.

Change-Id: I1a017278b83af11541794bf03644b3346e9869c2
2014-04-18 18:46:29 -07:00
Monty Taylor
55a6942135 Pin graphite-web
We need to pin graphite-web to avoid this bug:

https://github.com/graphite-project/graphite-web/issues/650

Change-Id: Ic20e4fa3ab8a174b013ea9547c666cf82b0fac30
2014-03-23 12:58:31 -07:00
James E. Blair
dc87909223 Have graphite use the One True Timezone.
Because the default is, um, Chicago.

Change-Id: I82167c8c939c66ec2d456d1ef357f0c766ceef0f
2014-03-10 17:24:07 -07:00
Monty Taylor
63262b39f3 Fix path to graphite db
The onlyif test is looking for a different path than the scripts
install the database file to. Adjust it so that we don't run
every time.

Change-Id: I96c8496fb678e99facc65a01a7d34ab08290416d
2014-02-09 16:22:57 -08:00
James E. Blair
8d6d46b788 Switch whisper to master branch
For some reason graphite 0.9.x now depends on unreleased changes
on whisper master (rather than whisper 0.9.x).

Switch whisper to master since that's what the instructions say.

Change-Id: Ia823fc61fe6bafde77a632d1826de9c171bcb268
2014-01-12 20:46:30 +08:00
Jenkins
5250994ad3 Merge "Install graphite-web and carbon with pip." 2013-12-03 23:37:39 +00:00
Jenkins
48ed1f98d5 Merge "Fix pep8 errors in modules dir" 2013-12-02 16:55:12 +00:00
Clark Boylan
6af0a05de7 Install graphite-web and carbon with pip.
These were not initially switched to pip installs because they are
different. Put the necessary different pip stuff in place to deal with
graphite-web and carbon so that their installs are consistent with
everything else.

Change-Id: Ieef60a228e284c936307291c4ed44930791cc631
2013-11-26 16:20:51 -08:00
Monty Taylor
38f8d43ffc Fix pep8 errors in modules dir
There weren't that many of them - just fix them.

Change-Id: I6aa6d056746c4a6804146b89c12e6313f9d22d9a
2013-11-12 11:30:34 -05:00
Monty Taylor
0222d3040e Use pip install instead of setup.py install
The pip vs. easy_install interactions continually get the systems
into a weird state. pip install $path_to_repo, on the other hand,
works like a charm.

Left out two graphite installs because they are doing path manipulation
and I want to do further testing before touching that.

Change-Id: I373b29aca03f1ebd20e533ebaaf5de9ef2db017e
2013-10-27 18:38:38 -04:00
James E. Blair
108a464214 Work acound carbon issue #55.
grahpite.o.o currently has a manually installed fix for carbon
issue #55 in place, but in case we lose that, setting MAX_CPM
to >=60 should work around the problem.

https://github.com/graphite-project/carbon/issues/55

Change-Id: I53bbe348737edc0c513bb1b34b753018d20c3d60
Reviewed-on: https://review.openstack.org/18750
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-01-02 19:05:59 +00:00
James E. Blair
214b9b1f59 Set xfilesfactor to 0 for stats_counts.
This matches the rule for summing .count metrics.  It means
that a minimum of 0% of the existing values must be non-null
in order for the new value to be non-null.  That's good for
sums of exact counts.

Change-Id: Ic3f50888ada274a36e8f0385e6fffddf88ba6dfe
Reviewed-on: https://review.openstack.org/18747
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-12-29 15:41:37 +00:00
James E. Blair
f39d62200b Fix order in graphite storage-aggregration.
Change-Id: I13fc4d58b74c816ec2329ef792544e88e3c15594
Reviewed-on: https://review.openstack.org/18746
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-12-29 15:31:00 +00:00
James E. Blair
97367da7bd Fix carbon schema order.
Change-Id: I7d57a77f8c778403d40e7cb151feafe38867e1d7
Reviewed-on: https://review.openstack.org/18739
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-12-29 00:47:39 +00:00
James E. Blair
3be3807eea Add statsd compatible schema to graphite.
Most of this is from the statsd README.

Change-Id: I22e4619375c10de2cb010b06071ed3b473197e92
Reviewed-on: https://review.openstack.org/18737
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-12-28 23:56:55 +00:00
James E. Blair
1ffa195a1b Correct graphite paths.
Some paths were not set correctly in graphite config files.

Fix up permissions in /var/lib/graphite.

Use 'service', but don't ensure it's running.

Change-Id: I363319473a332c16687e16887bfe83e1468c8ece
Reviewed-on: https://review.openstack.org/17617
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-12-18 21:44:04 +00:00
James E. Blair
3cab5e4d84 Add graphite.
Change-Id: I276641d55e966cd76013cae847061c3ac7996864
Reviewed-on: https://review.openstack.org/17094
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-12-02 20:28:38 +00:00