2461 Commits

Author SHA1 Message Date
Andrii Ostapenko
8f24a74bc7 Introduces templates linting
This commit rewrites lint job to make template linting available.
Currently yamllint is run in warning mode against all templates
rendered with default values. Duplicates detected and issues will be
addressed in subsequent commits.

Also all y*ml files are added for linting and corresponding code changes
are made. For non-templates warning rules are disabled to improve
readability. Chart and requirements yamls are also modified in the name
of consistency.

Change-Id: Ife6727c5721a00c65902340d95b7edb0a9c77365
2020-06-11 23:29:42 -05:00
Taylor, Stephen (st053q)
88f7d5f42c [ceph-osd] Optimize symlink creation in udev_settle
This change optimizes the creation of symlinks in udev_settle by
only looking at the disks related to the OSD being
deployed/started and skipping the ln command for existing symlinks.
A second "udevadm settle" command is also added after the creation
of the symlinks in order to allow any logical volumes related to
new symlinks to become established.

Change-Id: I3283021fd80c8a05f0aa0c9917bb7ba0ea144303
2020-06-11 14:36:06 +00:00
Zuul
9e7c3a607a Merge "ceph-osd: Simplify failure domain config using map" 2020-06-10 23:33:54 +00:00
Zuul
fc4eba11b6 Merge "[ceph-client] Update ceph-mon port." 2020-06-10 21:28:52 +00:00
Gage Hugo
377286efd8 Add 32GB nodeset definition
This change defines the 32GB node option to be used in rare cases
when a particular check requires more resources than a normal
run can provide.

Change-Id: I9ff79f98a0f1874411c0df19cb07b5473d82992a
2020-06-09 11:01:40 -05:00
Zuul
145c1df9df Merge "Set OS_ENDPOINT_TYPE in keystone openrc vars" 2020-06-08 22:47:53 +00:00
Sphicas, Phil (ps3910)
577dcd5d19 ceph-osd: Simplify failure domain config using map
Using a subset of the characters in the hostname to determine the
failure domain is not always possible, and using overrides based on
hostnames is in some ways overkill.

This change provides a simple way to map hostnames to failure domains.
It is used only when 'failure_domain' is set other than 'host', and when
'failure_domain_by_hostname' is 'false'. Any hosts not referenced in the
map will be given the default treatment (root=default host=hostname)

Example usage:

    conf:
      storage:
        failure_domain: rack
        failure_domain_by_hostname_map:
          hostfoo: rack1
          hostbar: rack1
          hostbaz: rack2
          hostqux: rack2

Change-Id: Ia98fec8c623486f80054877e40e0753e4b939e8e
2020-06-08 19:45:00 +00:00
Zuul
01705232be Merge "mariadb: use utf8_general_ci collation as default" 2020-06-06 05:17:01 +00:00
Zuul
c382b37f82 Merge "Add backup/restore configuration secret" 2020-06-05 14:23:10 +00:00
Zuul
75dfc47176 Merge "Remove retired congress" 2020-06-05 04:29:20 +00:00
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