Commit Graph

34 Commits

Author SHA1 Message Date
OpenDev Sysadmins 87c2d746e4 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:26:03 +00:00
Ian Wienand 0807aa03cf Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I59902a76249c8fde2a0596341b0aa7ee63d81e7f
2019-03-24 20:35:37 +00:00
Colleen Murphy d5efcf00fc Update Gemfile for Zuulv3
The logic in the Gemfile was relying on Zuulv2 variables to find out
whether the spec helper gem was already available on disk, and since
Zuulv3 has changed things it was failing to find it and downloading the
master version instead. This patch ensures the Gemfile looks for the gem
in the right place when running in CI.

Change-Id: Iab26f72276004c562a8619b82a1d9aa0144577f5
2018-07-12 09:57:43 +02:00
Ian Wienand 013244fb40 Exclude /var/lib/lxcfs/*
This is some sort of loopback mounted stuff we don't want to descend
into

Change-Id: I31177bbe0c265886467e9beb029efcbdb459877f
2017-11-02 12:26:16 +11:00
Ian Wienand 7dda4149d3 Ignore postgres working directory
The database changes underneath the backup process.  We do database
dumps to /var/backups which is what we want backed up.

Change-Id: I3f925c014b26d3537c0fd119b9a6b9761ac78085
2017-11-01 10:08:44 +11:00
Clark Boylan 125460167c Don't backup /afs
/afs is a remotely hosted distributed file system and we don't need to
attempt to backup the entirety of this global filesystem from our nodes
that mount it.

The fileservers for afs should be responsible for backing up any content
that needs backups.

Change-Id: I4215c212958b1ff9e0913727c698e9c12e385ed9
2017-09-08 08:36:25 -07:00
Colleen Murphy 0b509cf53c Depend on helper gem for spec_helper_acceptance
Instead of keeping a local copy of spec_helper_acceptance.rb and
requiring updates to all modules for any change, we can move it into the
common helper gem and require it from there. This will make it easier to
create and review changes that affect all puppet modules. Also change
the Gemfile to look for the gem in the local workspace if running in a
zuul environment.

Change-Id: Ifaeac1bbbf094998e6a513abe548ba90f3461d3e
2017-08-18 10:41:43 +02:00
Paul Belanger a8fc278e81
Add bindep.txt file
Bindep is a tool for checking the presence of binary packages needed
to use an application / library. It started life as a way to make it
easier to set up a development environment for OpenStack projects.

Change-Id: I64a0e6b8ce7674a5e08c5a69a5094236b8f02ae5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-05-01 21:06:02 -04:00
Jenkins ed0f56e69d Merge "Don't backup /opt/system-config since it is a git repo" 2017-03-01 20:50:26 +00:00
Jenkins 91e502c0a9 Merge "Don't back cache files in /var/cache/" 2017-03-01 20:50:21 +00:00
Jenkins 585ebd4df9 Merge "Exclude /var/lib/puppet/reports/ from backups" 2017-03-01 20:49:32 +00:00
Jenkins 76ce6d843d Merge "Exclude /etc/puppet/hieradata/*" 2017-03-01 20:48:55 +00:00
Paul Belanger 36469ff106 Don't backup /opt/system-config since it is a git repo
Change-Id: I17078c4cab70229a5e11afd2de10add9a52f4ee6
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-02-27 15:58:37 -05:00
Paul Belanger 1e2cfdc5ce Don't back cache files in /var/cache/
Change-Id: Iba5099e571a307ee9f1456f64c096c5aba51c819
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-02-27 15:57:25 -05:00
Paul Belanger 3656c91419 Exclude /var/lib/puppet/reports/ from backups
In an effort to reduce the size of our backups, drop puppet reports.

Change-Id: I68ee7bc88e05fdefdc14d5762b5155abb7034983
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-02-27 15:54:03 -05:00
Clark Boylan 6dc3abf686 Exclude bups local /root/.bup dir
Bup appears to use this to keep track of indexes between the local and
remote server. We don't need to back this up and attempting to results
in frequent errors for files being deleted before they could be backed
up.

Change-Id: I3ad4db5a44f3067478e48af65dd7991bbb391ab8
2017-02-08 12:56:06 -08:00
Paul Belanger 0970d7e3fd Exclude /etc/puppet/hieradata/*
Don't back up our hiera secrets, we already store them in git.

Change-Id: Ic9531bd7331fcfe4908827594670e8a6e30083c7
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-02-08 14:37:04 -05:00
Paul Belanger 78bd720573 Excluded /etc/puppet/modules/*
We already have our puppet modules in git, so it is likely safe we can
exclude them from backups.

Change-Id: Ib97d77c506bb2412e543e38eda71db301dee7526
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-02-08 14:14:13 -05:00
Alex Monk 9ca0aab3ea Require bup package before installing cron
Change-Id: I3808493afc38975831184946af7113d45edac7a0
2016-08-06 18:00:03 +00:00
Spencer Krum 893426a249 Use new infra_spec_helper for gem dependencies
Change-Id: Ie4aae2ea55afb49adc4a3cde9f2d0ad9ddbe8cda
2016-06-21 18:37:50 -07:00
Spencer Krum 60f006aa01 Pin google-api-client; sanitize Gemfile
Change-Id: Ie9bee551cddd24d25c3f80db388cef6ac87b497c
2016-04-14 15:17:29 -07:00
Spencer Krum ba3a545d20 Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: Ida1e8349f9b63459bf4b4a692704fe031f6fe0c8
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:34:38 -07:00
Jenkins b4eede149e Merge "Remove puppet-lint-numericvariable gem" 2015-08-06 02:59:32 +00:00
Spencer Krum 61fe18da3f Boilerplate beaker-rspec files
Change-Id: Ia908e32c4a56a48fcec25dcd5a91e25e0271c31f
2015-07-28 02:03:57 -07:00
Colleen Murphy 5cf97e996a Remove puppet-lint-numericvariable gem
Variables with numbers for names are valid as regex capture groups in
puppet 4[1], so this check is not beneficial and can be
counterproductive when we do actually want to have numeric variables.

[1] https://docs.puppetlabs.com/puppet/latest/reference/lang_variables.html#naming

Change-Id: I4001e8841b7178c20cd35b9bc3ee5ef32bc9d704
2015-07-21 19:38:15 -07:00
Colleen Murphy e3955796f3 Add Gemfile and puppet 4 checks
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins.

Change-Id: I784007fd94df8de4348c00429ecd3ce248bfed4a
2015-07-14 20:03:07 -07:00
Jeremy Stanley 4630f97a3c Replace ci.o.o links with docs.o.o/infra
The http://ci.openstack.org/ documentation site has been deprecated,
replaced by redirects to corresponding paths within
http://docs.openstack.org/infra/ where other Project Infrastructure
documentation already resides.

Change-Id: I84d3311a4b444d04e245e5a9b4fa569be6c8d04a
2015-05-14 21:42:52 +00:00
Ramy Asselin 99f08a9aef Rename openstackci to openstackinfra
Change-Id: I9cea6dca1ac41f2f986bc3d7365a6c972fdba0d9
2015-04-20 13:43:02 -07:00
Sergey Lukjanov 120368f205 Make backups period configurable
It could be useful to be able to configure externally how many
backups we'll run. One of the potential use cases is to increase
number of backups for the most sensetive services.

Change-Id: I85f4f2fd7b3319ed8772f57ce14d8083c6646d7d
2015-02-17 14:58:58 +03:00
Ramy Asselin f0aff665d5 Add puppet module files for bup
Change-Id: If51d527bc106ba7e83acc2ee06598f9c3d6408d9
2015-01-29 15:10:51 -08:00
Clark Boylan 9171582ecc Add backup restore docs.
* doc/source/sysadmin.rst: Document how to restore from bup backups.

* modules/bup/files/etc/bup-excludes: Exclude special backup restore
dirs in /root. This prevents backup restores from being backed up
too.

Change-Id: Ide0e69c128be0a8b8774df7acaf9267df097f104
2013-09-06 13:29:04 -07:00
Jeremy Stanley e40be89cf3 Correct bup-excludes file installation.
* modules/bup/manifests/init.pp: The /etc/bup-excludes file was
being generated incorrectly, making it useless for its intended
purpose. It was also misspelled.

Change-Id: Ia279aab88744e7b346bcc350bcfc106f08b2e191
Reviewed-on: https://review.openstack.org/20095
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-01-20 05:32:36 +00:00
Paul Belanger ce457ff6cc Puppet lint fixes
Also move contents of /etc/bup-excludes into a file

Change-Id: I206c08d05114cdacb18d00e4a4578679398990ec
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/15841
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
2012-11-13 21:39:37 +00:00
Monty Taylor 10c5b9ee2e Rename backup to bup.
Naming it after what it installs. Also, split the target cronjob into
a define.

Change-Id: I73a4383f529c60bc35c60241dfc91508965d755e
Reviewed-on: https://review.openstack.org/10885
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-07 06:19:37 +00:00