Commit Graph

177 Commits

Author SHA1 Message Date
Zuul
5e4daf1df1 Merge "mini-mirror: Add retries to package downloads" 2019-11-11 07:58:56 +00:00
Zuul
8ab0fe46e3 Merge "mini-mirror: Use latest aptly version" 2019-11-11 07:58:56 +00:00
Zuul
70645ea5e5 Merge "tox: Keeping going with docs" 2019-11-11 07:47:34 +00:00
Zuul
6939aee429 Merge "Nagios http POST event handler timeout" 2019-11-11 07:47:33 +00:00
Zuul
0766aa50aa Merge "Pin Patroni to v1.5.6" 2019-11-11 07:34:28 +00:00
Drew Walters
0968eeb589 mini-mirror: Add retries to package downloads
Currently, a single package download failure causes the mini-mirror
build job to fail. This change adds three retries [0] to package
downloads to circumvent intermittent download errors due to a bad
network connection.

An aptly version of 1.0.0 or greater is required for this feature.

[0] https://www.aptly.info/doc/aptly/mirror/update/

Change-Id: Ic186398a4fd93322060d5116325e8770ca92f35d
Signed-off-by: Drew Walters <andrew.walters@att.com>
2019-11-06 22:19:24 +00:00
Drew Walters
306ba07e0a mini-mirror: Use latest aptly version
Currently, the mini-mirror image job installs aptly from the standard
Ubuntu repositories. Consequently, the version of aptly used for the
Xenial build is 0.9.1 and differs from the version of aptly in the
Bionic build.

This change adds the official aptly repositories when installing aptly
in order to use the latest version and maintain consistency between the
two builds.

Change-Id: Ic2f79b0a910f0c0e3e2aff361dfe14c9b312f0f9
Signed-off-by: Drew Walters <andrew.walters@att.com>
2019-11-06 22:19:18 +00:00
John Lawrence
01210c2a09 Nagios http POST event handler timeout
The current timeout is very low and is not efficient.
A default value of 20s timeout is added.

Change-Id: I9a912776d13585a1fbd75c5fc4bc7a297b8e225e
2019-11-05 22:40:48 +00:00
gujin
3f036b5f72 tox: Keeping going with docs
1. Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.

2. cleanup the exists folder before run sphinx-build command

