-
Notifications
You must be signed in to change notification settings - Fork 94
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
6.11.x - Fix submitted/running task owner/host on restart #2098
6.11.x - Fix submitted/running task owner/host on restart #2098
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good, one comment to fix.
kwargs["host"] = host | ||
except IOError: | ||
# Bad host, run the command any way, command will fail and | ||
# callback with due with it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto my comment in #2097
Ensure that `itask.task_owner` and `itask.task_host` are set on restart. Previously, it only set `itask.user_at_host` which was not enough for job management commands such as poll/kill.
b9329c8
to
3aa3d64
Compare
Comment fixed, branch rebased and squashed. |
@oliver-sanders please sanity check. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks sane to me.
Ensure that
itask.task_owner
anditask.task_host
are set on restart.Previously, it only set
itask.user_at_host
which was not enough forjob management commands such as poll/kill.
(Back port of #2097.)