Commit Graph

27 Commits

Author SHA1 Message Date
Clark Boylan a36b76bb51 Switch storyboard to LE cert
Once we are happy with the newly provisioned LE cert for storyboard we
can land this change to swap apache2 over to it.

Change-Id: Ib77ce8c0b6927a85f09b857ca67ad56059898a84
2021-05-24 12:41:11 -07:00
Ian Wienand 39ffc685d6 backups: remove all bup
All hosts are now running thier backups via borg to servers in
vexxhost and rax.ord.

For reference, the servers being backed up at this time are:

 borg-ask01
 borg-ethercalc02
 borg-etherpad01
 borg-gitea01
 borg-lists
 borg-review-dev01
 borg-review01
 borg-storyboard01
 borg-translate01
 borg-wiki-update-test
 borg-zuul01

This removes the old bup backup hosts, the no-longer used ansible
roles for the bup backup server and client roles, and any remaining
bup related configuration.

For simplicity, we will remove any remaining bup cron jobs on the
above servers manually after this merges.

Change-Id: I32554ca857a81ae8a250ce082421a7ede460ea3c
2021-02-16 16:00:28 +11:00
Jeremy Stanley 4daa349a75 Switch StoryBoard database backups to local
Once the database move maintenance has been completed for the
StoryBoard servers, merge this change so that they switch from
backing up the old remote database to the new local one.

Change-Id: I95ace65737816e6019c5e3df65d88db3e5bd5fd8
2018-12-06 20:30:59 +00:00
Jeremy Stanley a547a75dd9 Run a local MySQL service on StoryBoard servers
In preparation to move the SB data out of Trove instances to a local
database, make sure the database is created via configuration
management. Make the mysql_backup resource require
storyboard::database instead of storyboard::application to work
around a package resource conflict.

A separate maintenance window will be used to move the data, coupled
with a change of database hostname in private Hiera. Following that,
a followup change will switch the database backups from remote to
local.

Change-Id: I912130ad8a5a139147727e49800e36e2afd815f7
2018-12-06 20:30:40 +00:00
Monty Taylor 15663daaf7 Add iptables role
Co-Authored-By: James E. Blair <corvus@inaugust.com>
Change-Id: Id8b347483affd710759f9b225bfadb3ce851333c
Depends-On: https://review.openstack.org/596503
2018-08-27 14:33:32 +00:00
Monty Taylor bab6fcad3c
Remove base.yaml things from openstack_project::server
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
2018-08-16 17:25:10 -05:00
Jeremy Stanley a9b131346b Override the default_url for StoryBoard servers
In order to provide useful URLs in E-mail notifications, set the
default_url for the openstack_project::storyboard class.

Change-Id: I70cc33e73b3cff6855270d46e1dd40940221b0d1
Depends-On: https://review.openstack.org/555237
2018-04-18 20:47:07 +00:00
Ian Wienand 60b89d662e Remove ci-backup-rs-ord.openstack.org
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
2017-11-15 09:28:55 +11:00
Monty Taylor 6e689c955b
Switch storyboard to login.ubuntu.com
Change-Id: Ia8d0ecdcb6a6ee46f40688b982510797455d2b75
2016-12-13 11:21:35 -06:00
Jeremy Stanley 517732d053 Give storyboard-dev its own superusers list
We'd like to enable additional superusers on the development
instance of StoryBoard, so make it a class parameter and copy the
production list to start out.

Change-Id: Ie6d59e23dba59c195eb58b949c623ac4be6bfa2d
2016-06-21 23:21:21 +00:00
Jeremy Stanley c27f088572 Pass storyboard cert/key paths via global manifest
Since we want to use different certificate and key file paths in
openstack_project::storyboard::dev we need to be able to default
them through openstack_project::storyboard, so set them from the
global site manifest instead of hard-coding them in the class.

Change-Id: Ifc92d78f081fc69d804c29033e96e1c94462213b
2016-05-18 15:28:14 +00:00
Zara 31b043c3fb Add sender email for storyboard.openstack.org
This patch updates the sender email from the default
no-reply@storyboard.openstack.org to
storyboard@storyboard.openstack.org , as the former user is not
recognised. By doing it here, we avoid changing the global defaults,
as per the comments in this patch:
https://review.openstack.org/#/c/293080/

Change-Id: Ic4d12ab42687aaf4d0157aa5155ad7d81b94bacb
2016-03-16 11:31:51 +00:00
James E. Blair 891a0b6488 Add storyboard exim router/transports
Configure routers and transports for storyboard based on
Mailman-style VERP addressing.

