New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Put the non-existent key into the error message #41573
Comments
@ttripp There are no sig labels on this issue. Please add a sig label by: |
/sig node |
Automatic merge from submit-queue (batch tested with PRs 47417, 47638, 46930) print non-existent key in configmap **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes kubernetes#41573 **Special notes for your reviewer**: carry from kubernetes#41574 **Release note**: ```release-note NONE ```
H, MountVolume.SetUp failed for volume "kubernetes.io/configmap/b690cfd1-7386-11e7-b005-080027f96241-config" (spec.Name: "config") pod "b690cfd1-7386-11e7-b005-080027f96241" (UID: "b690cfd1-7386-11e7-b005-080027f96241") with: references non-existent config key. |
Kubernetes version (use
kubectl version
):Server Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.2", GitCommit:"08e099554f3c31f6e6f07b448ab3ed78d0520507", GitTreeState:"clean", BuildDate:"2017-01-12T04:52:34Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}
Environment:
Linux 4.8.0-37-generic #39-Ubuntu SMP Thu Jan 26 02:27:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
What happened:
When a key doesn't exist in a configmap, it produces an error:
references non-existent config key
Adding the missing key would help with debugging.
What you expected to happen:
It should show the key
How to reproduce it (as minimally and precisely as possible):
Reference a key in a configmap that doesn't exist.
Anything else we need to know:
The text was updated successfully, but these errors were encountered: