16 Commits

Author SHA1 Message Date
ZhongShengping
a4d25a31c2 Remove deprecated rabbit_hosts
Change-Id: I86cb910ee58bd765366adbeb7eae03dcbee8bc52
2018-12-07 09:56:06 +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
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
Riccardo Pittau
2d2fa6ab8a removing deprecated options from DEFAULT
Default values and options for backup operations, such as
backup_namespace, restore_namespace and backup_runner_options,
are already defined in code.
Specific per database values should be defined in the datastore
sections, their presence in the DEFAULT is deprecated and can
cause confusion and generate errors and conflicts.
We should remove these specific values and leave only the
default common storage strategy and storage options for backups.

Change-Id: Iaf4a316087a1d2bd66c80206fb5b5c344b49ec7e
2016-11-17 13:27:39 +01:00
Riccardo Pittau
c3019c4f75 fixing storage_namespace; the correct location is under trove.common
Change-Id: Ia5e94983eca274a3f74b0a09a58f8b0b15c2a03b
2016-10-18 18:03:18 +02:00
Shaik Apsar
d24a11c35d Option to specify the trove guestagent log file.
Change-Id: Ifaf124933bca6b64d6a2d5225a5f67e58058e26f
Closes-Bug: #1506835
2016-06-28 13:21:59 +00:00
Iury Gregory Melo Ferreira
8246a80558 Deprecate verbose option in logging
Option "verbose" from group "DEFAULT" is deprecated for removal.
The parameter has no effect.
Deprecated verbose in all classes
Remove verbose in README
Remove verbose from tests.
If this option is not set explicitly, there is no such warning.

Change-Id: Iedbc3ea8824fdef8e1e5434d8be9463704c0579a
2016-05-18 13:34:00 -03:00
Matt Fischer
ed529e5a5a default swift_url to SERVICE_DEFAULT
If swift_url is unset, Trove will set it using the Keystone catalog.
Therefore we will default the swift_url setting to use SERVICE_DEFAULT,
so that out of the box configs will use the Keystone catalog.

Change-Id: I7a3fe361ca41fbee9f353be6e2306c1a5c7f7097
2016-05-11 10:18:47 -06:00
Shaik Apsar
86bf28728c Add amqp_durable_queues option in trove-guestagent.conf.erb.
Change-Id: I23f580d1ccd5261ff7090d182e0da2076012555b
Closes-Bug: #1573523
2016-04-29 11:52:45 +05:30
Alexey Deryugin
24839ec63f Use oslo module for messaging (rabbit) configuration
Additonal changes:

  * switch messaging related parameters to $::os_service_default
    as they are used in oslo::messaging_rabbit define
  * update unit tests

Change-Id: I3f7800f78132fa4c6c639753327ff63cf337c285
2016-04-22 15:45:13 +00:00
Shaik Apsar
328f005c92 Remove nova_* options from trove-guestagent.conf.erb
Closes-Bug: #1570829

Change-Id: Ifb48d77a1940c7b04787b0a28efd08e1f04854b7
2016-04-19 01:55:27 +05:30
Matt Fischer
9fa99515da guestagent.conf template should use rabbit_hosts
When rabbit_hosts was set for taskmanager, the guestagent.conf template
was ignoring this setting. This fixes that and moves the configuration
for rabbit into the non-deprecated section. Finally it properly sets
rabbit_ha_queues when using the guestagent template.

Change-Id: Idf22f083541ed307c610c2d019c7022a196bdc0d
Closes-Bug: #1561651
2016-03-24 12:23:02 -06:00
Gael Chamoulaud
f712a483ff Use swift_url variable in the template instead of the hardcoded url.
Change-Id: I1a9336f7012e412226a27e830f966b56b76594b6
Closes-bug: #1506956
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-12-11 15:44:13 +01:00
Denis Egorenko
05cbdefa6b Remove qpid messaging support
Qpid messaging driver is removed from Oslo.messaging [1]
Therefore, we cannot support it anymore.

[1] I4a9cba314c4a2f24307504fa7b5427424268b114

Change-Id: I4d4c200e733568d33116728e19377575b92331ca
2015-12-07 20:44:35 +03:00
Xingchao Yu
cdf452769e Introduce use_guestagent_template option
Current, trove::taskmanager use template to generate guestagent
configuration file.

This patch is aim to do following efforts:
  1. Fix template file option typo error
  2. Update template to keep up with master branch of
     guestagent.conf.sample
  3. Add use_guestagent_template option to give more choice for
     people who want use trove::guestagent to manage guestagent.conf.
     To keep compatibility, default value is set to true

Close-Bug: #1485397
Change-Id: I74cba2ad10a811f91ab65f004de78c93309fc95a
2015-08-21 15:42:09 +08:00
Sylvain Baubeau
e009fae96b Generate injected guest agent configuration file
Change-Id: I5488d8716331fe42b5d0aca6d3b93d8920eef13b
2014-07-09 13:36:44 +02:00