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

Storage Calculator oc --timeout issue #2984

Closed
seanhamlin opened this issue Jan 6, 2022 · 0 comments · Fixed by #2986
Closed

Storage Calculator oc --timeout issue #2984

seanhamlin opened this issue Jan 6, 2022 · 0 comments · Fixed by #2986
Labels

Comments

@seanhamlin
Copy link
Contributor

seanhamlin commented Jan 6, 2022

Describe the bug

Found in a recent deployment of storage calc

deployment.apps/storage-calc resumed
https://XXX.ap-southeast-2.eks.amazonaws.com - exmaple-site - feature/php8: redeploying storage-calc to mount volumes
Error: unknown flag: --timeout

Usage:
  oc rollout status (TYPE NAME | TYPE/NAME) [flags]

Examples:
  # Watch the status of the latest rollout
  oc rollout status dc/nginx

Options:
  -f, --filename=[]: Filename, directory, or URL to files identifying the resource to get from a server.
  -R, --recursive=false: Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.
      --revision=0: Pin to a specific revision for showing its status. Defaults to 0 (last revision).
  -w, --watch=true: Watch the status of the rollout until it's done.

Use \"oc options\" for a list of global command-line options (applies to all commands).

No running pod found for storage-calc
deployment.apps \"storage-calc\" deleted

This was introduced in https://github.com/uselagoon/lagoon/pull/2947/files#diff-d058797fd48142b1e54531e40ab25d6ee5d6eb45046acd064bf7ac3597cea80cR110

Expected behavior

Storage calculator should run without errors. From reading https://www.mankier.com/1/oc-rollout-status#--request-timeout perhaps the oc binary is too old to use --timeout and should instead be --request-timeout.

oc version information

storage-calculator:/$ oc version
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0

and oc rollout status --help

storage-calculator:/$ oc rollout status --help
Watch the status of the latest rollout, until it's done.

Usage:
  oc rollout status (TYPE NAME | TYPE/NAME) [flags]

Examples:
  # Watch the status of the latest rollout
  oc rollout status dc/nginx

Options:
  -f, --filename=[]: Filename, directory, or URL to files identifying the resource to get from a server.
  -R, --recursive=false: Process the directory used in -f, --filename recursively. Useful when you want to manage
related manifests organized within the same directory.
      --revision=0: Pin to a specific revision for showing its status. Defaults to 0 (last revision).
  -w, --watch=true: Watch the status of the rollout until it's done.

Use "oc options" for a list of global command-line options (applies to all commands).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant