Move the cluster name from ConfigWriter to SimpleStore.
Reason: if left ConfigWriter, nodes don't know to which cluster they belong. This will bite us later when we'll revisit node join operation. Cons: we lose the cluster name from the config file, which means a standalone "cluster.data" is a little bit harder to analyze. But I have a plan for this which will follow shortly. Implementing this will also allow us to cleanly fix "gnt-cluster getmaster". Reviewed-by: imsnah
Showing
- lib/cmdlib.py 3 additions, 2 deletionslib/cmdlib.py
- lib/config.py 1 addition, 11 deletionslib/config.py
- lib/mcpu.py 1 addition, 2 deletionslib/mcpu.py
- lib/objects.py 0 additions, 1 deletionlib/objects.py
- lib/ssconf.py 8 additions, 1 deletionlib/ssconf.py
- testing/mocks.py 3 additions, 3 deletionstesting/mocks.py
- tools/cfgshell 2 additions, 3 deletionstools/cfgshell
Loading
Please register or sign in to comment