mgr/cephadm: revamp ceph.conf distribution scheduling #36286
Merged
sebastian-philipp merged 2 commits intoceph:masterfrom Jul 30, 2020
Merged
mgr/cephadm: revamp ceph.conf distribution scheduling #36286sebastian-philipp merged 2 commits intoceph:masterfrom
sebastian-philipp merged 2 commits intoceph:masterfrom
Conversation
mgfritch
previously approved these changes
Jul 24, 2020
Contributor
|
jenkins test make check |
tchaikov
previously requested changes
Jul 26, 2020
Contributor
There was a problem hiding this comment.
we need to set self.ssh_config_file before referencing it. before this change self.config_notify() creates a set of member variables with the names and values of MODULE_OPTIONS. but after this change they are initialized at the end of constructor.
and we have
2020-07-26T08:52:31.889+0000 7f4d3c56e700 -1 mgr load Traceback (most recent call last):
File "/usr/share/ceph/mgr/cephadm/module.py", line 281, in __init__
self._reconfig_ssh()
File "/usr/share/ceph/mgr/cephadm/module.py", line 592, in _reconfig_ssh
ssh_config_fname = self.ssh_config_file
AttributeError: 'CephadmOrchestrator' object has no attribute 'ssh_config_file'
Contributor
Author
|
Thanks kefu! |
Contributor
|
This PR fixes an issue introduced in #35576 |
d5d9e42 to
b239f1d
Compare
self.cache is setthe PR has little in common with the original PR here you approved. dismiss as outdated.
Contributor
Author
|
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Contributor
Author
Having an in-memeory list doesn't work properly: Especially when loading the mgr module, we didn't knwo if we should deploy confs or not. Now we only distribute ceph.confs, if there is a new mon_map. We also store that info now in the config store Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
b239f1d to
aa4c3b2
Compare
3 tasks
Contributor
Author
|
ping @tchaikov |
ricardoasmarques
approved these changes
Jul 30, 2020
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.
Fixes
Signed-off-by: Sebastian Wagner sebastian.wagner@suse.com
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 dashboard backendjenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox