-
Notifications
You must be signed in to change notification settings - Fork 38.8k
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
Expose etcd version. #35896
Expose etcd version. #35896
Conversation
@k8s-bot test this, issue: #IGNORE (Unable to get latest version from build tree. Exiting...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to explain, either in the PR or commit message (or both) how we're changing the semantics of ETCD_VERSION and why we needed to introduce the new ETCD_IMAGE variable.
It would also be good to document the meaning of the two variables somewhere in the code.
@@ -702,6 +702,10 @@ NUM_NODES: $(yaml-quote ${NUM_NODES}) | |||
STORAGE_BACKEND: $(yaml-quote ${STORAGE_BACKEND:-}) | |||
ENABLE_GARBAGE_COLLECTOR: $(yaml-quote ${ENABLE_GARBAGE_COLLECTOR:-}) | |||
EOF | |||
if [ -n "${ETCD_IMAGE:-}" ]; then | |||
cat >>$file <<EOF | |||
ETCD_IMAGE: $(yaml-quota ${ETCD_IMAGE}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/quota/quote
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
70240fd
to
e528542
Compare
@mml - comments applied, PTAL |
@kubernetes/test-infra-maintainers - I'm getting the following error in all suites:
anything I can do with it (I have no idea what is happening - retesting doesn't help). |
Interesting, I ran into this same issue yesterday on #32530, but things are ok on that PR now. It's been 6 hours since these failed, try re-running? |
@k8s-bot test this, issue: #IGNORE (Unable to get latest version from build tree. Exiting...) |
Jenkins GCE etcd3 e2e failed for commit e528542. Full PR test history. The magic incantation to run this job again is |
Jenkins GCE e2e failed for commit e528542. Full PR test history. The magic incantation to run this job again is |
Jenkins GCI GCE e2e failed for commit e528542. Full PR test history. The magic incantation to run this job again is |
Jenkins GKE smoke e2e failed for commit e528542. Full PR test history. The magic incantation to run this job again is |
Jenkins GCI GKE smoke e2e failed for commit e528542. Full PR test history. The magic incantation to run this job again is |
Jenkins Kubemark GCE e2e failed for commit e528542. Full PR test history. The magic incantation to run this job again is |
@mtaufen - it didn't help |
Hmmmm. This is where that error comes from: https://github.com/kubernetes/release/blame/master/push-build.sh#L104 |
Try running cluster/kubectl.sh version --client and paste the output here to see if it matches: http://regexr.com/3eij0 |
@mtaufen - how can I run it? It's working for me locally. |
@@ -702,6 +702,14 @@ NUM_NODES: $(yaml-quote ${NUM_NODES}) | |||
STORAGE_BACKEND: $(yaml-quote ${STORAGE_BACKEND:-}) | |||
ENABLE_GARBAGE_COLLECTOR: $(yaml-quote ${ENABLE_GARBAGE_COLLECTOR:-}) | |||
EOF | |||
# ETCD_IMAGE (if set) allows to use a custom etcd image. | |||
if [ -n "${ETCD_IMAGE:-}" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this appears to be missing the fi
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
heh - I must have added it after last test. but the error is really misleading btw
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. I'll fix it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
Ok. Just wanted to make sure nothing super strange was going on. |
e528542
to
c224832
Compare
LGTM |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue |
Ref #20504
This PRs makes use of the following two env variables
This change is![Reviewable](https://camo.githubusercontent.com/2d899f4291d07d3cd2fa4aaae1e3b243f164c23fce87d30a589ace0d496a444c/68747470733a2f2f72657669657761626c652e6b756265726e657465732e696f2f7265766965775f627574746f6e2e737667)