oveits / openshift-terraform-ansible_installer

2 stars 0 forks source link

Enabling Cluster Metrics fails for v3.10 #12

Open oveits opened 5 years ago

oveits commented 5 years ago

See also https://github.com/openshift/origin/issues/20913: if we choose v3.10 for OpenShift, the metrics installation will fail.

The reason is that the hawkular image 3.10 does not exist.

If we use

openshift_metrics_image_version="v${VERSION}"

it will be ignored, since openshift_metrics_image_version is deprecated and has been removed from OpenShift 3.10.

oveits commented 5 years ago

Is resolved in https://github.com/oveits/openshift-terraform-ansible_installer/commit/935ec2dbf664b2bb91984349e0230d3f9de3257c#diff-ff0a48ed29c27421412d5f5e39b0e0f6 and can be found in develop. openshift_metrics_image_version has been replaced by several commands

openshift_metrics_cassandra_image="docker.io/openshift/origin-metrics-cassandra:${METRICS_IMAGE_TAG}"
openshift_metrics_hawkular_agent_image="docker.io/openshift/origin-metrics-hawkular-openshift-agent:${METRICS_IMAGE_TAG}"
openshift_metrics_hawkular_metrics_image="docker.io/openshift/origin-metrics-hawkular-metrics:${METRICS_IMAGE_TAG}"
openshift_metrics_schema_installer_image="docker.io/openshift/origin-metrics-schema-installer:${METRICS_IMAGE_TAG}"
openshift_metrics_heapster_image="docker.io/openshift/origin-metrics-heapster:${METRICS_IMAGE_TAG}"