Commit Graph

151 Commits

Author SHA1 Message Date
Andreas Jaeger 5d2a1e6fad 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: Ifa1a1b5f771da2d06fbddad6a7f2c9295ab08ad8
2019-12-18 19:39:53 +01:00
Ian Wienand a7a3388e8e Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ibde69865f6443a1641db67b70dd0ab1ea72586e0
2019-03-24 20:33:37 +00:00
Simon Pasquier bb4662bfc4 Fix Puppet tests + Samba package version
Change-Id: I5e07c63ea56ca20630a02a487b0fdb9a9088cc12
2017-03-29 10:33:39 +02:00
Swann Croiset 859ed811b4 Adjust the External Command Check Interval
Nagios will check for external commands as often as possible.

The number of passive checks have been significantly increased and
Nagios can be the bottleneck with 10s interval with large deployments.

Change-Id: Ic7b38203d6641497f5c8d50076903bd7226ed679
2017-02-14 10:24:18 +00:00
Swann Croiset abe21e9c81 Create the dashboard link when upgrading from 0.10.3
Change-Id: I50fd93e686a785ce4b74be83cdabd4f7d4aa313f
2017-01-27 16:15:01 +01:00
Swann Croiset 8e1ae3c683 Reduce the concurrent execution likelihood of Puppet runs
The patch removes the crontab at the begining of deployment and increase
the frequency of the cron job responsible to update Nagios.

Change-Id: I095540c36b3f0c0c318ae91702b5671e3122e8c2
2017-01-27 16:14:52 +01:00
Swann Croiset 7a4a33c540 Remove previous Nagios services
Change-Id: I0a17c441389e51fd6bd2e3fd0b29fba81e17ab53
2017-01-27 16:14:32 +01:00
Swann Croiset d51e16ffe6 Fix the contact_groups used for hosts
Change-Id: Ie014da3b91c62ddddd24289252df5fdddfeca662
Closes-bug: #1650543
2017-01-16 10:17:09 +01:00
Jenkins a72d1834d6 Merge "Enforce literal strings in Hiera YAML file" 2017-01-11 09:48:36 +00:00
pangliye b943475c1b Fix typo host.pp
Change-Id: I1e0dc58da06b6fca0104e2f61171407dd6d09517
2017-01-10 09:56:21 +00:00
Simon Pasquier 08dbf4bd38 Enforce literal strings in Hiera YAML file
Change-Id: I4eb32dee32f7a140c31d46691fc032e92556516e
Related-Bug: #1631544
2017-01-10 09:52:01 +01:00
Jenkins 4eb1f2f098 Merge "Fix typo nagios.pp" 2017-01-04 09:18:17 +00:00
Swann Croiset 2720efe64a Remove the dummy check if necessary
The dummy check is configured when LMA collector plugin is not
installed, this dummy check has been added to allow LMA infrastructure
alerting plugin to be tested alone by the CI.

Change-Id: Ifaec285e2913f8a382e26c363acc15da0aee0eb0
Closes-bug: #1638546
2016-11-02 13:54:30 +01:00
pangliye ce957db3a9 Fix typo nagios.pp
Change-Id: I9abc17831105c0da47b02b12ac90d69c00cc69cc
2016-11-02 17:24:22 +08:00
Swann Croiset 7c3997b8b9 Configure logrotate for WSGI logs
Change-Id: I1f0692d85c24687d3a51ee09ce082e3544fd7317
Closes-Bug: #1635222
2016-10-25 15:04:32 +02:00
Swann Croiset f9741b286f Support alerting attribute per AFD
Change-Id: I417b493fde8fc0d9b288a1a92463c159b3bd0fd3
2016-10-12 13:59:31 +02:00
Swann Croiset 8ee53ec594 Skip service configuration for remote alarms
When an alarm contains metric(s) with collected_on:'aggregator',
the corresponding Nagios service check is skipped.

Change-Id: I758e7bd412a68314e59ec86a40370661525a5af9
2016-10-10 16:30:32 +02:00
Swann Croiset 07526249a7 Rename AFD and GSE alerting attributes
Depends-On: I30b16d7ef159242f9984b54a8ae344fbf6560314

