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

Level of logging messages in case of resource failure #610

Open
hackermd opened this issue Mar 3, 2017 · 2 comments
Open

Level of logging messages in case of resource failure #610

hackermd opened this issue Mar 3, 2017 · 2 comments

Comments

@hackermd
Copy link
Contributor

hackermd commented Mar 3, 2017

When job submission fails due to problems with backend resources the logging messages are not very helpful at ERROR level:

ERROR    | gc3.gc3libs                              | Invalid state ''NEW'' returned by task 2.
INFO     | gc3.gc3libs                              | Rejecting resource 'localhost': requested more memory (3500MB) that resource provides (2.04678e+06KiB, 2.04678e+06KiB per CPU core)
WARNING  | gc3.gc3libs                              | No compatible resources for task '3' - cannot submit it

Since the GC3Pie logger is very chatty, I like to set it to ERROR. Upon resource failure, I would expect a message at this level.

@riccardomurri
Copy link
Collaborator

Upon resource failure, I would expect a message at this level.

Which messages of the 3 you posted should get "promoted"?

@hackermd
Copy link
Contributor Author

hackermd commented Mar 6, 2017

All of them should be ERROR messages in my opion. The Rejecting resource ... message would be particularly useful at ERROR level, since it would point users in the right direction without having to increase logging verbosity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants