Revision 03d1dba2 lib/config.py

b/lib/config.py
865 865
    # Write ssconf files on all nodes (including locally)
866 866
    if self._last_cluster_serial < self._config_data.cluster.serial_no:
867 867
      if not self._offline:
868
        rpc.RpcRunner.call_write_ssconf_files(self._UnlockedGetNodeList())
868
        rpc.RpcRunner.call_write_ssconf_files(self._UnlockedGetNodeList(),
869
                                              self._UnlockedGetSsconfValues())
869 870
      self._last_cluster_serial = self._config_data.cluster.serial_no
870 871

  
872
  def _UnlockedGetSsconfValues(self):
873
    return {
874
      "cluster_name": self._config_data.cluster.cluster_name,
875
      "master_ip": self._config_data.cluster.master_ip,
876
      "master_netdev": self._config_data.cluster.master_netdev,
877
      "master_node": self._config_data.cluster.master_node,
878
      }
879

  
871 880
  @locking.ssynchronized(_config_lock)
872 881
  def InitConfig(self, version, cluster_config, master_node_config):
873 882
    """Create the initial cluster configuration.

Also available in: Unified diff