Commit Graph

37 Commits

Author SHA1 Message Date
OpenStack Release Bot 9e3428fc4f 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: Ia698a819b4053f72fb4a7e8489a56b9bc260bcdf
2022-12-13 13:20:06 +00:00
Andreas Jaeger f04c3b6641 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: I68076c56e7e5762de2243f25d217fe27cf363c98
2020-06-03 20:04:55 +02:00
OpenStack Release Bot 7ee8adf2cb 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: I7ae02b6cd540d24989a65078e390dc04216c4fb2
Sem-Ver: feature
2020-06-01 13:18:17 +00:00
Andreas Jaeger 15a8c4ed3a 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: I560e2ac0ff41b3497fa80801634520961457bb97
2020-05-20 18:51:31 +02:00
Dmitriy Rabotyagov ab8cf19243 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: I4bd827021fbd565e01342845e88f7c12b6a9013e
2019-11-14 18:39:03 +02:00
OpenStack Release Bot 2ac510481f 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: I2ad9db3bc245b045852130d617d3b3c4089be556
Sem-Ver: feature
2019-10-22 19:01:52 +00:00
OpenStack Release Bot e7d8afab9f 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: Ia8f1685fee76c450cd2dfee1bdc9af9e270a6480
Sem-Ver: feature
2019-04-08 09:21:07 +00:00
Francois Deppierraz 8d7d97b05e 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:23 +02:00
OpenStack Release Bot d98f7e8fe4 Update reno for stable/rocky
Change-Id: Iff7991be0df7346c176e8bb48c4a91b3f58264e2
2018-08-10 16:48:14 +00:00
Jesse Pretorius 009acad1a0 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: Ib4ff0ca76eb7b2ccaa373eeb1812e3d6741193fc
2018-07-12 19:27:08 +01:00
Andrew Smith 4f4ea816cf 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 sahara 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: Ib4153412b91e7d11cc9acdbe5af8a1a4280b44e8
2018-05-18 18:40:33 -04:00
OpenStack Release Bot 18950c56c9 Update reno for stable/queens
Change-Id: I6890a78f957e67bd78424505c8c5c2ee3373d057
2018-02-14 15:50:21 +00:00
ZhongShengping 073b3b2a90 Remove use_neutron option
Nova network has been fully removed from the OpenStack codebase.
As such, all instances of switches on use_neutron should be removed,
as the functionality will never be meaningful.

Change-Id: I2eb338ba53d51c62c88bbbfd145462030596da74
Depends-On: Ib9d87dd339d637b69fb27315d92228cbc523c8eb
Closes-Bug: #1734615
2017-11-27 15:31:05 +08:00
Andreas Jaeger b4747f2592 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: I2f1c7095c3da7f63fafc0dff61faafbc94460775
2017-11-17 08:04:00 +01:00
Jesse Pretorius c369ed1e4a 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: I79d4b08e48207b067ff27925ae3f20df3e8d6127
2017-10-17 18:12:29 +01:00
OpenStack Release Bot 6e02027624 Update reno for stable/pike
Change-Id: I012f10024ed3db30d3ca08f6169fe98d984310e2
2017-08-18 12:38:58 +00:00
Andy McCrae 55f437b447 Implement uWSGI for sahara-api
As part of the Pike goals we are moving api services to run as WSGI
apps. sahara-api service is set up as a wsgi app, and this patch
moves it over.

Since this is just a drop in replacement for the existing eventlet
service, operators an deployers should notice no difference.

Change-Id: Ie4826358d5ee1686ad9ea7fa9eb0441acff565f2
Implements: blueprint goal-deploy-api-in-wsgi
2017-08-11 10:27:36 +01:00
ZhongShengping dbd211a2f0 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: I8984fee5aa875b2b057900a0a6f70609502fe239
2017-07-03 16:22:04 +08:00
ZhongShengping 92ce07246a 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: Ic7d8ae86f278e82e51fcea7c78f871a5c0250c50
2017-06-26 11:38:31 +08:00
ZhongShengping 1713ba0004 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: I6ff5a9e734d5ba3de12a43e6f57d5a3ce214db5e
Implements: blueprint deprecate-rpc-backend
2017-06-01 15:42:59 +08:00
Jesse Pretorius 7ea5647777 Rename release note to unique hash
Change-Id: Ieb45d860dff4e0b236b1ee7f18667a981bda4e24
2017-04-28 11:39:50 +01:00
Jesse Pretorius 8cb9fa1a9c 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: I4c7aa684ab38a49b66e9c1dfd9cbbccceef03990
2017-04-26 13:02:38 +00:00
Andy McCrae 64dc827ab4 Rename reno to avoid conflict on integrated repo
Change-Id: I2822009c76e95c696a1d94bfbcbbaa8bb08d2118
2017-04-11 12:12:27 +01:00
Kevin Carter 012d3f3530 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: Ic4edfa39b8ee42d0f6192b986e1c40c9c94488df
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-03-28 23:37:47 -05:00
Ravi Gummadi 29045b953f 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.

