2082 Commits

Author SHA1 Message Date
Zuul
741758746a Merge "openvswitch: add vswitchd dependency on db" 2019-10-28 19:43:59 +00:00
Sphicas, Phil (ps3910)
e4538f714a openvswitch: add vswitchd dependency on db
The openvswitch-vswitchd pod should not start until there is a Ready
openvswitch-vswitchd-db pod on the same node. This change adds the
appropriate dependency to cause it to wait.

Change-Id: I5c827971c99639d2f1c3a24a1761524b3a165421
2019-10-24 10:41:46 -07:00
Zuul
5fdf050b12 Merge "Added missing OSD_WEIGHT variable for Ceph OSD chart" 2019-10-24 17:27:12 +00:00
Zuul
24c1cd4514 Merge "Database backup fix" 2019-10-23 19:16:28 +00:00
Oleksii Grudev
4d808243f0 Fix search of max sequence number
It was observed that sometimes during
galera ckuster restart the node with highest
seqno is determined incorrecly. After investigation
it was found that max function is invoked on the
list of string values which can lead to incorrect results.
This patch performs casting the value to integer before building
list of seqnos hence max function will return correct result

Change-Id: I604ec837f3f2d157c829ab43a44e561879775c77
2019-10-23 15:39:47 +03:00
Zuul
1c9cc1cb1d Merge "Update openstack-exporter chart to use new image" 2019-10-22 15:59:42 +00:00
Steven Fitzpatrick
13f99c1cfa Update Zuul Selenium to use Python3
This change updates the deploy-selenium playbook
to install Selenium using pip 3.

The shell scripts which call our selenium test python
files have been updated to use python 3.

Change-Id: I7fc82ecd830d460639c718614ce1cca9fd4d1953
2019-10-21 18:27:41 +00:00
Zuul
56a743e061 Merge "Kill libvirtd proc if any before start libvertd" 2019-10-21 15:43:00 +00:00
Bharat Khare
020a9d9593 Grafana gridPos y key resolves true in chart json
This change is to fix the issue where Kubernetes Calico dashboard
is not loading in grafana dashboard.
Found the behavior that YAML reserved keys like yes/no/y/n evaluate
to true and false in Ruby hash,so the gridPos key like 'y:' converts
to 'true:' in charts json causing the dashbaord not loading.
Hence updating gridPos panel key (y:) by wrapping it with quotes
like ('y':) to resolve the issue.
There's actually a long list of YAML reserved words with this
behavior like below-
y|Y|yes|Yes|YES|n|N|no|No|NO
|true|True|TRUE|false|False|FALSE
|on|On|ON|off|Off|OFF

Change-Id: I56b01f1312efa8de90def349518c618affb5de85
2019-10-21 14:58:58 +00:00
Steven Fitzpatrick
0a5a6caee6 Update openstack-exporter chart to use new image
This change updates the prometheus-openstack-exporter
chart to pull an updated image which runs on python 3.

Co-Authored By: Bharat Khare <bk552w@att.com>
Depends On: https://review.opendev.org/686252
Change-Id: I4db500ba395b1d8417491bcde82be95a039eeb4f
2019-10-21 09:22:24 -05:00
Daniel Pawlik
081c618cf9 Added missing OSD_WEIGHT variable for Ceph OSD chart
One variable was not defined so on generating the command,
crush map was not created.

Change-Id: I37be1803f783ea0cf34876c6f9ef3a0bb39ff2a1
2019-10-21 08:15:08 +00:00
Zuul
8314c53030 Merge "Update kubernetes-entrypoint image reference" 2019-10-21 07:16:29 +00:00
Sphicas, Phil (ps3910)
d607caf6e1 Prometheus fix label mismatch for netpol
Ensures that the label selectors match the labels actually applied to
the pods, to allow network policies to be applied correctly.

prometheus-kube-state-metrics deployment:
    application=kube-state-metrics

prometheus-process-exporter daemonset:
    application=process_exporter

Change-Id: I964bac9e85db28c8af926158f13c99883029ac84
2019-10-19 00:06:09 +00:00
Steve Wilkerson
b50fae62a4 Update kubernetes-entrypoint image reference
This updates the kubernetes-entrypoint image reference to consume
the publicly available kubernetes-entrypoint image that is built
and maintained under the airshipit namespace, as the stackanetes
image is no longer actively maintained

Change-Id: I5bfdc156ae228ab16da57569ac6b05a9a125cb6a
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-10-18 18:20:11 +00:00
Zuul
0aad14a6f9 Merge "OSH-Infra Selenium Tests Refactor" 2019-10-18 17:04:02 +00:00
Steven Fitzpatrick
b3d2a178ad Update Nagios Helm test to use python3
This change updates the selenium_tests container image
to one which installs python3.

