Commit Graph

35 Commits

Author SHA1 Message Date
OpenStack Release Bot 4ed7119125 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

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

Sem-Ver: feature
Change-Id: I629dbe6b0cacc767653ca7ee988e5e931708cc55
2022-12-13 13:11:56 +00:00
Zuul ddf65cdc3e Merge "Add deployment of the external libraries" 2020-11-27 19:59:35 +00:00
Dmitriy Rabotyagov 3acae8f8c9 Add deployment of the external libraries
Deployment of user libraries might be needed for interaction of PKCS#11 module
with external HSM solutions.

Change-Id: I0a0754052a0d48792322243341171593bbbd1a41
2020-11-16 15:59:21 +02:00
Dmitriy Rabotyagov 50c983e034 Allow multibackend support for Barbican
This patch introduces 2 new variables that are designed to help deployer
with barbican configuration. They are designed to support multibackend
caonfiguration of the barbican while default behavior should not change.

Change-Id: I3369c4254f3b48f12ed9731f18d980044e6d0b43
2020-11-14 07:29:30 +00:00
Andreas Jaeger 1b55ff7afa 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: I0e1932fdd5dd0692c639a52634011180d218e691
2020-06-03 19:12:02 +02:00
OpenStack Release Bot 81d08ae060 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: Ie411e5c996be07b3f8063a99de539f07908b665a
Sem-Ver: feature
2020-06-01 13:12:03 +00:00
Andreas Jaeger e1624b0579 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: I7443313cb602d0af3541abf720fbd7006b71de4a
2020-05-20 18:46:43 +02:00
Dmitriy Rabotyagov fdc249db05 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

Depends-On: https://review.opendev.org/693841/
Change-Id: Ibeef50ce58bf793192477ee939ef136ea3d053e6
2019-11-14 16:21:37 +00:00
OpenStack Release Bot 2fcf8cc69f 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: I05f226f000da51e9e799f3d2c44431e0617085fd
Sem-Ver: feature
2019-10-22 18:56:28 +00:00
Dmitriy Rabotyagov 434eebd0c3 Add extra barbican services
This patch adds option to easily enable barbican extra services.
It replaces barbican service with barbican-api with same functionality.

Change-Id: I76494288e17f1801b4f1055cbb4d9b6b4bd4f475
2019-09-04 13:06:32 +03:00
OpenStack Release Bot 18f6099c6f 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: I70fdfa7b30a5d3cb4b7a5d0b82a87c58a9cd241b
Sem-Ver: feature
2019-04-08 09:16:59 +00:00
Matthew Thode 84435d5bc0
Force force-tlsv12 only
Secure by default

Depends-On: https://review.openstack.org/628979
Change-Id: I068876e37bb7c51dac074f98c8d163237dfe44e1
2019-01-09 10:43:25 -06:00
Francois Deppierraz 95306507c0 releasenotes: oslo-messaging-separate-backends add project name
Without this patch, the release notes published at
https://docs.openstack.org/releasenotes/openstack-ansible/rocky.html contains
the same line multiple times which is not very clear.

[...]
    Support separate oslo.messaging services for RPC and Notifications
    to enable operation of separate and different messaging backend servers.

    Support separate oslo.messaging services for RPC and Notifications
    to enable operation of separate and different messaging backend servers.
[...]

Change-Id: I0ed1a43670d97f2e2215d04c641f7bd4cfbe4f44
2018-10-15 16:55:18 +02:00
OpenStack Release Bot 7dee85e178 Update reno for stable/rocky
Change-Id: I3b52207ed178a90bcd1ab6ddbbb60609a2922771
2018-08-10 16:45:57 +00:00
Kevin Carter 005e5b61ca
Convert role to use a common systemd service role
This removes the systemd service templates and tasks from this role and
leverages a common systemd service role instead. This change removes a
lot of code duplication across all roles all without sacrificing features
or functionality. The intention of this change is to ensure uniformity and
reduce the maintenance burden on the community when sweeping changes are
needed.

The systemd journal would normally be populated with the standard out of
a service however with the use of uwsgi this is not actually happening
resulting in us only capturing the logs from the uwsgi process instead
of the service itself. This change implements journal logging in the
service config, which is part of OSLO logging.

OSLO logging docs found here: <https://docs.openstack.org/oslo.log/3.28.1/journal.html>

Change-Id: Ic5b57a650bd9f5c385ed0a0a3efd1d530a2d7e81
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-07-31 14:43:44 -05:00
Andrew Smith 206f411451 Update to use oslo.messaging service for RPC and Notify
This introduces oslo.messaging variables that define the RPC and
Notify transports for the OpenStack services. These parameters replace
the rabbitmq values and are used to generate the messaging
transport_url for the service. The association of the messaging
backend server to the oslo.messaging services will then be transparent
to the barbican service.

This patch:
* Add oslo.messaging variables for RPC and Notify to defaults
* Add transport_url generation to conf
* Add oslo.messaging to tests inventory
* Update tets
* Update examples
* Add release note

Change-Id: I0657c88799e06987c6df90edd55fda859faf6035
2018-07-26 09:37:01 +00:00
Jesse Pretorius 9d01669487 Execute service setup against a delegated host using Ansible built-in modules
In order to reduce the packages required to pip install on to the hosts,
we allow the service setup to be delegated to a specific host, defaulting
to the deploy host. We also switch as many tasks as possible to using the
built-in Ansible modules which make use of the shade library.

