[Cluster-devel] conga/luci/site/luci/Extensions StorageReport.py
rmccabe at sourceware.org
rmccabe at sourceware.org
Thu Jun 14 22:43:24 UTC 2007
CVSROOT: /cvs/cluster
Module name: conga
Branch: EXPERIMENTAL
Changes by: rmccabe at sourceware.org 2007-06-14 22:43:24
Modified files:
luci/site/luci/Extensions: StorageReport.py
Log message:
Resolve bz241418 (Conga tries to configurage cluster snaps, though they are not available)
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/StorageReport.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.23.2.6&r2=1.23.2.7
--- conga/luci/site/luci/Extensions/StorageReport.py 2007/06/01 23:18:16 1.23.2.6
+++ conga/luci/site/luci/Extensions/StorageReport.py 2007/06/14 22:43:24 1.23.2.7
@@ -1579,7 +1579,8 @@
if node.nodeType == xml.dom.Node.ELEMENT_NODE:
if node.nodeName == BD_TEMPLATE:
snap_lv = get_bd_data_internal(session, node, mapper_xml)
- if snap_lv is not None:
+
+ if snap_lv is not None and snap_lv['props']['clustered']['value'] != 'true':
if snap_lv['props']['snapshot']['value'] == 'true':
origs = snap_lv['props']['snapshot_origin']['value']
if pretty_name in origs:
More information about the Cluster-devel
mailing list