Commit Graph

108 Commits

Author SHA1 Message Date
Andreas Jaeger 16f5f4cf44 Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

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/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: I6b38110f2d230006cd9cce1da5d2cf76cf470d35
2019-12-18 09:54:55 +01:00
OpenDev Sysadmins 617e225baa OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:51:29 +00:00
Peter Razumovsky bd90fc114a Remove elasticsearch code from stacklight repo
Elasticsearch moved to fuel-ccp-elasticsearch repo, due
to collisions between similar docker image names, remove
elasticsearch code from here.

Change-Id: Ia8c74a335ffe9355e4c033d0998080ce56fb1d8f
Depends-On: Ic39eb474f42b25e55772cb95edd362e4be5623c3
2017-03-16 11:20:01 +00:00
Sergey Reshetnyak f602a189a3 Install openjdk from backports repo
Change-Id: I85c88f38fe8a5b74c943324884b9d61b33596879
2017-02-02 13:21:31 +03:00
Andrey Pavlov e0c865b5a2 Fix influxdb without grafana
Change-Id: I50a780bf98f1df8a89f62ab45268a9308630ed67
2017-01-25 05:44:12 +00:00
Bartosz Kupidura 0d1024c807 Start using grafana from fuel-ccp-grafana
Change-Id: Ic8b059b95c0956a92abfc9fc754071a60c66649e
Depends-on: I89540f8dd656dd930c8b4d999aa195a295592ba4
2017-01-11 16:08:56 +01:00
Proskurin Kirill 9bc92a39dc Removed unneded probes. Merry Xmas!
Change-Id: Iff4ddf85a53d5c26b2f0127842c6f77e09836562
2016-12-26 13:12:33 +00:00
Andrey Pavlov 5458369061 Use "address" func when it's possible
Change-Id: I8de5b5edcb4a2c78b8fd5d64bb2782ee807f6948
2016-12-05 08:54:36 +00:00
Jenkins 17741ea703 Merge "Adding minimal dsl version for services" 2016-11-22 10:59:49 +00:00
Andrey Pavlov c50a942322 Adding minimal dsl version for services
Change-Id: I4a0c00b40b2af4f213daf7e43419dd46951fc4bc
Depends-On: Iddb02f88e47e53f8f7233f76ec1afe161c185a86
2016-11-21 12:31:29 +00:00
Sergey Lukjanov fa3fb492a6 Add LICENSE file
Change-Id: Ie422c53270521e0e1e8eb4f43edf690e3c003270
2016-11-19 22:50:56 -08:00
Yuriy Taraday a7faada27b Switch hindsight to 9.0-latest snapshot repo
9.0-2016-09-02-140322 is already gone, so let's use 9.0-latest instead.
It should always point to latest in foreseeable future.

Change-Id: I3c20c935b15904bdde8caeadd14532477a9420c1
2016-11-07 16:34:03 +03:00
Andrey Pavlov 5d9cbfb7c7 Ports configuration refactoring
Ports configuration has been changed:

before:

  port: 123:3333

after:

  port:
    cont: 123
    node: 3333

Change-Id: I76642c407fd4ca00f711212b916f8cc4fbc285e2
Depends-On: I54ab8dd02fc88b821a1f0d05c08f98b618730150
2016-10-26 17:37:57 +00:00
Aleksandr Mogylchenko 50b30be50c Migrate liveness check to new format
Change-Id: Ic8f7b67cc7188fd4a2898dd5c58789132d41afa0
Depends-On: I920029d4cb14981427e7f978778506fb0b69c435
2016-10-26 15:01:05 +02:00
Andrey Pavlov d1cb178c91 Changing "daemonset" flag in service def to "kind" param
We want to alling with k8s definitions and it would be more convenient
to have one param instead of several flags.

Change-Id: I378f7fd3e89ac12e9f6d16fca3591d09ff33d4f9
2016-10-25 10:21:22 +00:00
Yuriy Taraday 53c573e146 Convert parent image specification to image_spec calls
Change-Id: I619255d0efed4ba85bb622fb5c78690f68afddfb
Depends-On: I18281bdb41e91cd5c9160055f1617d7ee9d3b548
2016-10-18 12:53:32 +03:00
Yuriy Taraday bcb332548d Convert all stacklight configs to nested
Change-Id: Ie12b0fdcc890c71893826f52560b5ab5117ca132
2016-10-07 18:25:30 +03:00
Andrey 3f8ea9410b Using "node_name" instead of custom env vars
Now we have "node_name" variable to render config files

Change-Id: I6ff108cf769da846fd878a3f0fb221df2854917f
Depends-On: I8ebbbd94803ccb9a8d13eede2db7db8b13673937
2016-09-29 07:17:13 +00:00
Éric Lemoine 9915c8ad1b Fix typo in Grafana graph
This fixes a typo in a Grafana graph.

Change-Id: Icdb1287d2b7f6acc99680de447d8c28eff63c645
2016-09-26 09:01:42 +02:00
Éric Lemoine 967f210a43 Fix network graphs in Grafana
This commit fixes the network-related graphs in Grafana. The
network statistics provided by Snap are cumulative values.
For example, bytes_recv is the number of bytes received
since the machine boot. For that reason, we need to
configure the Grafana network graphs to use the derivative()
function in SELECT queries.

Change-Id: Icbf5a60c7bc3a34972a4045d454e8ab40917e391
2016-09-23 13:05:18 +00:00
Éric Lemoine 6941106f40 Use base-tools as the base for alarm-manager
In I7b2b98f379c49bdbf23177a038bdca9433d1c6e5 reviews
suggested to use "base" rather than "base-tools" as the base
image. This commit reverts that. Using "base" forces to add
dependencies such as "dumb-init", which should really not be
the responsibility of authors of non-base images.

This commit also changes the way we specify versions of
Python dependencies in requirements.txt. Fixing versions
using `==` allows for more repeatable builds, but it also
means that we will quickly rely on old versions and will not
be able to guarantee that our code works with the latest
versions of our dependencies. Using `>=` is also consistent
with what we currently use in base-tools/requirements.txt.
requirements.txt was updated using openstack_requirement's
update-requirements tool.

Change-Id: I60d0d8e761da717e2f73485bae53f1e11e3aebba
2016-09-22 09:27:44 +00:00
Olivier Bourdon 4b0617cd24 Implement alarm-manager
alarm-manager is responsible for watching a configurable
location within the filesystem where the user can put
a YAML file which defines alarms. When change/creation is
detected, the YAML file is checked for proper contents
and if verification is successfull, LUA code is generated
as well as LUA configuration files. Hindsight will pick
up those changes after a certain period of time and
provides proper alarming to the platform.

Change-Id: I7b2b98f379c49bdbf23177a038bdca9433d1c6e5
2016-09-21 19:54:39 +02:00
Jenkins e1e524dfc5 Merge "Add a "container_name" field to OS services in ES" 2016-09-21 12:43:06 +00:00
Jenkins cc07fd9d42 Merge "Fix YAML content for proper CI acceptance" 2016-09-21 11:31:41 +00:00
Olivier Bourdon 6fcfb2d349 Fix YAML content for proper CI acceptance
Due to the fact that yamllint utity is now run
on each YAML file, this change fix the current
error for line being too long

Change-Id: If35a7fc823c5d13a0dbdade6900be6ee51b1a28f
2016-09-21 11:23:59 +00:00
Jenkins 92a334d84f Merge "Fixed inconsistency with SeverityLabel in ovs" 2016-09-21 08:23:37 +00:00
Jenkins 664014e099 Merge "Add cluster name to afd annotations" 2016-09-20 15:12:01 +00:00
Proskurin Kirill 6811aad561 Add a "container_name" field to OS services in ES
This allows us to search all logs from a specific container.

Change-Id: I6cf358e813d90d9fc23c5dfc29b36c48f79daca5
2016-09-20 12:06:30 +00:00
Proskurin Kirill eb36e6d794 Fixed inconsistency with SeverityLabel in ovs
Change-Id: I53182a4178095d2337fb8ebf795c209c7ec9668e
Closes-Bug: 1625224
2016-09-20 12:03:51 +00:00
Jenkins e411000414 Merge "Remove unneeded ENV, we already have it in base image" 2016-09-19 16:30:54 +00:00
Proskurin Kirill 58f2d78edb Remove unneeded ENV, we already have it in base image
Change-Id: Ibced400715943fb46f573dd50b01794bf03e375b
2016-09-19 14:00:50 +00:00
Éric Lemoine 8f98b80f21 Add cluster name to afd annotations
This change does two things:

* rename variables in Lua code
* add a "cluster" dimension to afd annotations. This is required
  to display specific annotations in Grafana dashboards

