Commit Graph

68 Commits

Author SHA1 Message Date
Zuul
d556aace26 Merge "Remove auth_uri" 2018-12-10 10:44:37 +00:00
Tobias Urdin
ab83c20ddf Remove auth_uri
Depends-On: https://review.openstack.org/#/c/621136/
Change-Id: Id8ad452022c92f2f4fc8503466a2e07e77f7ca73
2018-11-30 11:33:02 +01:00
Tobias Urdin
ad1aa1611c Remove deprecated logging
Change-Id: Idfd90ce310f7a43907b93e924d3bbd8f5eab0f31
2018-11-29 11:05:35 +01:00
ZhongShengping
ff52d5f8a5 Deprecate pki related options
check_revocations_for_cached and hash_algorithms are deprecated for
removel because of PKI token format is no longer supported.
Update warning message and add a release note.

Change-Id: Ic360bd95c3cf542ca2833e366102950cecd7ef5b
Closes-Bug: #1804562
Closes-Bug: #1804720
2018-11-23 10:23:57 +08:00
Tobias Urdin
08f3eca1ee Remove deprecated rabbit params in guestagent
This revemos the deprecated options rabbit_host,
rabbit_hosts and rabbit_port params in the
trove::guestagent class.

Changes the guestagent config file to use the
transport_url instead of the rabbit options. [1]

[1] https://review.openstack.org/#/c/609981/

Change-Id: I2f102eb15fe59459ab1eed2e4cf87ad3c54d5c78
2018-10-21 18:05:41 +02:00
ZhongShengping
fdf5145eb6 Remove deprecated rabbit params
Remove the deprecated rabbit params which has been deprecated for
two years. The default_transport_url has been present for a while
now and should be used.

Change-Id: I0e220dddaac2cf35b84ba1d3cfcc0fe587acbbaa
2018-05-28 13:38:35 +08:00
ZhongShengping
d116eb73c9 Remove deprecated heat_service_type param
Remove the deprecated heat_service_type param which has been deprecated.

Change-Id: I22a1605a1ac583eb1d30e984ac24c02c4d92662b
2018-05-24 11:18:20 +08:00
ZhongShengping
4e3341f589 Deprecate auth_uri option
Option auth_uri from group keystone_authtoken is deprecated[1].
Use option www_authenticate_uri from group keystone_authtoken.

[1]https://review.openstack.org/#/c/508522/

Change-Id: If7049561c6a9e94fc5074112db9597cd8cb6996e
Depends-On: I4c82a63baabd6b9304b302c97cd751a0103d8316
Depends-On: I0dd36ef1f1f5dcdc57413736ecb8f2555712c36d
Closes-Bug: #1759098
2018-05-15 12:20:31 +02:00
ZhongShengping
2a99e642d8 Remove deprecated ensure_package option
Change-Id: I4d667ea525c9b7a48d8175b37c1cdfb55543ed39
2018-03-29 12:01:15 +08:00
Zuul
ed21e2b1f3 Merge "Add glance_service_type option" 2018-03-28 21:02:25 +00:00
ZhongShengping
0d8382175a Add glance_service_type option
Add trove::glance_service_type option to configure glance service
type to use when searching catalog.

Change-Id: I14d137a06c793eba3cdff6f9d2776fa7f987dc40
2018-03-28 11:40:59 +08:00
ZhongShengping
ae7290a272 Remove deprecated keystone authtoken revocation_cache_time option
Change-Id: Id80297afb799a230e0cca042ab1036ed78ca97e4
2018-03-27 10:48:15 +08:00
ZhongShengping
064ecaf4be Add pool_timeout option
Add pool_timeout option to configure this value for pool_timeout with
SQLAlchemy.

Change-Id: Ib2413bc9da8eb50e310ca1f1e99c5ea0e708d570
Closes-Bug: #1757581
2018-03-22 11:09:50 +08:00
ZhongShengping
90863dce61 Add 'openstack-db' tag to db-sync Exec resource
In order to make easy orchestration on all OpenStack db-sync, add this
tag so people can use this tag in composition layer.
A use case it to set some orchestration to make sure MySQL Galera is
ready before running any Exec with this tag.

