--- conga/luci/site/luci/Extensions/FenceHandler.py 2007/12/11 15:54:16 1.28
+++ conga/luci/site/luci/Extensions/FenceHandler.py 2008/01/02 21:00:31 1.29
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/HelperFunctions.py 2007/12/12 15:48:29 1.11
+++ conga/luci/site/luci/Extensions/HelperFunctions.py 2008/01/02 21:00:31 1.12
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/LuciClusterInfo.py 2007/11/06 23:05:07 1.17
+++ conga/luci/site/luci/Extensions/LuciClusterInfo.py 2008/01/02 21:00:31 1.18
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/LuciSyslog.py 2007/06/25 16:03:38 1.12
+++ conga/luci/site/luci/Extensions/LuciSyslog.py 2008/01/02 21:00:31 1.13
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/LuciValidation.py 2007/12/12 15:43:15 1.1
+++ conga/luci/site/luci/Extensions/LuciValidation.py 2008/01/02 21:00:31 1.2
@@ -1,4 +1,4 @@
-# Copyright (C) 2007 Red Hat, Inc.
+# Copyright (C) 2007-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/LuciZope.py 2007/12/12 15:48:29 1.6
+++ conga/luci/site/luci/Extensions/LuciZope.py 2008/01/02 21:00:31 1.7
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/LuciZopeAsync.py 2007/12/12 15:48:30 1.4
+++ conga/luci/site/luci/Extensions/LuciZopeAsync.py 2008/01/02 21:00:31 1.5
@@ -1,4 +1,4 @@
-# Copyright (C) 2007 Red Hat, Inc.
+# Copyright (C) 2007-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/LuciZopeClusterPortal.py 2007/06/25 16:03:38 1.2
+++ conga/luci/site/luci/Extensions/LuciZopeClusterPortal.py 2008/01/02 21:00:31 1.3
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/LuciZopeExternal.py 2007/12/12 15:48:30 1.4
+++ conga/luci/site/luci/Extensions/LuciZopeExternal.py 2008/01/02 21:00:31 1.5
@@ -1,4 +1,4 @@
-# Copyright (C) 2007 Red Hat, Inc.
+# Copyright (C) 2007-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/LuciZopePerm.py 2007/06/25 16:03:38 1.2
+++ conga/luci/site/luci/Extensions/LuciZopePerm.py 2008/01/02 21:00:31 1.3
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/PropsObject.py 2007/09/24 21:19:42 1.8
+++ conga/luci/site/luci/Extensions/PropsObject.py 2008/01/02 21:00:31 1.9
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/ResourceHandler.py 2007/09/24 21:19:42 1.4
+++ conga/luci/site/luci/Extensions/ResourceHandler.py 2008/01/02 21:00:31 1.5
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/Variable.py 2007/09/24 21:19:42 1.6
+++ conga/luci/site/luci/Extensions/Variable.py 2008/01/02 21:00:31 1.7
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/cluster_adapters.py 2007/12/12 15:45:27 1.276
+++ conga/luci/site/luci/Extensions/cluster_adapters.py 2008/01/02 21:00:32 1.277
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/conga_constants.py 2007/11/02 20:49:55 1.46
+++ conga/luci/site/luci/Extensions/conga_constants.py 2008/01/02 21:00:32 1.47
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/conga_ssl.py 2007/09/24 21:19:42 1.4
+++ conga/luci/site/luci/Extensions/conga_ssl.py 2008/01/02 21:00:32 1.5
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/conga_storage_constants.py 2007/10/09 20:20:02 1.11
+++ conga/luci/site/luci/Extensions/conga_storage_constants.py 2008/01/02 21:00:32 1.12
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/homebase_adapters.py 2007/08/08 21:00:07 1.53
+++ conga/luci/site/luci/Extensions/homebase_adapters.py 2008/01/02 21:00:32 1.54
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/ricci_communicator.py 2007/10/09 20:20:02 1.31
+++ conga/luci/site/luci/Extensions/ricci_communicator.py 2008/01/02 21:00:32 1.32
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/ricci_defines.py 2007/09/24 21:19:42 1.3
+++ conga/luci/site/luci/Extensions/ricci_defines.py 2008/01/02 21:00:32 1.4
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
--- conga/luci/site/luci/Extensions/system_adapters.py 2007/06/25 16:03:39 1.3
+++ conga/luci/site/luci/Extensions/system_adapters.py 2008/01/02 21:00:32 1.4
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2007 Red Hat, Inc.
+# Copyright (C) 2006-2008 Red Hat, Inc.
#
# This program is free software; you can redistribute
# it and/or modify it under the terms of version 2 of the
for x in skeys:
- i = system_list[x]
system_list[x]['batch'] = batch_node_xml
- next_node_id += 1
- new_node = ClusterNode()
- new_node.attr_hash['name'] = str(i['host'])
- new_node.attr_hash['votes'] = str(1)
- while next_node_id in used_ids:
- next_node_id += 1
- new_node.attr_hash['nodeid'] = str(next_node_id)
- nodesptr.addChild(new_node)
if incomplete or len(errors) > 0:
request.SESSION.set('add_node', add_cluster)
return (False, { 'errors': errors, 'messages': messages })
- model.setModified(True)
- conf_str = str(model.exportModelAsString())
- if not conf_str:
- raise Exception, 'Unable to save the new cluster model'
-
- # Propagate the new cluster.conf to the existing nodes
# before having any of the new nodes join. If this fails,
# abort the whole process.
result = rq.setClusterConfSync(cluster_ricci, conf_str)