25 Commits

Author SHA1 Message Date
ZhongShengping
ec8a57a708 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: I76a6f30fad10075fe7f5a5ca0d2d0b81df891c32
2017-06-26 11:33:14 +08:00
ZhongShengping
c82d7f8421 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: I87f2673dd677e3a609c4a029d37945179d3ab270
Implements: blueprint deprecate-rpc-backend
2017-06-18 15:08:29 +00:00
Andy McCrae
22f93d5ef1 Remove duplicate Release note.
There was an erroneous merge when renaming release notes.
This patch removes the duplicate.

Change-Id: I3608c7500e8728658028cb128fa7e0bf05e69553
2017-04-28 14:57:41 +01:00
Jesse Pretorius
fe45a9c8f2 Rename release note to unique hash
Change-Id: Ie215b3585c3826d7514cd9e5df5779307b72a6b8
2017-04-28 11:38:32 +01:00
Jesse Pretorius
9aa3e0017f Reduce init restart time
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: I4e97676327d1fcb8b2c7c92b6fc1859e0251637e
2017-04-26 13:10:32 +00:00
Jenkins
b47cc378cd Merge "Rename reno to avoid conflict on integrated repo" 2017-04-11 15:34:48 +00:00
Andy McCrae
f7497ca553 Rename reno to avoid conflict on integrated repo
Change-Id: I8e0fcebd5056fea0a9b735b7b29c5156024651bc
2017-04-11 12:03:01 +01:00
Andy McCrae
3a1dfa5cbc Rename reno to avoid conflict on integrated repo
Change-Id: I65b26bb3d27800dfdb4cbd02224ce78264ee352f
2017-04-11 11:50:32 +01:00
Kevin Carter
96576b8b5b 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: Id0908bd10497a8875dac60bfad080a58759c7ac7
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-03-28 19:30:04 -05:00
Ravi Gummadi
c18d9704af 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: Ibd293f102bc0201d5d451549d37458bef352d930
2017-02-23 01:50:23 -05:00
Cao Xuan Hoang
b1ef3f7888 Use https instead of http for git.openstack.org
Trivialfix

Change-Id: I058fba4184eb84ca3dff0f95f90dc0657f937613
2017-02-06 16:52:28 +07:00
feb724b7e8 Update reno for stable/ocata
Change-Id: I41d724e68e32a9f7e3fc1a84a1d0978286a0883e
2017-02-03 18:58:14 +00:00
Andy McCrae
847aa11341 Detach glance swift_store_auth_insecure from Keystone
When not using local swift, backed by local keystone, we need the option
to set the swift_storage_auth_insecure to be different to the
keystone_internaluri_auth_insecure value.

This patch sets up it's own glance_swift_store_auth_insecure variable
which defaults to keystone_internaluri_auth_insecure, but can be
changed.

Change-Id: Ib9da0d1f94ea1cd46aa91a1fce0e97070f402693
2016-11-28 14:51:01 +00:00
Jesse Pretorius
a4c008c815 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: I6c6214b16168abb571cc2d02bc01a80ba13bbe9f
2016-11-02 16:49:28 +00:00
Andreas Jaeger
a30fb6326c 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: Ief5cd80ef38eb62734f37e77236db4cddf996f58
2016-10-06 20:36:36 +02:00
Major Hayden
bbde86f44a Update reno for stable/newton
Change-Id: I000553edf81aa640202b1a917a6a14f1f298adc8
2016-09-29 14:16:55 -05:00
Major Hayden
ffacc20cc8 Implement CentOS 7 support in os_glance
This change implements CentOS 7 support within the os_glance role.

Change-Id: I65d8e66673f5372fe880680a035842ffcd775ac2
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
Co-Authored-By: Major Hayden <major@mhtx.net>
Co-Authored-By: Marc Gariepy <gariepy.marc@gmail.com>
2016-09-19 15:47:39 +00:00
Jesse Pretorius
66e8dc3b6e 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: I29e93c889f1450c33529563687a74914d8b03006
2016-08-30 17:04:39 +01:00
Jesse Pretorius
57b7a3f0ec 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: I9fa4fc5e24dafc8e1dcbb2c642994bda2628ded5
2016-08-02 08:52:36 -05:00
Jesse Pretorius
d465552108 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: I813d38d54195c5f9fd7a402c97621c61946cde48
2016-07-12 16:52:38 +01:00
Jimmy McCrory
e03b37d610 Only install to virtual environment
Remove all tasks and variables related to toggling between installation
of glance 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: Icfdfe3a6d47413875a49af3c38537fbd342bc16a
Implements: blueprint only-install-venvs
2016-07-07 18:22:19 +00:00
Kevin Carter
24c3d7053e Implement Ubuntu 16.04 support with SystemD
This change updates the glance role to support Ubuntu 14.04 with
upstart init and 16.04 with a systemd init.

Implements: blueprint support-ubuntu-1604
Depends-On: Ib6d7e68133de8d10b81d9116b74dca1de7568897
Change-Id: I39214199e2bbc2bbc5c1b30f8a04aa4e74ed967b
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-05-31 14:37:59 +00:00
Kevin Carter
a5ed9f44f5 Removed the db create tasks
The db create tasks have been removed from the role and have been
relocated into the playbooks.

Change-Id: Ifa3d33f60d772997f67f8ad1ca3df0e6e2da4e1e
Depends-On: If58e482034a65c0e50241448dbe298a73c1ae71b
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-05-10 22:14:03 -05:00
Jesse Pretorius
55dd09a478 Remove Liberty releasenote index
Change-Id: I934f431ab5fa4fa5efc39aa62194dd79bcd96031
2016-04-20 22:20:17 +01:00
Jesse Pretorius
b0b1002339 Add reno scaffolding for release notes management
Change-Id: I3931e6396442d2d2671d47e824a452f6917b2d2a
2016-04-09 19:20:15 +01:00