Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

hb_gui - NameError: global name 'obj_type' is not defined

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


gerdisch at alcatel-lucent

Nov 4, 2009, 2:40 PM

Post #1 of 7 (301 views)
Permalink
hb_gui - NameError: global name 'obj_type' is not defined

When I use hb_gui, I get the following error:

Traceback (most recent call last):
File "/usr/bin/hb_gui", line 5629, in update
window.update()
File "/usr/bin/hb_gui", line 4406, in update
self.maintree.update()
File "/usr/bin/hb_gui", line 1704, in update
self.dtd_elem = manager.get_dtd_elem(obj_type)
NameError: global name 'obj_type' is not defined

On one of the servers after I log in I get a message "couldn't create cib message" and then the listing above appears on the command line and I have to kill hb_gui from another terminal window.
On the other server, I get the traceback above right after logging in to hb_gui and do not see the "couldn't create cib message" and I can simply exit hb_gui at that point.

Installation-wise, I installed the system today using:
wget -O /etc/yum.repos.d/pacemaker.repo http://clusterlabs.org/rpm/epel-5/clusterlabs.repo
yum install -y pacemaker corosync heartbeat cluster

Although I had to first install various rpms that the above were dependent on, it did complete successfully.
(Although for some reason heartbeat was looking for /etc/ha.d/shellfuncs which was not there - so I manually copied that into place.)

Thanks in advance for any hints, clues, guidance,


Mitch Gerdisch

_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


ygao at novell

Nov 4, 2009, 10:24 PM

Post #2 of 7 (288 views)
Permalink
Re: hb_gui - NameError: global name 'obj_type' is not defined [In reply to]

Hi,

Gerdisch, Mitchell R (Mitchell) wrote:
> When I use hb_gui, I get the following error:
>
> Traceback (most recent call last):
> File "/usr/bin/hb_gui", line 5629, in update
> window.update()
> File "/usr/bin/hb_gui", line 4406, in update
> self.maintree.update()
> File "/usr/bin/hb_gui", line 1704, in update
> self.dtd_elem = manager.get_dtd_elem(obj_type)
> NameError: global name 'obj_type' is not defined
It seems that your GUI is a fairly earlier version. Where did you install it from?

>
> On one of the servers after I log in I get a message "couldn't create cib message" and then the listing above appears on the command line and I have to kill hb_gui from another terminal window.
> On the other server, I get the traceback above right after logging in to hb_gui and do not see the "couldn't create cib message" and I can simply exit hb_gui at that point.
>
> Installation-wise, I installed the system today using:
> wget -O /etc/yum.repos.d/pacemaker.repo http://clusterlabs.org/rpm/epel-5/clusterlabs.repo
> yum install -y pacemaker corosync heartbeat cluster
Hmm, pacemaker-mgmt(GUI) isn't included into the repo yet.
If you don't mind, you could get pacemaker-mgmt source rpm from
http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_5/src/
and build one against the new stack.

--
Regards,
Yan Gao

ygao[at]novell.com
Software Engineer
China Server Team, OPS Engineering

Novell, Inc.
Making IT Work As One™
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


gerdisch at alcatel-lucent

Nov 5, 2009, 6:21 AM

Post #3 of 7 (283 views)
Permalink
Re: hb_gui - NameError: global name 'obj_type' is not defined [In reply to]

To be honest, I can't remember where I found it.
But, one of your comments makes me think I missed a memo somewhere.
The RPM I installed is called pacemaker-pygui.
So, if I understand correctly, I should be installing pacemaker-mgmt?


Mitch

-----Original Message-----
From: linux-ha-bounces[at]lists.linux-ha.org [mailto:linux-ha-bounces[at]lists.linux-ha.org] On Behalf Of Yan Gao
Sent: Thursday, November 05, 2009 12:24 AM
To: General Linux-HA mailing list
Subject: Re: [Linux-HA] hb_gui - NameError: global name 'obj_type' is not defined

Hi,

Gerdisch, Mitchell R (Mitchell) wrote:
> When I use hb_gui, I get the following error:
>
> Traceback (most recent call last):
> File "/usr/bin/hb_gui", line 5629, in update
> window.update()
> File "/usr/bin/hb_gui", line 4406, in update
> self.maintree.update()
> File "/usr/bin/hb_gui", line 1704, in update
> self.dtd_elem = manager.get_dtd_elem(obj_type)
> NameError: global name 'obj_type' is not defined
It seems that your GUI is a fairly earlier version. Where did you install it from?

