Commit Graph

39 Commits

Author SHA1 Message Date
Andreas Jaeger c929899400 Retire repository
Fuel repositories are all retired in openstack namespace, retire
remaining fuel repos in x namespace since they are unused now.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011675.html

A related change is: https://review.opendev.org/699752 .

Change-Id: I8aded54f1b9f3b79f3a4bf8f607d3695b92f528b
2019-12-18 19:39:39 +01:00
Simon Pasquier 457600e022 Fix libharfbuzz0b package URL
Change-Id: I5d0303aa7df317f48e7bc78938128a59835180f6
2016-08-26 09:42:21 +02:00
Guillaume Thouvenin 5d7eff0d8c Update version of fontconfig
Change-Id: I010d4a742ff8ea6596bbf6813e60c8ddf5696f94
2016-08-19 12:10:10 +02:00
Guillaume Thouvenin 3e55b1db18 Update puppet-collectd module
This patch updates the version of the Puppet module to be able to use
the netlink plugin that is available since 4.2.0.

Change-Id: I6df3b9b42b2a7e1649897efa4da59478029c5078
2016-08-17 13:44:02 +00:00
Simon Pasquier ef564156a4 Use modified Heka package
This package includes a fix that avoids flooding logs in case the
output buffers are full.

Change-Id: I43db2fe1e5d2e9f2de9f35c576451fd6a04eed31
Closes-Bug: #1562148
2016-06-10 12:07:47 +00:00
Simon Pasquier 8d5622bf70 Leverage the local fuel-library modules
This change drops the download of the fuel-library Puppet modules into
the plugin package. Instead the Puppet tasks look for Puppet modules
first in the plugin's path and alternatively in the default
/etc/puppet/module path.

This is required to have the same release of LMA supporting multiple MOS
versions more easily.

Change-Id: I7303a161d3826ed26430733339869f0a02e9ca00
2016-03-10 14:45:35 +00:00
Guillaume Thouvenin e2beeaeef8 Add support for Sahara logs and notifications
Closes-Bug: #1493699
Change-Id: If3d7688d5f60d38ab21ba44de57b5cfdb4b7adc3
2016-03-07 09:28:56 +00:00
Éric Lemoine ccdba23158 Move Pacemaker/Corosync code out of lma_collector
This commit moves the Pacemaker/Corosync Puppet code from the
lma_collector module to the Fuel-specific base.pp manifest.

This involves the following changes:

* Fuel's "pacemaker_wrappers::service" define is now used in base.pp
  to configure the LMA service resource to using the "pacemaker"
  provider.

* To configure "pacemaker_wrappers::service" we need to know the Heka
  user. So to avoid hacks where we'd use private variables from the
  lma_collector and heka modules to determine the Heka user the
  lma_collector and heka modules are changed to make the Heka user
  configurable. For this the "heka" class "run_as_root" parameter is
  removed in favor of a "user" parameter.

* In other manifests we use a resource collector to make sure that
  the LMA service resource is not re-configured with the default
  provider. This part is a bit hackish, but we haven't been able to
  come up with a better way to address the issue.

Change-Id: I0ed0bddb245dc3a65b034e5caec14a65cfa908cb
Implements: blueprint lma-without-fuel
2016-01-29 12:50:57 +01:00
Simon Pasquier ba1d1ad8af Use stable/8.0 branch for fuel-library modules
There are many changes between 7.0 and stable/8.0 and it is safer to
base our work on stable/8.0. Eventually we'll switch to the 8.0 tag once
it is available.

The OpenStack Puppet modules are pulled from upstream since
fuel-library has switched to upstream too.

Change-Id: Ie6fcedc738d45061d52e32567cf6cfed8ffa2e51
2016-01-06 16:09:45 +01:00
Simon Pasquier f944261331 Upgrade Heka to 0.10.0
Change-Id: I8569606aaaa094bb83300cc80da111f5076b9fa9
2016-01-04 14:25:50 +01:00
Simon Pasquier c5f97a203b Update Heka to 0.10.0b2
This version will allow us to enable the buffering for the output
plugins and deal properly with RabbitMQ connection drops.

Change-Id: I087236ecc7756d005a98cd11d3e5efe8cbdc00cb
Closes-Bug: #1503251
Partial-Bug: #1488717
2015-11-26 15:29:12 +01:00
Simon Pasquier 01dc04a215 Remove RPM files from pre_build_hook script
CentOS isn't a platform supported by MOS 7 and 8.