[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045

Change-Id: I6f53d424612af8788818d23ea43460444afc2172
2019-11-01 16:21:07 +00:00
Tin Lam
8d8c3e7158 Change image to use python 3
This patch set updates the Dockerfile to use python3 and pip3 instead
for all ubuntu images.

Change-Id: I20a6f1a28b2adadd66d42907bbec977c28f5a044
Signed-off-by: Tin Lam <tlam@omegaprime.dev>
2019-10-28 21:11:55 +00:00
Zuul
dea69e0529 Merge "Update Kubernetes to 1.16.2" 2019-10-18 03:07:26 +00:00
Steve Wilkerson
17a093839a Update Kubernetes to 1.16.2
This updates the version of Kubernetes to 1.16.2 for images that
require a corresponding client version to function correctly

Change-Id: I38de55f94ecf286ecf178d940a6723e2d8c5934b
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-10-17 16:21:44 -05:00
Steven Fitzpatrick
07b365a936 Correct openstack-exporter image build job
This change updates two instances of 'xenial' to 'bionic' which
were missed in a previous PS.

Change-Id: Icb1af8e1b76098c03f751ef265df9d6a1a731cac
2019-10-17 13:06:40 -05:00
Zuul
a6b4476db7 Merge "Python 2.7 to 3.x for openstack-exporter" 2019-10-17 16:46:09 +00:00
Zuul
6e64f3b9bb Merge "Update osh-selenium for python3" 2019-10-17 16:16:51 +00:00
Zuul
6f540115cd Merge "Include default timeout values to the nagios plugins" 2019-10-17 02:44:50 +00:00
John Lawrence
8325c8d33f Include default timeout values to the nagios plugins
This will prevent the service checks queuing up

Change-Id: I8cd69ed393c107f5126b4d9d4ce931ecce86cd8b
2019-10-16 21:50:42 +00:00
Bharat Khare
fefb878740 Python 2.7 to 3.x for openstack-exporter
Make required changes in openstack helm image of
Prometheus-openstack-exporter to move from python 2.7 to 3.x

Change-Id: I27de3d7f6b6877430751d33b940de3ead7906dc6
Co-Authored By: Steven Fitzpatrick <steven.fitzpatrick@att.com>
2019-10-16 20:33:16 +00:00
Zuul
c27fc2bba5 Merge "(minimirror) Create Bionic based minimirror image" 2019-10-16 19:28:22 +00:00
Steven Fitzpatrick
8c633a76c1 Update osh-selenium for python3
This change updates the osh-selenium image to be built
on ubuntu:bionic and to use python3 instead of python2

Change-Id: Id47448a55866dcf582b9e3801ea5f57f11068242
2019-10-16 13:35:53 -05:00
IPATOV, DENIS (di0361)
3ae2b8b445 Monitoring PVC-PV-RBD and mapping them
The script allows to monitor if PVC has associated PV and RBD associated with PV.

usage: pvc_rbd_monitoring.py [-h] [--rbd] [--pvc] [--all] [--pv] [--bin]
                                  [--config] [--debug | --silent]

optional arguments:
  -h, --help    show this help message and exit
  --debug, -d   enable debugging (default: False)
  --silent, -s  don't log into console (default: False)

monitoring settigns:
  --rbd, -r     check rbd (default: False)
  --pvc, -p     check permanent volume claim (default: False)
  --all, -a     all checks (default: False)
  --pv          check permanent volumes (default: False)
  --bin, -e     path to kubecl binary (default: None)
  --config, -c  path to kubecl config (default: None)

Change-Id: Ic5e594f37bb292b4e0ce5856ec54af53e3a5fab0
2019-10-14 13:55:08 +00:00
Scott Hussey
37f0185f65 (minimirror) Create Bionic based minimirror image
- aptly v0.9.7 switched to SHA256 package signatures, required
  by 18.04 for trust. 18.04 uses aptly 1.2.x.

- Remove dead code from Makefile that duplicated the build block
  for 'ubuntu_bionic'

Change-Id: Ib6290beac8110cc9b21fcaab6cfbdb331c3bb8c5
2019-10-03 18:44:09 -05:00
Zuul
53cdce9b9e Merge "Add kubectl to Nagios image" 2019-09-25 15:39:55 +00:00
Zuul
051b463366 Merge "Add capability to source compile dpdk/ovs" 2019-09-25 08:44:48 +00:00
Steve Wilkerson
03ed1ecfee Add kubectl to Nagios image
This adds kubectl to the Nagios image to help support plugins
where direct interaction with the kubectl cli may be required

Change-Id: Ic39cf9dfc7909bba6e5e9bda6e34cd9f7a8d0667
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-09-24 11:40:52 -05:00
Zuul
f8afe8976c Merge "Build placement in OSH-images" 2019-09-24 11:47:55 +00:00
ad620p
8a0e8ee04b Makefile and Docker file for ospurge containers
Change-Id: I88318674e11e61740d56ab24c58d460cbe438f32
2019-09-19 10:29:32 +00:00
Doug Aaser
343175b16e Pin Patroni to v1.5.6
Pin the version of Patroni to v1.5.6 to prevent any issues that may
arise with using an new, untested version.

Change-Id: Iea6b2e57b3a0319e8bcf98d23619d824cae97349
2019-09-09 17:26:46 +00:00
Jean-Philippe Evrard
d0fded66ab Build placement in OSH-images
This will use LOCI to build placement. Without this patch, it
will be impossible to have separated placement chart.

Change-Id: I99aa8ab2aa66947ac0568432dbf9eb37ccc70215
2019-09-05 16:43:43 +00:00
Zuul
e79f83d91d Merge "Add Kafka output plugin to Fluentd image" 2019-09-03 14:46:20 +00:00
Zuul
e5bc31ce65 Merge "Fix correct shebang for libvirt." 2019-09-03 14:46:19 +00:00
Steve Wilkerson
a94487cef9 Add Kafka output plugin to Fluentd image
This updates the Fluentd image to include the kafka output plugin
gem

Change-Id: I73bec2fac725eb6a242f7932f5388018dc67b179
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-08-29 10:51:50 -05:00
Zuul
df6e2e83de Merge "To enhance the nagios elasticsearch plugin" 2019-08-27 20:25:00 +00:00
John Lawrence
7817c11c31 To enhance the nagios elasticsearch plugin
Fixes include types validation,index fields changes, counts
and adding meaningful details to the critical messages etc

Change-Id: Ib8d8a87be4e0526378aa04ccd8ff5631805adfeb
2019-08-26 20:19:15 +00:00
ericxiett
0bc76c36c5 Fix correct shebang for libvirt.
Change-Id: I307434e73a9688e4b43920a4ce0f1b89f04e6aa0
2019-08-23 20:16:20 +08:00
Deepak Tiwari
aeafbf6215 Add capability to source compile dpdk/ovs
Add following capability to ubuntu bionic DPDK dockerfile:

1. Option to either compile ovs-dpdk from source (DPDK and OVS) or
   install it from package. By default package install is enabled.
   For src compile pass these build-args:
   OVS_SRC_COMPILE_VERSION and DPDK_SRC_COMPILE_VERSION.

2. Option to apply any patch to DPDK or OVS sources, in case using
   source compilation. For this ensure the patch file is kept in
   same folder as the Dockerfile.ubuntu_bionic-dpdk, and pass these
   build-args: OVS_PATCH_FILE_NAME and/or DPDK_PATCH_FILE_NAME.

Change-Id: If806b241890deff77e9ae76f27d375a2bd680b11
2019-08-22 14:47:54 +00:00
Zuul
90c6ae9259 Merge "Nagios: Updated the plugin to handle warnings" 2019-08-20 17:44:27 +00:00
Zuul
0c68e79968 Merge "Elasticsearch-s3: Add jq" 2019-08-20 15:45:06 +00:00
Pai, Radhika (rp592h)
6428bb3237 Nagios: Updated the plugin to handle warnings
The plugin only trigerred Critical for any type of Severity fired from the
Prometheus alerts.
Now the code is updated to handle the Prometheus alert of severity=warning
along with severity=page.
This should help in alarm tuning in Prometheus and Nagios.

Change-Id: I89c1880ab05b896590391db611354b069ade363a
2019-08-20 15:28:52 +00:00
Steve Wilkerson
27d7ec421d Elasticsearch-s3: Add jq
This adds jq to the elasticsearch-s3 image, providing a means to
further filter any adhoc queries executed from the elasticsearch
client container directly

Change-Id: I99dceb336b8886afacf795ad0801684041691d4a
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-08-14 17:30:15 +00:00
Jean-Philippe Evrard
a77b82de98 Freeze LOCI images with a date
In the last patch to freeze images with a date, the LOCI images
were not added, do to the length of the patch [1].

This patch fixes the absence of LOCI based frozen image by
changing the CI appropriately, in the same way as the previous
patch ([1]).

However, LOCI configuration here was most of the time relying
on inheritance, which made bugs hard to find. This cleans up
the LOCI building by:
1) Having a common abstract profile for which all the main
   zuul variables are inherited
