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

antctl.exe supportbundle command doesn't support path flag on Windows #6688

Open
XinShuYang opened this issue Sep 24, 2024 · 1 comment
Open
Assignees
Labels
area/OS/windows Issues or PRs related to the Windows operating system. kind/bug Categorizes issue or PR as related to a bug.

Comments

@XinShuYang
Copy link
Contributor

XinShuYang commented Sep 24, 2024

Describe the bug
In Windows, running antctl.exe supportbundle -d reports an error. The antctl tool is expected to support the -d (path) flag according to https://github.com/antrea-io/antrea/blob/main/docs/antctl.md#collecting-support-information, but it is not working on Windows.

To Reproduce

  1. Run the following command in Windows:
.\antctl.exe supportbundle -d C:\var\log\antrea\
  1. The following error is observed:
Error: unknown shorthand flag: 'd' in -d

Expected
The command should allow the user to specify a path to save the support bundle file on Windows using the -d flag.

Actual behavior
An error is thrown when trying to use the -d flag in Windows:
Error: unknown shorthand flag: 'd' in -d

Versions:
Antrea V2.1

@XinShuYang XinShuYang added area/OS/windows Issues or PRs related to the Windows operating system. kind/bug Categorizes issue or PR as related to a bug. labels Sep 24, 2024
@XinShuYang
Copy link
Contributor Author

Hi @luolanzone @rajnkamr, recently @wenyingd and I found two bugs with antctl on Windows(#6688 #6687). While they are not urgent, we believe they should be addressed eventually. Please feel free to assign them to anyone interested or needing familiarity with the antrea Windows/antctl modules. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/OS/windows Issues or PRs related to the Windows operating system. kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants