22 Commits

Author SHA1 Message Date
Anita Kuno
76ca969b16 Add logging to manage-projects
This patch adds logging to the puppet exec for manage-projects
within gerrit.pp.

It also adds logging to jeepyb, which can also cover logging for
manage-projects, which is a script within jeepyb.

Change-Id: I4cd1137e4bf62e0d19a8a337c98b3a33df38a0c0
Fixes-bug: 1245905
2014-02-09 15:26:07 -05:00
Monty Taylor
5c6e8de554 Remove explicit depends on transitive pip deps
These things were listed before we had jeepyb as its own things
(gerritlib in gerrit) and before jeepyb has pbr/requirements.txt
as it does now. With the move to pip install -U . in /opt/jeepyb,
there is no need to also ask puppet to manage these.

Change-Id: I7b521d03b3df8c0bde37586748769f160e615d31
2013-11-08 11:01:53 +13: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
Monty Taylor
258abe1a23 Use cgit server instead of github for everything
We have a cgit server now, which means we should replace
all references to github with references to git.openstack.org.

Change-Id: I68ad1ce514fb4326c7d9940b5a84999af5b58562
2013-08-19 10:19:47 -07:00
Elizabeth Krumbach
0a8dc769da Add gcc package dependency to jeepyb module
The entrypoints use for jeepyb won't work without pycrypto
installed, so we want to be able to pip install pycrypto which
requires the gcc package.

Change-Id: I9ff914347743c20728b5b10028866d8cbc7f0c61
2013-07-29 13:33:04 -07:00
Jeremy Stanley
fecca12dee Install correct Python YAML package on CentOS/RH.
* modules/jeepyb/manifests/init.pp: Special-case the
Python YAML bindings package name depending on facter osfamily.

Change-Id: Iaa11e601e387428040a5d992219bd67812d8bac8
Reviewed-on: https://review.openstack.org/28652
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-05-09 03:55:55 +00:00
Anita Kuno
1f95be17a3 Edit variable mode and remove variable in openstackwatch.ini.
* modules/jeepyb/templates/openstackwatch.ini.erb

Change-Id: Iff9a211c794be38324f6968cea77b87de7709b27
Reviewed-on: https://review.openstack.org/26526
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-04-10 21:17:18 +00:00
Anita Kuno
a5e56843de Added swift store credentials to openstackwatch.
Openstackwatch is configured to store feed data in a swift object store.
This patch adds credentials to access that swift store.

Change-Id: I61d9032150ae40fb7d207b5861cf0cf448f6feda
Reviewed-on: https://review.openstack.org/24784
Reviewed-by: Elizabeth Krumbach <lyz@princessleia.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2013-03-25 10:15:21 +00:00
James E. Blair
2e294ed4b8 Add pkginfo to jeepyb.
Needed by the mirror script.

Change-Id: I0a30632810307a47ca473216d584dbcb9ed78a48
Reviewed-on: https://review.openstack.org/24864
Reviewed-by: Khai Do <zaro0508@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-03-20 19:14:57 +00:00
Anita Kuno
0e90219dda Added python-swiftclient package resource to openstackwatch.pp.
Change-Id: I7dbe8413467485b81dbcfe1e1a3952770e97bac6
Reviewed-on: https://review.openstack.org/24614
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-03-17 22:50:40 +00:00
Anita Kuno
45fe2eed24 Added a python-pyrss2gen package resource to openstackwatch.pp.
Change-Id: I556af39abb0446acac19381edc855172e22bdfa8
Reviewed-on: https://review.openstack.org/24607
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-03-17 20:15:38 +00:00
Anita Kuno
7771115019 Change requirement on ini file object from Group to User.
Change-Id: I12a7ca31e67e9db06df7074529d5f9012e41bc0e
Reviewed-on: https://review.openstack.org/24603
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-03-17 19:16:01 +00:00
Anita Kuno
c1d0103653 Add 'managehome => true' to create home directory for openstackwatch user.
Change-Id: Ie1a0ae161858dc42c96cf2444fb2c3c97faafe85
Reviewed-on: https://review.openstack.org/24602
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-03-17 18:19:26 +00:00
Anita Kuno
8ae4c70b1a Add group 'openstackwatch' for the openstackwatch user.
Change-Id: Ie5452b76ba0bb404899a75f666df5ad064b26dbb
Reviewed-on: https://review.openstack.org/24598
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-03-17 17:53:07 +00:00
Jeremy Stanley
f36c72ec71 Correct openstackwatch.ini template path.
* modules/jeepyb/manifests/openstackwatch.pp: Path to template must
prepend the module namespace.

Change-Id: I6215736111bdd527d68003bb1d0d16271ba7920c
Reviewed-on: https://review.openstack.org/24597
Reviewed-by: Anita Kuno <akuno@lavabit.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-03-17 15:24:26 +00:00
Anita Kuno
8cd5b67fe6 Get openstackwatch working using puppet.
Created an openstackwatch puppet manifest in modules/jeepyb.
Created an openstackwatch puppet template in modules/jeepyb.
Added a puppet class in modules/openstack_project/manifests/gerrit.pp.

Change-Id: Id38cda4fdf9feee4f018bc5ccb0ebbf462311061
Reviewed-on: https://review.openstack.org/23584
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: Khai Do <zaro0508@gmail.com>
Reviewed-by: Elizabeth Krumbach <lyz@princessleia.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-03-17 14:31:28 +00:00
Monty Taylor
74460853d1 Rename CI to Infra in MANY MANY places.
Change-Id: I409bd50ae374e0288531f07cfeea34856c5f8067
Reviewed-on: https://review.openstack.org/17319
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: James E. Blair <corvus@inaugust.com>
2012-12-16 17:30:47 +00:00
Clark Boylan
ded8a5ce88 Fix jeepyb install require on pypi.o.o.
The jeepyb install exec requires mysql::python but does not include that
class. This results in an error on hosts that do not include
mysql::python in some other manifest eg on pypi.openstack.org.

Include mysql::python in jeepyb's init manifest so that this require
works regardless of its inclusion with other manifests.

Change-Id: Iad1b1c723280df97ee5aa32512b36cfe1dc7034e
Reviewed-on: https://review.openstack.org/17414
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2012-12-04 21:57:05 +00:00
James E. Blair
3425cb3762 Use the mysql class to get python-mysql.
Change-Id: I6d6addc2bc0e28b289726cddd6626669dbec1e17
Reviewed-on: https://review.openstack.org/17292
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-12-02 16:42:49 +00:00
James E. Blair
3e345957ee Protect pygithub with proper capitalization.
Change-Id: I8a67a9781cc638138114da2eb870bcf856a37202
Reviewed-on: https://review.openstack.org/17272
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-12-01 00:58:52 +00:00
Monty Taylor
5c5033cbc7 Protect install of every jeepyb package.
Because puppet sucks at installing packages, wrap the installation of
everything that jeepyb needs in both jeepyb and in other places with
if blocks. *facepalm*

Change-Id: I69c73dabc3ea5d68bd057141b1ad758cdd68eafc
Reviewed-on: https://review.openstack.org/17130
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-11-30 18:25:30 +00:00
Monty Taylor
52db16762b Consume jeepyb.
Instead of keeping many of these files directly in the tree, use them
from the out-of-tree jeepyb project, which makes them easier to consume
for other people who are not us.

Change-Id: Id704f2e17dd80709ef63cbbf2c5475a08a835f91
Reviewed-on: https://review.openstack.org/16777
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-11-30 18:02:30 +00:00