Commit Graph

42 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 835d2add96 Deprecate and remove heat_deferred_auth_method variable
According to documentation this variable have the only option of using
trusts [1]. Moreover, defenition of variable is deprecated and cause a
deprecation warning in service startup logs.

[1] https://docs.openstack.org/heat/latest/configuration/config-options.html#DEFAULT.deferred_auth_method

Change-Id: I0cc68bd8e5961559391be8c2f5a17330ef4ede2f
2024-01-09 13:10:29 +01:00
OpenStack Release Bot 2b27cfad16 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: I29f9ded69d449b2e12eeacf13a3a4b3c2df7e7c2
2022-12-13 13:14:44 +00:00
Andreas Jaeger a17b5b19f4 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: I5eba2772149f9fb9aa1593ed837e8026d9106df9
2020-06-03 19:13:38 +02:00
OpenStack Release Bot 7a97681ffa 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: I788b7b3c6283436af60842ad051bb7f954bd193e
Sem-Ver: feature
2020-06-01 13:14:24 +00:00
Andreas Jaeger a958454ff9 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: Ic6bf86f4984d1e1c643d17b27719f5fc16c2eac6
2020-05-20 18:48:41 +02:00
Dmitriy Rabotyagov fc4457e379 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: Ib569c0ba340fac7e10a3e7ce6923dc63f43bc060
2019-11-14 17:39:18 +00:00
ShangXiao 9cf5cd8e95 Fix a typo
Change-Id: I5616c4b89444c8b87edbd5cefd61174d9b0f4ae9
2019-11-05 16:41:03 +08:00
OpenStack Release Bot 38fd7ef915 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: I070be0fbd1ff247fb89753f462ba98ef05aa250e
Sem-Ver: feature
2019-10-22 18:58:37 +00:00
OpenStack Release Bot f2733a426e 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: Id89ae0f2b79f6aed15119c5e9616f04e92ec4563
Sem-Ver: feature
2019-04-08 09:18:36 +00:00
Francois Deppierraz 647f1b6b25 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:30 +02:00
OpenStack Release Bot fb5473c6f0 Update reno for stable/rocky
Change-Id: I8378147d36fc8cb815e01accb8b2ae847cf8b6d9
2018-08-10 16:46:51 +00:00
Jesse Pretorius 86d1369e19 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
Depends-On: https://review.openstack.org/580156
Change-Id: I261a49e374d34d00d0be1863da701b7a13ceb3c6
2018-07-06 13:55:08 +00:00
Andrew Smith 34ddb73f03 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 heat service.

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

Depends-On: If4326a6848d2d32af284fdbb94798eb0b03734d5
Depends-On: I2b09145b60116c029fc85477399c24f94974b61d
Change-Id: I4ee0a94028e7390b319d4e1ceb4ab7f7c28ad9ba
2018-05-30 14:57:57 -04:00
Markos Chandras 3ac7ae6ea7 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: I2435793b73e0a30131b4710b6e7d29dacbb7e6fa
Implements: blueprint openstack-distribution-packages
2018-05-25 17:27:25 +01:00
OpenStack Release Bot 172b4ddfec Update reno for stable/queens
Change-Id: Idb4c2cee72d1628279fe12820ef6bdc3892b8596
2018-02-14 15:48:29 +00:00
Andreas Jaeger 903ebc7eb1 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: I28efb4e6cc459c2694a72ac85da93a8c13bced49
2017-11-17 07:57:40 +01:00
Jean-Philippe Evrard dfb3a91663 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: Iee88a28032645e5d2ba7d7a4959963f34a086bdb
2017-10-17 20:09:53 +00:00
OpenStack Release Bot 32bf5e67e6 Update reno for stable/pike
Change-Id: I2e3245607635b9a30058772fe340aba585886d52
2017-08-21 10:32:55 +01:00
Major Hayden 2b5fe2ef79 Implement uWSGI for heat api services
As part of the Pike goals we are moving api services to run as WSGI
apps. heat-api, heat-api-cfn, and heat-api-cloudwatch are now set
up as WSGI apps.

Since this is just a drop in replacement for existing eventlet services,
operators and deployers should not notice a difference.

