Despite be deprecated, the ask server is our 3rd biggest backup. Even
though the site is R/O we're still backing up the fresh rotations of
the gzipped backups every day.
To reduce the incremental space requirements, move to our plain-text
streaming for the db backup. This just needs a file dropped in /etc;
see the backup-borg role README documentation. We do this in puppet
to avoid complexity adding this deprecated service to ansible. This
then excludes the on-disk db backup dir.
Drop the bup backups while we are here.
Change-Id: Icfd81aca58b9a0dc3a3b74de04c1b00f03160327
When apache2 gets reloaded multiple times in quick succession, it may
crash and fail completely. Lately this has been seen very often on our
ask.openstack.org instance, so let us use the more intrusive, but also
hopefully more stable in the end result method of restarting instead.
Change-Id: I44e4561f8696415471f65b75d683c48636fb413f
I'm certain I copied this from somewhere out of date; it should be
"ensure" not "state" for puppet4
Change-Id: I18272db219a7d047bc58728b1d09355fd0100881
puppet-solr is dead upstream. Even the un-merged pull request for
Xenial support isn't sufficient [1].
We can either get into the business of owning puppet-solr, or hack
around it. It seems the major difference is that jetty package split
into separate jetty[8|9] packages, and puppet-solr just uses "jetty"
everywhere.
This deb, created by equivs does the following
* pre-depends on jetty8
* installs a symlink /etc/init.d/jetty -> jetty8
* symlinks in the webserver directory to /usr/share/jetty
This appears to be enough to get things going. By pre-installing it,
puppet-solr is happy enough to go on...
[1] https://github.com/vamsee/puppet-solr/pull/33
Change-Id: Ie86303caeb26634434dc4b2d0d3f1195749a277e
Not updating the gerrit git links thing, because that needs to
be a wider patch that updates the link syntax too.
Change-Id: I98013ba79e707540879e0cf2849a35c52f3371e8
Now that we've got base server stuff rewritten in ansible, remove the
old puppet versions.
Depends-On: https://review.openstack.org/588326
Change-Id: I5c82fe6fd25b9ddaa77747db377ffa7e8bf23c7b
Migrate backups to new backup01.ord.rax.ci.openstack.org
We decided to start fresh backups on the new server, so this is ready
to go. I have performed an initial backup on each server so it has
accepted the host key of the new server and been tested (I also fixed
up review-dev.o.o, which was rebuilt but keys not updated ... todo:
add this to puppet, but since it changes so infrequently not high
priority).
Change-Id: I0872f9fcf4a334d32f632b3cb04801deefab4fd1
Include the following fixes:
- openstackid.o.o openid provider and related bug fixes
- new multilanguage model
As the upstream askbot introduced a new branching model,
it also includes changes that brake the configuration. So
the addition of new settings.py backed by two reasons:
- keep the commit ref and settings change atomic (originally
the settings.py come from puppet-askbot module for production)
- provide a separate, and visible settings.py for ask.o.o,
as ask-staging.o.o already using settings.py-staging.erb to
handle system breaking changes.
The original and later reverted change id:
I79155c611386724b510a4cd5f2f544f98c74f3b9
Change-Id: I5b64f9183cc11fa0efed4e581b4b7002f0191764
Today, we have 4.7GB of log files on ask.o.o. Lets reduce that by
keeping them around for 1 week.
Change-Id: I2af10ccef757b889995c75c25a79914e6816429f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This reverts commit a4115be981.
The upgrade seems to have only partly completed, so reverting this
in an attempt to roll it back for now while we investigate.
Change-Id: I3aa077dd5040d75287f75c7da04aec9d52a68473
Solr version 4.10.4 is not available on official mirrors. The
repository url was changed to https://archive.apache.org/dist/lucene/solr
where the 4.x branch still exist.
The upgrade to 5.x require major changes in solr deployment model, so
this patch is just a short term workaround.
Change-Id: I0fab4fa6b49b766b0b62a978f62150bbceeb4b08
Include the following fixes:
- openstackid.o.o openid provider and related bug fixes
- new multilanguage model
As the upstream askbot introduced a new branching model,
it also includes changes that brake the configuration. So
the addition of new settings.py backed by two reasons:
- keep the commit ref and settings change atomic (originally
the settings.py come from puppet-askbot module for production)
- provide a separate, and visible settings.py for ask.o.o,
as ask-staging.o.o already using settings.py-staging.erb to
handle system breaking changes.
Change-Id: I79155c611386724b510a4cd5f2f544f98c74f3b9
This reverts commit 1cfb0442ff.
This new patch contains all the resource definitions required to
deploy and configure a trusty based ask.o.o based on the askbot github
repository.
Change-Id: Ia7dc3944666df1bb81d314fd6c3eb08b4c1e2cbd
Disable new puppet-askbot module related resources. This change allows
us to bring-in the refactored puppet-askbot module, consume askbot
from git repository directly and switch to Trusty.
Needed-By: I560c24c3b09e4a8d09b23afa619a4cf361601cbe
Change-Id: Iaa8488a3d7ab8b121404ac1ac39bd1620a868727
Backup resources for bup and pgsql database backup. Need to add
keys and setup user manually at bup server side, as described
in CI doc: http://ci.openstack.org/sysadmin.html#backups
Change-Id: I55cca70f891eb18775b0585532b8c34a0dd40787
Depends-On: I13d542ef5a2a74f14ab42d3421938532edf75f93
Add ask.openstack.org to openstack-infra. Setup an all-in-one
askbot site based on existing deployment, including apache,
redis,apache solr,postgresql. See askbot.rst for further
details. Refactored to depend on vamsee's puppet solr module.
Depends-On: Iffe07d3a34087cb15151787bc683208425a27594
Change-Id: I36504eac7b953c3cce3e21a3559ac95b1bc12da7
This reverts commit 484a034118
Management is outsourced to the askbot folks.
Change-Id: I36c67211c078ac0cda4f8e4eca7f49c17cea40b2
Reviewed-on: https://review.openstack.org/22338
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Later we'll add the public keys for the askbot folks.
This will be mostly managed outside of puppet for now.
Change-Id: I5de4a164932ce87c1d4c329c8e839e979c271fa1
Reviewed-on: https://review.openstack.org/22047
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins