This moves Elasticsearch and Kibana to use the latest version
(6.2.2), as the images we were using are no longer supported with
the 6.x release. There was a change in the doc reference in the
log entries that prevented the previous ES version from indexing
those entries, resulting in a busted gate. Moving Kibana to 6.2.2
was required to match major/minor versions with Elasticsearch
The Elasticsearch version change also required changing config file
locations, changing the entrypoint used for launching the service,
changing the running user for the elasticsearch service, and
updated the ES tests as some of the API responses changed between
versions
This also required updating the elasticsearch template job as the
mapping definition entries changed between versions
Remove Api version requirement for CronJob Curator
Curator job in Elasticsearch helm chart has a condition on
api version batch/v2alpha1. Cronjob resource is deprecated
in batch/v2alpha1 from k8s 1.8 and batch/v1beta1 is enabled
by default.
Remove the condition on API version as it is no more required.
Specifically, this moves the images back to previous used versions
and makes the required changes to the fluent-logging elasticsearch
template job to include the correct mapping directives for the
elasticsearch template.
This change was made to give more time for evaluating a more
robust solution for switching to the official upstream images that
will not cause intermittent gate failures as seen since 550229 was
merged
Fluentd: Change elasticsearch endpoint port and creds reference
Updates the fluent-logging chart to reference the elasticsearch
endpoint via lookups on the `http` port to match the elasticsearch
chart's handling of the client port. This also updates the helm
test pod to reference the elasticsearch credentials via the
secret used elsewhere in the fluent-logging chart
Dynamically generate list of rules files for prometheus
This enables the dynamic generation of the list of rules files for
prometheus, driven by the rules added in the appropriate tree under
.Values.conf.prometheus.rules. This removes the necessity of adding
the file name manually in addition to defining the rules in the
rules tree, which should reduce overhead associated with adding
new rules for prometheus to evaluate
This adds the nagios chart to osh-infra to provide additional
monitoring functionality. It uses helper functions to consume
yaml definitions for services, commands, hosts and hostgroups
to generate the required configurations for those entities in
nagios's configuration
Prometheus: Generate command line flags dynamically
This proposes a means for generating the command line flags for
configuring the Prometheus service via the values file instead of
templating out the command line flags used for the service. This
allows flexibility in choosing which flags and values to use when
deploying Prometheus, without needing to modify the chart itself
Pip>=10 moves the entrypoint to /usr/local/bin from /usr/bin, this
ps forces the shell to forget all locations following upgrade
to allow it to adapt to the new location.
Reviewed: https:/ /review. opencontrail. org/42138 github. com/Juniper/ openstack- helm-infra/ commit/ c2040f36112b244 d50920b91ef5fb4 01bc25a777
Committed: http://
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master
commit c2040f36112b244 d50920b91ef5fb4 01bc25a777
Author: Madhukar Nayakbomman <email address hidden>
Date: Wed Apr 18 16:14:25 2018 -0700
Rebasing openstack- helm-infra
Changes from below commits are been added as part of rebase
OSH-Infra: Update labels for chart components
This ps adds more granular node selectors for the charts in osh
infra to match what is currently done in osh
Change-Id: I8957a95053b9fb 3ea329fd37ff049 cd223a7695d
Address errors with Elasticsearch and Kibana
This moves Elasticsearch and Kibana to use the latest version
(6.2.2), as the images we were using are no longer supported with
the 6.x release. There was a change in the doc reference in the
log entries that prevented the previous ES version from indexing
those entries, resulting in a busted gate. Moving Kibana to 6.2.2
was required to match major/minor versions with Elasticsearch
The Elasticsearch version change also required changing config file
locations, changing the entrypoint used for launching the service,
changing the running user for the elasticsearch service, and
updated the ES tests as some of the API responses changed between
versions
This also required updating the elasticsearch template job as the
mapping definition entries changed between versions
Change-Id: Ia4cd9a66851754 a1bb8f225c7e245 13c43568e93
kube-state-metrics: use endpoints section and lookups to set port
This PS moves kube-state-metrics to use the endpoints section and
lookups to set the ports it serves on.
Change-Id: Icb4757a59852e5 08148ca9f1e682c 722e40042c9
Remove Api version requirement for CronJob Curator
Curator job in Elasticsearch helm chart has a condition on
api version batch/v2alpha1. Cronjob resource is deprecated
in batch/v2alpha1 from k8s 1.8 and batch/v1beta1 is enabled
by default.
Remove the condition on API version as it is no more required.
Closes-Bug: #1753524 ae508e5d4402e7f 3881db31688
Change-Id: Ia296b3742e655f
KubeADM: force calico interface to match to same as kubelet
This PS forces calico to use the same interface as the kubelet
for inter-node communication.
Change-Id: I7d03beec46cccb a4a57e092bf1086 95e8e88996f
Kibana: use endpoints section and lookups to set port
This PS moves kibana to use the endpoints section and lookups to
set the port it serves on.
Change-Id: I710428f92e80fa f6ac5bb444f9384 47248e99217
Prometheus: use endpoints section and lookups to set port
This PS moves prometheus to use the endpoints section and lookups
to set the port it serves on.
Change-Id: Ifae665e21128dd 566da5a68b9904a 94a68df4018
Grafana: use endpoints section and lookups to set port
This PS moves grafana to use the endpoints section and lookups to
set the port it serves on.
Change-Id: I51d4c10297f342 3569539dcbf7fbe cad24d5e47f
Fluent-logging: use endpoints section and lookups to set port
This PS moves fluent-logging to use the endpoints section and
lookups to set the port it serves on.
Change-Id: I7cbbd8d6287942 eb36f70ae748724 05038e523e8
Elasticsearch: use endpoints section and lookups to set port
This PS moves elasticsearch to use the endpoints section and
lookups to set the port it serves on.
Change-Id: I4a73893124b6d9 88cd1f885cfc3dd 62abeb4ae8c
Gate: get full process list from host
This PS adds the ps command to the gate log collection task.
Change-Id: Ife1710854547b2 8a6dfa6b3e4d527 ebf4d04179b
Alertmanager: use endpoints section and lookups to set port
This PS moves alertmanager to use the endpoints section and
lookups to set the ports it serves on.
Change-Id: I62108ca207f615 d10d0b4385da204 214b9aeae32
yaml cleanup: trim multiline strings
Change-Id: I7e8f423be2efb8 4f3116258beca80 5265ca388f7
Revert Elasticsearch/ Kibana image change
This reverts the changes made to Elasticsearch, Kibana and fluent /review. openstack. org/#/c/ 550229/ 7.
logging charts in https:/
Specifically, this moves the images back to previous used versions
and makes the required changes to the fluent-logging elasticsearch
template job to include the correct mapping directives for the
elasticsearch template.
This change was made to give more time for evaluating a more
robust solution for switching to the official upstream images that
will not cause intermittent gate failures as seen since 550229 was
merged
Change-Id: I9f70b3412a8edc 5cb1d80937b158a a2fe7b1ec82
Correcting a spelling error
perfoming -> performing
Change-Id: I639d8a4d0021db dcd66ff711f86c2 5f1313a823f
Fluentd: Change elasticsearch endpoint port and creds reference
Updates the fluent-logging chart to reference the elasticsearch
endpoint via lookups on the `http` port to match the elasticsearch
chart's handling of the client port. This also updates the helm
test pod to reference the elasticsearch credentials via the
secret used elsewhere in the fluent-logging chart
Change-Id: I352d912db5e231 e14dc58cdf897ae 642f3256373
Provide ability to specify proxy
This patch set provides ability to configure the proxy setting in
the ansible playbook used to run the gate.
Change-Id: I7ae66cb16fa6db 7d46a0a3f23c289 cc625e583c4
Signed-off-by: Tin Lam <email address hidden>
calico: only specify ipv6 listen address if we have one
Change-Id: I2bb381c227b06f 5c511497b3e1720 f9336f6d1c8
Dynamically generate list of rules files for prometheus
This enables the dynamic generation of the list of rules files for conf.prometheus .rules. This removes the necessity of adding
prometheus, driven by the rules added in the appropriate tree under
.Values.
the file name manually in addition to defining the rules in the
rules tree, which should reduce overhead associated with adding
new rules for prometheus to evaluate
Change-Id: Ib768a252c5ea4f 2d099df534c3ffc fb2949d7481
Calico: update chart to deploy calicoctl via init-container
This PS moves the installation of calicoctl to an init-container.
Change-Id: I2dbd4c605889d8 6c87455d43a500d 8a2697c49af
Nagios Chart
This adds the nagios chart to osh-infra to provide additional
monitoring functionality. It uses helper functions to consume
yaml definitions for services, commands, hosts and hostgroups
to generate the required configurations for those entities in
nagios's configuration
Change-Id: I6238bb8cb1e5c8 dc48594ddea5069 3f3e7b0a176
add additional collectors to process exporter
Change-Id: I2c1055103a8966 3920cb309c71465 8caa3a74e05
Support pod dependencies
Adds support for a new feature of kubernetes- entrypoint, pod
dependencies, that was added in v0.3.0.
Change-Id: I78d9e0545ca3b8 37cd2386783386a 253f7f5a2d6
Helm-Toolkit: Reduce delta between OSH and OSH-Infra
This PS reduces the delta between OSH and OSH-Infra helm toolkits.
Change-Id: I00a684b3801a09 90550f55c8facb0 252fddb67f2
Helm-Toolkit: Reduce delta between OSH and OSH-Infra to image repo
This PS reduces the delta between OSH and OSH-Infra helm toolkits
to simply the image repo management functions.
Change-Id: I3addfbcda6a3c1 d34c9f967be07ea ceffb468f0e
Grafana dashboard for Nginx using nginx-vts metrics
Change-Id: Ifd0eeab3fcb274 0ab53ce23ba1bcd 2146f351aed
Calico: Remove duplicate calico_cni image tag
This removes a duplicate calico_cni image tag from the calico
chart in osh-infra
Change-Id: I702796cf43ead9 c10558a76bf4c23 e133b0e8228
Nagios: Configure ports with endpoint port lookups
This ps updates the nagios chart to use endpoint port lookups for
port configuration, bringing it in line with the other charts
Change-Id: I500b4741d50132 f6c316ded660981 e2af8b71e7a
Update to F27 and update docker packages
This PS moves the fedora gates to use F27. It also updates
the docker packages used for both fedora and centos
Change-Id: Ic5ab5793d7176a 81a8ea70c82b1d5 3a1fdf5f740
Move roles and playbooks to top level
This proposes moving the playbooks and roles to the top level of
osh-infra to be consumed by osh
Change-Id: I7e3516da8e5160 60f94b8b9c88759 18504de7446
Prometheus: Generate command line flags dynamically
This proposes a means for generating the command line flags for
configuring the Prometheus service via the values file instead of
templating out the command line flags used for the service. This
allows flexibility in choosing which flags and values to use when
deploying Prometheus, without needing to modify the chart itself
Change-Id: I74845b96e21340 3ad743724137a82 ce2c78fcd1f
OSH-infra: move charts to use ingress manifest in htk
This moves all relevant charts in osh-infra to use the htk manifest
template for ingresses, bringing them in line with the charts in
openstack-helm
Change-Id: Ic9c3cc6f0051fa 66b6f88ec2b2725 698b36ce824
Gate: update paths for pip 10 installation
Pip>=10 moves the entrypoint to /usr/local/bin from /usr/bin, this
ps forces the shell to forget all locations following upgrade
to allow it to adapt to the new location.
Change-Id: I1ed92b75f689e9 82397cd4fc87ac2 62256e161e8
Helm-Toolkit: Kubernetes Entrypoint, simplify image dependencies
This PS simplify the logic for dyanmicly merging the image management
depenencies into pod deps when active.
Partial-Bug: #1765459 bce697ac15be869 7d3b1326d0a
Change-Id: I0cf6c93173bc5f