Change-Id: I139f9e2dabf6296542144201efe0381a40376a38
2015-11-26 14:44:37 +01:00
Swann Croiset 40d75b0859 Replace $internal_address determination logic
The hiera('internal_address') is no longer available with MOS 8.0, this
change uses the Fuel way to retrieve the management IP address.

Change-Id: I9b25f1b79b59ac9ed52531704bf5e829f23812da
2015-11-26 12:23:41 +01:00
Simon Pasquier d9ed9a13bf Upgrade fuel-library modules to 7.0
We need to pull osnailyfacter because the openstack module depends on
it.

Change-Id: I6277afb089e4d41757464906399c1dedb10b5390
2015-10-26 13:48:47 +01:00
Swann Croiset 570e5b0ce6 Replace 'stackforge' references by 'openstack'
Change-Id: I1276a4886dbe0dfb2de096109baa5942b12de9f6
2015-10-20 12:13:32 +02:00
Jenkins a2704f9281 Merge "Configure HAProxy to forward to the aggregator" 2015-08-26 12:44:28 +00:00
Simon Pasquier 9770cb2b32 Upgrade to v4.1.2 of the Puppet collectd module
Change-Id: I56a2228e1c4f6ab9b7112b3a62f1c44e62e5766b
2015-08-24 18:24:16 +02:00
Simon Pasquier 746b6f0f78 Configure HAProxy to forward to the aggregator
This change configures the HAProxy service to send the traffic received
on port 5565 to the local LMA collector service. It also configures a
dummy HttpListen input that is used by HAProxy to check the
availability of the LMA collector service.

Change-Id: Ifd92148b6be4e248fe15bdeafebb9356f6f989be
Implements: blueprint lma-aggregator-in-ha-mode
2015-08-24 14:16:52 +02:00
Simon Pasquier bdf61296ba Update Heka to 0.10.0b1
Change-Id: I2a335858ea519d75eee9d14a696868034297e66c
2015-08-18 14:34:56 +02:00
Simon Pasquier f7a8439bd7 Add Pacemaker Puppet modules
Change-Id: Ic046c03c31bb856978e703e265d76f12eb8e42d9
Implements: blueprint lma-aggregator-in-ha-mode
2015-08-14 17:07:04 +02:00
Simon Pasquier 35ded01e64 Update Heka to version 0.10
This change installs the latest version of Heka (0.10.0b0). This version
of Heka is required because it comes with updated Lua plugins and
modules for InfluxDB.

Change-Id: I4cbb65603cc8e49679c1a89c5a3792c977e44b7a
Implements: blueprint upgrade-influxdb-grafana
2015-07-31 10:04:13 +02:00
Simon Pasquier b7e3ffb7fc Revert "Update Heka to version 0.10"
This reverts commit 2f32d2af5f.

The Process Input plugin has some issues with Heka 0.10.0b0. See issue

[1] https://github.com/mozilla-services/heka/issues/1620

Change-Id: Id25e91e780952fdfd85e38947b04e935a785f65d
2015-07-30 11:54:26 +02:00
Jenkins a70fbd5737 Merge "Use upstream concat Puppet module v1.2.4" 2015-07-29 14:23:14 +00:00
Jenkins 931931f46e Merge "Use upstream stdlib Puppet module v4.7.0" 2015-07-29 14:23:08 +00:00
Swann Croiset 76295c8e34 Use upstream concat Puppet module v1.2.4
Previously, we ship from fuel-library concat v1.1.0 with a bug fix
from v1.1.1 (cherry-picked).
Version 1.2.4 comes with many bug fixes.

Change-Id: Iecbf625d527df8b610e28be0ca34fabe5c1188a3
2015-07-29 13:42:07 +00:00
Swann Croiset 432824ab0f Use upstream stdlib Puppet module v4.7.0
Previously, we shipped stdlib v4.2.1 from the fuel-library but we can easily
switch to the latest version since there is not compatibility break,
many fug fixes and fuel-library doesn't diverged (except few changes).

Change-Id: I4913dd30b6fa809588ca2e1833fdcc689c48cbb9
2015-07-29 13:32:32 +00:00
Simon Pasquier 2f32d2af5f Update Heka to version 0.10
This change installs the latest version of Heka (0.10.0b0).  This
version of Heka is required because it comes with updated Lua plugins
and modules for InfluxDB.

Change-Id: Ibcb51909658d908979c9f13bdec6a754e2698df2
Implements: blueprint upgrade-influxdb-grafana
2015-07-27 14:56:19 +02:00
Swann Croiset fb0fa62575 Keep the upstream Apache Puppet module
by removing obsolete comment.

