Commit Graph

42 Commits

Author SHA1 Message Date
OpenStack Release Bot bf12c20c2a 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: I5b307b7a93025c373e5c92ebe64cf94f3bb14c7f
2022-12-13 13:13:40 +00:00
Andreas Jaeger 92eb150df7 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: Ide88f1a0e803331da3cab70709aa5abb365c39e0
2020-06-03 19:13:08 +02:00
OpenStack Release Bot 8f0b36e446 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: I12ff13e7d743a028725867e83ccb4fd35cec87a6
Sem-Ver: feature
2020-06-01 13:13:31 +00:00
Andreas Jaeger 4ea9dab0d9 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: Ibb4cd0569f75cb8ac6d8a07db8a15a4bdacbc018
2020-05-20 18:48:02 +02:00
Dmitriy Rabotyagov bf7fe362e6 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: I62dcba3a70298060baf975ac012d15e962b92863
2019-11-22 20:44:36 +00:00
OpenStack Release Bot c76178db84 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: Ifa8fba4c1d2b76473ef7389fb266d01ab266b16a
Sem-Ver: feature
2019-10-22 18:57:53 +00:00
OpenStack Release Bot 4c50a3b25b 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: I7dcb16101fddb4548d49804b43ced23ef2deea53
Sem-Ver: feature
2019-04-08 09:18:02 +00:00
MaoyangLiu 8a97c1000e modify the misspelling world
Change-Id: I34c8311a16b535b74906cc7d68750079033014ff
2018-11-24 11:16:13 +08:00
Jean-Philippe Evrard cfb61e28ac 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: Ib7a60398fd626fe55014d3a49fd84a2916ee8768
2018-10-27 16:16:22 +02:00
Francois Deppierraz 841df0106c 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:56:36 +02:00
OpenStack Release Bot caa65a01eb Update reno for stable/rocky
Change-Id: I695e697c298b4263f700cbe9b881a07cfecd2a8c
2018-08-10 16:46:32 +00:00
Kevin Carter 49ea5b4ea9 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: I9764f557007d97cfcbe02abf7166cce423b39a31
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-08-01 11:52:57 +01:00
Zuul 5e30d6c978 Merge "Trivial: Fix the pep8 warning" 2018-07-31 06:59:30 +00:00
Jesse Pretorius 9fb3ab96a2 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: I155b5036dd98f80a0d31d8bb691beae147a97bc3
2018-07-06 13:51:39 +00:00
fpxie b65faedbbe Trivial: Fix the pep8 warning
The yaml should start with "---"

Change-Id: If62ec06a8fa9459f307db296870acff4cc4b271c
2018-06-20 15:58:36 +08:00
Andrew Smith 9625cb41fc 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 service will be transparent to the designate service.

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

Change-Id: I620a13e1ea3c24c8bd31c02206613d37d769dd30
2018-06-06 13:56:52 -04:00
Markos Chandras 07d79cd0a0 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: Iab155254fa3600e1b6b3e8992f7c1fdc6f710ed6
Implements: blueprint openstack-distribution-packages
2018-05-18 17:16:11 +01:00
Zuul d525d5546b Merge "Remove v1 API configuration" 2018-02-15 15:39:19 +00:00
Graham Hayes 928a200dc7 Remove v1 API configuration
Change-Id: If886f33bb089480acdcfbb29a106ac68ca62b08e
2018-02-15 11:47:05 +00:00
OpenStack Release Bot 4a8c34de26 Update reno for stable/queens
Change-Id: I724c50d2b9083ffa43ca4d0fbbddd1dcbaef34e8
2018-02-14 15:47:52 +00:00
Andreas Jaeger 20230cae32 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: If6caf3d5781cf6b31a0c6fd05b2f77b4c51b243e
2017-11-17 07:56:17 +01:00
Jean-Philippe Evrard 4fec57b838 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: Ic27fb8019ab35fbdf45e23164f907c6c6baf8655
2017-10-17 18:16:53 +00:00
OpenStack Release Bot a21469c3fa Update reno for stable/pike
Change-Id: Ifa0e3896b8a8cb118a422343a0d56f3e875990f0
2017-08-21 09:42:59 +01:00
ZhongShengping e435e67e8c Deprecate rpc_backend option
Option "rpc_backend" from group "DEFAULT" is deprecated for removal
(Replaced by [DEFAULT]/transport_url). Its value may be silently
ignored in the future.

