System configuration for the OpenDev Collaboratory
Go to file
Monty Taylor 63d8f7af48 Base 2.13 image on gerrit-base
We install jeepyb and launchpadlib in gerrit-base. Those are
important. We also need to add cgi for gitweb.

The gerrit init command does two things that we don't actually
want it to do at runtime. It extracts the plugins into the
plugins dir, and it downloads the right database library.

We can extract the plugins for it during image creation, and
then we can also download the plugin it would have downloaded.

We can also download the mysql library for it:

https://gerrit.googlesource.com/gerrit/+/refs/heads/stable-2.13/gerrit-pgm/src/main/resources/com/google/gerrit/pgm/init/libraries.config

Finally, we tell it to not download or expand anything during
init, because we're running in a container and next time we run
the process that dir isn't going to be there.

Our gerrit integration tests don't depend on our gerrit image builds.
Put in image depends between run-review and gerrit builds.

We also need to depend directly on opendev-buildset-registry.

Add java.security.egd setting to java invocation

This tells java to be secure.

https://stackoverflow.com/questions/58991966/what-java-security-egd-option-is-for

Add support for setting heap limit properly

The gerrit init script does this based on the value in
container.javaOptions. We could, but then we'd have to
run an entrypoint script. Instead, set the value via
the JAVA_OPTIONS env var setting based on a value from
ansible.

Finally, make gerrit-master image build non-voting

It looks like there might be a real issue, but debugging that
is not important for us at this moment.

Depends-On: https://review.opendev.org/714216
Change-Id: I01e94c10f470fb3c8ddfce7b0e201357e5050679
2020-03-20 16:37:18 -05:00
doc Merge "Make Advisory Board a proper noun" 2020-03-19 01:02:19 +00:00
docker Base 2.13 image on gerrit-base 2020-03-20 16:37:18 -05:00
hiera Merge "Add #openvswitch to meetbot channels" 2020-03-20 15:11:13 +00:00
inventory Switch to running gerrit via ansible+containers 2020-03-19 17:21:39 -05:00
kubernetes Update opendev git references in puppet modules 2019-04-20 18:26:07 +00:00
launch launch-node.py : use new(?) image name 2020-03-18 16:54:44 +11:00
manifests Switch to running gerrit via ansible+containers 2020-03-19 17:21:39 -05:00
modules/openstack_project Merge "Update git.starlingx/git.airship redirects" 2020-03-19 01:21:21 +00:00
playbooks Base 2.13 image on gerrit-base 2020-03-20 16:37:18 -05:00
roles Fix URLs after OpenDev rename 2020-03-18 18:23:17 +01:00
roles-test Role integration-tests : use a group match for openafs 2019-06-17 15:55:05 +10:00
testinfra Merge "Update git.starlingx/git.airship redirects" 2020-03-19 01:21:21 +00:00
tools Merge "Fix URLs after OpenDev rename" 2020-03-19 01:19:16 +00:00
.ansible-lint Go back to using find with ansible-lint 2020-03-11 16:30:33 -05: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 Base 2.13 image on gerrit-base 2020-03-20 16:37:18 -05: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 "Better checking for tags when cloning puppet modules" 2020-01-16 23:01:33 +00:00
install_puppet.sh Install the puppetlabs puppet package 2018-08-23 14:55:08 +10:00
make_swap.sh Use swapfile if no extra device is present 2019-07-17 10:37:30 -07:00
modules.env Remove bugday from status.o.o 2019-05-24 14:56:50 -05: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 Fix URLs after OpenDev rename 2020-03-18 18:23:17 +01:00
run_all.sh Add service-static.yaml to cron run 2020-01-28 12:46:23 +07: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 Update to ansible-lint 4.1.0 2019-06-06 22:13:12 +00:00
tox.ini Go back to using find with ansible-lint 2020-03-11 16:30:33 -05: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