Revision 90d726a8 lib/config.py

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

  
1059
    # Upgrade configuration if needed
1060
    data.UpgradeConfig()
1061

  
1058 1062
    self._config_data = data
1059 1063
    # reset the last serial as -1 so that the next write will cause
1060 1064
    # ssconf update

Also available in: Unified diff