The selenium-test.py template file has been refactored
to match the structure of the selenium tests in
/tools/gate/selenium

Depends On: https://review.opendev.org/688436
Change-Id: I49e0cfd05f27f868864a98e8e68ffe79e28c0f03
2019-10-18 13:31:29 +00:00
Huang, Sophie (sh879n)
f7168620ae Database backup fix
This patch set fixes the calculation of how long a database backup
has be taken. In the existing code, the time difference is rounded
to days, even a second less than 4 days will be rounded to 3 days.
This effectively allows archives to be kept for one additional day.

The new calculation and comparison is based on seconds.

Change-Id: I5547e923538ddb83f409b1e7df936baf664e717a
2019-10-17 17:21:02 -05:00
Zuul
b661ce95df Merge "Allow multiple containers per daemonset pod" 2019-10-17 21:39:11 +00:00
Zuul
2e0c01afb2 Merge "Update Grafana Helm test to use python3" 2019-10-17 21:39:10 +00:00
Huang, Sophie (sh879n)
4374c3fd74 Kill libvirtd proc if any before start libvertd
In the startup script of libvirtd, existing libvirt process,
if any, is killed before new process is created.

Change-Id: If0276353e38896962697a3f451d25d4930745c53
2019-10-17 21:20:52 +00:00
Steven Fitzpatrick
c2f3486ca4 OSH-Infra Selenium Tests Refactor
This change would update the LMA selenium tests to share a more similar
structure. Additional logging is introduced, and the scripts will fail
gracefully if the targeted service cannot be reached.

Change-Id: Ief7f69b952b2f0e33b7b738bb76083247766f662
2019-10-17 18:23:42 +00:00
Steven Fitzpatrick
998885c330 Update Grafana Helm test to use python3
This change updates the selenium_tests container image
to one which installs python3.

The selenium-test.py template file has been refactored
to match the structure of the selenium tests in
/tools/gate/selenium

Depends on: https://review.opendev.org/688436
Change-Id: I4ece5c71df18c21f0cdff536140f63881ff24e30
2019-10-17 11:39:26 -05:00
Zuul
a0315caffa Merge "Update Kubernetes version to 1.16.2" 2019-10-17 16:21:23 +00:00
Gerry Kopec
5b32e6e309 Allow multiple containers per daemonset pod
Remove code that restricted daemonset pods to single containers.
Container names will default to name from helm chart template.
Required for nova cold migrations to work.

Story: 2003876
Task: 26735
Change-Id: Icce660415d43baefbbf768a785c5dedf04ea2930
Signed-off-by: Gerry Kopec <Gerry.Kopec@windriver.com>
2019-10-17 14:31:08 +00:00
Sphicas, Phil (ps3910)
ef58054dff helm-toolkit: netpol requires DNS-1123 names
Ensures that network policy names do not have underscores.

Change-Id: I09faa30b7402daa6f8ff8591d17040e2f94d1c20
2019-10-17 01:29:42 +00:00
Steve Wilkerson
c9acad238c Update Kubernetes version to 1.16.2
This updates the kubeadm and minikube Kubernetes deployments to
deploy version 1.16.2

Change-Id: I324f9665a24c9383c59376fb77cdb853facd0f18
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-10-16 21:54:53 +00:00
Angie Wang
9090278f46 Gnocchi: Add TLS support for public endpoint
This commit adds the capability for Gnocchi chart to
support TLS on overriden fqdn for public endpoint.

Change-Id: Ic008934641540968927f5961783ed45b835e4d34
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2019-10-16 21:48:19 +00:00
Zuul
7a165f5772 Merge "Blacklist sphinx 2.1.0 (autodoc bug)" 2019-10-16 19:25:43 +00:00
Chinasubbareddy Mallavarapu
6a7ba1cef1 [ceph-osd] fix partprobe issue after deleing the partitions
This is to fix partprobe issues after deleing the repsective partitions.

Change-Id: If9e9ffaf1a2610f86356e02f5f12cb691e66c756
2019-10-15 10:11:05 -05:00
Kabanov, Dmitrii
8acb9e0f39 [ceph-client] Remove explicit call to Python2
The PS removes the explicit call to Python2 from _checkPGs.py file.

Change-Id: If8cf5b9e1347997bb5b2fe13155d377736f288da
2019-10-14 23:42:27 +00:00
Tin Lam
1b0190765d Ensure python scripts are py3 compatible
This patch set is one of many to migrate existing code/script to be
python-3 compatible as python-2 is sunsetting in January 2020.

