-
Notifications
You must be signed in to change notification settings - Fork 373
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
Unable to Run "antctl get ovsflow --help" Command #5810
Comments
What kind of error / output do you get? |
Updated issue description, IMO we should use 'ovsflows' in the command instead of 'ovsflow', right? |
@XinShuYang I think it's a doc bug, I feel we can simply remove the description considering |
I agree that there is a documentation, as But the output provided by @XinShuYang is misleading, since this is the output when trying to run the command in controller mode, while the command is only supported in agent mode. This is the actual output:
|
Thanks, updated my results. Even after replacing 'ovsflow' with 'ovsflows', I still find the sentence |
@wenyingd confirmed that this is actually a code bug, according to the code here https://github.com/antrea-io/antrea/blob/faec22afd659c13f99e9dadfa91e71e2943b0429/pkg/antctl/antctl.go#L386C2-L386C2, it's indeed supposed to print the table list with |
I feel we may need to print the table list with a new parameter instead of printing them in a help message considering it will a quite long list. what's your suggestion? @antoninbas @tnqn |
Given that we already have |
The equivalent of |
Describe the bug
According to the Antrea antctl documentation, this command is supposed to list all Antrea flow tables. However, when I attempt to run it during testing antrea bot, it does not work as expected.
antctl get ovsflow --help lists all Antrea flow tables.
https://github.com/antrea-io/antrea/blob/main/docs/antctl.md#dumping-ovs-flows
To Reproduce
Run
antctl get ovsflow --help
Expected
As described in the documentation, this command should list all antrea flow tables.
Actual Behavior
Output:
The text was updated successfully, but these errors were encountered: