python-nomad icon indicating copy to clipboard operation
python-nomad copied to clipboard

Client library Hashicorp Nomad

Results 38 python-nomad issues
Sort by recently updated
recently updated
newest added

This PR allows the caller to inject a `requests.Session` object that the Nomad client should use to make all requests, in case the client is used in an environment where...

This adds two endpoints that are new since 0.12.0. (also removes duplicated test `test_revert_job`) The API contract of the `/:job_id/scale` endpoint is not fully clear to me yet (see [this...

drain_node method fails with the following error : The BadRequestNomadException was raised with following response: Request body is empty

https://github.com/jrxFive/python-nomad/blob/master/nomad/__init__.py One has to drill down to the Requester object to learn that `address` takes precedence over `host/port`. https://github.com/jrxFive/python-nomad/blob/f6dcba8176ded3fdcd5a76d9ded8cab3d3091c02/nomad/api/base.py#L53 if anything, this should be some sort of xor (throw an...

Hello, the nomad CLI has an option for feeding variables through a hcl file using nomad job run -var-file vars.hcl job.hcl Can this be replicated with the python lib?

I think these examples incorrectly reference the `pause_deployment` function

A trailing slash in the `NOMAD_ADDR` environment variable may lead to failing API requests with the message `nomad.api.exceptions.BaseNomadException: The BaseNomadException was raised with following response: Invalid method.` This happend to...

For reading task logs (e.g., stdout/stderr), the Nomad API [endpoint](https://www.nomadproject.io/api/client.html#stream-logs) only supports passing an offset in characters instead of lines which makes implementation rather difficult. To ease implementation, the library...

Calling `job.deregister_job()` with a non-existent job-id does not raise an error. Seems like it might actually be an issue with the Nomad API not responding to that with a `404`,...