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

allocs: signal #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

allocs: signal #117

wants to merge 1 commit into from

Conversation

resmo
Copy link
Collaborator

@resmo resmo commented Jun 4, 2021

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Jun 4, 2021

Codecov Report

Merging #117 (b634970) into master (8c41f30) will decrease coverage by 0.03%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
- Coverage   70.57%   70.53%   -0.04%     
==========================================
  Files          26       26              
  Lines        1203     1205       +2     
==========================================
+ Hits          849      850       +1     
- Misses        354      355       +1     
Impacted Files Coverage Δ
nomad/api/client.py 72.44% <33.33%> (-0.47%) ⬇️
nomad/api/jobs.py 87.50% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8c41f30...b634970. Read the comment docs.

@resmo resmo changed the title allocs: signal and restart [WIP] allocs: signal and restart Jun 4, 2021
@resmo resmo force-pushed the feature/allocs branch from 9e45c66 to b634970 Compare June 6, 2021 20:40
@resmo resmo changed the title [WIP] allocs: signal and restart allocs: signal Jun 6, 2021
Copy link

@haowei99 haowei99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried this but this is the error I got:
nomad.api.exceptions.URLNotFoundNomadException: The URLNotFoundNomadException was raised with following response: resource not found.

@haowei99
Copy link

Notice how the api address is slightly different for alloc signal and alloc stop:

Signal - /v1/client/allocation/:alloc_id/signal
Stop - /v1/allocation/:alloc_id/stop

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

Successfully merging this pull request may close these issues.

3 participants