Change-Id: Ia2084f8c0dd816c7a1b5fb3292c0511699f144bf
2015-07-23 11:18:44 +02:00
Simon Pasquier 40900b97b4 Use stable/6.1 branch of the fuel-library modules
Change-Id: I06348de542b6eca3e6f0fe091173b9b0d3415eba
2015-07-09 13:48:18 +00:00
Simon Pasquier 037dd66a02 Download packages required for collectd
This reverts commit e6c0b44eb0 to support
deployments using fuel-createmirror. In this case, the nodes don't have
access to the external Ubuntu repositories and the installation of
collectd fails.

Change-Id: I92110dfcc3c86336ba275162302e6d879d85d000
2015-06-04 15:17:50 +02:00
Simon Pasquier d7c011d613 Fix ShellCheck warnings
This change fixes all problems reported by ShellCheck [1] which is a
nice linting tool for sh/bash scripts.

[1] http://www.shellcheck.net/about.html

Change-Id: I7104597e309fed5a4d52f5fc39ab0f4350fb3217
2015-05-07 10:11:02 +02:00
Guillaume Thouvenin e6c0b44eb0 Remove downloads from ubuntu repo
As nodes should have access to ubuntu repository we don't need to
download ubuntu packages in the pre_build_hook before installing the
plugin.

Change-Id: I4dd2d3a08607048f9e34d998705595ff27b283c0
2015-05-06 10:29:22 +00:00
Simon Pasquier f6013931b8 Update to Heka 0.9.2
This version fixes a nasty bug [1] that may cause Heka to loop over
infinitely when reading too large messages from log files.

[1] https://github.com/mozilla-services/heka/issues/1367

Change-Id: I38d1bbbd00a2182cbb932ee75024bebef2472ddc
2015-04-27 14:51:48 +02:00
Simon Pasquier 65393651e2 Add collectd for CentOS platforms
This change adds collectd packages for CentOS. In addition, a few fixes
are needed to ensure successful deployment of the LMA collector on
CentOS platforms:

- Install collectd-dbi package on controller nodes.
- Modify Python scripts using subprocess to workaround issues with
  Python 2.6.
- configure a valid database name for the MySQL plugin.
- set hasstatus and hasrestart parameters to true for all OpenStack
  services otherwise Puppet fails to restart them.

Change-Id: I06891b069ba6047dfa40bcef7937b52964bda268
2015-04-22 15:06:48 +02:00
Swann Croiset 1fca78dc63 Add Nova service state metrics
collect number of services in state disabled, up or down.
These metrics are collected from DB with collectd DBI plugin.

Change-Id: I546d9c14f1a0c2d5e3b3c96f8908d83d52720839
2015-04-14 14:33:54 +02:00
Guillaume Thouvenin b58577dc8f Collect apache metrics.
- Enable apache module status
- Install collectd apache plugin

Change-Id: I92a8e1f0790b7473c224e7a7e17f6425902ea54d
2015-03-26 15:34:13 +00:00
Simon Pasquier 2ed4d03c73 Add collectd dependencies
This change adds the collectd packages (for Ubuntu) and the collectd
Puppet module to the LMA collector Fuel plugin.

Change-Id: Ibc376ba3bc0f99e3ad9507b3ea118bd4ed66ef25
2015-03-10 13:11:08 +01:00
Simon Pasquier 2300b2f8cb Collect OpenStack notifications
This change enables the LMA collector to receive OpenStack notifications
and store them into ElasticSearch. Note that we configure an additional
notification topic ('lma_notifications') instead of high-jacking the
topic used by Ceilometer ('notifications').
This adds a new checkbox option in the UI to enable/disable the
notification collection (default value: disabled).

Change-Id: Ie934c244e7cf58f58487ed903aeb94af2e2e0495
2015-03-05 15:20:04 +01:00
Simon Pasquier c9ee4d30d9 Initial import of the LMA collector plugin
This is an import of the initial LMA PoC code. For now, it only covers
the collection of logs (notifications will be added in a subsequent
commit).

There's been a bit of rewrite to:
- decouple the Heka configuration from the LMA collector.
- run the Heka service as non-root when possible (Ubuntu only for now
  due to file permission issues on CentOS [1]).
- adapt to version 0.9 of Heka.

[1] https://bugs.launchpad.net/fuel/+bug/1425954

Change-Id: I4472b49a25e18e06984b5b29bdce18f917137bc8
2015-02-27 14:16:49 +01:00