The 'virtualenv' package is now installed appropriately by the openstack_hosts
role, so there's no need to install it any more. The 'httplib2' package is a
legacy Ansible requirement for the get_url/get_uri module which is no longer
needed. The keystone client library is not required any more now that we're
using the upstream modules. As there are no required packages left, the task
to install them is also removed.

With the dependent patches, the openstack_openrc role is now executed once
on the designated host, so it is no longer required as a meta-dependency for
the role.

Depends-On: https://review.openstack.org/579233
Depends-On: https://review.openstack.org/579959
Change-Id: I20186fd3bb4a3fade91e14f6360232454de9c989
2018-07-06 13:49:14 +00:00
Markos Chandras c9135f8b34 Add support for using distribution packages for OpenStack services
Distributions provide packages for the OpenStack services so we add
support for using these instead of the pip ones.

Change-Id: I1c2b4ad14fb40ce3958ed197115ccf45468544c6
Implements: blueprint openstack-distribution-packages
2018-05-15 11:42:58 +01:00
OpenStack Release Bot cf73883edb Update reno for stable/queens
Change-Id: I06b427d3e8fea4af4018da0185e831e8c30419fe
2018-02-14 15:47:10 +00:00
Andreas Jaeger 3101c7f4c9 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: I35373482557c63f70fc580efb00e49abec72932b
2017-11-17 07:54:31 +01:00
Jesse Pretorius f0cddb7be3 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: I876965e17a2455b9023ddac4bdd6abdf7fca8a12
2017-10-17 20:56:35 +00:00
OpenStack Release Bot 4b55f7e40b Update reno for stable/pike
Change-Id: Iff9fc3de25dcfb836f0e15eb5282c06477f37f27
2017-08-18 07:59:42 +00:00
ZhongShengping f40722c12e 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: I6a39cea6c2b6cfa1f6fdbdeea84e6d2a67d6cc3a
2017-07-03 16:12:21 +08:00
ZhongShengping 45f7b8dc40 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: Ie1e97acbe998601564bd9dc6805639ca8f55e460
2017-06-26 11:29:40 +08:00
Jesse Pretorius 7f399d384d Use package module to install distro packages
Consolidate distro package install tasks into a
single task using the package module and pass
the package list into the name instead of using
a with_items loop.

The minimum Ansible version is raised to 2.2 due to a
known bug [1] in Ansible's apt module which does not
update the cache properly if the cache update and the
install are combined in a single task.

[1] https://github.com/ansible/ansible-modules-core/issues/1497

Also:
- remove unused travis configuration file
- move release note to the proper location
- add license boilerplate to meta file

Change-Id: Ibc2d96a48f156f19235df8b7a25d59d433c3aad5
2017-05-02 11:31:03 +01:00
Jesse Pretorius 0045da5593 Rename release note to unique hash
Change-Id: I9cdd45704f3f07967f2090f3d313897da790d3fd
2017-04-28 11:38:06 +01:00
Jesse Pretorius c091e28c5c Reduce init restart/kill times
The systemd unit 'TimeoutSec' value which controls the time
between sending a SIGTERM signal and a SIGKILL signal when
stopping or restarting the service has been reduced from 300
seconds to 120 seconds. This provides 2 minutes for long-lived
sessions to drain while preventing new ones from starting
before a restart or a stop.

The 'RestartSec' value which controls the time between the
service stop and start when restarting has been reduced from
150 seconds to 2 seconds to make the restart happen faster.

These values can be adjusted by using the *_init_config_overrides
variables which use the config_template task to change template
defaults.

Change-Id: Ib20bb6b939837b660a8d57ae1c8cdb6dcdf286a1
2017-04-26 13:03:59 +00:00
Cao Xuan Hoang bdc8f5e5a5 Use https instead of http for git.openstack.org
Trivialfix

Change-Id: I1404ad9aea4327415198dcca814be121f7764a41
2017-02-06 16:45:58 +07:00
OpenStack Release Bot 2d9e07969a Update reno for stable/ocata
Change-Id: Ifb87ad29bfdb49a4f20c2310691552d8f5b4f5e3
2017-02-03 18:58:05 +00:00
Jesse Pretorius fcce826ae7 Simplify pip options/constraints mechanism
The current constraints generation for the
installation involves multiple tasks and multiple
variables.

Using multiple tasks extends the installation time
unnecessarily and the additional variables are
unnecessary.

This patch aims to simplify the mechanism and
hopes to speed it up a little.

Change-Id: I6d0847a1348cbf08704fd2bcade5d0e7f8f0e1ef
2016-11-02 13:09:44 +00:00
Andreas Jaeger 221560b759 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: I2a69c9a0f261af5bc3819cbcf44bfbf21941a8c6
2016-10-06 20:35:58 +02:00
Jesse Pretorius 21e73f7cee 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: I9cd74e8267e3dc13be143586699b7f88ed099d49
2016-08-02 13:20:47 +01:00
Travis Truman 82b2173701 Implement Ubuntu 16.04 support with SystemD
This change updates the barbican role to support Ubuntu 14.04 with
upstart init and 16.04 with systemd init.

Change-Id: I6d1221481c6ad97b265eece2b23c3ab83ef49248
Implements: blueprint support-ubuntu-1604
2016-07-14 10:35:59 -04:00
Jesse Pretorius cc6840691a 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: I32cb5cc06f402901780600971372aea0ef2ae920
2016-07-12 16:51:56 +01:00
Jesse Pretorius 8297406d43 Add reno scaffolding for release notes management
Change-Id: Id3f7324a77e323369bed1a38697365535d992e97
2016-04-09 19:52:36 +01:00