2651 Commits

Author SHA1 Message Date
Zuul
dec89a4116 Merge "Elasticsearch: Update Rolling Restart Procedure" 2020-06-05 03:44:01 +00:00
Zuul
319412ed5c Merge "chore(tox): update tox.ini" 2020-06-04 23:15:16 +00:00
Steven Fitzpatrick
309278389e Elasticsearch: Update Rolling Restart Procedure
This change implements the reccomended rolling restart procedure[0]
for elasticsearch-data pods.

[0] https://www.elastic.co/guide/en/elasticsearch/reference/7.x/restart-cluster.html#restart-cluster-rolling

Change-Id: I935b3681999e9bda616898f2b5e01f582ee54ed9
2020-06-04 15:20:34 -05:00
Parsons, Cliff (cp769u)
9b6f5b267f Add backup/restore configuration secret
This patchset adds a secret containing the backup/restore configuration
for Postgresql, in case it is needed for invoking a backup/restore
operation from a different application or from a different namespace
(like from a utility container). Default is to not produce the secret.

Change-Id: I273fe169e7ee533c3fe04ad33c97af64b29bc16f
2020-06-04 20:06:37 +00:00
diwakar thyagaraj
3d091fda6b Radosgw: Enable Container name for test pods.
Change-Id: Ic54cc17dea7d1793d63f3db529d1122c71ae01e6
Signed-off-by: diwakar thyagaraj <diwakar.chitoor.thyagaraj@att.com>
2020-06-04 18:08:54 +00:00
KHIYANI, RAHUL (rk0850)
38775079fb mariadb: change container name to static
Change-Id: I2f7939015cced812cd7e49ad35c60d8384f13c1f
2020-06-04 13:27:31 +00:00
Zuul
b62a46336c Merge "[update] kibana : add install hook and dependencies" 2020-06-04 00:53:19 +00:00
Radhika Pai
e81583ac3e [update] kibana : add install hook and dependencies
The flush-kibana-metadata job was causing issue in loading the kibana
dashboard due to conflict in order this is run. Adding dependencies to avoid
running jobs simultaneously.

Change-Id: If5a2564a8b6a16fb0dbd6a93f2e6e02d91f394dc
2020-06-03 21:37:03 +00:00
Kabanov, Dmitrii
acde91c87d [ceph-client] Update ceph-mon port.
The PS updates ceph-mon port for clients.

Change-Id: I1a41f0ad042c916e63bd4505ddea7a84b162b188
2020-06-03 15:53:40 +00:00
Zuul
245b9a4a9c Merge "Switch to newer openstackdocstheme version" 2020-06-03 07:28:54 +00:00
Zuul
bcdfed53d0 Merge "Add extra settings for rabbitmq_exporter" 2020-06-03 07:28:51 +00:00
Zuul
a5cd760bf8 Merge "Process Exporter: Parameter fix" 2020-06-03 07:28:49 +00:00
Zuul
1b8c24216f Merge "Node Exporter: Allow Ignored Mountpoints" 2020-06-02 23:32:26 +00:00
Zuul
175aed5308 Merge "Add capability to retrieve rows from databases" 2020-06-02 22:17:11 +00:00
Zuul
c0aa66a9f1 Merge "mariadb: Add metadata labels to CronJob" 2020-06-02 19:38:25 +00:00
Zuul
08ca4eb8d9 Merge "ceph: Add metadata labels to CronJob" 2020-06-02 19:37:39 +00:00
Cliff Parsons
a9ddbd9e46 Add capability to retrieve rows from databases
Adding the capability to retrieve a list of tables, list of rows,
and the table schema information from a given database backup
archive file, for the purpose of manual database table/row
restoration and also for just viewing.

This is added to the HTK _restore_main.sh.tpl and is integrated
into the Postgresql restore script (Mariadb will be done later).

Change-Id: I729ecf7a720f1847a431de7e149cec6841ec67b8
2020-06-02 19:02:37 +00:00
Zuul
a2623cb672 Merge "feat(tls): add certificate tooling" 2020-06-02 18:41:46 +00:00
Zuul
fcc3ffe734 Merge "Use force OPTIONS to install the jq" 2020-06-02 17:50:45 +00:00
Zuul
cfdbcdef16 Merge "[ceph-rgw] Add helm-toolkit snippet to support update strategy" 2020-06-02 17:50:43 +00:00
Zuul
886b8c9924 Merge "feat(tls): add CA issuer chart" 2020-06-02 17:24:37 +00:00
Steven Fitzpatrick
0f4a696f53 Node Exporter: Allow Ignored Mountpoints
This change adds the ability to configure the

--collector.filesystem.ignored-mount-points

parameter, which is useful in events where a subdirectory
cannot be statfs'd by a non-root user.

Change-Id: Ie2be8c496aa676e9a3fee5434e0c194615f9cdab
See: https://github.com/prometheus/node_exporter/issues/703
2020-06-02 11:33:38 -05:00
Tin Lam
03a5ae7210 feat(tls): add certificate tooling
This patch set adds in a manifest method in helm toolkit to generate
certificates and places them into a secret.

Change-Id: I50300afb0fc0ab92169ad9dd9ba66a56454fbc46
Signed-off-by: Tin Lam <tin@irrational.io>
2020-06-02 16:31:08 +00:00
Tin Lam
03f12b7358 feat(tls): add CA issuer chart
This places in a chart that a CA issuer using [0].

[0] https://cert-manager.io/

Change-Id: I0825b50cc0fcfc510f5db00bf85a01dee388141e
Signed-off-by: Tin Lam <tin@irrational.io>
2020-06-02 15:29:45 +00:00
chenyan
50cfbd2a9c mariadb: use utf8_general_ci collation as default
Mariadb is using utf8_general_ci as the default collation:
- https://mariadb.com/kb/en/mariadb/supported-character-sets-and-collations/

Currently utf8_unicode_ci is used for collation server, but when
enabled panko and run "openstack event list", we will see
"pymysql.err.InternalError". This issue can be fixed when using
utf8_general_ci.

Related issue is here:
https://bugs.launchpad.net/starlingx/+bug/1880948

Change-Id: I24005ec4ae1ffe20c2436ba63471ea8fc1315b86
Signed-off-by: chenyan <yan.chen@intel.com>
2020-06-02 05:14:26 +00:00
Gupta, Sangeet (sg774j)
9ff76434aa Ingress: Use latest controller image
Use nginx-ingress-controller:0.32.0 and change user to 101
intead of 33 which is suported by this image.

Change-Id: I38679e350ec352f13074055b7e08b98df1090fbf
2020-06-01 21:46:44 +00:00
Andreas Jaeger
0f957ca9c6 Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I7a7bf796d3f25e4dd3d1709850729d29497d355e
2020-05-31 20:30:30 +02:00
Tin Lam
e123100888 chore(tox): update tox.ini
This updates to use TOX_CONSTRAINTS_FILE instead of
UPPER_CONSTRAINTS_FILE since the latter is obsolete.

Change-Id: Ib31adb98e822b1b57acd8fd2f3f338e6cfe24c23
Signed-off-by: Tin Lam <tin@irrational.io>
2020-05-31 17:05:46 +00:00
gugug
0d56e729b7 Remove retired congress
Congress has been retired, remove the congress chart

See https://review.opendev.org/721742

Change-Id: I0e12ab3b27beefbcdbcce135a6a53b509a527dfa
2020-05-31 14:01:34 +00:00
Zuul
934d7946be Merge "Enable yamllint checks" 2020-05-29 23:27:32 +00:00
Andrii Ostapenko
731a6b4cfa Enable yamllint checks
- document-end
- document-start
- empty-lines
- hyphens
- indentation
- key-duplicates
- new-line-at-end-of-file
- new-lines
- octal-values

with corresponding code adjustment.

Change-Id: I92d6aa20df82aa0fe198f8ccd535cfcaf613f43a
2020-05-29 19:49:05 +00:00
Andrii Ostapenko
1a8536fd5d Explicitly set number of schedulers for Erlang VM
By default erlang VM determines a number of scheduler threads equal to a
number of CPU cores it detects [0]. Running rabbitmq in container makes
Erlang VM to think it has all host CPU power, making extra scheduler
threads competing for CPU time and, depending on a difference between
a number host CPU cores and container limits, causing CPU throttling even
while idle.

This commit limits a number of schedulers to a value actually available
to container via k8s resource limits (min 1) emulating the default
behavior.

[0] https://www.rabbitmq.com/runtime.html#scheduling

