Skip to content
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

[release-1.26] path normalization affecting kubectl proxy conformance test for /api endpoint #7600

Closed
VestigeJ opened this issue May 24, 2023 · 1 comment
Assignees
Milestone

Comments

@VestigeJ
Copy link

VestigeJ commented May 24, 2023

Environmental Info:
K3s Version:

v1.26.5-rc2+k3s1

Node(s) CPU architecture, OS, and Version:

Linux ip-172-31-21-199 5.14.21-150400.24.11-default #1 SMP PREEMPT_DYNAMIC Sun Jul 17 20:46:33 UTC 2022 (be260ca) x86_64 x86_64 x86_64 GNU/Linux

Cluster Configuration:

3 server 1 agent

Describe the bug:

sonobuoy e2e conformance test caught an issue with curling the /api endpoint

Steps To Reproduce:

  • Installed K3s:

Install k3s attempt to curl the default api port

kubectl -v=6 get --raw /api/

Expected behavior:

curl command succeeds and reports pertinent information

Actual behavior:

I0523 23:29:19.379962    2339 loader.go:373] Config loaded from file:  /etc/rancher/k3s/k3s.yaml
I0523 23:29:19.382887    2339 round_trippers.go:553] GET https://127.0.0.1:6443/api/ 404 Not Found in 2 milliseconds
I0523 23:29:19.383137    2339 helpers.go:246] server response object: [{
  "metadata": {},
  "status": "Failure",
  "message": "the server could not find the requested resource",
  "reason": "NotFound",
  "details": {},
  "code": 404
}]

Additional context / logs:
only present on v1.26.5 and v1.27.2 release candidates.

@VestigeJ VestigeJ added this to the v1.26.5+k3s1 milestone May 24, 2023
@brandond brandond changed the title path normalization affecting kubectl proxy conformance test for /api endpoint [release-1.26] path normalization affecting kubectl proxy conformance test for /api endpoint May 24, 2023
@brandond brandond moved this from New to To Test in K3s Development May 24, 2023
@brandond brandond self-assigned this May 24, 2023
@VestigeJ
Copy link
Author

Fix validated

$ sono_results

Plugin: systemd-logs
Status: passed
Total: 4
Passed: 4
Failed: 0
Skipped: 0

Plugin: e2e
Status: passed
Total: 7072
Passed: 371
Failed: 0
Skipped: 6701

Run Details:
API Server version: v1.26.5-rc3+k3s1
Node health: 4/4 (100%)
Pods health: 16/16 (100%)

@github-project-automation github-project-automation bot moved this from To Test to Done Issue in K3s Development May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants