[drbd-mc] Bug: applying changes from the GUI to clone-group throws exception
rasto.levrinc at linbit.com
Tue Dec 7 18:34:47 CET 2010
On Sun, December 5, 2010 1:50 pm, Christian Frömmel wrote:
> we just stepped on a bug in the GUI, which leads to an unusable
> We're using a clone-group in our crm-configuration. So we build a group
> and a clone-statement using that group (within the crm-cli):
> group grp_Services res_service_1 res_service_2 clone clone_Services
> grp_Services meta clone-max="2" notify="false"
> (The whole test-configuration is attached).
> In the cluster this is working well, but when doing changes - or just
> preview changes - on this clone-group in the GUI, the GUI throws an
> exception. This makes it quite unusable, as it is not possible anymore
> apply changes the this clone-resource.
> The GUI throws the following exception:
> release: 0.8.4
> java: Sun Microsystems Inc. 1.6.0_22
> uncaught exception java.lang.NullPointerException null
> java.lang.Thread.run(Unknown Source)
> The corresponding log-entry in the GUI-console is:
> [root at cluster-test-1:~#] /usr/sbin/cibadmin --obj_type resources -R -X
> '<meta_attributes id="grp_Services-meta_attributes"></meta_attributes>'
> Call cib_replace failed (-22): The object/attribute does not exist
> It seems that the GUI is expecting only plain resources in the
> clone-Statement, not groups.
Actually cloned groups are implemented, but it was not part of automatic
testing and it was broken.
I've fixed your particular problem here:
Before the next release I'll make a proper testing of cloned groups as well.
: Dipl-Ing Rastislav Levrinc
: DRBD MC http://oss.linbit.com/drbd-mc/
: DRBD MC http://www.drbd.org/mc/management-console/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.
More information about the drbd-mc