Change-Id: I3dba17c33a7f1a1b9a03020a650e258099b4d20d
Implements: blueprint goal-deploy-api-in-wsgi
2017-08-03 13:45:55 +01:00
ZhongShengping 9c1d8e574c 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: I9dce5da5aa0763f8683995103f63ee9be75c634c
2017-07-03 16:16:14 +08:00
ZhongShengping 33c1cdfeb4 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: I59941ebcdb02e1285042c75990eaf1788f0a858b
2017-06-26 11:34:17 +08:00
ZhongShengping 972e8b515a 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: I77bb1e7f9513593cecf2ca95b9e2fa91e251b483
Implements: blueprint deprecate-rpc-backend
2017-06-09 07:50:17 +00:00
Jesse Pretorius 59b79381c2 Rename release note to unique hash
Change-Id: Id7c75e650a92c7c8aa01454eac79e7426ced49ab
2017-04-28 11:38:48 +01:00
Jesse Pretorius 534942a79e 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: I00bb78d822cc38792aa361e3d2854dfd3ce3ae05
2017-04-26 13:04:10 +00:00
Andy McCrae 669acc5141 Rename reno to avoid conflict on integrated repo
Change-Id: I9e95b00568c65ef1520efd86813b4dae287b9d1b
2017-04-11 12:06:22 +01:00
Kevin Carter 07d59ddb75
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: I059e2027fb872f9cd2cf1f5e2f17cf02c4e536c8
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-03-28 23:32:57 -05:00
Ravi Gummadi 3d16c31779 Cap the number of worker threads
Users can configure the number of worker threads 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: Ie4fae6e015a58399cb8656e88d6b9aa514ecaa5d
2017-02-23 01:51:36 -05:00
Cao Xuan Hoang 4edf463115 Use https instead of http for git.openstack.org
Trivialfix

Change-Id: Id8b31fb4305aa3c6a9b82fbc23a34c33807dc726
2017-02-06 16:54:25 +07:00
OpenStack Release Bot 7d14da8873 Update reno for stable/ocata
Change-Id: I9ab5e4fcd6dc56194733b4697d896a76cd9a6ee5
2017-02-03 18:58:20 +00:00
Major Hayden 6497309af8 Add variable to control cinder backups
Heat has a `backups_enabled` configuration parameter that controls
whether heat will attempt to use cinder's backup service:

  https://review.openstack.org/#/c/332851/

By default, this feature is enabled in heat, but heat doesn't have
any idea if the feature is enabled in cinder. If the backup service
is disabled in cinder but enabled in heat, deployers may create
undeletable stacks.

This patch adds a new variable, `heat_cinder_backups_enabled` that
controls heat's ability to use cinder's backup service. It is
disabled by default (to match the backup service configuration in
the cinder role, which is also disabled by default).

Closes-Bug: 1650035
Change-Id: I3875cc34ec92ba588d995a6d9c0341977a408ad7
2016-12-14 16:04:19 -06:00
Marc Gariepy 39eeea8d77 Add CentOS support for os_heat role
- Heat is now installable on CentOS

Change-Id: Iddb589605246a9c376ec99be0769ab65d376cbba
2016-11-22 14:56:17 -05:00
Jesse Pretorius 9301342903 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: Iddaddadffc2e3353db49098ff22e68fa6b0a3d16
2016-11-02 16:46:07 +00:00
Andreas Jaeger 6387c53403 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: I406924167ee1d2fbf578601d04baf23d03379eaf
2016-10-06 20:36:51 +02:00
Major Hayden df4bc85ef8 Update reno for stable/newton
Change-Id: I47ae3e09e70d6adf4c24a41f7c060a4092a53383
2016-09-29 14:18:47 -05:00
Jesse Pretorius 8878e8c44d 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: Iae52d01acd33f6caa91a526f6c19c2ac19161702
2016-08-30 17:10:53 +01:00
Jesse Pretorius cb04138969 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: Icb17a955192307be9502f7904135ec39ff59984a
2016-08-02 14:02:29 +01:00
Jesse Pretorius 22955b6a9e 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: Idad4b2a9b002b4b02cd3c7db4458c6fb614ef1e3
2016-07-12 16:52:55 +01:00
Jimmy McCrory 7b3cca8aea Only install to virtual environment
Remove all tasks and variables related to toggling between installation
of heat 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: I5cd25a53b75c1ee1a7c215d5912db4f02fa4225c
Implements: blueprint only-install-venvs
2016-07-08 05:29:44 -07:00
Amy Marrich f659c8244c Implement Xenial Support
This implements support for Ubuntu 16.04.

Change-Id: I1c05af32bd85931d09aaf5227dbc9af1a2151ab4
Implements: blueprint support-ubuntu-1604
2016-06-14 13:21:42 -05:00
Kevin Carter 47702dbe38 Removed the db create tasks
The db create tasks have been removed from the role and have been
relocated into the playbooks.

Change-Id: Id545604a4e15316bf4cc7c55bc6245b45dd97d27
Depends-On: If58e482034a65c0e50241448dbe298a73c1ae71b
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-05-13 10:48:02 +01:00
Jesse Pretorius d8918098de Remove Liberty releasenote index
Change-Id: I43979bdaab5c847d71f7df1f468f120f95669b91
2016-04-20 22:20:31 +01:00
Jesse Pretorius bba7cb1d44 Add reno scaffolding for release notes management
Change-Id: Ifb5643deec9289f27c0f7f7b1d1b7d4a3bd755b8
2016-04-09 19:20:23 +01:00