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

Improve error messages that impact newcomers #706

Open
AltraMayor opened this issue Sep 16, 2024 · 0 comments
Open

Improve error messages that impact newcomers #706

AltraMayor opened this issue Sep 16, 2024 · 0 comments

Comments

@AltraMayor
Copy link
Owner

Discussion #704 highlights 3 situations in which Gatekeeper can provide better error messages to help newcomers:

  1. Reporting that DPDK does not have a driver for a given NIC. The message should add the link to the list of supported NICs;
  2. Checking that the intersection between variables front_ports and back_ports is empty. If not empty, report the problem and direct users to the question Why do Gatekeeper servers need two network interfaces? on our FAQ.
  3. Enforcing variable back_mtu to be greater than variable front_mtu so no encapsulated packets to the Grantor servers are dropped. The test should only be performed when running as a Gatekeeper server.

While item 1 has to be done in the C code, items 2 and 3 can be implemented in Lua at lua/net.lua.

@AltraMayor AltraMayor added this to the Version 1.3 milestone Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant