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

job-manager: add flux job submit --debug flag #2033

Closed
garlick opened this issue Feb 21, 2019 · 0 comments
Closed

job-manager: add flux job submit --debug flag #2033

garlick opened this issue Feb 21, 2019 · 0 comments

Comments

@garlick
Copy link
Member

garlick commented Feb 21, 2019

Problem: it's difficult to know what's going on inside the job manager. For example, a pending alloc request is "retracted" (flag indicating that it's outstanding cleared) when the scheduler is unloaded, and then the alloc request is resent when the scheduler is loaded again.

One idea is to add a debug flag at job submission. If set, the job manager could emit verbose debug eventlog entries for the job. The key events that drive the job state machine are already in there. This would surround it with some further context about what's happening to use as a trace for testing, or a debugging tool.

@garlick garlick changed the title add flux job submit --debug flag job-manager: add flux job submit --debug flag Feb 25, 2019
garlick added a commit to garlick/flux-core that referenced this issue Feb 27, 2019
Add a new flag to job.h for flux_job_submit(),
FLUX_JOB_DEBUG, to enable eventlog debugging.
Then add flux job submit [--debug] option to
allow it to be set on the command line at submit time.

Fixes flux-framework#2033.
garlick added a commit to garlick/flux-core that referenced this issue Feb 27, 2019
Add a new flag to job.h for flux_job_submit(),
FLUX_JOB_DEBUG, to enable eventlog debugging.
Then add flux job submit [--debug] option to
allow it to be set on the command line at submit time.

Fixes flux-framework#2033.
garlick added a commit to garlick/flux-core that referenced this issue Feb 27, 2019
Add a new flag to job.h for flux_job_submit(),
FLUX_JOB_DEBUG, to enable eventlog debugging.
Then add flux job submit [--debug] option to
allow it to be set on the command line at submit time.

Fixes flux-framework#2033.
@grondo grondo closed this as completed in 0ab4c7b Feb 28, 2019
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

1 participant