Commit Graph

39 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov d3ef8b1256 Deprecate openstack-ansible-galera_client role
Since we moved all functionality of galera-client part to galera-server
role there's no sense in futher keeping and branching of client part.

Depends-On: https://review.opendev.org/c/openstack/project-config/+/765777
Change-Id: I1623dbc80bee4eb7d889ee570d0ce27697b58cea
2020-12-07 12:41:44 +02:00
Andreas Jaeger 9418117f4c Use newer openstackdocstheme and reno versions
The sync from https://review.opendev.org/733244 updated to
openstackdocstheme 2.2.1 and reno 3.1.0 versions.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I9a7173e1c4f3b4ebf024b826813d8f1c002a7df3
2020-06-03 19:00:46 +02:00
OpenStack Release Bot 1403bc919a Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: Icd8079fccf0e2d6b802d2dab6c3450e5d02b2dd4
Sem-Ver: feature
2020-06-01 13:09:02 +00:00
Andreas Jaeger 70d7bc30db Update docstheme for style
New version of openstackdocstheme (Victoria+) respects pygments_style.
Since this repo is using now Victoria (master) requirements but has
not branched for Ussuri yet, it uses the new version.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Change-Id: I0d6247312e22c365c1e449ee5a18a8765789a7f4
2020-05-20 18:44:30 +02:00
Dmitriy Rabotyagov 6397dd0e86 Replace git.openstack.org with opendev.org
This patch replaces git.openstack.org with opendev.org as redirection
from old path was enabled.
Also we change upper constraints url due to [1]

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I1ca77be73cda89776ccf8e5a1f48781261683103
2019-11-14 14:10:37 +02:00
OpenStack Release Bot 9e119d5f23 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: I6cd7936eb9a5ff53db1b0c595769ea58673c0965
Sem-Ver: feature
2019-10-22 18:53:37 +00:00
OpenStack Release Bot 184f08e9d4 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I6f879d86c39d528f1a011cb4e10f666f9bdf72ce
Sem-Ver: feature
2019-04-08 09:14:38 +00:00
Jesse Pretorius 6c7aee86f5 Use in-repo GPG keys
We make remote network hits to get the GPG keys which are quite
unreliable, and apt_key does not support using a proxy properly [1]
so let's store them inside the role and use them.

The implementation here is derived from that which was done in the
galera_server role in I9443f10e8c803599cbebfc2a53cb9c432bfa60d1,
but opts to use a mechanism that will be simpler to maintain.

[1] https://github.com/ansible/ansible/issues/31691
Change-Id: I520ccbadf3320b0d07fc83e3dbec9ea2bd16ec83
2018-12-14 19:36:40 +00:00
Markos Chandras 03bac540a8 defaults: Bump mariadb to 10.2 release branch
mariadb 10.2 was first released in April 2016 and OpenStack services
should be ready to use it by now, so lets switch to 10.2.

Change-Id: If1aaea61b89ea38161451872754b79d151da540f
2018-09-12 12:10:46 +01:00
OpenStack Release Bot ef2c548063 Update reno for stable/rocky
Change-Id: Id04cd092e4ef71fccd81bfa74fc5b8fcad94fbaf
2018-08-10 16:44:40 +00:00
OpenStack Release Bot dde1ff85a3 Update reno for stable/queens
Change-Id: I4883c03227916fb99b6f5ced015e1e34663c88b1
2018-02-14 15:44:54 +00:00
Major Hayden 3315248f00
Remove release note for yum mirror change
Change-Id: Iff44d892811189f320b6e9ddcb8426f994e38713
2018-02-08 07:53:19 -06:00
Major Hayden bd1f43f123 Update MariaDB CentOS yum mirror URL
The yum mirrors for MariaDB have changes to the directory structure.
This patch updates the directory structure and chooses a faster
mirror from the US to use for installation.

Closes-Bug: 1747740
Change-Id: I213b66cddcad8328d7606385354a0a7194a5c569
2018-02-07 10:40:01 +00:00
Markos Chandras bb6feac7ab SUSE: Switch to upstream MariaDB repository
The OBS development repository was proven to be quite fragile since
the mariadb packages were moving far to quickly. Whilst this has helped
to catch bugs when OpenStack services were used against newer MariaDB
versions, it also created a very unstable infrastructure for openSUSE
deployments. As such, we have now switched to using the upstream SLE
packages as provided by MariaDB upstream so all distributions are
aligned to how they deploy the Galera clusters. This further allow us
to report upstream bugs which fix problems across all distributions.

