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

Add a Warning when no suitable input configured for the model #3346

Open
robertcheramy opened this issue Dec 16, 2024 · 0 comments
Open

Add a Warning when no suitable input configured for the model #3346

robertcheramy opened this issue Dec 16, 2024 · 0 comments
Milestone

Comments

@robertcheramy
Copy link
Collaborator

In each model, suitable inputs are specified with cfg, for example in the apc_aos model:

  cfg :ftp do
  end

If ftp is not configured in the configuration of oxidized, oxidized will just return status fail, without an hint that no suitable input were found.

input:
  default: ssh, ftp

Error:

W, [2024-12-16T15:18:13.720208 #36399]  WARN -- : /localhost status fail, retry attempt 1

A warning could be implemented in Node::run.

@robertcheramy robertcheramy added this to the 0.32 milestone Dec 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