Change-Id: I7baded10a128532f7267903fa8d14f576cd9f47a
Closes-Bug: #1755102
2018-03-12 16:33:10 +08:00
ZhongShengping
0763133219 Add endpoint_type options
Add trove::nova_compute_endpoint_type, trove::neutron_endpoint_type,
trove::glance_endpoint_type, trove::cinder_endpoint_type,
trove::swift_endpoint_type, trove::trove_endpoint_type options to
configure endpoint type to use when searching catalog.

Change-Id: Iba9d4033d4b5267c4b2a326499364ac44d89400a
2018-02-14 08:32:00 +08:00
Zuul
d33c0265c9 Merge "Add kombu_failover_strategy option" 2018-02-13 20:28:55 +00:00
ZhongShengping
ccf6a66e1f Add kombu_failover_strategy option
Adds the kombu_failover_strategy option for configuring
oslo.messaging.rabbit. This will determines how the next RabbitMQ node
is chosen in case the one we are currently connected to becomes
unavailable.

Change-Id: If59b301e533a509051876ed88f410c5101425ec2
Closes-Bug: #1748353
2018-02-09 15:05:28 +08:00
ZhongShengping
578556bdb4 Deprecate heat_service_type option
This patch[1] removed heat related support.

[1]https://review.openstack.org/#/c/385513/

Change-Id: Ic81a9c0033d7f6bddb23f131954b57e608b3bb45
Closes-Bug: #1743713
2018-02-07 10:59:17 +08:00
ZhongShengping
6dc198fe4e Add use_journal option for logging configuration
This enables oslo.log to pass logging records to journald.

Change-Id: I36d78d2642ee7b2dbaa1256e69dbd963696dd8e3
2018-01-15 17:37:10 +08:00
ZhongShengping
b10d37ccbd Expose use_json logging option
It enables JSON-formatted logging from oslo.log.

Change-Id: I725a38c71f199dd33aeb0f5f54af5164afc00998
2017-11-28 09:45:05 +08:00
Alfredo Moralejo
aa57603fb4 Force trove_auth_url to point to the v3 api URL
After removing keystone API v2, trove requires that
trove_auth_url parameter has the v3 URL. Note that
versionless url is not valid for trove_auth_url so
this patch enforces v3 url even when auth_url is
not versioned.

Additionally, the default value for auth_url parameter
has been updated to point to v3.

Change-Id: I8d0e200958c813101d72e180c6da8343b5fcae6e
2017-10-20 09:55:39 +02:00
ZhongShengping
a54b81c779 Configure *_domain_name to Default by default
Keystone v2.0 API was removed so we have no choice but configuring
user_domain_name and project_domain_name otherwise it fallbacks to
Keystone v2.0 and it fails. This patch sets the default value so we make
sure Keystone v3 will be used out of the box for our users.

Change-Id: I4d2a5620e7a4dc5c5fddabd3da0299e0f2211102
2017-10-13 14:44:08 +08:00
ZhongShengping
2d905626da Deprecate revocation_cache_time option
The revocation_cache_time is deprecated for removel because of PKI
token format is no longer supported.
Update warning message and add a release note.

Change-Id: Ib4030f83a9201155e5168c164d257a14b9da16e0
Closes-Bug: #1717144
2017-09-14 11:58:05 +08:00
Andrew Smith
6e1a56adb1 Deprecate oslo.messaging rpc_backend option parameter
Oslo.messaging uses the transport_url to represent the rpc and
notification messaging driver to use and its full configuration. The
rpc_backend configuration option is deprecated for removal and
should not gate oslo.messaging driver configuration options.

This patch:
* deprecate rpc_backend
* remove conditional check
* update spec tests
* add release note

Change-Id: Idbd5c231d85a0f4d249dabd14bc829844ee3e83d
2017-07-27 12:14:53 -04:00
ZhongShengping
4b9db23377 Remove deprecated keystone authtoken signing_dir option
Change-Id: Id8fb41492d216de5c6ede43aa5b530d16ed8d46f
2017-07-07 10:01:10 +08:00
Andy Botting
64b2ca9a5e Separate out api/taskmanager config settings
This commit removes config settings for the API that were set
from within the taskmanager class, and moves them into the API.