Galera server Role fix: https://review.openstack.org/#/c/536955/
Change-Id: Ib270b0fe23de76620491247efc3352fbc6c1e9b5
2018-01-24 15:22:35 +00:00
Andreas Jaeger 1da9865aab Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.

Change-Id: Ib604c0a920f0ec5287482fb8a35428c04dbe4f74
2017-11-17 07:41:52 +01:00
Jean-Philippe Evrard e853a5e2cd Initial OSA zuul v3 role jobs
This patch implements an initial set of jobs intended to match
the current job execution method. It does not intend to improve
how the jobs are executed - only to replicate what is currently
in openstack-infra/openstack-zuul-jobs and provide the platform
to iterate on.

Change-Id: Ib24c5cb4f6bd9487ced12a0b98070ccf34d7fff6
2017-10-17 18:23:11 +00:00
Markos Chandras 9774f0c068 SUSE: Add ability to configure external mirror for openSUSE
Allow deployers to choose a specific mirror for the OBS packages
by setting the 'galera_client_opensuse_mirror_obs_url' variable

Change-Id: I51e78cfc3dc2b84141e8a19f31bfc36a81113ab3
2017-09-07 11:32:58 +01:00
OpenStack Release Bot 142c50569c Update reno for stable/pike
Change-Id: I834aeea5eaa451c0ec75c60958cc70acca16ecb5
2017-08-21 10:37:23 +01:00
ZhongShengping 869ae0a070 Fix openstackdocstheme settings
To use openstackdocstheme 1.11.0 properly, this patch fixes
some settings according to follow[0].

[0]https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: I6003621ada6c66996e3ea75e7f8e41a1a5ea88d2
2017-07-03 16:05:46 +08:00
ZhongShengping d959a40319 Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use the
openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: I0697a295dc993efd92942cbe3d1589fd59437244
2017-06-26 14:30:58 +08:00
Andrey c093c13e01 Added Galera SSL support
MySQL SSL connections allowed. Self-signed SSL CA cert or user-provided
CA certificate delivered from the deployment host.

Change-Id: Iaa07435357139133e325d85808b419e8c55b5e50
Partial-Bug: #1667789
2017-03-31 08:43:13 +00:00
Jesse Pretorius e106ac12b2 Move repo URL variables to defaults
This patch deprecates the apt/yum specific variables
and moves the common URL variable to defaults to make
it possible to override without using extra-vars.

This technique matches the mechanism used in the
galera_server role.

Change-Id: Iaf9a23d1cbc0601d13bf2e467437d3775da9c812
Related-Bug: #1669897
2017-03-06 14:39:51 +00:00
Markos Chandras 07bc2ba504 Add SUSE support
Add new variables and tasks files for SUSE based distributions. The
required packages are present in the default repositories so no
additional repository configuration is necessary.

Change-Id: Idd7cc55baabf7e2da0807cedd3a37a7d887f3219
2017-02-20 21:53:50 +00:00
Jenkins 061b326e64 Merge "Update reno for stable/ocata" 2017-02-06 09:34:45 +00:00
gecong1973 139b6ea1d7 Use https instead of http for git.openstack.org
TrivialFix

Change-Id: I1e91dcc2df52a20ec9eafeb2a655f39bb70e6bee
2017-02-06 11:17:15 +08:00
OpenStack Release Bot e633530090 Update reno for stable/ocata
Change-Id: Icb3c9cd816b7b61278c65f80bc574da195bb4a72
2017-02-03 18:57:26 +00:00
Jean-Philippe Evrard 8935c29e70 Allow override of the repo filename
Apt cannot have 2 mirrors with the same content in 2 different files.
If a deployer has an apt mirror with mariadb (and others), the deployer
still need to add a repository, but will also need to define the
filename used, in order to avoid clashes.

This commit makes possible to decide the filename for the repo.

