-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Bug fix: ./hack/install-etcd.sh is not work on Arm64 platform #72772
Conversation
Hi @lubinsz. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/release-note-none |
hack/lib/etcd.sh
Outdated
@@ -16,7 +16,7 @@ | |||
|
|||
# A set of helpers for starting/running etcd for tests | |||
|
|||
ETCD_VERSION=${ETCD_VERSION:-3.2.18} | |||
ETCD_VERSION=${ETCD_VERSION:-3.3.10} |
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.
+1 as it matches what's in https://github.com/kubernetes/kubernetes/blob/master/build/root/WORKSPACE#L25
Looks like this was missed in #71615
hack/lib/etcd.sh
Outdated
rm "${download_file}" | ||
fi | ||
kube::log::info "etcd v${ETCD_VERSION} installed. To use:" | ||
kube::log::info "export PATH=$(pwd)/etcd:\${PATH}" | ||
if [[ ${arch_linux} != "amd64" ]]; then | ||
kube::log::info "export ETCD_UNSUPPORTED_ARCH=${arch_linux}" |
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.
Looks like this is coming from https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/supported-platform.md#32-bit-and-other-unsupported-systems Right?
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.
Can you please add a note for future?
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
/ok-to-test |
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.
lgtm overall.
/retest |
/sig cluster-lifecycle |
@dixudx @dims @BenTheElder |
/retest |
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.
/lgtm
hack/lib/etcd.sh
Outdated
if [[ ${os} == "darwin" ]]; then | ||
if [[ ${arch} != "amd64" ]]; 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.
do we actually need this check? how many darwin boxes aren't running amd64?
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.
@BenTheElder Good point. I think this check is redundant.
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.
@BenTheElder @dixudx Done.
Signed-off-by: Bin Lu <bin.lu@arm.com>
@lubinsz: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
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.
/lgtm
/priority important-longterm |
@dims @fejta @pwittrock |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dims, lubinsz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Bin Lu bin.lu@arm.com
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
We need to fix it so that we can install etcd on Arm64 platform.
Which issue(s) this PR fixes:
Special notes for your reviewer:
We can use it to install etcd for e2e test on Arm64 platform.
Does this PR introduce a user-facing change?:
NONE