Change-Id: I7f141fb04edd4a1837f188347d2bf478fe5241c6
2016-10-06 18:40:21 +02:00
Guillaume Thouvenin f2a441bf82 Allow to pass a list of LDAP servers
Change-Id: Ie4fcd0e20132dd040d465199e77668d4b983b3bc
Closes-Bug: #1624002
2016-09-28 15:05:39 +00:00
Swann Croiset 58ebfac2a4 Fix Nagios service names for GSEs
Change-Id: If62ee95acda21eb9979b65b071626a2ed257fd79
2016-09-22 13:41:59 +02:00
Jenkins c3daf0333f Merge "Support activate_alerting and enable_notification properties for GSE" 2016-09-20 07:54:54 +00:00
Jenkins 3d223a2f65 Merge "Support activate_alarming and enable_notification" 2016-09-20 07:54:49 +00:00
Jenkins cfa2118e71 Merge "Alarming refactoring" 2016-09-20 07:54:43 +00:00
Guillaume Thouvenin bccb10031c Modify the cron job to use specific version of the plugin
This patch modifies the cron job used to update the nagios configuration
to solve a bug that occurs when several version of the plugin are
available. This happens after an upgrade procedure.

Change-Id: I41831e43707e7ca5e88fd0a329508ad4813d26bb
Closes-Bug: #1622628
2016-09-15 16:37:10 +02:00
Swann Croiset 9d5c256e13 Support activate_alerting and enable_notification properties for GSE
blueprint: alarming-refactoring
Change-Id: Ifdc6d4f8ae273af0db354cbc7c57c0ae5aa70808
2016-09-15 11:10:11 +02:00
Swann Croiset 086b96b7c6 Support activate_alarming and enable_notification
With activate_alarming=false, AFDs are not configured in Nagios,
if 'activate_alarming' is not set the AFDs are configured.

if AFDs are configured and 'enable_notification' and is true, the
notification are enabled.

Change-Id: I561fae6e7e62f237bee58771c91c6344332f239d
blueprint: alarming-refactoring
2016-09-13 23:21:05 +02:00
Swann Croiset 18788ae9f8 Alarming refactoring
blueprint: alarming-refactoring
DocImpact

Depends-On: I8c053f2fbc4b4b85958be8413919f9bf1b168027

Change-Id: I611866a4c450d8bd3c4cf8d1237ba91b1bf911c6
2016-09-13 18:58:01 +02:00
Simon Pasquier 8029745b1e Fix lint issue in lma_infra_alerting::nagios
Change-Id: I3ec7ab31e1514d85e30037ba5d1b4cb4ea102717
2016-08-24 11:36:41 +02:00
Simon Pasquier 49dc686117 Pin the puppetlabs_spec_helper version
The latest version of puppetlabs_spec_helper (1.2.0) depends on
rubocop-rspec which itself requires at least Ruby 2.2.

Change-Id: Icdb6277be619d5aa8e2a1a4275df56e0ea9d4222
2016-08-24 11:19:24 +02:00
Guillaume Thouvenin c0cf72fccc Modify the check of the hostname in SSL certificate
This patch modifies the check of the hostname in the SSL certificate
to support certificate with wildcard.

Change-Id: Ib2da2fd4bcb103ca9bbe1a892afdb4cf01c59b05
Closes-Bug: #1608665
2016-08-17 09:25:12 +02:00
Guillaume Thouvenin 57e43e3a0a Fix issue with LDAP protocol radio button
This patch modifies the label of the radio button used for selecting
the LDAP protocol to make it unique across all the StackLight plugins.

Change-Id: I9fff175af82a5e6bab8666fa5f8c8f1b64926b0c
Partial-Bug: #1599778
2016-08-09 16:32:30 +02:00
Simon Pasquier 4bf5696b46 Configure the management gateway on the nodes
Without this change, the nodes are configured to use the Fuel node as
their default gateway. Note that the code path is different between MOS
8 and MOS 9 because of this bug fix [1] that hasn't been backported on
MOS 8.

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

Change-Id: I13a504c03091119286b993c626db2379eb27aa29
Closes-Bug: #1583994
2016-08-01 16:25:11 +02:00
Simon Pasquier de3cc5e663 Add ordering constraints between Apache and VIPs
This ensures that the Nagios Apache service won't start until the VIP
interfaces are up and running. This is required because the Apache OCF
script needs to tweak the ARP parameters of the VIP interfaces.