Also removed the comment related to an unused variable
sahara_engine_workers in defaults/main.yml

Change-Id: Idc39c7fc2188332fbaeb771906c0b9a402d17646
2017-03-03 06:28:50 -05:00
Cao Xuan Hoang a329626985 Use https instead of http for git.openstack.org
Trivialfix

Change-Id: I389ea1e185b2ab1c0f4fcb27b67c3c4037c25c64
2017-02-06 17:07:11 +07:00
OpenStack Release Bot c803eb79ee Update reno for stable/ocata
Change-Id: Ie3a1571655e34093812f70163acdc42e545f963b
2017-02-03 18:58:46 +00:00
Jesse Pretorius f155038e11 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: I9bdbe46c56893c3eeb0312065dfddcf32127c97f
2016-11-04 15:58:58 +00:00
Andreas Jaeger f1ab751ba9 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: I25183a0d2532d7a5ab2a76c1acca0550cfe83869
2016-10-06 20:38:04 +02:00
Major Hayden 3728910554 Update reno for stable/newton
Change-Id: I999c5196205d069246638255f5783d14644468a2
2016-09-29 14:23:19 -05:00
Jesse Pretorius b41b468f04 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: Iffae275077a359de55317dfa3947f797217c6281
2016-08-02 15:16:31 +01:00
Jesse Pretorius ccdd2878bc 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: I703b3d329062ad32a886f742f278890a5bbb2671
2016-07-12 16:54:05 +01:00
Jenkins 3c288ac386 Merge "Only install to virtual environment" 2016-07-11 13:52:41 +00:00
Jesse Pretorius 1ea1530690 Update tox configuration
In order to prepare for implementing requirements management by the
OpenStack requirements management process, and to improve the
reliability and effectiveness of test execution, this patch implements
some changes to the tox configuration:

- The minimum tox version is increased in order to be able to use
  constraints for the python packages.
- The OpenStack upper-constraints are used when preparing the test
  venv for the linters checks.
- Any proxy environment variables set on the test host are passed
  into the venv to enable testing from behind a proxy.
- The environment variables used by Ansible tests are moved into
  a new venv called 'ansible' and this environment is inherited
  by all Ansible-related tests.
- The docs test will clean-up an existing build directory before
  executing the docs build.
- The releasenotes build cannot use upper-constraints at this point,
  so it doesn't.
- The Ansible role download will no longer ignore errors so that any
  problems discovered will result in a failed test.
- The human readable logging callback plugin is implemented for
  functional testing.
- The ansible test requirements are moved into tox.ini to ensure
  compliance for requirements.txt/test-requirements.txt for the
  global-requirements management contract.
- The ~/.ansible directory as a whole is not deleted. Instead only
  the plugins and roles folders are deleted to ensure that zuul's
  Ansible artifacts are left in-place.
- The ansible-lint version is updated to support execution against a
  folder, and the test now executes against the entire role to ensure
  that it captures all applicable files for lint testing.

This is a combined port of the following:
- https://review.openstack.org/323507
- https://review.openstack.org/338193
- https://review.openstack.org/332443
- https://review.openstack.org/338193
- https://review.openstack.org/339493

Change-Id: Ic8b35f61bfcc8af3b37c895e47dc6fbad063d4b4
2016-07-08 15:43:41 +01:00
Anton Khaldin 625304c636 Only install to virtual environment
Remove all tasks and variables related to toggling between installation
of sahara 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: I1ca77e5125911a6d6ac0745abd2259ee3ece4612
Implements: blueprint only-install-venvs
2016-07-08 05:54:07 -07:00
Flávio Ramalho 45afc91aaf Test sahara with tempest
This change adds functional tests to the sahara role. It install tempest
and and then runs the data processing scenario tests.

Change-Id: Ie6e606fb2e624fdad57cd06b8ea8a8d8773bf243
Depends-On: I8abc5c567e0d3e5829b9f7da8be5b0d0fc065ea7
2016-06-08 08:32:43 -03:00
Flávio Ramalho 23f25f425e Initial import 2016-05-12 10:28:58 -03:00