caba3093c9d26abca77e4b16ea3a0e26a2214a7d
Commit Graph

257 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
ZhongShengping
5e97b2bae0 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: Ie9bb4dc796983546e648adb7a805fc2ddb875c5c
2017年07月03日 16:23:07 +08:00
OpenStack Proposal Bot
0cf74c1a91 Updated from global requirements
Change-Id: I1e3c28018e91ba5507110d94ea497d149b9df337
2017年06月27日 12:18:44 +00:00
ZhongShengping
5bfd8ab00b 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: I585c3432830346e323f38215e43c24b44f927901
2017年06月26日 11:39:52 +08:00
OpenStack Proposal Bot
b339792439 Updated from OpenStack Ansible Tests
Change-Id: I35128bbaddd54b18f6ebf913e675282533e2f523
2017年06月22日 15:20:08 +00:00
OpenStack Proposal Bot
ded58bf7cc Updated from global requirements
Change-Id: I35a002a9b97c22494d4c8967a75d06ac52f28ce5
2017年06月12日 12:59:56 +00:00
OpenStack Proposal Bot
758372821d Updated from global requirements
Change-Id: I3d9172a1c4bf1fdfc0f68292c8ad7f45291a96f9
2017年06月10日 21:45:24 +00:00
Jenkins
cbd022bf02 Merge "Deprecate rpc_backend option" 2017年06月08日 09:59:59 +00:00
Jenkins
9bb7462824 Merge "Ensure that role tests pin pip/setuptools/wheel" 2017年06月07日 22:11:34 +00:00
Jenkins
b6b933df6f Merge "Allow the endpoint_type for service net creation to be specified." 2017年06月07日 20:56:40 +00:00
Jesse Pretorius
58f6bc8c84 Switch to Cryptography over pycrypto
The keystonemiddleware library recently switched to using the
cryptography library over pycrypto, which was unmaintained. See
Iced7f5115e49ccf4f7f5bf6813cb5988b95c248b
Change-Id: I006bce0c07002fa495b09b0603ea60b5ddf4839b
Co-Authored-By: Nolan Brubaker <nolan.brubaker@rackspace.com>
2017年06月07日 17:53:52 +00:00
Andy McCrae
7bfa684eb9 Allow the endpoint_type for service net creation to be specified.
Change-Id: I735a5e2e6d07813ad34c5203a4ef8cf29b17939c
2017年06月07日 13:35:31 +01:00
Jesse Pretorius
a3d0f65015 Ensure that role tests pin pip/setuptools/wheel
Currently the role tests use whatever versions of pip,
setuptools and wheel are already installed on the host.
When a version of these tools changes it often causes
problems for our testing.
This will ensure that we use a known good set of pins
which is maintained in the general SHA bumping process.
Change-Id: Ifee6e3aff26d2eae641d1248474b4e55c74c3f94
2017年06月04日 11:23:17 +01:00
OpenStack Proposal Bot
dcc56d9d07 Updated from global requirements
Change-Id: If132e13a82bd99f612ea4e786a76633b6fbb8616
2017年06月02日 22:03:49 +00:00
ZhongShengping
4d3ae78c02 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: Ia0c175746a5bdd0f8c722ab214719e77160a0e12
Implements: blueprint deprecate-rpc-backend
2017年06月01日 15:46:28 +08:00
Andy McCrae
9855742abd Allow the developer constraints to be adjusted
In order to do a developer mode that allows installation of packages
from local file, which take precedence over the developer_mode
constraints, we need to allow the order of the constraints to be
changed.
This patch adds a "pip_install_developer_constraints" var which is used
to set the developer mode constraints. By default this will leave the
same behaviour but will allow additional constraints to be added, or the
developermode constraints file to be overriden altogether.
Change-Id: I64affcd1b3d5580e1cee5047df465e2ab8144211
16.0.0.0b2
2017年05月26日 12:02:23 +01:00
ZhongShengping
10ff5cb3c1 Deprecate rabbit_use_ssl option
Option "rabbit_use_ssl" from group "oslo_messaging_rabbit" is deprecated.
Use option "ssl" from group "oslo_messaging_rabbit".
Change-Id: Ibbd06cb3e65bf9970b0b3de62c9e12ce5fa4f678
Implements: blueprint deprecate-rabbit-use-ssl
2017年05月23日 10:39:09 +08:00
Jesse Pretorius
cec3b715d1 Add venv_tag local fact
In order to make it easier to detect the currently deployed
venv for a service, and therefore allow smarter decisions
for things like upgrading, we implement the venv tag as a
local fact.
The file used to store facts will be the same for all
OpenStack services, with each service using its own section.
Example:
"ansible_local": {
 "openstack_ansible": {
 "trove": {
 "venv_tag": "14.2.1"
 }
 }
}
Change-Id: Id2545ad38d78c5c28310b67a8a3eb74b8b51b026
2017年05月22日 15:51:04 +00:00
Ravi Gummadi
1de5237221 Fix trove network related deployment issue
When openstack_networks is empty list, an error is seen while
setting trove service network id. The error seen was "list object
has no element 0". Added a validation task to fail if trove network
is not created yet.
Change-Id: I9acfc8e06f461073777469712fd6ce50e3187b30
2017年05月17日 05:23:51 -04:00
OpenStack Proposal Bot
29c33a1e8a Updated from global requirements
Change-Id: Ic5d80e8b077b0bb59cf23e582724ee417b5e2ee3
2017年05月17日 03:55:23 +00:00
Rick Box
ffdd1b3966 Fix for lookup and get_url occuring in different places
We use an SSH bastion host which we do our deployment through. The
deployment host doesn't have direct access to the same network as the
host. As a result the venv local checksum lookup fails.
I have described this here:
https://bugs.launchpad.net/openstack-ansible/+bug/1689283
This is a simple fix for this problem, assuming everything is good it
will need repeating in multiple places in the code base.
Change-Id: I681491539aa4aa3b3c88ce059ae6d1f7e56f651d
2017年05月10日 14:26:01 +01:00
Jesse Pretorius
46459fd435 Use zuul-cloner for tests repo in OpenStack-CI
When executing the tests repo clone in OpenStack-CI,
use zuul-cloner instead of git to enable cross-repo
testing. This ensures that if a dependent patch from
the tests repo is noted using 'Depends-On: <change-id>'
in the commit message, that patch will be included.
Change-Id: Idd2c2e750c001a3ece7b778520dd60cf9e649acf
Depends-On: Idce7abebf32f24c356a27e099fbca954d917402b
2017年05月04日 16:53:39 +01:00
Andy McCrae
b99c251aa9 Rename release note to prevent duplicates
Change-Id: I57c8542f6275fa1db4a68df6f0904b4d943d2939
2017年04月28日 15:02:23 +01:00
Jesse Pretorius
8c1b17923a Rename release note to unique hash
Change-Id: I7d7fa5fddf08f4551af1bffb1b6d58f3d48eba56
2017年04月28日 11:40:15 +01:00
Jesse Pretorius
4d82413ff7 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: I7f23a74fd644aa0d631e9b0f7d96083b645bc032
2017年04月26日 13:05:26 +00:00
Jenkins
e25df9737f Merge "Add redis cluster port" 2017年04月23日 02:54:17 +00:00
Kyle L. Henderson
ad42e4df35 Add redis cluster port
The redis cluster port was missing from the trove sample
config files. A fix to trove is proposed here [1].
[1] https://review.openstack.org/#/c/455889
Change-Id: I15268af320dc1734c51a8c17f19335105cd95e8d
2017年04月23日 02:16:26 +00:00
Jesse Pretorius
27545d222a Optimise apt cache update task
The update of the apt cache and the package installation
can all be handled in a single task by providing the
package action plugin with the right parameters. This
removes an extra task to optimise execution.
The minimum Ansible version is raised to 2.2 due to a
known bug [1] in Ansible's apt module which does not
update the cache properly if the cache update and the
install are combined in a single task.
[1] https://github.com/ansible/ansible-modules-core/issues/1497
Change-Id: Ieaf67c9a776c43e9fd39c63a92642b55a49bb9bc
2017年04月21日 16:51:57 +01:00
Jimmy McCrory
92c1a502d0 Standardize test vars
Move test host vars from the inventory to individual files for each
host. 'ansible_become' has been removed from localhost's vars since it
should be handled on a playbook basis.
Change-Id: I1dfcc4c98e67970ac8c302a7e3ebe7c6bdf82295
2017年04月19日 17:36:06 -07:00
Kyle L. Henderson
9d8a9347c4 Implement trove networking
To operate properly the trove guest agent needs access to
rabbitmq and also the neutron network for trove to use must
be created and defined in the trove.conf file.
This changeset adds documentation, tasks and
configuration defaults to setup the networking for
trove.
Change-Id: Idcf87c2eef0af475c02412f03433d22d7b08643f
2017年04月14日 14:46:26 -05:00
Kyle L. Henderson
086bd308de Add taskmanager encryption key to api
Testing revealed that the trove api service needs the task
manager's encryption key.
Change-Id: I4d34b7e68b69ce30ee1fb08e7495cd22fa157495
2017年04月11日 10:32:55 -05:00
Kyle L. Henderson
b948402c76 Add RPC encryption key support
In the Ocata release, trove added support for encrypting the rpc
communication between the guest instances and the control plane.
These settings allow the user to specify installation specific
keys versus using the default keys.
Change-Id: Ie42d754d58e983a15b553ad8a399813c9a700344
16.0.0.0b1
2017年03月31日 13:41:06 -05:00
Jenkins
83adc96f1b Merge "Deprecate auth_plugin option" 2017年03月30日 21:49:53 +00:00
Jenkins
9e234166c4 Merge "Fix Trove URIs" 2017年03月30日 17:21:33 +00:00
Kevin Carter
b6efe327aa 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: I6dccb6eeabceea30922cbcf3a60e32e841612fd0
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017年03月30日 15:08:28 +00:00
Kyle L. Henderson
277c454e80 Fix Trove URIs
The openstack service uris protocol variables were not being used
to set the Trove specific uris. This resulted in 'http' always being
used for the public, admin, and internal uris even when 'https' was
intended.
Change-Id: I8a1fd0a851b932f8ee853866155e968824ed5fb8
2017年03月30日 09:21:50 -05:00
ZhongShengping
6a55fccd31 Deprecate auth_plugin option
Option "auth_plugin" is deprecated, use option "auth_type" instead.
Change-Id: I77f5757a4d12c8320702bcf3685c5de7417ceda6
Implements: blueprint deprecate-auth-plugin
2017年03月25日 12:26:08 +08:00
Logan V
6bb0c94acc Install python2-pyOpenSSL package on CentOS
Package pyOpenSSL is obsoleted by python2-pyOpenSSL.
Change-Id: I75d22a59b2114c000d2ab16156ee3ee6d7198275
2017年03月03日 12:49:58 -06:00
Andy McCrae
de0a9999fb Update paste, policy and rootwrap configurations 2017年03月03日
Change-Id: I5b9b14fe41f49106c8b1833e8b4c59ecae8ec181
2017年03月03日 11:34:19 +00:00
OpenStack Proposal Bot
ceda2aa603 Updated from global requirements
Change-Id: I5a1bff26ac381b276c85b9f1a7d98ef06bf3c99a
2017年03月02日 11:52:11 +00:00
Ravi Gummadi
fdd59ffe60 Configure trove_conductor_workers in os_trove
Configure trove_conductor_workers by calculating the default value.
Similar to other services worker threads, the default value for
trove_conductor_workers is half the number of vcpus on the machine.
Also added capping of worker threads for trove.
Change-Id: If853b0e1e45b7137572df8a1123273539343c83e
Closes-Bug: #1664639 
2017年02月17日 05:59:51 -05:00
OpenStack Proposal Bot
82eddc31c8 Updated from global requirements
Change-Id: I553e815d2989ce2fbd83c86f1c2b0169ece3c5e3
2017年02月11日 17:49:19 +00:00
Jenkins
699045f62a Merge "Updated from global requirements" 2017年02月10日 08:11:02 +00:00
OpenStack Proposal Bot
3fd7540585 Updated from global requirements
Change-Id: I1a5608052deb5326e63e73b47b00b8e2096b27c5
2017年02月10日 05:56:26 +00:00
Jimmy McCrory
b66094ee9e Remove 3DES from trove_ssl_cipher_suite
Triple-DES is a vulnerable cipher and should be disabled by default.
https://sweet32.info/
https://www.openssl.org/blog/blog/2016/08/24/sweet32/
Change-Id: Id2d22e4dafb6bf34add554a5346ead5a9552e828
2017年02月09日 17:44:34 -08:00
Cuong Nguyen
8575a5f1bb Install python2 for Ubuntu 16.04 and CentOS 7 in Vagrant
Install python2 for Ubuntu 16.04 and CentOS 7 before executing test
script.
Change-Id: Ib11f17e1d980656e3b01571f154aa8ed871dfa41
2017年02月09日 10:39:11 +07:00
Cao Xuan Hoang
02e130c543 Use https instead of http for git.openstack.org
Trivialfix
Change-Id: I8b61c02777910c65bd56d608bc9d9141e2a7c2aa
2017年02月06日 17:15:48 +07:00
2ec3e0bcef Update reno for stable/ocata
Change-Id: I9a49f2a8c21befb02469a02223252b52cc8fa4dd
2017年02月03日 18:58:33 +00:00
Chhavi Agarwal
17ce2cd1fe Adding the trove-guestagent.conf
Updating the trove-post-install to generate the
trove-guestagent.conf during the os_trove deployment.
Closes-Bug: #1658694
Change-Id: I4d8ac1b40d36b188718a02b89a1ea70fb89e7111
15.0.0.0rc1
2017年01月31日 02:10:45 -06:00
Logan V
8aa416f385 Clean up developer mode logic
Fixes the ability to deploy a venv in cases where:
1) developer_mode is not enabled
2) A cached venv is not downloaded from the repo server
Additional cleanup to the developer_mode venv deployment
logic is implemented by adding a *_venv_download var
which is used to decouple developer_mode from the
cached venv extraction process so that a deployer
can force venv builds in-place (disable cached
venv usage) without enabling developer mode
constraints.
Change-Id: Id4e911dd28bf3e22fe5927b06464ee15c57f010e
15.0.0.0b3
2017年01月13日 19:52:42 -06:00
Jenkins
86f66c264c Merge "Ensure 0755 default mode on new directories" 2017年01月13日 18:48:17 +00:00