On 2007-08-29T17:11:44, Yan Gao <[EMAIL PROTECTED]> wrote: > mgmt patch 8: > http://coolpix.a-s-k.hk/~gaoyan/heartbeat-0809-target_role.patch > > Signed-off-by: Yan Gao <[EMAIL PROTECTED]> > > Description: > Resolve target_role problem for sub-resource. > > *Remove the default target_role parameter added in the dialog of adding > resources. If adding a native resource, a target_role with value of > "stopped" will be just set. > > *If adding a resource belonging to a new-group/clone/master_slave, a > target_role with value of "stopped" will be set for the parent,and > nothing will be set for the child.If a user sets target_role himself, > haclient will prompt a dialog for user confirmation.
Does this work if the new-group also gets other instance attributes set? Besides, when you're changing this code, you could, preferably, set the target_role as a meta_attribute instead ;-) > *When start/stop a group/clone/ms, haclient will check the target_roles > of all sub-resources recursively, dialogs are prompted for user to > retain them or clean them up when found. > > *Rewrite the "confirmbox" to make dialogs less ugly;-) > > bug#1619: > http://old.linux-foundation.org/developer_bugzilla/show_bug.cgi?id=1619 > bug#1388 > http://old.linux-foundation.org/developer_bugzilla/show_bug.cgi?id=1388 > > Reference: > http://old.linux-foundation.org/developer_bugzilla/show_bug.cgi?id=1449 > https://bugzilla.novell.com/show_bug.cgi?id=291749 OK otherwise, thanks! _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