Change-Id: Iebafb5a63034bec937afedd2697b4a4cce964321
2016-09-19 12:43:12 +00:00
Sergey Lukjanov 1e3b0d8053 Yaml linter execution and config improved
Change-Id: Id06bb20d5e6c8803b5890788e803f0fa3d893d75
2016-09-16 19:56:25 -07:00
Jenkins 078796c566 Merge "Add alarm annotations in Grafana dashboard" 2016-09-16 10:25:41 +00:00
Jenkins 710e0c01bb Merge "Add Lua code for alarming" 2016-09-16 10:25:27 +00:00
Jenkins c13be0d39d Merge "Add cronjob for elasticsearch indices cleanup" 2016-09-15 22:46:37 +00:00
Proskurin Kirill 89567d8d14 Add cronjob for elasticsearch indices cleanup
Elasticsearch pod now has a cron container to run
some jobs for it.

Change-Id: Ia299e662681174512b0ad70b932caf66448b4cea
2016-09-15 14:06:53 +00:00
Jenkins ba90f98fbf Merge "Unhardcode elasticsearch and kibana version" 2016-09-15 12:42:28 +00:00
Éric Lemoine 86cfb80382 Add alarm annotations in Grafana dashboard
This commit adds alarm annotations to the Grafana System
dashboard. Annotations are displayed when the node status
changes (e.g. OKAY -> WARN).

Change-Id: I1eca90eb574ba3e985566709cc8cc353209da7d2
2016-09-15 12:14:21 +00:00
Éric Lemoine ed5934cd36 Add Lua code for alarming
This commits adds Lua code for generating AFD (Anomaly and
Fault Detection) metrics based on the evaluation of alarms.
The Lua code was copied from the lma_collector Fuel plugin
[*], with changes to accomodate Hindsight and the versions
of lua_sandbox and lua_sandbox_extensions we rely on.

In the future we plan to move this Lua code in its own Git
repository. And the Hindsight Dockerfile will install the
Lua code in the image using Debian packages.

The afd_node_default_cpu_alarms.lua and
hindsight_afd_node_default_cpu_alarms.cfg.j2 files will be
removed. Instead the operator will configure alarms through
a YAML file, and we will use a sidecar container for
generating Lua tables including alarm definitions and
corresponding plugin configuration files.

[*] https://github.com/openstack/fuel-plugin-lma-collector/

Change-Id: If182c3a6453f7bf8b72f03af56a14ace109eaa68
2016-09-15 12:13:27 +00:00
Proskurin Kirill d865e94bb1 Unhardcode elasticsearch and kibana version
Plus update them to the recent ones.

Change-Id: Ieee08bd4c261f17b3cf30782861b840124a9575f
2016-09-15 10:46:43 +00:00
Éric Lemoine 8149af754f Fix typo in Hindsight InfluxDB Lua code
Change-Id: If3d28328b2803d998bde877c008758b095876096
2016-09-14 17:37:13 +02:00
Jenkins 103d426993 Merge "Add support for multi-value metrics" 2016-09-14 06:54:11 +00:00
Éric Lemoine a6f365dfa5 Add support for multi-value metrics
This commit adds support for metrics with multiple values.
Multi-value metrics will for example be needed for alarming.

Change-Id: I496fa1925c389f2638cf9b99243fbf45d7d2dad7
2016-09-13 13:21:31 +00:00
Dmitriy Ukhlov 1227114cd7 Adapt to new fuel-ccp rendering approach
Change-Id: I11e2e20546f82d289d7689fd6ddbb3f921e3f273
2016-09-13 16:12:49 +03:00
Olivier Bourdon aa02be1d5c Add SMART data to Grafana System dashboard
Removed decimals part for number of hours in power on state
Ran format-dashboards.py script on updated JSON file

Change-Id: Ib2b8bcde7c3d01908d39b5bdb55b6a6062005f1a
2016-09-13 06:33:40 +02:00
Olivier Bourdon 0e7c59917e Add SMART monitoring
Note that we can not gather SMART infos from the host within
VMs
See https://www.smartmontools.org/wiki/FAQ
and more particularly the
DosmartctlandsmartdrunonavirtualmachineguestOS
sub-entry

Change-Id: Idee7d48e45a5a388061d196d1e07c55404780085
2016-09-13 06:33:40 +02:00
Éric Lemoine 7b9a836eb6 Update Snap
This updates the Snap Dockerfile to use a new version of
Snap. This version includes the following fixes:

* https://github.com/intelsdi-x/snap-plugin-collector-smart/issues/27
* https://github.com/intelsdi-x/snap/issues/1164

Change-Id: I2d914ac0b075e11d5b609a5bd69084905a9485c4
2016-09-13 06:33:21 +02:00
Jenkins b968bc39b0 Merge "Use date_time lib for lpeg grammar parsing" 2016-09-12 07:59:44 +00:00
Jenkins f0e0f579ef Merge "Make the Heka build less fragile" 2016-09-08 21:36:06 +00:00