26 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
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
Tobias Urdin
4cb95c42ff Fix deprecated parameters
Fixes the use of deprecated parameters that
is now removed in [1]

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

Change-Id: Ib1a1bbe735c3e810058303a52204497e13fe3903
2018-06-12 09:59:45 +02:00
ZhongShengping
34a0a5c980 Add integration_enable option to beaker test
Change-Id: If3a1c1299de725c23e2586453c9ab85e9db988b8
2018-03-20 17:13:24 +08:00
Tobias Urdin
c5dbd1c17a Remove --skip-metering-database for ceilometer
The --skip-metering-database argument for
the ceilometer-upgrade script has been removed
but are still used in the integration code and
was missed because Ubuntu was non-voting and
RHEL based packages seems to be an older version.

This patch depends on the change in puppetceilometer
that changes the default value for extra_params [1]

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

Depends-On: I33c1667e19326ec67c5cf953daa1237175895c4f
Change-Id: I49f988afa96685b8d44f51525fa2d76731463bbf
2018-03-01 09:32:24 +01:00
Alex Schultz
8278962136 Remove legacy telemetry
The ceilometer api is no longer a thing and should not be installed
anymore. This change removes the legacy telemetry options and switchs
Ubuntu to use gnocchi/panko.

Change-Id: I065c3bc11d6cb5bab89c5face2d01b671a517210
2017-12-26 16:04:34 +00:00
Mohammed Naser
500fa91d2a Add option to enable or disable compute namespace for Ceilometer
In our beaker tests, we want to disable this as we do not have
any Nova dependencies.

Change-Id: I18b8e86217fb3bf9214946362e7910c30afa8196
2017-10-25 02:39:43 +00: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
Pradeep Kilambi
f8a1504a00 scenario001: test Telemetry with Auto-Scaling scenario
Improving scenario001 use-case where we use Telemetry services for
Auto-Scaling. It's a end-to-end scenario, so it will really test all the
stack.

- It adds Heat to scenario001
- It runs TestAutoscalingGabbi test
- It increases token expiration to 2400

Change-Id: Ibaa44cf53b8c8fb59b765ce4f9b219dd65f38a42
2017-07-20 20:50:42 +00:00
Mehdi Abaakouk
047dbb7280 scenario001: rework telemetry services
Ubuntu and Redhat/Centos doesn't have all telemetry packages.

Instead of checking everywhere if we are on Ubuntu or Redhat/Centos,
this change uses a boolean 'enable_telemetry_legacy'.

If true, ::openstack_integration::ceilometer will configure ceilometer
with legacy services/configuration (without panko/gnocchi). If false,
Gnocchi and Panko backend is used.

scenario001 set it to true for Ubuntu and false for Redhat/Centos.

This centralize the kind of ceilometer deployement in one place.

This change also drops the now useless collector configuration and
configure the notification agent correctly instead.

Change-Id: If229829975d4f25ca0a2a3c6c93e674204d71dc2
2017-05-04 11:53:17 +02:00
Jenkins
2d4cb5356d Merge "Deploy panko, Events service in Telemetry OpenStack" 2016-12-03 17:25:36 +00: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
Pradeep Kilambi
4bad265367 Deploy panko, Events service in Telemetry OpenStack
Change-Id: If16009125133ad16ebe79355cc15aedcb39c6e55
2016-11-30 11:47:57 -05:00
Emilien Macchi
9e6130572c Configure authtoken with new method
Configure Aodh, Ceilometer, Ironic and Nova authtoken sections with new
method.

Depends-On: I779cb0b76187f742555c5c77f3d6b97d35c6be28
Change-Id: I8f5b7f3d7392bfa4215fccd7defe953857cef3f6
2016-08-25 19:46:24 +00:00
David Moreau-Simard
7aa1cca7d7 In-process token caching is deprecated, use memcached instead
Change-Id: Ia92ca1e56118e8fd625d20848c2554c446ad3dda
Closes-Bug: #1556164
2016-08-05 10:40:16 -04:00
iberezovskiy
7be5332b08 Remove hardcoded API version from auth_url for ceilometer
Stop using ceilometer legacy keystone loader
and switch to keystone auth plugin.

Change-Id: Ieea6d46cd86f3138295670935c7f4e09fcc12d17
2016-05-27 18:50:33 +03: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
51d8e2145c Rename metering_secret to telemetry_secret
This matches the upstream parameter.

Depends-On: I8c01fac2c984f39e63b116c4a6433b2009a4943c

Change-Id: Idb72279d63fdaec08b5153cec460e82235b62d9c
2016-05-16 16:05:51 +00:00
Emilien Macchi
dbd4fc4fca scenario001: enable SSL by default
This patch enables SSL by default on scenario001 for both Ubuntu &
CentOS7, like it's done for scenario002.

Change-Id: If7a6ae3825052420ac76b5c8899ce68f003cb903
2016-03-29 21:41:56 -04:00
Jenkins
ee8f138600 Merge "Update manifests to clean-up warnings" 2016-02-29 19:55:07 +00:00
Emilien Macchi
6140ae6fc3 Reduce number of workers to 2 when possible
Reducing workers will help us to consume less memory reduce the number
of timeouts we have in upstream CI.

* Neutron & Swift: reduce from 4 to 2 workers
* When possible, set workers to 2: aodh, ceilometer, gnocchi.

Change-Id: Ie064a9ad0389f112bbb69f4253f7f6dbc26deb0a
2016-02-24 12:36:11 -05:00
Emilien Macchi
8bb66c1e42 Update manifests to clean-up warnings
Update ceilometer.pp and neutron.pp so we don't have warnings in the
catalog.

They are related to some deprecations done some time ago.

Depends-On: I05a2714b8429d641387e2d9debf6b1c32e0d8e93
Change-Id: I28425d331961a6795827d10969094c95fc292bfd
2016-02-23 04:02:39 +00: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