This fixes the issue where some neutron settings didn't get
set in the api config file when the api and taskmanager were run on
separate hosts. Specifically, API requests will now return the IP
address of the DB instance when Neutron is used.

Change-Id: I370f137ce12fedb527f1ae7adc013e1dac4dbffe
2017-04-12 03:08:18 +00:00
Jenkins
7594ac4415 Merge "Inconsistent package_ensure parameter name" 2017-03-10 11:31:26 +00:00
Andy Botting
7fdbe6e50c Add support for single tenant mode
Single tenant mode creates all DBaaS resources in a given tenant,
rather than the default, which is to use the users own tenant.
It relies on the nova_proxy_admin_* vars for this.

This commit adds a new trove::single_tenant_mode variable, when set
to true, sets up the remote_(nova|cinder|neutron)_client config
vars in the each of the config files for this mode to be enabled.

Change-Id: Ic59bd227fff893c705931ced3add636844533d35
2017-03-09 12:51:15 +11:00
ZhongShengping
3cf985f57e Inconsistent package_ensure parameter name
The parameter name used to enforce package state is inconsistent across
manifests and modules. I settle on package_ensure since it's already
widely used.

Change-Id: I887e924d184d9b25c33b5fe617d82f170d0cee34
Closes-Bug: #1668732
2017-03-09 09:25:07 +08:00
ZhongShengping
370c0bf8fa Add rpc_response_timeout option
Add rpc_response_timeout to configure seconds time for waiting
for a response from a call.

Change-Id: Ib107713d8b2cc137e11c3d478f14f8a4f4d034a3
2017-02-08 11:35:26 +08:00
Shaik Apsar
ca075e0a9c Add backup_aes_cbc_key parameter
This patch will provide an option for configuring
custom value to the backup_aes-cbc_key parameter
in guestagent configuration file.

Closes-Bug: #1659875

Change-Id: I51a8176c7df4ee80fcf999c37143842f2fdc69ad
2017-01-27 15:01:50 -05:00
Matthew J. Black
1266a13ba0 Allow python-memcache install from authtoken class
The python-memcache package is required if using memcached. By
default the package is not installed and the define has it set to
false. This change allows managing the python-memcache package
install from the authtoken class.

Change-Id: Iee2b5a00c9eb026a42ebd4bf166d06f6bc5f6e27
2017-01-11 18:08:54 -05:00
ZhongShengping
160d44ab51 Deprecate signing_dir option
The signing_dir is deprecated for removel because of PKI token format
is no longer supported.
Update warning message and release note.

Change-Id: I91803e5f2c674e284657bbd40ea32b349a8f393f
Closes-Bug: #1652700
2016-12-28 14:36:31 +08:00
Jenkins
3beaf12a98 Merge "Deprecate rabbitmq connection parameters" 2016-11-22 01:25:38 +00:00
Alex Schultz
8bf2f8c394 Deprecate rabbitmq connection parameters
The rabbitmq connection parameters have been deprecated in favor of the
transport_url setting.

Change-Id: I901eee39ae7da6164320f908a2719b8e35d46172
Related-Bug: #1625198
2016-11-09 07:56:02 -07:00
Iury Gregory Melo Ferreira
287ef4dfe2 Remove old authtoken options
Since we are in ocata lets remove all old parameters in api
to configure the keystone_authtoken section

Change-Id: I2ad9c559768324cb494bcbe719195817b3ca4864
2016-11-08 01:11:16 -03:00
Jenkins
dfe7564169 Merge "Remove verbose" 2016-10-24 18:47:25 +00:00
Jenkins
0c14143f40 Merge "Fix documentation for log_dir parameter" 2016-10-22 04:04:31 +00:00
Jenkins
258a6bbfe8 Merge "Change worker defaults to ::os_workers" 2016-10-18 19:07:10 +00:00
Alexey Deryugin
3cb02d8768 Make swift_service_type configurable in guestagent.conf
Change-Id: Id167b0dcf68fc6d9b211ecb9c6acbfaf4b1afead
Closes-Bug: #1569658
2016-10-11 16:31:21 +03:00
Mykyta Karpin
39062e3ac9 Fix documentation for log_dir parameter
Change-Id: Id7bbb1aa48c282269d1dffe0bc1ccd7afd1bf6f5
Partial-Bug: #1600294
2016-10-10 17:31:27 +03:00
Maksym Yatsenko
86221d0df0 Change worker defaults to ::os_workers
This patch changes the default worker count from ::processorcount to the
new ::os_workers fact. ::os_workers is based on the number of processors
(currently cpu/4) but is capped at a maximum of 8 worker processors.
This is a much more reasonable default in general and prevents excessive
resource consumption on systems with a large number of CPUs.

