You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this @akhayyat ! There is definitely a bug here - if both (or neither) resources.memoryandresources.cpu are set, everything is fine. However if only one is set, there is an attempt to derefence a nil pointer on the other.
Add `Canonicalize` methods to the connect components of a service
definition in the `api` package. Without these, we have been relying
on good input for the connect stanza.
Fixes#7993
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Nomad version
Nomad v0.11.1 (b434570)
Operating system and Environment details
Debian 10.3
Issue
When setting resource requirements for a Connect sidecar task using the
service.connect.sidecar_task
stanza, running the job results in the error:The same job file without the
sidecar_task.resources
stanza runs fine.Reproduction steps
Run a Docker job with some resource requirements defined under
service.connect.sidecar_task.resources
. See below for an example.Job file (if appropriate)
Nomad Client logs
The text was updated successfully, but these errors were encountered: