[drbd-mc] NullPointerException in certain cluster configurations

Peter Luciak Peter.Luciak at iblsoft.com
Thu Feb 11 15:41:14 CET 2010


Hi,
I have a resource group ("fs"), which is colocated and ordered with 2 
DRBD resources ("drbd_data" and "drbd_app").

When I add another group "apps", which is also colocated with those 2 
DRBD resources, and colocated & ordered with "fs", the MC freezes with 
this exception:

uncaught exception
java.lang.NullPointerException
null
drbd.gui.ResourceGraph$MyPluggableRenderer.paintShapeForVertex(ResourceGraph.java:1388)
edu.uci.ics.jung.visualization.PluggableRenderer.paintVertex(PluggableRenderer.java:1148)
edu.uci.ics.jung.visualization.VisualizationViewer.renderGraph(VisualizationViewer.java:823)
edu.uci.ics.jung.visualization.VisualizationViewer.paintComponent(VisualizationViewer.java:733)
javax.swing.JComponent.paint(JComponent.java:1027)
javax.swing.JComponent.paintChildren(JComponent.java:864)
javax.swing.JComponent.paint(JComponent.java:1036)
javax.swing.JComponent.paintChildren(JComponent.java:864)
javax.swing.JSplitPane.paintChildren(JSplitPane.java:1026)

Here are the colocation & order rules:

location fs_on_iblcls2 fs 100000: iblcls2
location stonith_iblcls1_on_iblcls2 stonith_iblcls1 \
	rule $id="stonith_iblcls1_on_iblcls2-rule" inf: #uname ne iblcls2
location stonith_iblcls2_on_iblcls1 stonith_iblcls2 \
	rule $id="stonith_iblcls2_on_iblcls1-rule" inf: #uname ne iblcls1
colocation apps_on_drbd_app inf: apps ms_drbd_app:Master
colocation apps_on_drbd_data inf: apps ms_drbd_data:Master
colocation fs_app_on_drbd_app inf: fs ms_drbd_app:Master
colocation fs_data_on_drbd_data inf: fs ms_drbd_data:Master
colocation fs_with_apps inf: fs apps
order apps_after_fs inf: fs apps
order fs_app_after_drbd_app inf: ms_drbd_app:promote fs:start
order fs_data_after_drbd_data inf: ms_drbd_data:promote fs:start

I'm also attaching the output of cibadmin -Q.

Peter
-- 
Peter LUCIAK (Peter.Luciak at iblsoft.com)
IBL Software Engineering, http://www.iblsoft.com/
Mierová 103, 82105 Bratislava, Slovakia
Phone: +421-2-32662111, Fax: +421-2-32662110
Direct: +421-2-32662175
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cib.xml
Type: text/xml
Size: 51270 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-mc/attachments/20100211/c54050c7/attachment-0001.bin>


More information about the drbd-mc mailing list