Commit Graph

39 Commits

Author SHA1 Message Date
Clark Boylan c359280702 Retire this repo
The opendev project has been moving away from puppet and this is one of
the puppet modules that is no longer used. To simplify things for us we
are taking the extra step of retiring this repo.

Change-Id: I1a9c4a56f98f271fb3baa9db6476c7901d09ba68
2022-02-17 12:44:05 -08:00
Monty Taylor 3141abcb6e Stop requiring openafs::client
We're gonna retire this repo in a bit, but for now opendev is
installing openafs client via ansible, which means we don't
need to also install it via puppet. That's fine - except when
the openafs fileserver class has a requirement on it. Whoops.

Change-Id: Iab4ba6702c231846349679e56084328a68509d93
2020-06-05 13:01:14 -05:00
Monty Taylor 37a8c7c59a Fix puppet lint
The puppet people changed their minds.

Change-Id: Id063d98638979147001373dba3aece210ff6a263
2020-06-05 13:01:14 -05:00
OpenDev Sysadmins 3b4ec70584 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:09 +00:00
Ian Wienand 8163e54f52 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: I79e8d86f62aa9b85e71ef515594fd7e8b1569cab
2019-03-24 20:35:42 +00:00
Colleen Murphy ebcfbac5e7 Add beaker tests
Add tests for the client, dbserver, and fileserver classes.

Change-Id: Iae7f2e8735648f91b8c62230fbc4b6480b6eef74
2018-07-01 21:21:24 +02:00
Colleen Murphy 233d40fe12 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: Ibc391f012da72455020635adf9860dcdd96bb862
2018-07-01 21:17:38 +02:00
Ian Wienand 13a3a763e9 Fix lsbdistcodename typo
This was introduced with Iec5921769db7cab15b66f0d82c1705c799dd6ae8,
it's supposed to be "lsb" not "lib"

Change-Id: I113d0c0eaab291e82a4719d310e4e0b6489dc9dc
2018-02-19 10:22:26 +11:00
Ian Wienand 2b20dd001c Add Xenial arm64 support
Add arm64 support for Xenial hosts, based on the openstack-infra ppa
with suitable patches ported in.

Change-Id: Iec5921769db7cab15b66f0d82c1705c799dd6ae8
2018-02-15 14:59:38 +11:00
Paul Belanger b3a7b767b9
Restart openafs-client after dkms package is installed
Again, ubuntu-trusty is fine, but xenial seems to be a little
different.  The openafs-client will start the service, but not
fully start because kernel modules are missing.

So, in this case, we'll kick the openafs-client service, once dkms
package has finished compiling.

Change-Id: I2cfcecc03e23ad9e906dbf9a4f058f0984084b37
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-11-15 01:34:34 -05:00
Paul Belanger 9a1ea51905
Revert "Install openafs-modules-dkms before openafs-client / openafs-krb5"
Sadly, this didn't work as expected. Revert so we can go a different
direction.

This reverts commit be3381320c.

Change-Id: Ie8633c3dc23dc9858d8fdbbad704cfcae5c51c12
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-11-15 01:30:17 -05:00
Paul Belanger be3381320c
Install openafs-modules-dkms before openafs-client / openafs-krb5
Again, this works properly under trusty, but xenial we need to have a
proper depenency. This is also the order under centos-7.

Change-Id: I6031f3d641e0a0b03c63c251de7a6d1c8310b7f9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-11-14 23:34:46 -05:00
Paul Belanger 92dd2ba333
Start openafs-client after dkms has been run
This fixes an issue under ubuntu xenial, were the service appears to
be started before kernel modules are installed.

Change-Id: I2a3bdabca961ba0cd05984293ee265e2f02b8286
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-11-14 22:15:31 -05:00
Zuul 94df97281a Merge "Force install of openafs-modules-dkms" 2017-11-13 19:18:09 +00:00
Monty Taylor 36cf16cd2b
Pull centos packages from project-config subdir
To use the standard artifact publication base job in zuul v3, we wind up
publishing these to a subdirectory of the project-config directory. The
files have already been copied - consume them from the new location.

Change-Id: Iebf3ad95ae9339b48c196098c43de0cec5b4657e
2017-09-26 10:46:00 -05:00
Paul Belanger 5b1efbc574
Force install of openafs-modules-dkms
When running puppet-openafs on nodepool nodes (DIB) we actively
disable recommends / suggests from getting installed. Ensure
openafs-modules-dkms is installed so we don't have to manually compile
the kernel module.

Change-Id: I0ba63b8c0303ed51444145ab496580221ca025fb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-09-24 10:56:25 -04:00
Colleen Murphy a3ad8d892e 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: I7c4fd0abf27001ced0ca1670ce574126f8b40cfb
2017-08-18 10:41:44 +02:00
Colleen Murphy c994ea9ffc Fix beaker on xenial
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.

Change-Id: I2fa26251131f9c4188853c00131af51037004642
2017-06-24 16:24:15 +02:00
Monty Taylor 9ddc9c3ced
Enable the openafs-client service
On systemd hosts, you have to explicitly tell systemd to run the service
on boot.

Change-Id: Iabce35136cbd1409af3728b6b293de610ab2aba1
2016-06-25 12:43:05 -05:00
Spencer Krum d113e1cc9f Use new infra_spec_helper for gem dependencies
Change-Id: I0caa31fb14cbdae36501bc972775771a88a32e8b
2016-06-21 18:39:21 -07:00
James E. Blair 95df6aeec2 Increase memory available to network stack on fileservers
This implements some systctl changes that have worked well on our
fileservers.