>
> On one of the servers after I log in I get a message "couldn't create cib message" and then the listing above appears on the command line and I have to kill hb_gui from another terminal window.
> On the other server, I get the traceback above right after logging in to hb_gui and do not see the "couldn't create cib message" and I can simply exit hb_gui at that point.
>
> Installation-wise, I installed the system today using:
> wget -O /etc/yum.repos.d/pacemaker.repo http://clusterlabs.org/rpm/epel-5/clusterlabs.repo
> yum install -y pacemaker corosync heartbeat cluster
Hmm, pacemaker-mgmt(GUI) isn't included into the repo yet.
If you don't mind, you could get pacemaker-mgmt source rpm from
http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_5/src/
and build one against the new stack.

--
Regards,
Yan Gao

ygao[at]novell.com
Software Engineer
China Server Team, OPS Engineering

Novell, Inc.
Making IT Work As One(tm)
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


gerdisch at alcatel-lucent

Nov 5, 2009, 11:33 AM

Post #4 of 7 (278 views)
Permalink
Re: hb_gui - NameError: global name 'obj_type' is not defined [In reply to]

Also, I tried building from the source RPM, but I'm running into various other problems (most likely related to my lack of experience building from RPMs).
Isn't there a binary RPM I can simply install?

I actually tried, http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_5/i386/pacemaker-mgmt-client-1.99.2-7.1.i386.rpm
But, this requires openais which when I try to install it says it conflicts with corosync.
So, I tried installing the above rpm with --nodeps figuring it'll get what it needs from the corosync package.
This installed, but I can't find anything like hb_gui or crm_gui to run.

BTW, is there some documentation I'm missing?
I'm thinking it can't be this hard. So, I'm thinking I must not be finding some documentation to walk me through this stuff.


Mitch

-----Original Message-----
From: linux-ha-bounces[at]lists.linux-ha.org [mailto:linux-ha-bounces[at]lists.linux-ha.org] On Behalf Of Gerdisch, Mitchell R (Mitchell)
Sent: Thursday, November 05, 2009 8:21 AM
To: General Linux-HA mailing list
Subject: Re: [Linux-HA] hb_gui - NameError: global name 'obj_type' is not defined

To be honest, I can't remember where I found it.
But, one of your comments makes me think I missed a memo somewhere.
The RPM I installed is called pacemaker-pygui.
So, if I understand correctly, I should be installing pacemaker-mgmt?


Mitch

-----Original Message-----
From: linux-ha-bounces[at]lists.linux-ha.org [mailto:linux-ha-bounces[at]lists.linux-ha.org] On Behalf Of Yan Gao
Sent: Thursday, November 05, 2009 12:24 AM
To: General Linux-HA mailing list
Subject: Re: [Linux-HA] hb_gui - NameError: global name 'obj_type' is not defined

Hi,

Gerdisch, Mitchell R (Mitchell) wrote:
> When I use hb_gui, I get the following error:
>
> Traceback (most recent call last):
> File "/usr/bin/hb_gui", line 5629, in update
> window.update()
> File "/usr/bin/hb_gui", line 4406, in update
> self.maintree.update()
> File "/usr/bin/hb_gui", line 1704, in update
> self.dtd_elem = manager.get_dtd_elem(obj_type)
> NameError: global name 'obj_type' is not defined
It seems that your GUI is a fairly earlier version. Where did you install it from?

>
> On one of the servers after I log in I get a message "couldn't create cib message" and then the listing above appears on the command line and I have to kill hb_gui from another terminal window.
> On the other server, I get the traceback above right after logging in to hb_gui and do not see the "couldn't create cib message" and I can simply exit hb_gui at that point.
>
> Installation-wise, I installed the system today using:
> wget -O /etc/yum.repos.d/pacemaker.repo http://clusterlabs.org/rpm/epel-5/clusterlabs.repo
> yum install -y pacemaker corosync heartbeat cluster
Hmm, pacemaker-mgmt(GUI) isn't included into the repo yet.
If you don't mind, you could get pacemaker-mgmt source rpm from
http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_5/src/
and build one against the new stack.

--
Regards,
Yan Gao

ygao[at]novell.com
Software Engineer
China Server Team, OPS Engineering

Novell, Inc.
Making IT Work As One(tm)
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


ygao at novell

Nov 6, 2009, 12:18 AM

Post #5 of 7 (272 views)
Permalink
Re: hb_gui - NameError: global name 'obj_type' is not defined [In reply to]

Hi,

Gerdisch, Mitchell R (Mitchell) wrote:
> Also, I tried building from the source RPM, but I'm running into various other problems (most likely related to my lack of experience building from RPMs).
Must be the delay of the build service...The source rpm can be built against corosync based stack was uploaded just a couple of hours ago.
> Isn't there a binary RPM I can simply install?
No yet for the latest stack from http://www.clusterlabs.org/rpm/
Andrew, would you consider to add it into, or is there
any other solution?


>
> I actually tried, http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_5/i386/pacemaker-mgmt-client-1.99.2-7.1.i386.rpm
> But, this requires openais which when I try to install it says it conflicts with corosync.
> So, I tried installing the above rpm with --nodeps figuring it'll get what it needs from the corosync package.
The binary cannot run with the latest stack.

> This installed, but I can't find anything like hb_gui or crm_gui to run.
>
> BTW, is there some documentation I'm missing?
> I'm thinking it can't be this hard. So, I'm thinking I must not be finding some documentation to walk me through this stuff.
>
>
> Mitch
>
> -----Original Message-----
> From: linux-ha-bounces[at]lists.linux-ha.org [mailto:linux-ha-bounces[at]lists.linux-ha.org] On Behalf Of Gerdisch, Mitchell R (Mitchell)
> Sent: Thursday, November 05, 2009 8:21 AM
> To: General Linux-HA mailing list
> Subject: Re: [Linux-HA] hb_gui - NameError: global name 'obj_type' is not defined
>
> To be honest, I can't remember where I found it.
> But, one of your comments makes me think I missed a memo somewhere.
> The RPM I installed is called pacemaker-pygui.
> So, if I understand correctly, I should be installing pacemaker-mgmt?
Yes.

--
Regards,
Yan Gao

ygao[at]novell.com
Software Engineer
China Server Team, OPS Engineering

Novell, Inc.
Making IT Work As One™
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


andrew at beekhof

Nov 6, 2009, 3:11 AM

Post #6 of 7 (267 views)
Permalink
Re: hb_gui - NameError: global name 'obj_type' is not defined [In reply to]

On Fri, Nov 6, 2009 at 9:18 AM, Yan Gao <ygao[at]novell.com> wrote:
> Hi,
>
> Gerdisch, Mitchell R (Mitchell) wrote:
>> Also, I tried building from the source RPM, but I'm running into various other problems (most likely related to my lack of experience building from RPMs).
> Must be the delay of the build service...The source rpm can be built against corosync based stack was uploaded just a couple of hours ago.
>> Isn't there a binary RPM I can simply install?
> No yet for the latest stack from http://www.clusterlabs.org/rpm/
> Andrew, would you consider to add it into, or is there
> any other solution?

Yes, I'll be looking into packaging the top half of the stack later next week.
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


ygao at novell

Nov 8, 2009, 8:54 PM

Post #7 of 7 (248 views)
Permalink
Re: hb_gui - NameError: global name 'obj_type' is not defined [In reply to]

Hi,
Andrew Beekhof wrote:
> On Fri, Nov 6, 2009 at 9:18 AM, Yan Gao <ygao[at]novell.com> wrote:
>> Hi,
>>
>> Gerdisch, Mitchell R (Mitchell) wrote:
>>> Also, I tried building from the source RPM, but I'm running into various other problems (most likely related to my lack of experience building from RPMs).
>> Must be the delay of the build service...The source rpm can be built against corosync based stack was uploaded just a couple of hours ago.
>>> Isn't there a binary RPM I can simply install?
>> No yet for the latest stack from http://www.clusterlabs.org/rpm/
>> Andrew, would you consider to add it into, or is there
>> any other solution?
>
> Yes, I'll be looking into packaging the top half of the stack later next week.
All right, Thanks! Take your time.

Regards,
Yan
--
ygao[at]novell.com
Software Engineer
China Server Team, OPS Engineering

Novell, Inc.
Making IT Work As One™
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.