cephadm: include service_name in unit.meta file#39644
Merged
sebastian-philipp merged 6 commits intoceph:masterfrom Feb 26, 2021
Merged
cephadm: include service_name in unit.meta file#39644sebastian-philipp merged 6 commits intoceph:masterfrom
sebastian-philipp merged 6 commits intoceph:masterfrom
Conversation
Report of container memory usage Signed-off-by: Sage Weil <sage@newdream.net>
Set a limit on the pod. Pass both request and limit as POD_MEMORY_REQUEST and POD_MEMORY_LIMIT, for consistency with Rook. Store the request and limit in a new unit.meta file, stored next to unit.run. Report everything in unit.meta with 'ls' result. Signed-off-by: Sage Weil <sage@newdream.net>
Keep this in our cached inventory. Signed-off-by: Sage Weil <sage@newdream.net>
Contributor
fc4291e to
efcedba
Compare
Contributor
|
wondering why this wasn't caught by mypy. could have saved a whole Teuthology run |
e.g., --meta-json '{"foo": "bar"}'
Signed-off-by: Sage Weil <sage@newdream.net>
Inferring service_name from the daemon name is error-prone. Fixes: https://tracker.ceph.com/issues/46219 Signed-off-by: Sage Weil <sage@newdream.net>
This is slightly gross, but we need ctx.meta_json for the bootstrap case, which deploys a mon and mgr. Signed-off-by: Sage Weil <sage@newdream.net>
efcedba to
42d11d4
Compare
sebastian-philipp
approved these changes
Feb 26, 2021
This was referenced Mar 2, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fall back to the old code to infer this when it is not present.
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox