This change automates the installation of gerrit third party plugins. This
does not include core plugins, which have already been automated. The first
third party plugin that we automate is the javamelody plugin.
Change-Id: I163353c2e9d59e4815b4544f983b54d68ede70a8
Double [[]] are needed by bash for the regex operator. Use them
universally for safety.
And make gate-config-puppet-apply-centos6 voting.
Change-Id: I8f245a86381d24d8938df444e0268343b46fe09f
Currently oslo acl files do different things. When one is looking
at the files for examples of how oslo project permissions work as
a way of evaluating new oslo acl files, there is some confusion.
This patch brings the olso acl files into a common alignment,
providing a template for future oslo acl file structure. It also removes
tagging ACLs from the repositories that don't use tags.
The project-name-core groups have review permission in all branches.
The project-name-ptl groups have tagging permission.
This patch also edits acl files for oslo common libs: pycadf and
taskflow, as well as openstack-dev tools: cookiecutter,
oslo-cookiecutter and pbr. The permission for taskflow-core to
create branches is removed.
This patch removes the need to have the oslo-specs-core and
olso-milestone gerrit groups.
Change-Id: I5cb6948502289d8f4179aabd35885a669df9d174
The logstash elasticsearch output seems to degrade over time and slow
down. Restarting the logstash daemon temporarily corrects this problem.
Switch to the elasticsearch HTTP output to see if that corrects the
problem as well.
Note the logstash watchdog is disabled by this change as logstash
daemons using elasticsearch HTTP output will not join the elasticsearch
cluster which will force the watchdog to always trip. To avoid this
issue disable the watchdog.
Change-Id: I77044b26fa10fb1fc3690a0464d79d55bed2fe00
When we put a conditional around rsyslog, it got pulled into
the if debian block - but git.o.o runs on redhat.
Change-Id: I0abea4075d216bf40b2e20e8afe186273e99b7ad
In chroots, as with diskimage-builder, managing service starts is
tricky. Also, we don't need to restart the service then, because
the service will get started on boot of the image.
Change-Id: Iaf90005039b8196ba3a0ac05c96d71e034f0b0b1
Builds running in a chroot are failing when notifying to rsyslog.
Assuming that an env var called FACTER_in_chroot is sent on this
case (as done by disk-image-builder elements), ignore the
declaration and interaction with rsyslog.
Change-Id: Id4c7a3e0c3503904540c59d940b52481d263d5b9
In anticipation of the nodepool patch, make the database grants,
which need a running database server to run, their own class. This
allows us to skip running them while in the chroot, and then on
boot we can simply run:
puppet apply 'class {"openstack_project::slave_db": }'
Change-Id: I4223e691d7545b445d39048a8ca801458cc3c2ed
Now that salt has been removed, remove the puppet module ensure
absent support.
This should be landed after puppet has been run after the previous patch has been landed.
Change-Id: I17a8caf19fd78b47d3c4683092aab76564497e05
If the logic is just in a role, it's hard to re-use it in a one-off
manner on the command line. By putting it into a module, we can
run:
ansible git0* -m puppet
To run puppet on the git farm, for instance.
Also, the file is completely not openstack specific, so do it in
such a way that we can submit it as a module upstream.
Change-Id: I35b2850e02ec5da2b41ad14eec9fd6d5a356bc93
We don't really use the salt infrastructure that we set up, which means
it's cruft. Go ahead and admit that we don't use it and remove it from
our systems.
Change-Id: Ic43695719cbad30aded16ac480deb3dfd9b2a110
ansible-playbook is in /usr/local, but that's not in the cron job path.
Also, although there is an ansible log setting in ansible.cfg, the
ansible-playbook command still outputs stuff. We don't want cronspam,
so add the redirection to the log file back in.
Change-Id: Id585c11cca4cbd7e1ba26adbfbe22af650ca2b50
Sometimes we need to clean the workspaces. While we have a command
documented, go ahead and make a playbook for it.
Change-Id: I1887dec24563811a71157c000b2d8ae9b7850d6a
Instead of a shell script looping over ssh calls, use a simple
ansible playbook. The benefit this gets is that we can then also
script ad-hoc admin tasks either via playbooks or on the command
line. We can also then get rid of the almost entirely unused
salt infrastructure.
Change-Id: I53112bd1f61d94c0521a32016c8a47c8cf9e50f7
Horizon will no longer bundle all the static JavaScript and style files
in its repository. It will instead depend on XStatic packages with those
files included in them.
Every library is a separate XStatic package, so that it can be tracked
and versioned separately and possibly shared with other projects that
also use XStatic. The projects will be managed by a new group,
xstatic-core.
This has been discussed on a design session on the summit:
https://etherpad.openstack.org/p/juno-summit-horizon-static-files
Change-Id: Ie087c173b531faab4ae6a55f4a05e7ac3bd990c9
Implements: https://blueprints.launchpad.net/horizon/+spec/remove-javascript-bundling
Make the static.o.o os_loganalyze wsgi.conf file resource use content
parameter with the template() function as template is not a valid
parameter for this resource.
Change-Id: Ic9e71b47bb6b9db99342d368d547c95f9d0fd8d1
Associate an OS with each node defined in site.pp so that the puppet
apply test will only test nodes apprapriate to the node the test
is running on.
Fix remaining errors related to this test, and make it vote.
Also, start running the centos6 version regularly
(which is still non-voting).
Change-Id: I26722dce15589c982af5de36f8ccf42666d29f2b
zuul sends the destination address without a trailing slash.
This is because the LOG_PATH does not contain one.
Check to see if we need to add a slash to object paths before
pushing to swift
Change-Id: I3e43c4ea266b57028fcaf9aa5fd09f1f5e37c306
Configure to use the read only swift creds that pair up with the read
write creds used to push the files.
Change-Id: I53252b3ed0d596b3fe36caef179f253bde1739cb
The existing config creates a bad URL:
http://tarballs.openstack.org/ironic-python-agent/coreos/
ipa-coreos.tar.gz/ipa-coreos.tar.gz -- this is an attempt to prevent
duplicating the ipa-coreos.tar.gz.
Change-Id: I7f17874aaa74e83a46cd821ac409cf4e045e128d
Rally integrated tests are done as usual unittests which runs cli
commands by various python helper methods. Results are generated
by subunit2html script.
Change-Id: I81d6ebcdb5c57236d7644aefdc58635a48c7edcc