containers / nri-plugins

A collection of community maintained NRI plugins
https://containers.github.io/nri-plugins/
Apache License 2.0
67 stars 24 forks source link

fixes: copy assigned memory zone in grant clone. #413

Closed klihub closed 2 weeks ago

klihub commented 2 weeks ago

When cloning a grant, copy also the assigned memory zone. Failing to do so can result in errors like this during reconfiguration:

E: failed to reinstate grants verbatim: topology-aware: failed to get libmem offer for pool "NUMA node #1", grant of default/test/c2: libmem: invalid NodeMask: request without affinity

Additionally, also include the container's pretty name in saved grants, just to help post-mortem interpretation.