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

E2E: Embedded Registry test is broken #9656

Closed
Tracked by #9477
dereknola opened this issue Mar 6, 2024 · 1 comment
Closed
Tracked by #9477

E2E: Embedded Registry test is broken #9656

dereknola opened this issue Mar 6, 2024 · 1 comment

Comments

@dereknola
Copy link
Member

Environmental Info:
K3s Version: Master

Cluster Configuration:

Spiegel enabled cluster

Describe the bug:

Current embedded registry test fails and in not running in CI for that reason.

failed to run command: kubectl patch deployment my-webpage-1 --patch '{"spec":{"replicas":2,"revisionHistoryLimit":0,"strategy":{"type":"Recreate", "rollingUpdate": null},"template":{"spec":{"affinity":{"podAntiAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":[{"labelSelector":{"matchExpressions":[{"key":"app","operator":"In","values":["my-webpage-1"]}]},"topologyKey":"kubernetes.io/hostname"}]}}}}}}' on node server-0: Error from server (BadRequest): invalid character 's' looking for beginning of object key string

Need to fix up the test and add it back into CI

@brandond
Copy link
Member

brandond commented Mar 6, 2024

Underlying issue is how the double-quoted string is passed through the vagrant ssh command:
failed to run command: vagrant ssh server-0 -c "sudo kubectl patch deployment my-webpage-1 --patch '{"spec":{"replicas":2,"revisionHistoryLimit":0,"strategy":{"type":"Recreate", "rollingUpdate": null},"template":{"spec":{"affinity":{"podAntiAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":[{"labelSelector":{"matchExpressions":[{"key":"app","operator":"In","values":["my-webpage-1"]}]},"topologyKey":"kubernetes.io/hostname"}]}}}}}}'"

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