Hide Forgot
Description of problem: try to deploy heapster only, when specify this paramter https://github.com/openshift/origin-metrics/blob/master/metrics-heapster.yaml#L59, the metrics deployer will show error and stop. looks like this env var is not in use? Version-Release number of selected component (if applicable): openshift/origin-metrics-deployer :latest also seen in OSE metrics 3.4 Steps: oc project openshift-infra oc create -f - <<API apiVersion: v1 kind: ServiceAccount metadata: name: metrics-deployer secrets: - name: metrics-deployer API oadm policy add-cluster-role-to-user cluster-admin system:serviceaccount:openshift-infra:metrics-deployer oadm policy add-role-to-user edit system:serviceaccount:openshift-infra:metrics-deployer oc secrets new metrics-deployer nothing=/dev/null oadm policy add-cluster-role-to-user cluster-reader system:serviceaccount:openshift-infra:heapster oadm policy add-role-to-user view system:serviceaccount:openshift-infra:hawkular -n openshift-infra oc new-app -f metrics-heapster.yaml --as=system:serviceaccount:openshift-infra:metrics-deployer \ > -p IMAGE_PREFIX=openshift/origin- \ > -p IMAGE_VERSION=latest \ > -p PUBLIC_MASTER_URL=$MASTERURL \ > -p MASTER_URL=$MASTERURL \ > -p MODE=deploy error: unexpected parameter name "PUBLIC_MASTER_URL" Actual results: Error is shown, and deployer stop. remove this, can deploy heapster successfully. Expected results: Deploy only heapster successfully. Additional info: n/a
I opened the unused envar in https://github.com/openshift/origin-metrics/pull/271 And I am lowering the priority of this, its really a non-issue aside from some potential confusion over why an envar is there that is not used.
PR is merged, set status to verified.
User won't see this env var and won't set it correspondingly.