[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci/site/luci/Extensions homebase_adapt ...



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe sourceware org	2006-10-13 17:12:41

Modified files:
	luci/site/luci/Extensions: homebase_adapters.py 

Log message:
	allow removing a storage system, even if we're unable to talk to the ricci node that's [supposed to be] running on it

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/homebase_adapters.py.diff?cvsroot=cluster&r1=1.30&r2=1.31

--- conga/luci/site/luci/Extensions/homebase_adapters.py	2006/10/13 17:04:11	1.30
+++ conga/luci/site/luci/Extensions/homebase_adapters.py	2006/10/13 17:12:41	1.31
@@ -1107,7 +1107,11 @@
 		if not rc:
 			raise
 	except:
-		return 'Unable to connect to the ricci agent on \"' + systemName + '\" to unauthenticate'
+		try:
+			ssystem.manage_delObjects([systemName])
+		except:
+			return 'Unable to delete the storage system \"' + systemName + '\"'
+		return
 
 	# Only unauthenticate if the system isn't a member of
 	# a managed cluster.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]