Change-Id: If36f63173de4c8035daf7aac4014c027c579b58f
2020-05-29 14:26:00 -05:00
Zuul
b19c7f21c9 Merge "Added podsecuritypolicy for serviceaccounts" 2020-05-29 16:59:39 +00:00
Zuul
c5bd551885 Merge "Enable Apparmor to Ceph-rgw Components" 2020-05-29 03:24:16 +00:00
Zuul
139865a8cc Merge "Kibana - Add hook to delete .kibana indices" 2020-05-28 21:20:10 +00:00
Zuul
22f2a61851 Merge "[Ceph] Upgrade Ceph from 14.2.8 to 14.2.9 version" 2020-05-28 21:20:08 +00:00
Zuul
3a080cbe38 Merge "mariadb-ingress-error-pages: upgrading defaultbackend version to 1.4" 2020-05-28 20:05:02 +00:00
Zuul
a463de0e53 Merge "Add helm test to cinder in openstack-support check" 2020-05-28 18:30:40 +00:00
dt241s
d7675b072e Enable Apparmor to Ceph-rgw Components
This also adds ceph-rgw Apparmor Job.

Change-Id: I09b4e125197602b2e3518b02901e37a4ae1ddc18
2020-05-28 18:29:15 +00:00
Kabanov, Dmitrii
46930fcd06 [Ceph] Upgrade Ceph from 14.2.8 to 14.2.9 version
The PS upgrades Ceph to 14.2.9 version.

Change-Id: I72a2e39a7b4294ac8fd42b1dbc78579c2c0ae791
2020-05-28 15:46:47 +00:00
KHIYANI, RAHUL (rk0850)
12bd6c489d mariadb-ingress-error-pages: upgrading defaultbackend version to 1.4
removing ingress-error-pages.sh script as 1.4 version
has ENTRYPOINT ["/server"]

Change-Id: I6666f4f5af940836d797e838b870cd08f8e3a5e8
2020-05-27 21:40:16 +00:00
Zuul
7703cbbf6a Merge "error-pages: updating the defaultbackend version to 1.4" 2020-05-27 19:52:18 +00:00
Zuul
b59db12492 Merge "Enable Apparmor to Elasticsearch Completed Pods" 2020-05-27 17:09:35 +00:00
Ahmad Mahmoudi
798303eb88 Added podsecuritypolicy for serviceaccounts
Added capability in the podsecuritypolicy template to bind individual
serviceaccounts to clusterroles to enable enforcing psp at
serviceaccount level.

The idea is that the default psp can be tuned to be restrictive for all
serviceaccounts; and new psp, clusterroles, and clusterrolebindings are
defined to bind specific serviceaccounts or namespaces to permissive
podsecuritypolicies, based on the security requirements of a deployment.

Change-Id: I1b13c0e324b9a756a07d36b6e53786303f4a9f89
2020-05-27 15:49:04 +00:00
Gage Hugo
07410358d4 Add helm test to cinder in openstack-support check
This change adds in a helm test to properly test cinder functionality
in the openstack-support zuul check.

Change-Id: Ie4b2b8ef9e56e9745c58ce6dc8858f5f90057b96
2020-05-27 09:43:09 -05:00
Pavlo Shchelokovskyy
5dc986aa5f Set OS_ENDPOINT_TYPE in keystone openrc vars
sometimes it is needed to use other than `openstack` CLI clients
or older versions of those in bootstrap/other scripts that do not
understand the OS_INTERFACE env var, and instead use the
OS_ENDPOINT_TYPE var (and --os-endpoint-type CLI arg) for the same
purpose.

Example is `neutron` command from python-neutronclient package.

Change-Id: I0fb7d1e9612391e8632d775b91848d3c834b9bd2
2020-05-27 14:03:05 +03:00
Zuul
0c5b037c00 Merge "Added Ceph RGW conf properties" 2020-05-26 22:21:28 +00:00
Zuul
6b83b909f8 Merge "Add cinder deployment to OS-support check" 2020-05-26 19:16:58 +00:00
diwakar thyagaraj
36fe912df0 Enable Apparmor to Elasticsearch Completed Pods
Change-Id: I52e07c585c50817706e64b8e2f26f73c25587da7
Signed-off-by: diwakar thyagaraj <diwakar.chitoor.thyagaraj@att.com>
2020-05-26 16:09:57 +00:00
KHIYANI, RAHUL (rk0850)
99a77eefda error-pages: updating the defaultbackend version to 1.4
removing the command "/tmp/ingress-error-pages.sh" script as the
1.4 version already uses "/server" exec
https://hub.docker.com/layers/siriuszg/defaultbackend/1.4/images/sha256-989154cad9fa0edab79acd8904b3ed643f3325fe827616ffa7c1181bb1e1321b?context=explore

Change-Id: I3769abeea16254fe5cc4f0f92eb8e8d89cf356a6
2020-05-26 10:42:29 -05:00