Change-Id: I4cc7b7db06cda31064b22e0283af478228202b54
Related-Bug: #1594722
2016-07-21 14:21:54 +02:00
Swann Croiset 3ce87b3aac Fix SMTP without authentication
Closes-bug: #1558140
Change-Id: I1272414be40d79f2f32c937a0b6e7c852b649af5
2016-07-19 09:51:51 +00:00
Jenkins 9195f763bd Merge "Configure the management gateway in the network ns" 2016-07-19 09:36:38 +00:00
Jenkins b79b11a3ee Merge "Fix resource colocation for MOS 8" 2016-07-19 09:36:15 +00:00
Jenkins 4783d0776c Merge "Remove .gitignore to be consistent" 2016-07-19 09:35:42 +00:00
Simon Pasquier 2caef603e2 Configure the management gateway in the network ns
Since Apache runs in its own namespace, it has no default gateway and
can't connect to remote services such as LDAP if those aren't in the
same subnet. As long as one of the 2 VIP addresses is located on the
management network, we should configure the management vrouter as the
default gateway in the infrastructure_alerting network namespace.

Note that it solves the issue when network templates are used and none
of the VIP addresses is located on the management network.

Partial-Bug: #1600167

Change-Id: I61dcdddc92aa705839ff10d841bbcfdc36d29caf
2016-07-18 16:44:52 +02:00
Simon Pasquier 2a3b6fe1ab Fix resource colocation for MOS 8
This change fixes the declaration of resource colocations for VIP
addresses and Nagios/Apache. The dependent resource must be listed
first in the array (which isn't obvious!).

Change-Id: If6df9dfa31fa07bd2a06f0d07d92f2a9aa0e3c88
Closes-Bug: #1603319
2016-07-18 14:45:16 +02:00
Swann Croiset c1febe55ff Run Nagios in the default network namespace
This is useless to run Nagios in a dedicated namespace and this way, Nagios is
able to communicate with external networks (eg. to send SMTP notifications).

Change-Id: Ica543c29412f109db11dc3bd18ae9e8cecdf1817
2016-07-13 14:34:23 +00:00
Jenkins a6b9c585b2 Merge "Use standard HTTP ports" 2016-07-12 10:02:43 +00:00
Simon Pasquier 2fc115e083 Remove .gitignore to be consistent
And it also avoids embedding unwanted modules in the plugin package.

Change-Id: I86a8c1cc5118ab5792b50827ed16245489e6c3ed
2016-07-11 10:04:49 +02:00
Guillaume Thouvenin 8b150777aa Configure Pacemaker primitives instead of clones
Change-Id: Id4167b5a4d77ff412694a87bc2978d0cceb5ea8f
2016-07-08 10:42:06 +02:00
Swann Croiset 8e13224349 Use standard HTTP ports
The Nagios UI uses now port 80 for HTTP or 443 for HTTPS.
The Nagios WSGI application sticks always with HTTP port 80.

Change-Id: I39d22068a6a50d2b1d7ed7eff8b788b1fe204cdc
2016-07-07 11:21:44 +02:00
Swann Croiset 6e3df57123 Support custom hostname
Change-Id: Icdae6f5493539cc586edf0bb886f63960c6329e3
Closes-bug: #1588157
2016-07-06 19:07:55 +02:00
Jenkins a2081477e6 Merge "Retry to configure ARP filter and source-based routing" 2016-07-05 14:27:06 +00:00
Jenkins d5f9f6125c Merge "Specify host_notification_commands with SMTP" 2016-07-05 14:21:18 +00:00
Jenkins 807c00fcfe Merge "Fix the script responsible to update Nagios configuration" 2016-07-05 14:19:19 +00:00
Swann Croiset e54c3d1e86 Fix the script responsible to update Nagios configuration
Nagios re-configuration relied on the existence of the file
/etc/hiera/nodes.yaml but this file is not more present.

The script relies now on both files astute.yaml and deleted_nodes.yaml
for MOS-9 and still relies on nodes.yaml for MOS-8.

Closes-bug: #1596830

Change-Id: I3ab8ac72d098b43c009a4fc8a7dfb72fab9ca5d4
2016-07-05 14:18:21 +00:00
Jenkins 78ebecf56f Merge "Use Basic authentication for Kibana" 2016-07-05 12:41:59 +00:00