-
Notifications
You must be signed in to change notification settings - Fork 50
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.submit-nocreate RPC doesn't set job state to submitted #1410
Comments
Even if |
On a second thought, it seems @SteVwonder relies on the fact that |
If you don't mind I think it would be good to keep this open until we're done messing with the wreck prototype, as it may be useful/easy to fix this if we are making other related changes. |
Sounds good. Need to hear from @SteVwonder though. |
The simulator relies on I agree with @dongahn that if the logic is going to be reworked, its not worth the effort to refactor anything right now. |
Thanks for weighing in @dongahn, @SteVwonder. If everything works as is now, then I suppose nothing at this time requires It is a simple change to update the state in the KVS in the job module for the |
@grondo: I said "it is not worth the effort to refactor", but what I really meant was "I am fine with not refactoring". Sorry for not being precise the first time. If you think it is important to change, then I'm all for it. Let me know how I can help. |
Sounds good across the board, in particular changing this won't break anything. |
Sorry @SteVwonder, I just meant I agreed with you, but wanted to add my one
or two caveats...
…On Mon, Apr 2, 2018, 8:32 AM Stephen Herbein ***@***.***> wrote:
@grondo <https://github.com/grondo>: I said "it is not worth the effort
to refactor", but what I really meant was "I am fine with not refactoring".
Sorry for not being precise the first time.
If you think it is important to change, then I'm all for it. Let me know
how I can help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1410 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAtSUraiaSl88sFseFn4uBFwzexyP7clks5tkkRygaJpZM4TC3EV>
.
|
The wreck exec system is worthless, remove it along with associated commands, tests, and support code. Since libjsc doesn't work without wreck, it is removed as well. Fixes flux-framework#1984 Closes flux-framework#1947 Closes flux-framework#1618 Closes flux-framework#1595 Closes flux-framework#1593 Closes flux-framework#1468 Closes flux-framework#1438 Closes flux-framework#1419 Closes flux-framework#1410 Closes flux-framework#915 Closes flux-framework#894 Closes flux-framework#866 Closes flux-framework#833 Closes flux-framework#774 Closes flux-framework#772 Closes flux-framework#335 Closes flux-framework#249
The wreck exec system is worthless, remove it along with associated commands, tests, and support code. Since libjsc doesn't work without wreck, it is removed as well. Fixes flux-framework#1984 Closes flux-framework#1947 Closes flux-framework#1618 Closes flux-framework#1595 Closes flux-framework#1593 Closes flux-framework#1534 Closes flux-framework#1468 Closes flux-framework#1443 Closes flux-framework#1438 Closes flux-framework#1419 Closes flux-framework#1410 Closes flux-framework#1407 Closes flux-framework#1393 Closes flux-framework#915 Closes flux-framework#894 Closes flux-framework#866 Closes flux-framework#833 Closes flux-framework#774 Closes flux-framework#772 Closes flux-framework#335 Closes flux-framework#249
The wreck exec system is worthless, remove it along with associated commands, tests, and support code. Since libjsc doesn't work without wreck, it is removed as well. Fixes flux-framework#1984 Closes flux-framework#1947 Closes flux-framework#1618 Closes flux-framework#1595 Closes flux-framework#1593 Closes flux-framework#1534 Closes flux-framework#1468 Closes flux-framework#1443 Closes flux-framework#1438 Closes flux-framework#1419 Closes flux-framework#1410 Closes flux-framework#1407 Closes flux-framework#1393 Closes flux-framework#915 Closes flux-framework#894 Closes flux-framework#866 Closes flux-framework#833 Closes flux-framework#774 Closes flux-framework#772 Closes flux-framework#335 Closes flux-framework#249
The wreck exec system is worthless, remove it along with associated commands, tests, and support code. Since libjsc doesn't work without wreck, it is removed as well. Fixes flux-framework#1984 Closes flux-framework#1947 Closes flux-framework#1618 Closes flux-framework#1595 Closes flux-framework#1593 Closes flux-framework#1534 Closes flux-framework#1468 Closes flux-framework#1443 Closes flux-framework#1438 Closes flux-framework#1419 Closes flux-framework#1410 Closes flux-framework#1407 Closes flux-framework#1393 Closes flux-framework#915 Closes flux-framework#894 Closes flux-framework#866 Closes flux-framework#833 Closes flux-framework#774 Closes flux-framework#772 Closes flux-framework#335 Closes flux-framework#249
closed by #1988 |
The wreck exec system is worthless, remove it along with associated commands, tests, and support code. Since libjsc doesn't work without wreck, it is removed as well. Fixes flux-framework#1984 Closes flux-framework#1947 Closes flux-framework#1618 Closes flux-framework#1595 Closes flux-framework#1593 Closes flux-framework#1468 Closes flux-framework#1438 Closes flux-framework#1419 Closes flux-framework#1410 Closes flux-framework#915 Closes flux-framework#894 Closes flux-framework#866 Closes flux-framework#833 Closes flux-framework#774 Closes flux-framework#772 Closes flux-framework#335 Closes flux-framework#249
As noted by @SteVwonder in flux-framework/flux-sched#304, the
job.submit-nocreate
RPC doesn't update the state of the job in the KVS before emitting thesubmitted
event.The
job.submit-nocreate
RPC was added as a convenience for wreckrun to attempt submitting a job in thereserved
state, since the existingjob.submit
only worked for jobs that had not been created yet. As withjob.submit
,job.submit-nocreate
will fail if asched.
service is not loaded, so thenwreckrun
can fall back to existing behavior of create a "fake" allocation.The current behavior of emitting a
wreck.state.submitted
event for a job in the "reserved" state may be confusing, so should probably be fixed. However, sincesched
and the simulator have had to workaround the current behavior, and this instance of the job module will soon be replaced, I leave it up to @SteVwonder and @dongahn to determine if it should actually be fixed.The text was updated successfully, but these errors were encountered: