Commit Graph

43 Commits

Author SHA1 Message Date
OpenStack Release Bot 7000e35a6c 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: I003e0137edc97b7ae64c3de84df3a276d22ef01d
2022-12-13 13:11:12 +00:00
Andreas Jaeger 76f5b5703f 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: I9b6949163c74f5248ffea884eb71060c884f8938
2020-06-03 19:11:39 +02:00
OpenStack Release Bot d653940097 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: Ibe84ef8bb36a89a8f971fe725bc3cfa201faca0b
Sem-Ver: feature
2020-06-01 13:11:47 +00:00
Andreas Jaeger 15867dff48 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: I32093d7fcb02808f09c4888aa01b7b2f7935b1d5
2020-05-20 18:46:37 +02:00
Dmitriy Rabotyagov 1c9494f4da 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: Ic79c4e090a841de042a3b7ce4b03681d6de9c6a5
2019-11-14 16:21:18 +00:00
OpenStack Release Bot c7318edf98 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: I2d0d29da6f533ceaadff092d2049d5fc74cb56cb
Sem-Ver: feature
2019-10-22 18:56:14 +00:00
Dmitriy Rabotyagov 91b2196646 Migrate aodh to use uWSGI role
This patch moves aodh-api from usage of apache with mod_wsgi
to uWSGI role, which means unification across another roles and
reduced maintenance costs

During migration period tasks that ensures apache won't listen
on panko_service_port are present, but they are supposed to be removed
after train release.

Depends-On: https://review.opendev.org/678025/
Change-Id: I9377d46b4b79f79dbf448b23c67ff21b80714b6c
2019-09-04 15:36:21 +03:00
OpenStack Release Bot 9d9e256406 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: Iabd4a40271c00964c195c300530324b0c3f00633
Sem-Ver: feature
2019-04-08 09:16:48 +00:00
Jean-Philippe Evrard fb24564532 Fix typo in release note
That typo was wrongly fixed into OSA reno, instead of fixing it
in the role.

This should fix things.

Change-Id: I359f31b6f2dcbb45a85f6ca380758f50fcf7cbfc
2018-10-27 16:14:50 +02:00
Francois Deppierraz 50ba336a7b 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:43 +02:00
OpenStack Release Bot 6a355ae06b Update reno for stable/rocky
Change-Id: Ia22f8e90de3bce9e136e2d465ea1eb8b24b5faea
2018-08-10 16:45:51 +00:00
Kevin Carter a99723f335
Add systemd journal logging to the service config
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: I7bd5419e7f02593a16614746a974b5f8ab3aa504
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-07-31 14:44:42 -05:00
Jesse Pretorius 30ec2a87f6 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.

Change-Id: Ia05fc004e11eada426bc81c45bbc3732b9126bbe
2018-07-31 12:53:51 +01:00
Andrew Smith 1f4a1e71a1 Update to use oslo.messaging services 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 aodh service.

This patch:
* Add oslo.messaging variables for RPC and Notify to defaults
* Update transport_url generation (add for notifications)
* Add oslo.messaging to tests inventory
* Update tests
* Add release note
* Update README and example

Depends-On: If4326a6848d2d32af284fdbb94798eb0b03734d5
Depends-On: I2b09145b60116c029fc85477399c24f94974b61d
Change-Id: I356e7256f5e8090f35dce8a02fd633638fd659fa
2018-06-04 14:26:05 -04:00
Markos Chandras 7070497565 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: If6daa1bb784df46e83bbc118981240eb59a1409d
Implements: blueprint openstack-distribution-packages
2018-05-15 08:28:18 +01:00
OpenStack Release Bot cffaafb2e2 Update reno for stable/queens
Change-Id: I643b03fd7b78057993ff79d8b6ffa00b1baea950
2018-02-14 15:46:57 +00:00
Andreas Jaeger d99bbee0b1 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: Ic26f968c84f92b274e56cf54a15ecb7e2ea48155
2017-11-17 07:54:01 +01:00
Jesse Pretorius 6deee77f9e 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: I9bc165a608bba3dedbf6e5d95c577550179b724b
2017-10-17 18:10:41 +01:00
OpenStack Release Bot 9dc985dc11 Update reno for stable/pike
Change-Id: I777da9cbf3c186b7e7d1ed1a3cf4c037fe11f793
2017-08-21 10:31:15 +01:00
ZhongShengping 8bce3c224f 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: I3206496a5f6c874c22ec356e549c132a011292a7
2017-07-03 16:10:34 +08:00
ZhongShengping 3ad189c78c 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: I63b27de6484231901aeaf94c29baa0f4a09464bb
2017-06-26 11:14:25 +08:00
Jesse Pretorius 38a4453ef0 Rename release note to unique hash
Change-Id: I8b6a3ae34961bc36270150c3ea686b442916b2ef
2017-04-28 11:37:56 +01:00
Jesse Pretorius 8a07de2e68 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: I4faf2732affc47cac39a2c499f7c2ee207ec62aa
2017-04-26 13:02:49 +00:00
Andy McCrae db3f26f671 Rename reno to avoid conflict on integrated repo
Change-Id: I967cfa817b9fcda65ab7e19666b18bf8c731401f
2017-04-11 11:57:27 +01:00
Kevin Carter 9dcacb8fd6 Ensure the components are isolated from the system
This creates a specific slice which all OpenStack services will operate
from. By creating an independent slice these components will be governed
away from the system slice allowing us to better optimise resource
consumption.

See the following for more information on slices:

* https://www.freedesktop.org/software/systemd/man/systemd.slice.html

See for following for more information on resource controls:

* https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html

Tools like ``systemd-cgtop`` and ``systemd-cgls`` will now give us
insight into specific processes, process groups, and resouce consumption
in ways that we've not had access to before. To enable some of this reporting
the accounting options have been added to the [Service] section of the unit
file.

Change-Id: I2b5c6189a6eabbdb7854dcee97edf47ef03f8757
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-03-28 23:41:28 -05:00
ZhongShengping e7c4553987 Add a release note
The review[0] has been merged, it needs a release note, so add it.

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

Change-Id: I649087fafd10ea3427ac72d8abd65c9a6fc3d3c9
2017-03-25 12:30:15 +08:00
Ravi Gummadi 5d40a063e2 Cap the number of worker processes
Users can configure the number of worker processes. However when it's
not specified the calculated number of workers can get too large on
hosts with a large number of CPUs.

Change-Id: Ieb6202e92ce1dcb6f94affd550bd6ce2065ef4bc
2017-03-02 08:17:10 -05:00
Cao Xuan Hoang b0de88a7c4 Use https instead of http for git.openstack.org
Trivialfix

Change-Id: If37b90cda14ec068f589ab1f1ada4605156dfcc2
2017-02-06 16:42:57 +07:00
OpenStack Release Bot cbe3c34eb4 Update reno for stable/ocata
Change-Id: I5132ddfbb3bace1167e2dcf2b66553dd7fab9d5e
2017-02-03 18:58:02 +00:00
Marc Gariepy 9dc5cfa004 Add CentOS support for os_aodh role
Change-Id: Ifd79bde9aca936e59f901f9a5ecc6c1d38979408
2016-12-06 08:54:51 -05:00
Jesse Pretorius 07a1dd54b8 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: If80d91351c05dd26fe97133ff43303fa7ea2fe06
2016-11-02 14:39:52 +00:00
Andreas Jaeger 8790c686e2 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: Ia77bdeaa51a2ead459a979facbee5b97877950e9
2016-10-06 20:35:51 +02:00
Major Hayden 11729d4fd8 Update reno for stable/newton
Change-Id: I7e9a131c869d0ed000b5b159af717c4d9f488bdf
2016-09-29 14:14:21 -05:00
Jesse Pretorius 52b7dd42e8 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: I0f6e177d080da10ba3e992f1c2f1e5cd7a4262ff
2016-08-30 16:32:36 +01:00
Logan V 67ac05170c Remove aodh-api init setup
aodh-api deploys apache mod_wsgi instead of a
Werkzeug based service now.

Change-Id: I19e5f4e4b354edf6f4f5e51e9b9066a284a3e7ef
2016-08-13 15:26:36 -05:00
Jesse Pretorius 7a0841fa29 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: I46876dbbf9000848328d198e5dfa637e822db433
2016-08-02 13:15:47 +01:00
Jesse Pretorius a4cdbf5b89 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: Iba4b4b199dff84e2e668879a9e0ca65ba3e7a095
2016-07-12 16:51:47 +01:00
Travis Truman 30da818256 Only install to virtual environment
Remove all tasks and variables related to toggling between installation
of aodh inside or outside of a Python virtual environment.
Installing within a venv is now the only supported deployment.

Additionally, a few changes have been made to make the creation of the
venv more resistant to interruptions during a run of the role.
* unarchiving a pre-built venv will now also occur when the venv
  directory is created, not only after being downloaded
* virtualenv-tools is run against both pre-built and non pre-built venvs
  to account for interruptions during or prior to unarchiving

Change-Id: Icf788b07738bf03708c05929bb82c7b51605ccca
Implements: blueprint only-install-venvs
2016-07-07 11:28:55 -04:00
Jenkins d26e725abb Merge "Add release note for Mongo to Galera changes" 2016-06-18 19:47:40 +00:00
Steve Lewis cc92c92c25 Add release note for Mongo to Galera changes
The upgrade note describes only that which needs to happen
without specifying details so that an upgrade play in the
integrated repository can be optionally revised into this
message easily. It might also be left unsaid with the
upgrade docs and the upgrade play being self-evident.

Change-Id: I86a2f6f084c3c5de4b506c999eb54531527e8bed
2016-06-18 12:23:25 +00:00
Steve Lewis be906077f9 Implement Ubuntu 16.04 support with SystemD
This change updates the aodh role to support Ubuntu 14.04 with
upstart init and 16.04 with a systemd init.

Some tags for tasks are updated to conform to convention as well.

Change-Id: Ice81e049475b31559c861c0d20bcd26867da321c
Implements: blueprint support-ubuntu-1604
2016-06-18 12:18:03 +00:00
Jesse Pretorius b4e3f8220b Remove Liberty releasenote index
Change-Id: Ic6b67d04ab6b545b81cb53949c3be178f56155d3
2016-04-20 22:19:39 +01:00
Jesse Pretorius 84553c6eec Add reno scaffolding for release notes management
Change-Id: I3cc3537bc2120e6e40e97e37dc087714d194bbd7
2016-04-09 19:19:31 +01:00