13 Commits

Author SHA1 Message Date
Xingchao Yu
0e3faace3c Add region and resource url related options
This patch is aim to add region and url related options in trove.conf:
  - os_region_name
  - nova_compute_service_type
  - cinder_service_type
  - swift_service_type
  - heat_service_type
  - neutron_service_type
  - neutron_url

Closes-Bug: #1473280
Change-Id: Id9b57351b0fc3c81565310f4ce6ae2b8aa2564f2
2015-07-20 09:59:59 +08:00
Javier Pena
2a020fdf93 Complete qpid support
The puppet-trove module only had partial, non-working qpid support
until now. The qpid_* parameters were documented and included in
some manifests, but not in init.pp, and rpc_backend was never set
in the config files, so Trove would always use RabbitMQ.

The fix also includes moving qpid parameters from the DEFAULT
section to oslo_messaging_qpid in the config files, to avoid
deprecation warnings in Kilo and later releases.

Change-Id: I12853f843f40e2312e7fe3bb81739be743641583
Closes-bug: #1468312
2015-06-30 11:30:10 +02:00
Lukas Bezdicka
86b7d23f29 Sync amqp support with other openstack modules
Kilo oslo-messaging deprecates rabbit/kombu settings in the
DEFAULT section.

Rabbitmq won't talk to us anymore if we try to use SSLv3 as it disabled
support for SSLv3. Openstack components use python's openssl
implementation which does not support TLSv1.1 and TLSv1.2 yet so we
just switch to TLSv1. Support for newer TLS should come with python
2.7.9+

The kombu_ssl_* parameters should not be required when rabbit_use_ssl => true
Rather, rabbit_use_ssl must be set to true if the kombu_ssl_* parameters are
used.

Change-Id: I327dc193d878cb1574b69d5f5b502c25fa203a66
Closes-Bug: #1409667
Closes-Bug: #1356083
2015-06-12 04:40:07 +00:00
Lukas Bezdicka
b032aca232 Change sql_connection to connection.
Sql connection parameter is now in database/connection not
DEFAULT/sql_connection.

Change-Id: I5f7b48a1a6e092b9629145b57795cba0c351a4eb
2015-03-31 09:10:07 +00:00
Sebastien Badia
53d51d8f35 spec: updates for rspec-puppet 2.x and rspec 3.x
This patch aim to update our specs test in order to work with the new
rspec-puppet release 2.0.0, in the mean time, we update rspec syntax in
order to be prepared for rspec 3.x move.

In details:

  * Convert 'should' keyword to 'is_expected.to' (prepare rspec 3.x)
  * Upgrade and pin rspec-puppet from 1.0.1 to 2.0.0

Change-Id: I6e85576823fc93ac0b7a7dff06032d71682259ad
2015-02-25 05:15:02 +01:00
Solly Ross
9e5b82fcda Configure auth via conf file, not paste file
The paste file now lives in /usr/share, and shouldn't be
modified.  Configure the keystone auth token settings in
trove.conf instead.

Change-Id: Ib2cc2211cc645ad71e9f57c1c52177074472afcb
2014-12-18 11:33:55 -05:00
Sebastien Badia
4fdc9f802a Fix eNovance domain name
A new company « etrovence » :-) (or just a too quick sed)

Change-Id: I95cc85908b79310ced5f19e96516293ca949b651
2014-07-12 02:30:39 +02:00
Sebastien Badia
3063b1903c trove/api: fix spec tests (move to init classe) 2014-07-03 15:21:24 +02:00
Emilien Macchi
5e7fa92465 move nova_proxy_admin_* to init class
Since the parameters are used on other class, it's smarter to have them
on init class to just reuse them.

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
2014-07-03 15:12:38 +02:00
Sylvain Baubeau
b2caa68930 Configure api-paste.ini for trove-api 2014-07-03 14:15:39 +02:00
Emilien Macchi
9549151dcf api: fix tests 2014-07-02 17:20:53 +02:00
Emilien Macchi
0b2ab24cf7 api: fix unit test 2014-07-02 15:52:48 +02:00
Emilien Macchi
dcef06f12d Implement tests for trove::api 2014-07-02 14:49:45 +02:00