Change-Id: Ia146380824620847852d5f76595690d3b07b14a1
2016-05-10 12:00:16 -07:00
Spencer Krum 27fb5e26f3 Pin google-api-client; sanitize Gemfile
Change-Id: I19c13907c4a138cab84bf97d35c315f43f39a103
2016-04-14 15:21:35 -07:00
Andrey Nikitin efc0563277 Order of the class parameters is refactored
Order and intendation of those parameters are changed
to follow Puppet Style Guide recommendation [0].
Moreover, it will allow to an user to find much faster
a variable in a list of variables.

[0]. https://docs.puppetlabs.com/guides/style_guide.html

Change-Id: I51172af3dbc0c7a3923f550cc2a7794eff7cb74d
2016-03-21 16:45:19 +03:00
Ian Wienand fdd6f641ec Use CI built RPMs for CentOS7
There is no official RPM packages for AFS on CentOS7 at this point.
Openstack builds some for us with
I53e8267b2a0fc31589dd3a1f3e3f3a86175a2e15; modify the installation to
point to this repo.

I have tested this locally on a devstack-centos7 node against the
built rpm repo [1].  The puppet run took a long-ish ~5 minutes as it
has to build the kernel modules via dkms.  However, after this, I
could access the afs mount [2].

[1] https://tarballs.openstack.org/package-afs-centos7/
[2] http://paste.openstack.org/show/490323/

Change-Id: Ib7bc8892cd0e94cc71df1988c48cf94435216c8f
Depends-On: I53e8267b2a0fc31589dd3a1f3e3f3a86175a2e15
2016-03-14 12:33:34 +11:00
Michael Krotscheck d381194b93 Added conditional statements for installed packages
Packages required to use this module may also be declared
in downstream manifests. This patch adds necessary if conditions,
to ensure these do not cause conflicts.

Change-Id: I3c1b6cbd5743a8331752bfe4dcb33267ddcf840d
2016-01-27 08:08:22 -08:00
James E. Blair 732efc17a3 Ensure linux-headers-generic is installed on Ubuntu
This was missing in one of our cloud providers

Change-Id: I2bd0bf3a5a76245ca6229e4a6b6af7a7eec1e091
2016-01-25 14:46:48 -08:00
James E. Blair a3a766c581 Fix openafs-client status check
openafs-client (on debian at least) does not support the status
command, so check for afsd in the process table instead.

Change-Id: Ieba4e452d00bb02c1efbe94de59296d4c2c3628d
2016-01-25 08:01:32 -08:00
James E. Blair 15bad5f2a8 Correct openstack.org afsdb02 IP address
This was just wrong; I have no idea where it came from.

Change-Id: I741b8e94d57167b62904d0a40ecda317bf55eebf
2016-01-23 19:36:29 -08:00
James E. Blair baebdcad2e Add kstart to client
An OpenAFS client should have k5start (supplied by kstart package)
installed.

Change-Id: I704c8bf395d83adea0f9a0db6fd3d3814ad7660a
2016-01-20 15:06:04 -08:00
Spencer Krum 1500907d12 Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: I088352ab96a0475e3f8e8c300741e6e330a11f72
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:40:19 -07:00
Colleen Murphy c54d2e16cb 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. Also fix lint
errors caught by the puppet-lint-absolute_classname-check check as well
as arrow alignment errors that were not being caught by the
system-installed version of puppet-lint before.

Change-Id: I4d7d5c89efe4bc95ea9f915bee89eb0d9d069106
2015-08-11 14:35:15 -07:00
Spencer Krum 1011fa43f0 Boilerplate beaker-rspec files
Change-Id: I61991b6e5ab2fb45ecc4f8d7beff91652b05c80e
2015-07-28 02:05:12 -07:00
Monty Taylor 31f0f3d085 Add support for CentOS6
Let's discuss the myriad of ways in which this is broken, but let's do
it later while crying into our beer. For now, this installs GPG public
keys and yum repo files, then attempts to install the OpenAFS packages
as per the instructions here:

  http://wiki.openafs.org/RpmClientInstallationWithDKMS/

Depends-On: I663ce7dfcb9663ce24e63c50308df5e51841731c
Change-Id: Id745d9be78da338f4985f5a8ab185caeefb1e71b
2015-06-28 13:54:08 -04:00
Jeremy Stanley 2c17de89ea 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: Ic82eec3ab7d65874e6c6fd53ed9213e973f855b2
2015-05-14 21:38:18 +00:00
Ramy Asselin 38f64f209a Rename openstackci to openstackinfra
Change-Id: I95ace31727e06e32ce5927a2ce5f11b47c4757ca
2015-04-20 13:45:50 -07:00
Jeremy Stanley 9934c2eb2a Add missing LICENSE file
The content of this project is Apache 2 licensed, but we should
include a standard LICENSE file just to be clear about that.

Change-Id: Iee6320b9d7e35fbe8d3b0a9794f3e485c18ef2c8
2015-01-29 22:59:02 +00:00
Mikhail S Medvedev 27cbd575e6 Add standard puppet module files and .gitreview
This module has been split out from system-config, and additional
    files are added to create a proper puppet module.

    In addition, puppet-lint issues were fixed for manifests/*

    The spec:
    http://specs.openstack.org/openstack-infra/infra-specs/specs/puppet-modules.html

Change-Id: I1398a01323a92e0737b99d6833bfdeec231878ce
2015-01-29 08:23:16 -06:00
Monty Taylor cf104cbd4f Fix one missed afs->openafs rename
Change-Id: I8e579798fb4eeece3d0946e5f0c22972c8b143b5
2014-10-20 15:55:16 -05:00
Monty Taylor b12c445585 Add AFS
I don't really think this needs any further explanation.

Change-Id: I41378bd320c6c6fad2c981d5cc773486af075c41
2014-10-20 15:13:14 -05:00