Change-Id: Idfd8e3f4fe91df7d70e8c35a491c076b0b8f2348
2016-10-08 02:07:19 +03:00
Iury Gregory Melo Ferreira
01e4cea5d2 Remove verbose
Since we are in Ocata we should remove the
verbose option that was deprecated

Change-Id: I2b35fe30e4e5049b15e6cc58b81c8b202db56191
2016-09-27 19:46:42 -03:00
Jenkins
8f9f696708 Merge "Configure keystone authtoken options" 2016-08-25 22:07:10 +00:00
Matt Fischer
e2729f0fa8 Policy support for Trove
Trove is adding policy support, since it's not yet released (landing in
Newton) this code will not auto-include the policy class as other
modules do. That will be done later after all distros support a Trove
version with a policy.json file.

Change-Id: Iae8f8bf341ae17190676c524444600e660420e46
2016-08-24 11:17:23 -04:00
Alexey Deryugin
b51e789701 Configure keystone authtoken options
In trove::api, use keystone::resource::authtoken to configure
keystone_authtoken section in trove.conf, with all parameters required
to configure keystonemiddleware.
This patch will allow to deploy Trove to use Keystone v3
authentification.

Some deprecations:
- trove::api::keystone_tenant is deprecated in favor of trove::keystone::authtoken::project_name.
- trove::api::keystone_user is deprecated in favor of trove::keystone::authtoken::username.
- trove::api::keystone_password is deprecated in favor of trove::keystone::authtoken::password.
- trove::api::identity_uri is deprecated in favor of trove::keystone::authtoken::auth_url.
- trove::api::auth_uri is deprecated in favor of trove::keystone::authtoken::auth_uri.

Change-Id: I808ebda1c4ec3a5b2ed294eb8af4eecafa861051
Closes-Bug: #1604463
2016-08-23 22:08:04 -03:00
Emilien Macchi
92dddd2523 Remove mitaka release prelude note
We had a prelude note when releasing Mitaka. This note
keep showing-up at every release while we're on Newton now.

We don't need a prelude release note, we already have nice sections
for every note we push.

This patch aims to remove this prelude starting from Newton.

Change-Id: I36ef29c09ce4d6cd4f166c5a9fbe86f1f69d572e
2016-06-28 15:10:03 -04:00
Andrew Smith
7cb103c17f Add transport_url parameters for oslo.messaging
This commit adds the transport_url parameters for oslo.messaging. The
url is of the form:

  transport://user:pass@host1:port[,hostN:portN]/virtual_host

Where the transport scheme specifies the rpc or notification backend
as one of rabbit, amqp, zmq, etc. Oslo.messaging is deprecating the
host, port, and auth configuration options [1]. All drivers will get
these options via the transport_url.

This patch:
* use oslo::messaging::default resource
* use oslo::messaging::notifications resource
* add parameters for transport_url(s)
* correct config file for amqp backend
* update spec tests
* add feature release note

[1] https://review.openstack.org/#/c/317285/

Change-Id: I8d0132f23aa05ed267ff2d88bce61ce9f20160f5
2016-06-28 13:17:26 +00:00
Marcellin Fom Tchassem
e99cc9e7ce Change default service_name to 'trove'
While we were already able to pick an independent auth_name and
service_name; the service_name was defaulting to auth_name. Now it
has a value of its own to be consistent with other modules.

Change-Id: If3f29c1f4efe2eeb5ff9173628403dfcc7f48e57
Related-Bug: #1590040
2016-06-07 21:17:19 -05:00
Denis Egorenko
45503b548a Remove deprecated keystone::auth options
Change-Id: I69df2e6ef68c79bdc6d564c78489cec555af396b
2016-06-01 18:37:42 +03:00