https://review.opendev.org/733193 removed the reweight_osds()
function from the ceph-client and weighted OSDs as they are added
in the ceph-osd chart instead. Since then some situations have
come up where OSDs were already deployed with incorrect weights
and this function is needed in order to weight them properly later
on. This new version calculates an expected weight for each OSD,
compares it to the OSD's actual weight, and makes an adjustment if
necessary.
Change-Id: I58bc16fc03b9234a08847d29aa14067bec05f1f1
1) Changed the pod name and container name to pick name dynamically for
osd,mon,mgr and mds.
2) Added Init container for ceph-provisioners.
Change-Id: I3e27d51c055010cff982ddb0951d01ea8adac234
Signed-off-by: diwakar thyagaraj <diwakar.chitoor.thyagaraj@att.com>
Namespace is added to error logs generated by database backup
main script for etcd, mariadb and postgresql database backups
Change-Id: I63d00549327c27ec0590c1a9d05966015f480c92
There was already a call to a nonexistent get_lv_from_device helper
function in get_lv_size_from_device. The get_lv_from_device function has
been added and the line in get_lvm_tag_from_device that gets the logical
volume has been updated to use the new helper function.
Change-Id: Ib34d7b1385e039d8c7bf82dcdb756bce2cc12bd2
This is to validate hosntame matches with node name registered with
k8 before checking for "rack" label on the node.
Change-Id: Ie78ffd16d8d732bd10b362726a57181bb5cb56cc
The elastic-cluster-wait job was meant to serve as a dependency check
for a couple of other jobs, such that when this wait job was complete
the other jobs could procede successfully. This goal can be achieved
by using our HTK init container's dependency check however.
The two jobs that waited on this wait job just need to use the
elasticsearch API, which is available once the `elasticsearch-logging`
service has endpoints.
Change-Id: I87e1c1fe3d61680a73701d48f85e5c48c11b6325
This patch set makes changes for maraidb certs to be used
by all users when connecting to MariaDB.
Change-Id: Id38c9fb0b18dd8ba164a69f179d940192efc3247
This updates the ceph-rgw chart to include the pod
security context on the pod template.
This also adds the container security context to set
readOnlyRootFilesystem flag to true
Change-Id: Ib6be059e387f1932a5655df07ae182f75f142538
The cluster wait function can sometimes receive an invalid response,
and this would "pass" the status check condition. This change
prints the response to make it more clear what occured, and changes
the condition to explicitly wait for a "yellow" or "green" status.
Change-Id: Ifd1267a5fa19acbc6bc8bba65b1ba41409a584a3
This patch set provides capability to enable TLS termination for the
MariaDB chart. This will be used by the follow on patches in OSH
services patches.
Co-authored-by: Tin Lam <tin@irrational.io>
Co-authored-by: sgupta <sg774j@att.com>
Change-Id: I5ebc8db58c0aa7b4e9eb0b5c671b280250d3cd1f
This is to enhance the ceph rack creation logic to read the rack names
from node labels so that could avoid providing rack names as chart overrides.
Change-Id: I5a29584d105fba068516d396ada90d00e2aab49c
Adds ability to override images in osh and osh-i repositories
if docker_images dict is provided with tags following zuul-jobs
upload-docker-image naming convention.
This allows to inherit osh job from osh-images project providing
required vars.
Change-Id: I5e7acb0dd0edd6838b6f7ddb5111db0fa34912d4
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
Required to support reusing of a job in another project.
Change-Id: I1c5968ea3d785c4902c7ab011f7538877b10ce24
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
This change modifies the cluster wait function to
check the cluster health status explicitly.
Once a status of at least "yellow" has been reached,
the Elasticsearch cluster should be able to facilitate
the API calls required by the other jobs of this chart.
Change-Id: I2660422a8e8122186d648042f5422ca9a82d23c7
This patch set adds in the manifests guards and labels for the
cert-manager Issuer.
Change-Id: Ibcb45f9617be2b2ebde6d2b2695bfa6b358b2079
Signed-off-by: Tin Lam <tin@irrational.io>
The PS updates helm test and replaces "expected_osds" variable
by the amount of OSDs available in the cluster (ceph-client).
Also the PS updates the logic of calculation of minimum amount of OSDs.
Change-Id: Ic8402d668d672f454f062bed369cac516ed1573e