Change-Id: I85357a7ebae37c1e32f2f4558a195bff414a1341
Implements: blueprint deprecate-rpc-backend
2017-08-09 09:50:00 +08:00
ZhongShengping 889a55112d 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: I94cf1e14660962558dd4a42a44066ef0c901dfa7
2017-07-03 16:14:24 +08:00
ZhongShengping 09358c7f8e 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: I38324839cff817ae654067f61505364f9d341c3a
2017-06-26 11:32:38 +08:00
Kevin Carter 48778cc491 Added release note for the template change
This change simply adds a release note for the change in the template
for default API interactions.

Related-To: I3855139fe3dba219e092f0a9bc2e5fe41b0721c4
Change-Id: I6353091e8c3fc59bf1b41e5d7edbef3f109c2779
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-05-16 12:57:41 +00:00
Jesse Pretorius 8da760568f Rename release note to unique hash
Change-Id: If4d0c2d1fbf14f92cd2c639afbc5e4ecca78ad94
2017-04-28 11:38:24 +01:00
Jesse Pretorius 673af4c810 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: I20ea80146f5ed7fb10d49068039af4c19cc27f39
2017-04-27 15:40:37 +00:00
Kevin Carter b7098a6bde 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: I5885643199db3ef618fc86f0cd80c14f1d7c89c4
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-03-28 20:47:22 -05:00
Jenkins ad5e5c246c Merge "Update reno for stable/ocata" 2017-02-06 09:18:13 +00:00
gecong1973 b68ca8de1f Use https instead of http for git.openstack.org
TrivialFix

Change-Id: I2c7487a71002314d5834e8ba5917be2a602ae8fc
2017-02-06 10:56:42 +08:00
OpenStack Release Bot 5a9b17286a Update reno for stable/ocata
Change-Id: I4f467009ce5deb820625bd538dc48406f1c80324
2017-02-03 18:59:13 +00:00
Tim Simmons 69877f3437 Configure pools.yaml inside Designate role
This adds the ability for a user to configure the Designate
pools.yaml file inside of the role by specifying an attribute.

Because the data required is yaml, it's a nice mapping to specify
the yaml attribute and have it dumped directly to the pools.yaml
file.

This allows users to use attributes from other plays (perhaps setting
up some complex DNS infrastructure in their cloud) and insert them
into Designate without having to write their own template or supply
their own file.

This also invokes the `designate-manage` command to load the pools.yaml
file into the Designate database, and simplifies the tests that
do the pools.yaml needful.

Change-Id: I11a849898bf33aa6b8aa6605296ac7fd733d7c01
2017-02-02 23:04:06 +00:00
Marc Gariepy 5ba88401eb Add CentOS support for os_designate
This commit add CentOS support to os_designate

Change-Id: Idfae25a8a769348da629bc0a4a79d1ee56d60aad
2017-01-27 16:34:54 +00:00
Andreas Jaeger dbcf91fb2e 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: Ic29259faa7dfac7abbcd9f3c3cc85f3eccb9e0de
2016-10-06 20:36:29 +02:00
Jesse Pretorius 1bd9abbac0 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: I96f436aa64e65089af345d17af70291e30cc8cc6
2016-08-02 13:40:54 +01:00
Mike Carden cf5bb838e4 Implement Ubuntu 16.04 Xenial support
This change updates the os_designate role to support Ubuntu 16.04
and systemd in addition to Ubuntu 14.04 and upstart. Changes are
patterned on those made in the os_glance role.

Change-Id: I49b6271a2046b322b9ba57703331ad49aba1bc9d
Implements: blueprint support-ubuntu-1604
2016-07-13 09:53:43 +10:00
Jesse Pretorius e8581c3608 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: I17f3bcd166403ebc0f1fe58f49a9d25f9327f32b
2016-07-12 16:52:29 +01:00
Travis Truman 0d123e90ce Only install to virtual environment
Remove all tasks and variables related to toggling between installation
of designate 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: If3f0cb96d0ac670f6c53243283d6726067cba011
Implements: blueprint only-install-venvs
2016-07-08 12:58:36 -04:00
Jesse Pretorius cc32a6bb42 Remove Liberty/Mitaka releasenote indexes
Change-Id: I5b4d586ae5fa3c95267f2b9d80275edaaa2e6d95
2016-04-20 22:36:16 +01:00
Jesse Pretorius e99a0c1f73 Add reno scaffolding for release notes management
Change-Id: I9737a8bd143401ba76cb0d4d243d05c4473768bf
2016-04-09 19:20:06 +01:00