Messages accepted on the localhost interface with a sender address
matching "*-bounces@" (eg, "storyboard-bounces@storyboard.openstack.org"),
will be sent out with VERP addressing (eg
"storyboard-bounces+user=example.com@storyboard.openstack.org).  This
way storyboard can perform bounce processing on messages it receives
back to that address.

Messages addressed to either "storyboard@", "storyboard-bounces@",
or "storyboard-bounces+user=example.com@" will be delivered to storyboard
by calling the '/path/to/storyboard inject $localpart' command.
Storyboard may then parse the message as appropriate.

Change-Id: I854006c19b22b233bae5017e4ad04c10a37e0adc
Depends-On: Id4f69580eb126d058ee699f4e7bfdb01cfc7409c
2016-03-10 11:29:15 -08:00
Michael Krotscheck 5dd484f1b2 Hostname and CORS domains are now configurable.
Moved $hostname and $cors_allowed_origins into the top
level module, so that they may be set on a per-host basis.

Change-Id: I9859c903d0075493d230e433d68e0471f019140a
2015-02-23 13:08:51 -08:00
Michael Krotscheck 1bd2b2bca9 Added Valid OAuth client configuration to storyboard manifest.
StoryBoard now only permits a finite list of authorized oauth clients,
which are based on the domain host. This adds the necessary configuration
elements to the OpenStack StoryBoard manifest.

Change-Id: Ia7d34e9b80399ffa9e4229d6cc7035061c41dffc
Depends-on: I29495a0b640c3ca097cca8c17349df5cc42388de
2015-02-23 12:27:02 -08:00
James E. Blair 32f8ac4b0c Add system backups to storyboard
The user needs to be created first.

Change-Id: If283e4cd52d3e34d140c2febc91e89bd1202c264
2014-12-02 09:25:48 -08:00
James E. Blair d291c522c4 Add database backups to storyboard
Change-Id: I0d1f53e645fdb91a2a9f952171dd917b2f7e9076
2014-12-02 09:24:29 -08:00
Michael Krotscheck c19bab3290 Added deferred worker process to storyboard
StoryBoard now supports deferred processors. This enables them
for storyboard.openstack.org.

Change-Id: I7b4e32f94db66f0e0b399d13b6a6a04d7c53639c
2014-09-29 14:07:30 -07:00
Michael Krotscheck 92228ebbc1 Added CORS allowed domains to storyboard server config.
Adds docs-draft and storyboard to the list of permitted CORS domains.
This depends on https://review.openstack.org/#/c/124197/, which
depends on https://review.openstack.org/#/c/124163/.

Also handled a couple of formatting nits.

Change-Id: I70d9fd1e133bef8bcbc34beed0c4039eb84d0bf0
2014-09-29 11:55:25 -07:00
James E. Blair e98e3d49fb Switch git and storyboard to project-config
Change-Id: I78a5ac024bbc44504529233804288ccc81829ede
2014-09-25 13:11:54 -07:00
James E. Blair 3925b2e6b4 Revert "Disable notifications in storyboard"
This reverts commit ddb4034837.

The underlying problem has hopefully been corrected.

Change-Id: I6fa913924f6b24b7e3c23e8c8d1787d779636971
2014-09-22 15:05:16 +00:00
James E. Blair ddb4034837 Disable notifications in storyboard
Due to bug: https://storyboard.openstack.org/#!/story/202

Change-Id: I6d7c3d7e7578ba10fad6770c8999762db5903d98
Depends-On: I04d20b491cfa0c897160d9fc78c37a164cd09122
2014-08-27 15:41:42 -07:00
Michael Krotscheck 9223b79612 Update storyboard version to include rabbitmq
This updates the version of storyboard that is used by infra to include
rabbitmq.

Change-Id: I8cbfb17715a75cf63dd60ad4bae24bc40b3a6944
2014-08-13 14:48:30 -07:00
Michael Krotscheck 682019f1fa Modularized StoryBoard Module
In order to get the puppet module for storyboard up to a level where
we can publish it to puppetforge, I did some work on it to create
separate modules which can be used by anyone to install storyboard.

- API and Webclient are now installed via storyboard::application,
  which assumes that you can provide the DB connection criteria.
- storyboard::cert is now a separate class, which accepts either
  files or strings, which generates the SSL certificate and chain
  files for storyboard.
- storyboard::params is our dependency checker.
- storyboard::init will install a standalone, entirely
  self-contained instance of storyboard.
- Added various puppet module files necessary for eventual
  deployment to puppetforge.
- Added README.md documentation for later puppetforge addition.

This patch also includes a new module: example42-puppi, which is a
series of convenience utilities useful for deployment. For example,
puppi::netinstall (used here) will fetch tarballs and zip files and
extract them into a provided directory. It also contains changes to
the storyboard configuration for the new refresh token support patch
in #94363

Change-Id: I6ab8c24b308df38774fc0694d218dcb5022cd899
2014-08-08 10:58:17 -07:00
Monty Taylor 3be22cf5ec Load storyboard superusers from yaml file
There are actions, such as deleting projects, that should only be done
by superusers. For that to work, we need to have superusers.

Change-Id: I827446788ca53018a6d2c76eaf667b6fe4065f80
2014-03-24 07:08:47 -07:00
Monty Taylor fa3b8f4869 Make storyboard run over ssl
We're doing auth now, so we should really do it over SSL.

The cert contents are already in hiera.

Change-Id: Ia939e228785168705840acd6d377e6c25ba3370d
2014-03-09 16:01:09 -07:00
Ruslan Kamaldinov 265bd8fe1d Add Storyboard puppet module
There are two major parts being installed with this module:
1. storyboard-api - REST API service served  with
   apache mod_wsgi module
2. storyboard-webclient - static html/css/js files.
   This project is built and published to tarballs.o.o,
   from where it'll be installed with this puppet module

This module requires three configs from Hiera:
* storyboard_db_host
* storyboard_db_password
* storyboard_db_user

Installed projects:
* http://git.openstack.org/cgit/openstack-infra/storyboard/
* http://git.openstack.org/cgit/openstack-infra/storyboard-webclient/

Things to be added in later commits:
* Documentation for ci.openstack.org
* Configure logging (once supported by storyboard)
* SSL

Change-Id: If3da06f8d20a6282036f1f9f063c25a6d0db60c6
2014-01-29 06:47:37 +04:00