Revision 2d90608c lib/config.py

b/lib/config.py
1052 1052
        not hasattr(data.cluster, 'rsahostkeypub')):
1053 1053
      raise errors.ConfigurationError("Incomplete configuration"
1054 1054
                                      " (missing cluster.rsahostkeypub)")
1055

  
1056
    # Upgrade configuration if needed
1057
    data.UpgradeConfig()
1058

  
1055 1059
    self._config_data = data
1056 1060
    # reset the last serial as -1 so that the next write will cause
1057 1061
    # ssconf update

Also available in: Unified diff