System configuration for the OpenDev Collaboratory
Go to file
Ian Wienand 670107045a Create opendev mirrors
This impelements mirrors to live in the opendev.org namespace.  The
implementation is Ansible native for deployment on a Bionic node.

The hostname prefix remains the same (mirrorXX.region.provider.) but
the groups.yaml splits the opendev.org mirrors into a separate group.
The matches in the puppet group are also updated so to not run puppet
on the hosts.

The kerberos and openafs client parts do not need any updating and
works on the Bionic host.

The hosts are setup to provision certificates for themselves from
letsencrypt.  Note we've added a new handler for mirror nodes to use
that restarts apache on certificate issue/renewal.

The new "mirror" role is a port of the existing puppet mirror.pp.  It
installs apache, sets up some modules, makes some symlinks, sets up a
cleanup cron job and installs the apache vhost configuration.

The vhost configuration is also ported from the extant puppet.  It is
simplified somewhat; but the biggest change is that we have extracted
the main port 80 configuration into a macro which is applied to both
port 80 and 443; i.e. the host will have SSL support.  The other ports
are left alone for now, but can be updated in due course.

Thus we should be able to CNAME the existing mirrors to new nodes, and
any existing http access can continue.  We can update our mirror setup
scripts to point to https resources as appropriate.

Change-Id: Iec576d631dd5b02f6b9fb445ee600be060f9cf1e
2019-05-21 11:08:25 +10:00
doc Remove graphite.openstack.org 2019-05-08 05:55:33 +10:00
docker Merge "Run python with jemalloc in containers" 2019-04-05 23:22:05 +00:00
hiera Remove graphite.openstack.org 2019-05-08 05:55:33 +10:00
inventory Create opendev mirrors 2019-05-21 11:08:25 +10:00
kubernetes Update opendev git references in puppet modules 2019-04-20 18:26:07 +00:00
launch launch.py: Fix inventory list 2019-05-20 13:09:40 +10:00
manifests Pin skopeo to unbreak skopeo+bubblewrap 2019-05-15 14:16:57 +00:00
modules/openstack_project Merge "Rename review.openstack.org to review.opendev.org" 2019-05-12 11:46:29 +00:00
playbooks Create opendev mirrors 2019-05-21 11:08:25 +10:00
roles Handle moved puppet repos 2019-05-15 16:03:07 -07:00
roles-test Make kdc03 the master kerberos kdc and admin server 2019-02-22 15:47:49 -08:00
testinfra Create opendev mirrors 2019-05-21 11:08:25 +10:00
tools Handle moved puppet repos 2019-05-15 16:03:07 -07:00
.gitignore Ignore ansible .retry files 2016-07-15 12:04:48 -07:00
.gitreview OpenDev Migration Patch 2019-04-19 19:26:05 +00:00
.zuul.yaml Create opendev mirrors 2019-05-21 11:08:25 +10:00
bindep.txt Add libffi dev packages needed for ansible install 2016-10-04 15:20:00 -07:00
COPYING.GPL Add yamlgroup inventory plugin 2018-11-02 08:19:53 +11:00
Gemfile Update some paths for opendev 2019-04-20 09:31:14 -07:00
install_modules.sh Merge "Support puppet5 for bionic" 2018-08-22 21:26:36 +00:00
install_puppet.sh Install the puppetlabs puppet package 2018-08-23 14:55:08 +10:00
make_swap.sh Add base playbooks and roles to bootstrap a new server 2018-08-01 14:57:44 -07:00
modules.env Merge "Update puppet-python to "fix" broken facts" 2019-05-14 23:38:48 +00:00
mount_volume.sh Add support to launch-node for cinder attach 2016-04-19 11:07:23 -07:00
Rakefile Further changes to bring puppetboard online 2014-03-22 12:54:38 -07:00
README.rst Update some paths for opendev 2019-04-20 09:31:14 -07:00
roles.yaml Replace openstack.org git:// URLs with https:// 2019-03-25 09:40:52 -07:00
run_all.sh Create opendev mirrors 2019-05-21 11:08:25 +10:00
run_cloud_launcher.sh Remove graphite.openstack.org 2019-05-08 05:55:33 +10:00
run_k8s_ansible.sh Invoke run_k8s_ansible from its directory 2019-05-07 16:03:59 -07:00
run_puppet.sh Clean up bashate failures 2014-09-30 12:40:59 -07:00
setup.cfg Update some paths for opendev 2019-04-20 09:31:14 -07:00
setup.py Update to openstackdocstheme 2018-06-25 11:19:43 +10:00
test-requirements.txt Cap ansible to <2.8 to fix testinfra 2019-05-16 12:44:42 -07:00
tox.ini Test gitea project creation playbook 2019-03-06 18:42:39 +00:00

Puppet Modules

These are a set of puppet manifests and modules that are currently being used to manage the OpenStack Project infrastructure.

The main entry point is in manifests/site.pp.

In general, most of the modules here are designed to be able to be run either in agent or apply mode.

These puppet modules require puppet 2.7 or greater. Additionally, the site.pp manifest assumes the existence of hiera.

See http://docs.openstack.org/infra/system-config for more information.

Documentation

The documentation presented at http://docs.openstack.org/infra/system-config comes from https://opendev.org/opendev/system-config repo's docs/source. To build the documentation use

tox -evenv python setup.py build_sphinx