Change-Id: I4a8fa4c07fd36583716b5ccfdcb0bcdc008db3e7
Signed-off-by: Tin Lam <tin@irrational.io>
2019-10-14 21:26:02 +00:00
Zuul
2b6581d88f Merge "Fix python script to be py3 compatible" 2019-10-14 21:01:03 +00:00
Zuul
d5916a615c Merge "Fix indentation" 2019-10-14 20:26:08 +00:00
Tin Lam
4a9f9a1c77 Fix python script to be py3 compatible
In Python 3, sys.maxint is removed per [0]. This patch set replaces
sys.maxint with sys.maxsize.

[0] https://docs.python.org/3.1/whatsnew/3.0.html#integers

Change-Id: I267fa6700558b69d3e646838b933e3289067a621
Signed-off-by: Tin Lam <tin@irrational.io>
2019-10-14 19:04:18 +00:00
Zuul
9622205f1a Merge "Add default netpol to LMA charts" 2019-10-14 17:21:54 +00:00
Tin Lam
6e4785d189 Fix indentation
The network policy helm toolkit function currently produces an
incorrectly indented policyTypes in the network policy manifest.
This patch set redresses that and also removes some additional
blank lines in the manifest.

Change-Id: I0a4d5735a1a0ff13c317ffd95688973cc1cc3dfd
Signed-off-by: Tin Lam <tin@irrational.io>
2019-10-14 16:26:10 +00:00
Tin Lam
4e7c9ac479 [PowerDNS] Gate fix
V4.2 of powerDNS removes the setting out-of-zone-additional-processing
causing the gate to fail. This patch set pins it back down to 4.1.X so
the gate works again.

Change-Id: I52aaa75c51403c5346720e580b5d59110917621b
Signed-off-by: Tin Lam <tin@irrational.io>
2019-10-12 14:41:40 -05:00
pengyuesheng
a9bebfce58 Blacklist sphinx 2.1.0 (autodoc bug)
Change-Id: I6d539493a7388b250688dba780ff9351d99ad732
2019-10-10 15:47:20 +08:00
Phil Sphicas
b4004c58bb ceph-mon fix logging when no zombie mons found
Change-Id: Ie45320bce6945cc1e3ea7ac4d6f46a1e50abf621
2019-10-08 22:42:01 +00:00
Hemachandra Reddy
926348fe24 Add DPDK check for readiness probe
This change makes sure that "ovs-vsctl get Open_vSwitch .
dpdk_initialized" is true before making the pod ready

Change-Id: Ie88f74a1e7a84afb3fbca55b500009255b4f6991
2019-10-07 16:08:13 +00:00
Pete Birley
6cc4369e1e Mariadb: allow probe params to be adjusted
This PS exposes the ability to adjust the readiness check
probe params.

Change-Id: Ic4730ef1d07f5cdf4b6fae5bb1331d788ea84e2e
Signed-off-by: Pete Birley <pete@port.direct>
2019-10-04 15:24:09 +00:00
Kabanov, Dmitrii
22ef25ab29 [Ceph] Update helm tests.
The PS updates helm tests for Ceph-RGW and Ceph-provisioners:
- Checking several randomly generated objects instead of one static object.
- Improved the output of the tests.

Change-Id: I0733d7c47a2a8bdf30b0d6a97c1a0331eb5030c8
2019-10-02 12:51:40 -07:00
Zuul
b401a2283b Merge "Make all prints python3 compatible" 2019-10-01 21:32:23 +00:00
Zuul
fa71d62ab4 Merge "[ceph-osd] Retry to create crush map for osd while ceph-mon service down for a while." 2019-10-01 16:22:19 +00:00
Zuul
cb839945c2 Merge "[mysql-exporter] Use flags depending on version" 2019-10-01 06:02:28 +00:00
Zuul
4f8e9582b1 Merge "Fix misspell word" 2019-10-01 05:14:59 +00:00
Andrii Ostapenko
fdcc9b7e0e Make all prints python3 compatible
Change-Id: Ie5a08859010453d276b42253f5f2130f80b82224
2019-10-01 01:28:35 +00:00
Tin Lam
aa2ce5fef4 Add default netpol to LMA charts
Change-Id: I86389085e922848a833d8787573e0b6be843ace4
Signed-off-by: Tin Lam <tin@irrational.io>
2019-09-30 23:40:15 +00:00
Zuul
d0b32ed88a Merge "Add extensible volume mounts to node-exporter" 2019-09-30 21:49:03 +00:00
Oleksii Grudev
80a3dcc9e9 [mysql-exporter] Use flags depending on version
This patch adds functionality to check
current version of mysql_exporter binary and to modify
configuration flags depending on version

Change-Id: Ic1f42fbf5c99203d6e2fca4fc345632b64e5dc0a
2019-09-30 11:11:38 +00:00