Revision 2928f08d lib/cmdlib.py

b/lib/cmdlib.py
2178 2178
          logging.error("Copy of file %s to node %s failed", fname, to_node)
2179 2179

  
2180 2180
    to_copy = []
2181
    if constants.HT_XEN_HVM in self.cfg.GetClusterInfo().enabled_hypervisors:
2181
    enabled_hypervisors = self.cfg.GetClusterInfo().enabled_hypervisors
2182
    if constants.HTS_USE_VNC.intersection(enabled_hypervisors):
2182 2183
      to_copy.append(constants.VNC_PASSWORD_FILE)
2184

  
2183 2185
    for fname in to_copy:
2184 2186
      result = self.rpc.call_upload_file([node], fname)
2185 2187
      if result[node].failed or not result[node]:

Also available in: Unified diff