Handling the merge.
|
__init__(self,
clusters,
pause_period,
groups,
restart,
params,
stop_instances)
Initialize object with sane defaults and infos required. |
|
|
|
Setup(self)
Sets up our end so we can do the merger. |
|
|
|
|
|
_RunCmd(self,
hostname,
command,
user="root",
use_cluster_key=False,
strict_host_check=False,
private_key=None,
batch=True,
ask_key=False,
max_attempts=1)
Wrapping SshRunner.Run with default parameters. |
|
|
boolean
|
|
|
_StopMergingInstances(self)
Stop instances on merging clusters. |
|
|
|
_DisableWatcher(self)
Disable watch on all merging clusters, including ourself. |
|
|
|
_RemoveMasterIps(self)
Removes the master IPs from the master nodes of each cluster. |
|
|
|
_StopDaemons(self)
Stop all daemons on merging nodes. |
|
|
|
|
|
|
|
_MergeConfig(self)
Merges all foreign config into our own config. |
|
|
|
_MergeClusterConfigs(self,
my_config,
other_config)
Checks that all relevant cluster parameters are compatible |
|
|
|
_GetOsHypervisor(self,
cluster,
os_name,
hyp) |
|
|
|
|
|
|
|
|
|
|
|
|
|
Merge(self)
Does the actual merge. |
|
|
|
Cleanup(self)
Clean up our environment. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|