18 Commits

Author SHA1 Message Date
Tobias Urdin
81687e2ead Convert all class usage to relative names
In Puppet 3 there was a need to use absolute
names to prevent issues. Since Puppet 4 everything
is absolute by default which makes this not needed.

We need to change this everywhere so that we can
revert the pin in [1] that now prevents us from
using the latest version of the puppet-lint check
puppet-lint-absolute_classname_check that properly
checks that we dont use absolute names.

[1] https://review.opendev.org/#/c/697742/

Change-Id: I78b74fbeb08be7234189e4d266412fb7fb7a73c0
2019-12-08 14:58:12 +01:00
Zuul
c1d468cd84 Merge "Change to www_authenticate_uri for those missed" 2018-12-08 21:15:20 +00:00
Tobias Urdin
3a95cda318 Change to www_authenticate_uri for those missed
Missed for murano and trove.

Change-Id: Iaeb05fa31fb66767d0c95d1b081564a30b0502b8
2018-11-30 11:27:22 +01:00
Tobias Urdin
7d06b1ea12 Move debug to <module>::logging class
Moves all the <module>::debug parameters
to be set in <module>::logging::debug instead.

This is so that we can remove the deprecated
logging options in the init classes of all the
modules.

Change-Id: I107be315a6e1a0429c32d02b9a1df8a8957bb7ab
2018-11-28 15:32:58 +01:00
ZhongShengping
30883c0048 Include quota class to beaker test
Change-Id: Id8029c5fcc01796a53508f5ddd0a987dc85241a8
2018-03-15 14:30:06 +08:00
Mohammed Naser
a52d9564c0
Refactor usage of RabbitMQ resources
This patch refactors all creation of RabbitMQ resources such
as users and ACLs to a define called openstack_integration::mq_user.

This will make sure RabbitMQ is automatically installed as well,
as there are times where dependencies to RabbitMQ are added to things
like Keystone which break Beaker tests in other repos (but we don't
know they're broken until the change merges).

In addition, instead of setting up dependencies on the tagged services,
we use the anchors provided which should hopefully test against them
as well.

Change-Id: Ib122ddd105529de5e12389cc9db2e4e09ec4ad54
2017-09-15 09:10:25 -04:00
Andrew Smith
c82f5689cb Add support for dual oslo.messaging backend configuration
Introduce configuration parameters to specify the oslo.messaging
rpc or notification backend as one of rabbit, amqp. The default
config is to use rabbit broker for both rpc and notification. Selection
of amqp for rpc will use brokerless qpid-dispatch router.

This patch:
* Adds notification_transport_url parameter across services where needed
* Adds rpc and notification parameters to config
* Adds qdr for rpc amqp1 configuration
* Modifies scenario001 for dual messaging backends
* supports ssl config

Depends-On: Id6ebc4ce8b0ffdb0be92a758dbf89c84c3274725
Change-Id: Ia2a79a2e1482f6f72426bc81c8e6d2a04cb211e3
2017-08-27 10:44:31 -04:00
Alex Schultz
ddcb1b4786 Switch to default_transport_url
The rabbit_host, rabbit_hosts, rabbit_userid, rabbit_password,
rabbit_port and rabbit_virtual_host parameters are being deprecated.
This change updates the p-o-i tests to use the default_transport_url for
the rabbit connection instead.

Change-Id: Icb15ad3b5d75a35afcb685f4ae03c5755031fc3d
Depends-On: I43ac3079da9e52179457ca1a34f4faee60d5617b
Depends-On: Ie63457370ae37ef5af5878b1a97b8bafa80a8189
Depends-On: Ia0c5b5072431bbc186c8b96b7f034e68e9248af3
Depends-On: I43500ac7be4296ea534266fa14ca37fc700b0092
Depends-On: If4dfe8b82518fc4e590731a805ee3115b11f4f47
Depends-On: I00d4782693c1f67b82673624d4d36822c9762303
Depends-On: If83c0f0e61a08061334536399a42767a305966b7
2016-11-30 11:06:33 -07:00
Emilien Macchi
0564a673c3 Finish to configure authtoken with modern parameters
Change-Id: I1c6f3fad8ea1896b409f57b0268883bb99a2decd
2016-08-30 14:56:51 -04:00
Emilien Macchi
83dc8eadf7 Cleanup some warnings
1) Remove usage of verbose in Trove.
2) Rename Tempest parameter.
3) Rename Swift parameter.
4) Update parameters for Heat so we use 'password' auth_plugin.
5) Remove metering_secret, replaced by telemetry_secret.

Change-Id: Id770a7b03323b72ba37317e48085d9c15f106bc1
2016-05-20 15:16:37 +02:00
Emilien Macchi
6bcc7756fc Drop usage of deprecated verbose option
Change-Id: Ia4ba77e4ea6e2afe591772cb33cd4ca0080ef6a6
2016-05-19 15:05:17 +00:00
Matt Fischer
561bb95032 Don't use deprecated trove guestagent template
The deprecated guestagent template will be removed, so don't use it. By
not using it, this will pull in the guestagent class (with service
disabled as it should be on an API node). This will expose issues like
Bug 1580005.

Change-Id: I2aafb6a3eba4b690ed7e4f8fdc8622594c627999
2016-05-10 19:57:32 +00:00
Emilien Macchi
b0dbb04cc8 scenario003: enable IPv6 on centos7
On Centos7 jobs, deploy Heat, Trove, Horizon and Sahara on IPv6.

Change-Id: I0da97938d30e274656dff51967c4045e1e4818ab
2016-04-04 22:31:36 +00:00
Emilien Macchi
fd9c981a05 scenario003: enable SSL by default
This patch enables SSL by default on scenario003 for both Ubuntu &
CentOS7, like it's done for scenario001 and 002.

Note: we don't enable SSL for Sahara because of:
https://bugs.launchpad.net/sahara/+bug/1565082

Change-Id: I7e25b8acaeda2fc51a1a83b3a3aae0c89f332323
2016-04-01 20:32:35 -04:00
Emilien Macchi
4a3ca2bf40 trove/conductor: reduce workers to 2
Depends-On: I942addf4347aaf813ef40d2ab39bac69a85a1a33
Change-Id: I6f1b010075a420f1b9896d62c5c970f384855941
2016-04-01 13:03:32 -04:00
Emilien Macchi
20997774ba trove: use version-less endpoints
1/ configure auth_uri / identity_uri new parameters in puppet-trove
2/ use version-less endpoints like we try to do in other services.

Change-Id: I6deb3db4cb5d6ca534d780a2262c52b2adfd1b83
Depends-On: I66d5233c8981763a0a341740911fb24dd0e8d479
2016-01-20 16:39:18 -05:00
Emilien Macchi
1bc3782155 Use pymysql for database driver
PyMySQL is the new database driver when running MySQL.
This patch updates our manifests to run it, since our modules already
support it.

Change-Id: I758c5c3bc7295f57102098cbe0d2d0f3b0f2692e
Depends-On: I7604cca9e2d7bf0b93c820adec5f937f72b64fa8
2016-01-08 13:40:13 -05:00
Emilien Macchi
62eb545ad9 Refactor fixtures & manifests to reduce code lines
Create manifests for each project and include them in the right
fixtures manifests, so we can reduce the code and avoid dupplicated
puppet manifests.

Change-Id: I66a98691b3014998f4c2529d2e3389ef1cbcc5f4
2016-01-02 17:43:03 -05:00