1984 Commits

Author SHA1 Message Date
Sphicas, Phil (ps3910)
938c6d9bb9 fix: ceph-osd AppArmor profiles not applied
AppArmor annotations require the container name to be applied properly.
Before this change, when overrides are not used, the container name is
ceph-osd-default. When overrides are used, the container name is of the
form ceph-osd-HOSTNAME-SHA, but with an identical HOSTNAME and SHA for
all the daemonsets. However, it is not possible to predict this value,
and as a result, the AppArmor profiles are not applied.

This change removes the customization of the container name, and sets
it to ceph-osd-default, allowing AppArmor annotations to be consistently
applied using:

    pod:
      mandatory_access_control:
        type: apparmor
        ceph-osd-default:
          ceph-osd-default: localhost/profilename

Change-Id: I8b6eda00f77ec7393a4311309f3ff76908d06ae6
2019-11-06 14:48:12 +00:00
Zuul
81d2d687c8 Merge "Make corrections to pod lifecycle upgrade values" 2019-11-01 14:10:37 +00:00
Zuul
002cc1381d Merge "Fix Prometheus Volume Claim Use Expression" 2019-10-31 21:29:35 +00:00
Steven Fitzpatrick
1971d23da8 Make corrections to pod lifecycle upgrade values
It was observed in some charts' values.yaml that the values defining
lifecycle upgrade parameters were incorrectly placed.

This change aims to correct these instances by adding a deployment-
type subkey corresponding with the deployment types identified in
the chart's templates dir, and indenting the values appropriately.

Change-Id: Id5437b1eeaf6e71472520f1fee91028c9b6bfdd3
2019-10-31 20:34:07 +00:00
Steven Fitzpatrick
84113626bf Fix Prometheus Volume Claim Use Expression
This change updated the expression math so that the threshold value
can be reached.

Change-Id: Iae078d4c78a4403c410ae01e0a13a1dda25d40c7
2019-10-28 16:41:45 -05:00
Steve Wilkerson
74f3eb5824 Ingress: Move ingress objects back to the extensions api
This updates the ingress objects to move them back to the
extensions API.  While 1.16 moves them under the networking
api, they're still rendered and deployed as extensions/ objects.
This move prevents issues from arising where older versions of
kubernetes might still be deployed during an upgrade, as the
move to the networking API is nonfunctional at this time

Change-Id: I814bbc833b5b9f79f34aefc60b9c1f9890bca826
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-10-28 21:31:06 +00:00
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
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
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