Change-Id: Ic83d464512f6f8697e520d79520dcf21370f8beb
Signed-off-by: Jean-Philippe Evrard <jean-philippe.evrard@rackspace.co.uk>
2017-01-03 13:38:47 +00:00
Andy McCrae c13983adce Allow galera_client role to skip package installs
This patch adds the galera_client_package_install option which allows
the deployer to skip the installation of the galera_client packages, and
simply set up the /root/.my.cnf configuration file.

This is useful for deploying the client on hosts that already have
galera client configured, but still want the client configuration setup.
For example the galera_server role which can have a conflict when the
client and server repository version don't match.

Change-Id: I00d662a8afc7ddd4778787d31dc394a0ea3b1401
2016-11-28 20:11:13 +00:00
Jimmy McCrory 6743229aa5 Install MariaDB 10.1 client
Update repos and packages to install the client for MariaDB 10.1, the
current stable release.

Make use of the yum_repository module for installing on yum based
systems and give the apt repository file a consistent name, 'MariaDB',
for easier maintenance and handling of upgrades going forward.

Change-Id: I8939703f26e5d8adc393b984266f4cad7a6e0b4c
2016-11-24 09:57:35 -08:00
Andreas Jaeger 264fa987c8 Enable release notes translation
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.

Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.

Change-Id: I9b1f2ed72c04e79e09df97afdaa7362a24187c87
2016-10-06 20:34:35 +02:00
Davanum Srinivas 4106623d0b Update reno for stable/newton
Change-Id: I5e889066e998d51e3e875e1c8a800bf8ee2689bd
2016-09-29 19:23:07 +00:00
Jesse Pretorius 4b7a4e39e8 Rename package lists (and related vars) appropriately
In order to make it easier to differentiate between the lists of
python packages, distribution packages, downloaded packages,
package pins and other similar variables the variable names are
being changed to ensure that they have a more explicit suffix
that defines the purpose and makes the naming more consistent.

This is to facilitate a lookup plugin which will be able to look
up all the package lists and present them as a consolidated piece
of data which may be used for artifact preparation.

Change-Id: I9fd9e3ca1aec2d76cd78c4013bbb85c189e2d5e5
2016-08-26 14:49:36 +00:00
Jesse Pretorius acdfa0324f Add ability to change apt/yum package state
The current method of installing the distribution packages required is
set in the tasks and cannot be changed by a deployer.

Currently the apt task always installs the latest package. This results
in unexpected binary changes when a deployer may simply be trying to
execute a configuration change.

This patch adds the ability for a deployer to change the desired state
so that the results are predictable.

Change-Id: Id0367754d3538c0e3da808521ba41b9aaa252a5f
2016-07-28 19:15:35 +01:00
Jesse Pretorius 7cdd9656c7 Update sphinx configuration
This patch updates the sphinx configuration for docs and releasenotes
to make it easier to replicate across repositories and to comply with
pep8 testing without exceptions.

Change-Id: Ic75117c0e0e6a4e281b55d5961cda60e044e4aec
2016-07-12 16:50:52 +01:00
Kevin Carter d394277b21
Update Multi-distro support for CentOS7
This commit updates the role to support Ubuntu 14/16.04 and CentOS7

Change-Id: Ieadcdd70e9b8271aee3880896255a5037f56567e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-05-15 21:59:40 -05:00
Jimmy McCrory 03936b3f11 Use the apt_package_pinning role
Add a dependency on the apt_package_pinning role and use it, instead of a
template within this role, to pin the MariaDB repo.

Change-Id: I26111d7191db793b9cddca29c681399040ab6011
2016-05-05 19:11:15 -07:00
Jesse Pretorius a7757eacf8 Remove Liberty releasenote index
Change-Id: If797fcc07a0a2b4e298758b4fb94057f425dfcc4
2016-04-20 22:18:31 +01:00
Jesse Pretorius 90182e3011 Add reno scaffolding for release notes management
Change-Id: Ic19065366bbe1da138c9ac554ea3db769ce57981
2016-04-09 18:18:57 +00:00
Logan V e19d5d4a51 Remove Xtrabackup from Galera client role
Carrying Xtrabackup as a hard dependency across all hosts acting as a client
of the cluster is unnecessary, as it is only required on the Galera server cluster
members themselves.

Change-Id: I2fa0e862e3a9ad73c6391969564891d913273a79
2016-02-07 14:17:59 -06:00