2) Making sure each branch has content without inheritance,
   but with only limited repetitions. This uses anchors
   to reduce the information to type about _projects, as
   the project details are most likely the same as master.

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

Depends-On: https://review.opendev.org/676398
Change-Id: I6f33d5b7a33904cdd1c5ec352046ca9a9bca2aba
2019-08-14 12:08:23 +00:00
Zuul
37a0942de4 Merge "Add support for DPDK to opensuse openvswitch image" 2019-08-02 15:25:19 +00:00
Zuul
dc5514f673 Merge "Nagios: Update Nagios Core version to 4.4.3" 2019-07-31 15:33:24 +00:00
Zuul
2d6663e3c8 Merge "Add jq package for neutron image" 2019-07-31 10:27:07 +00:00
Steve Wilkerson
1b7da480c4 Nagios: Update Nagios Core version to 4.4.3
Change-Id: I16326bcecf6f5c89229d2904027c795af08d8f17
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-07-30 15:02:30 +00:00
Manuel Buil
86be43387b Add support for DPDK to opensuse openvswitch image
This patch adds a leap 15.0 openvswitch image with DPDK support by
installing both ovs and dpdk available packages. The versions are:

openvswitch 2.11
dpdk 18.11.0

Change-Id: Idc1973f5ea3dd3be2e4cf1c964cf0e60c849a159
Signed-off-by: Manuel Buil <mbuil@suse.com>
2019-07-22 17:28:11 +02:00
Zuul
c1b9bc2a4b Merge "Nagios: Updated plugin script to handle Null value" 2019-07-22 05:19:47 +00:00
chengli3
ab9cc8a78a Add jq package for neutron image
In neutron-openvswitch-init.sh script, auto_bridge_add json file is
parsed. As of now the json file is very simple, we parse it with command
'sed' and 'tr'[1]. While we are working on ovs-dpdk support, which makes
the auto_bridge_add json file more complicated(pci_id, n_rxq, etc.).

This patch is to include jq package to parse json.

[1]
dadf9946e0/neutron/templates/bin/_neutron-openvswitch-agent-init.sh.tpl (L40)

Change-Id: I678cdaf4a7f2072d5dd9bb8618e0beb8f3a05655
2019-07-20 17:01:03 +08:00
Zuul
5b14a927d9 Merge "Nagios: Add elasticsearch python clients to image" 2019-07-19 18:10:30 +00:00
Pai, Radhika (rp592h)
28ccb72c49 Nagios: Updated plugin script to handle Null value
This script was earlier giving output as OK for null values in the
metrics dictionary variable.
Edited the script to handle a null "metrics" dictionary.
Updated the indentation

Change-Id: I760d6ac4fc5341361d064a8a15f6e44287d48f40
2019-07-19 15:58:19 +00:00