Change-Id: I5327eccf811e299b7f5f87e20e94baa13f26f251
Reviewed-on: https://review.openstack.org/15182
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
Change-Id: I45503a73020ed5ee1e10f44c4f76165f7cd91ab1
Reviewed-on: https://review.openstack.org/15193
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
The cwd of a puppet exec resource must be a fully rooted path. Make the
cacti_import_xml exec use a fully rooted cwd.
Change-Id: I8701dd9ef306e488e72e92d5fc38fa3508407af1
Reviewed-on: https://review.openstack.org/15117
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: I24ed2800f0ae62ae023ad31f85d8ad00f561977f
Reviewed-on: https://review.openstack.org/15020
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
cacti_device was a class of which only one could be instantiated. Make
it a define so that many cacti_devices can be installed.
While we are fixing this correct the puppet lint warnings and errors for
cacti.
Change-Id: Ic730f542d15ee05884e6e2eae0df09f36a55730e
Reviewed-on: https://review.openstack.org/14853
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
* modules/openstack_project/manifests/eavesdrop.pp: Transient issues
with freenode servers are being experienced by supybot, so we're
temporarily pinning it to a known working node while we investigate
further.
Change-Id: I68c90b38ef0ec0948394cfc9f6f93223f9ff3994
Reviewed-on: https://review.openstack.org/15004
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Change-Id: I249f2b7c4293c1528f276bd097b247609d9b034a
Reviewed-on: https://review.openstack.org/14950
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This is the first step to package jenkins-job-builder
Change-Id: I4cea379a7c4d2a0038ec144ce5c6b577dc19fad3
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/14837
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Added jobs and entries for libra, reddwarf and python-reddwarfclient
Change-Id: I4467a279ee72ed7c19687acbe37cd473b79d1095
Reviewed-on: https://review.openstack.org/14898
Reviewed-by: linuxjedi <andrew@linuxjedi.co.uk>
Reviewed-by: David Shrewsbury <shrewsbury.dave@gmail.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Neither have logged into infrastructure machines in some time,
so we should remove their keys to improve security. Both are
welcome back at any time if they have a need to log into servers.
Also, finish removing devananda's user entry.
Change-Id: I87faa84218b98c5934f8b6ffc1f612553d28751d
Reviewed-on: https://review.openstack.org/14794
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Host and port are both required if using env vars.
Change-Id: I3263d6da2bee6e44abc22858d1c6eb637c100add
Reviewed-on: https://review.openstack.org/14800
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: I7b3d73a095fccecd7232c8e69663e17270e639e4
Reviewed-on: https://review.openstack.org/14793
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: I3784dc5966afb1374d3b6d579196d857c9596034
Reviewed-on: https://review.openstack.org/14774
Reviewed-by: John Griffith <john.griffith@solidfire.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: I5021e2983756f6e5611e967b6b274290fe03b469
Reviewed-on: https://review.openstack.org/14686
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Install a salt master on the puppetmaster node and turn permanent
jenkins slaves into salt minions.
Change-Id: Ib7cba747ee545481a4d97d78ce6009cf5bb2374d
Reviewed-on: https://review.openstack.org/14303
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
And fix a typo.
Change-Id: I1aa7892178d7e13d086e3362c48e8ba9f3550a1d
Reviewed-on: https://review.openstack.org/14673
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: I67cc116ad8a2b2586856965ae1e341d735d69fd3
Reviewed-on: https://review.openstack.org/14582
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: I1684068bf328a7d27c423da5b3e0b5b70762d561
Reviewed-on: https://review.openstack.org/14651
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: I3c78446125a0d7e727eee251d183e98ef161dbdd
Reviewed-on: https://review.openstack.org/14534
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
There were a few extra []'s and some missing commas. Also leave a
comment that 'gerrig' is not a typo.
Change-Id: I04a5fa026fbd715ac370e070ff75b474fbe6335f
Reviewed-on: https://review.openstack.org/14414
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
As copied from jenkins. Both old and new names for the
cert contents are in hiera.
Change-Id: Ic6d8258479c260ac37346c49c1ecde8339c96a37
Reviewed-on: https://review.openstack.org/14432
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Add a node for jenkins2 (what will be the new openstack rackspace
jenkins server). Do not include zuul configs and modify
openstack_project::jenkins to disable Jenkins Job Builder.
Change-Id: Iced5cb3b287452c5570ab3dcd2d84441fff55147
Reviewed-on: https://review.openstack.org/14403
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
To bootstrap a new gerrit server.
Also, make the consumer_key field in the lp creds file templated
and use a value from hiera so that dev/prod can share the template.
Change-Id: Ie14e560beae4f4c270e558c24a67096a1c4a7d32
Reviewed-on: https://review.openstack.org/14369
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
I've based this change of the recent addition of the Ceilometer tarball
job.
Change-Id: Ia258c214b65a1c7d497560cc7879f7d3d1603eec
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/14361
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Have hiera and puppet manage gerrits ssh:29418 keys (RSA and DSA). These
keys go in /home/gerrit2/review_site/etc.
Change-Id: If8cb3ec5a2e2c582b7fa6d87c520fc0cb7c2f205
Reviewed-on: https://review.openstack.org/14365
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
To accomodate the migration from oneiric to precise VMs for the gerrit
servers create a new review-dev node. This node will have github
replication disabled until it is ready to take over from review-dev.
Change-Id: Ia163c9404ed76e20152eaf71dbe29f5befe6b317
Reviewed-on: https://review.openstack.org/14306
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Pass review-dev's lp sync credentials in from hiera and ensure the
related files are created with the proper contents.
Change-Id: Ibe6cfb029245a29548d688efd5ea3c060c708256
Reviewed-on: https://review.openstack.org/14305
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
The jenkins slave template manifest depends on having the jenkins ssh
key variable in scope. To make this happen have
openstack_project::slave_template inherit openstack_project which
includes the ssh key variable.
Change-Id: I231f030e42e7bb2cf780f04f2a3ca1e668cf61f9
Reviewed-on: https://review.openstack.org/14186
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
In openstack_project::base use the Apt module to configure the upstream
puppet labs apt repository and pin puppet to version 2.7.*.
Change-Id: I0a09e02e3d26eb9452215e5bccef143487e9e58d
Reviewed-on: https://review.openstack.org/14194
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Killed trailing whitespace in the puppet repo files using
`sed -r 's/\s+$//'`. Skip binary files and html templates for lodgeit
and mailman.
Change-Id: Ib43493161d8f0e8fae1426b22fb1737832ca14cd
Reviewed-on: https://review.openstack.org/12969
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Use Hiera to store the review.o.o SSL certs and pass them down to the
gerrit module.
While modifying these files fix indentation and rocket ship alignment
according to puppet lint in the sections touched.
Change-Id: I914b0dea72c77dedb44a4e6f51417985e673b315
Reviewed-on: https://review.openstack.org/13975
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Use hiera to store the jenkins.o.o cert contents and populate the cert
files from the values in hiera.
Change-Id: Iffd724b7fabf9403506f08f76fa927c3b461ba19
Reviewed-on: https://review.openstack.org/13933
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Convert openstack-ha-guide, openstack-install-deploy-guide-apt-fedora,
and openstack-install-deploy-guide-ubuntu jobs to Jenkins Job Builder
yaml configs. Each has been converted to run in the zuul post queue as
well.
Change-Id: Icce086f0a4531b8f91330ab5a4aa15128f429d64
Reviewed-on: https://review.openstack.org/14000
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Add these jobs to jenkins_job_builder's api-jobs.yaml and projects.yaml,
as well as to the openstack/*-api projects in zuul's layout.yaml:
- network-api-v10 (replaces openstack-netconn-api-doc)
- openstack-object-api-doc
- openstack-compute-api-doc
- identity-api-v20 (replaces openstack-identity-api-doc)
- image-api-v11 (openstack-image-api-doc)
Please note that the 3 replaced jobs listed above will need to be
manually removed from jenkins.openstack.org once this change is merged.
Change-Id: I07611b518b647b35cf8fb46e937f79e3f25ca745
Reviewed-on: https://review.openstack.org/13997
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
The puppet master had its disk fill up with puppet reports. Add a cron
job to the puppet master to delete puppet reports that are more than one
week old. This should prevent the disk from filling up again for this
reason.
Change-Id: I0a937e6121285573eb9fbb93eb70bdffa481352d
Reviewed-on: https://review.openstack.org/14013
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
Convert openstack-docs-site job from hand built job on jenkins.o.o to a
job configured in jenkins job builder yaml.
Change-Id: Ib814e99992dde00a1a2b388e45f1e10dc74749a7
Reviewed-on: https://review.openstack.org/13994
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
After some discussion in #openstack-infra using modules from puppetforge
is a good thing. So, this is a simple change to use an existing module
that I maintain.
Change-Id: Ic2290ef10ff96220b6620958537730e828e59402
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/13959
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
When we removed the jenkins_jobs directory and add jenkins_job_builder we
forgot to update some documentation
Change-Id: Iaa1593b3ea9fbebaa3f04c29b69eea5d1282ce23
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/13837
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Add these jobs to manuals.yaml and to the openstack/openstack-manuals
project in zuul's layout.yaml:
- gate-openstack-manuals-merge
- openstack-admin-manual-compute
- openstack-admin-manual-keystone-diablo
- openstack-admin-manual-netconn
- openstack-admin-manual-object
- openstack-admin-manuals-diablo
Also added an openstack-manuals project to projects.yaml.
Change-Id: Ib16281afd7ffc46317685a890ef537c32d205d52
Reviewed-on: https://review.openstack.org/13801
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Consider whitespace changes significant enough not to reapply code
reviews, but still comment if that's all which changed between
patchsets. This addresses bug 1057506.
* modules/openstack_project/files/gerrit/scripts/trivial_rebase.py
(GetPatchId): Add a flag called consider_whitespace, but defaulting to
False so as to preserve default behavior of the module. Add conditional
behavior to replace all spaces and tabs with percent signs before
calculating the patch-id hash.
(Main): Add a --whitespace command-line option to turn on whitespace
change checking. If enabled and if normal GetPatchId calls return a
match, re-run with consider_whitespace set to True and apply a comment
to the new patchset in Gerrit if the result is non-matching.
* modules/openstack_project/templates/gerrit_patchset-created.erb: Add
--whitespace to the trivial_rebase.py invocation, enabling whitespace
checking.
Change-Id: I89c479614a637717cf515a5d3f6d03b5f7830581
Reviewed-on: https://review.openstack.org/13775
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Now that stable/folsom has been released add periodic bitrot jobs for
that stable release. Do this early to catch bitrot early.
Change-Id: Ie83263209aed8b76a2d7fa0f5eda88f6e2e779f6
Reviewed-on: https://review.openstack.org/13768
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Have pip install the latest virtualenv.
Change-Id: Ifc5d32c36bf4231d1c0085e3e69ad879746bfb20
Reviewed-on: https://review.openstack.org/13804
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Change-Id: I256ffb43c5d301e8c291a23f2f6a072040757d0f
Reviewed-on: https://review.openstack.org/13798
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins