[Pacemaker] hb_gui on C5/EL5 x86_64 broken?

Yan Gao ygao at novell.com
Mon Jun 1 06:08:28 UTC 2009


Hi
On Fri, 2009-05-29 at 17:31 +0200, Rainer Traut wrote:
> Hi,
> 
> am using:
> 
> # rpm -qf /usr/bin/hb_gui
> pacemaker-mgmt-client-1.99.1-2.1
> 
> from opensuse build service.
> 
> Any change I make with hb_gui results in wierd errors:
> 
> Traceback (most recent call last):
>    File "/usr/bin/hb_gui", line 2281, in on_apply
>      self.update_crm_config(metadata, new_crm_config)
>    File "/usr/bin/hb_gui", line 2345, in update_crm_config
>      (parent_xml_node, add_obj_type, new_mid_elem) = \
>    File "/usr/bin/hb_gui", line 6983, in real_add_obj_type
>      if not sub_attr_is_any_name and (len(sub_attr_list) == 0 \
> UnboundLocalError: local variable 'sub_attr_is_any_name' referenced 
> before assignment

Is the validation type of your CIB still DTD ? pacemaker-mgmt is
theoretically able to work with DTD as well, but it hasn't been
verified.

Please try the following patch:
http://hg.clusterlabs.org/pacemaker/pygui/rev/9bdd1200160c

Waiting for more feedback...:-)

-- 
Regards,
Yan Gao
China R&D Software Engineer
ygao at novell.com

Novell, Inc.
Making IT Work As One™





More information about the Pacemaker mailing list