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

Mailing List Archive: Linux-HA: Dev

[PATCH]A patch for compatibility of GUI.

 

 

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


renayama19661014 at ybb

Jul 16, 2008, 6:52 PM

Post #1 of 10 (346 views)
Permalink
[PATCH]A patch for compatibility of GUI.

Hi,

In GUI of new release planned Heartbeat, GUI uses a new sentence structure of Python.

sentence structure - try : ... except : .... finally: ....

This is a sentence structure to be usable in Python after version 2.5.

But, Python of version 2.5 may not be included in recent Linux.

Do not make GUI an old sentence structure till 2.5 Python is included in much Linux?

I attached the patch.

Best Regards,

Hideo Yamauchi.
Attachments: haclient.patch (1.15 KB)


ygao at novell

Jul 17, 2008, 12:37 AM

Post #2 of 10 (326 views)
Permalink
Re: [PATCH]A patch for compatibility of GUI. [In reply to]

Hi Hideo,

On Thu, 2008-07-17 at 10:52 +0900, HIDEO YAMAUCHI wrote:
> Hi,
>
> In GUI of new release planned Heartbeat, GUI uses a new sentence structure of Python.
>
> sentence structure - try : ... except : .... finally: ....
>
> This is a sentence structure to be usable in Python after version 2.5.
>
> But, Python of version 2.5 may not be included in recent Linux.
>
> Do not make GUI an old sentence structure till 2.5 Python is included in much Linux?
Yes, putting except and finally clauses in the same try statement works
only as of Python 2.5 .
Replaced the clauses for compatibility.
http://hg.clusterlabs.org/pacemaker/pygui/rev/2830689cfce0

Thanks for pointing out!

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

Novell, Inc.
SUSE® Linux Enterprise 10
Your Linux is ready
http://www.novell.com/linux

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


renayama19661014 at ybb

Jul 17, 2008, 2:53 AM

Post #3 of 10 (320 views)
Permalink
Re: [PATCH]A patch for compatibility of GUI. [In reply to]

Hi Yan,

However, there was another problem.

The extractfile function is supported from version 2.5 somehow.
The extractfile function is not usable, but tar.gz is made.
(The error log is begun to write.)

I think that the report function is good as it is.

How do you think?

Or will exclude the extractfile function?

Best Regards,

Hideo Yamauchi.

--- Yan Gao <ygao[at]novell.com> wrote:

> Hi Hideo,
>
> On Thu, 2008-07-17 at 10:52 +0900, HIDEO YAMAUCHI wrote:
> > Hi,
> >
> > In GUI of new release planned Heartbeat, GUI uses a new sentence structure of Python.
> >
> > sentence structure - try : ... except : .... finally: ....
> >
> > This is a sentence structure to be usable in Python after version 2.5.
> >
> > But, Python of version 2.5 may not be included in recent Linux.
> >
> > Do not make GUI an old sentence structure till 2.5 Python is included in much Linux?
> Yes, putting except and finally clauses in the same try statement works
> only as of Python 2.5 .
> Replaced the clauses for compatibility.
> http://hg.clusterlabs.org/pacemaker/pygui/rev/2830689cfce0
>
> Thanks for pointing out!
>
> Regards,
> --
> Yan Gao
> China R&D Software Engineer
> ygao[at]novell.com
>
> Novell, Inc.
> SUSE$B>$!&(BLinux Enterprise 10
> Your Linux is ready
> http://www.novell.com/linux
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


renayama19661014 at ybb

Jul 17, 2008, 3:03 AM

Post #4 of 10 (324 views)
Permalink
Re: [PATCH]A patch for compatibility of GUI. [In reply to]

Hi Yan,

Sorry.

An extractfile function is a mistake.
It is an extractall function.

Best Regards,
Hideo Yamauchi.

> --- Yan Gao <ygao[at]novell.com> wrote:
>
> > Hi Hideo,
> >
> > On Thu, 2008-07-17 at 10:52 +0900, HIDEO YAMAUCHI wrote:
> > > Hi,
> > >
> > > In GUI of new release planned Heartbeat, GUI uses a new sentence structure of Python.
> > >
> > > sentence structure - try : ... except : .... finally: ....
> > >
> > > This is a sentence structure to be usable in Python after version 2.5.
> > >
> > > But, Python of version 2.5 may not be included in recent Linux.
> > >
> > > Do not make GUI an old sentence structure till 2.5 Python is included in much Linux?
> > Yes, putting except and finally clauses in the same try statement works
> > only as of Python 2.5 .
> > Replaced the clauses for compatibility.
> > http://hg.clusterlabs.org/pacemaker/pygui/rev/2830689cfce0
> >
> > Thanks for pointing out!
> >
> > Regards,
> > --
> > Yan Gao
> > China R&D Software Engineer
> > ygao[at]novell.com
> >
> > Novell, Inc.
> > SUSE$B>$!&(BLinux Enterprise 10
> > Your Linux is ready
> > http://www.novell.com/linux
> >
> > _______________________________________________________
> > Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > Home Page: http://linux-ha.org/
> >
>
>

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


ygao at novell

Jul 20, 2008, 8:29 PM

Post #5 of 10 (303 views)
Permalink
Re: [PATCH]A patch for compatibility of GUI. [In reply to]

On Thu, 2008-07-17 at 18:53 +0900, HIDEO YAMAUCHI wrote:
> Hi Yan,
>
> However, there was another problem.
>
> The extractfile function is supported from version 2.5 somehow.
> The extractfile function is not usable, but tar.gz is made.
> (The error log is begun to write.)
>
The tar.gz is decoded from a base64 string.

> I think that the report function is good as it is.
>
> How do you think?
>
> Or will exclude the extractfile function?
>
I've replaced it with "TarFile.extract()" in loops. Thanks!
http://hg.clusterlabs.org/pacemaker/pygui/rev/4d3288030a84

--
Yan Gao
China R&D Software Engineer
ygao[at]novell.com

Novell, Inc.
SUSE® Linux Enterprise 10
Your Linux is ready
http://www.novell.com/linux

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


renayama19661014 at ybb

Jul 20, 2008, 11:34 PM

Post #6 of 10 (301 views)
Permalink
RE: [PATCH]A patch for compatibility of GUI. [In reply to]

Hi Yan,

> I've replaced it with "TarFile.extract()" in loops. Thanks!
> http://hg.clusterlabs.org/pacemaker/pygui/rev/4d3288030a84

Thank you for the correction.

Best Regards,
Hideo Yamauchi.

> -----Original Message-----
> From: linux-ha-dev-bounces[at]lists.linux-ha.org
> [mailto:linux-ha-dev-bounces[at]lists.linux-ha.org]On Behalf Of Yan Gao
> Sent: Monday, July 21, 2008 12:30 PM
> To: High-Availability Linux Development List
> Subject: Re: [Linux-ha-dev] [PATCH]A patch for compatibility of GUI.
>
>
> On Thu, 2008-07-17 at 18:53 +0900, HIDEO YAMAUCHI wrote:
> > Hi Yan,
> >
> > However, there was another problem.
> >
> > The extractfile function is supported from version 2.5 somehow.
> > The extractfile function is not usable, but tar.gz is made.
> > (The error log is begun to write.)
> >
> The tar.gz is decoded from a base64 string.
>
> > I think that the report function is good as it is.
> >
> > How do you think?
> >
> > Or will exclude the extractfile function?
> >
> I've replaced it with "TarFile.extract()" in loops. Thanks!
> http://hg.clusterlabs.org/pacemaker/pygui/rev/4d3288030a84
>
> --
> Yan Gao
> China R&D Software Engineer
> ygao[at]novell.com
>
> Novell, Inc.
> SUSE® Linux Enterprise 10
> Your Linux is ready
> http://www.novell.com/linux
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


renayama19661014 at ybb

Jul 21, 2008, 8:31 PM

Post #7 of 10 (283 views)
Permalink
RE: [PATCH]A patch for compatibility of GUI. [In reply to]

Hi Yan,

I confirmed the movement of the patch in the source which would become
Hearbeat2.1.4(http://hg.linux-ha.org/lha-2.1/).

> http://hg.clusterlabs.org/pacemaker/pygui/rev/2830689cfce0
> http://hg.clusterlabs.org/pacemaker/pygui/rev/4d3288030a84

The patch of the compatibility that you arranged worked well.

I strongly wish your patch is applied to Heartbeat2.1.4(http://hg.linux-ha.org/lha-2.1/).

It is one question, but the -u option seems not to be appointed by GUI when I carry out hb_report.
In each node, does hb_report have to carry it out individually from GUI?

Best Regards,
Hideo Yamauchi.

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


ygao at novell

Jul 22, 2008, 1:05 AM

Post #8 of 10 (280 views)
Permalink
Re: RE: [PATCH]A patch for compatibility of GUI. [In reply to]

On Tue, 2008-07-22 at 12:31 +0900, HIDEO YAMAUCHI wrote:
> Hi Yan,
>
> I confirmed the movement of the patch in the source which would become
> Hearbeat2.1.4(http://hg.linux-ha.org/lha-2.1/).
>
> > http://hg.clusterlabs.org/pacemaker/pygui/rev/2830689cfce0
> > http://hg.clusterlabs.org/pacemaker/pygui/rev/4d3288030a84
>
> The patch of the compatibility that you arranged worked well.
>
> I strongly wish your patch is applied to Heartbeat2.1.4(http://hg.linux-ha.org/lha-2.1/).
>
Hi Lars, would you take care of these patches?

> It is one question, but the -u option seems not to be appointed by GUI when I carry out hb_report.
> In each node, does hb_report have to carry it out individually from GUI?
>
Hmm, by now interacting with backend to prompt password hasn't been
implemented. And it can't be determined whether users have set up
authorized ssh keys. So "-u" cannot just be appointed.

--
Yan Gao
China R&D Software Engineer
ygao[at]novell.com

Novell, Inc.
SUSE® Linux Enterprise 10
Your Linux is ready
http://www.novell.com/linux

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


renayama19661014 at ybb

Jul 22, 2008, 1:32 AM

Post #9 of 10 (280 views)
Permalink
Re: RE: [PATCH]A patch for compatibility of GUI. [In reply to]

Hi Yan,

> Hmm, by now interacting with backend to prompt password hasn't been
> implemented. And it can't be determined whether users have set up
> authorized ssh keys. So "-u" cannot just be appointed.

I understood it.
Because I can acquire it in each node, I do not have any problem now.

Thank you.

Hideo Yamauchi.

--- Yan Gao <ygao[at]novell.com> wrote:

> On Tue, 2008-07-22 at 12:31 +0900, HIDEO YAMAUCHI wrote:
> > Hi Yan,
> >
> > I confirmed the movement of the patch in the source which would become
> > Hearbeat2.1.4(http://hg.linux-ha.org/lha-2.1/).
> >
> > > http://hg.clusterlabs.org/pacemaker/pygui/rev/2830689cfce0
> > > http://hg.clusterlabs.org/pacemaker/pygui/rev/4d3288030a84
> >
> > The patch of the compatibility that you arranged worked well.
> >
> > I strongly wish your patch is applied to Heartbeat2.1.4(http://hg.linux-ha.org/lha-2.1/).
> >
> Hi Lars, would you take care of these patches?
>
> > It is one question, but the -u option seems not to be appointed by GUI when I carry out
> hb_report.
> > In each node, does hb_report have to carry it out individually from GUI?
> >
> Hmm, by now interacting with backend to prompt password hasn't been
> implemented. And it can't be determined whether users have set up
> authorized ssh keys. So "-u" cannot just be appointed.
>
> --
> Yan Gao
> China R&D Software Engineer
> ygao[at]novell.com
>
> Novell, Inc.
> SUSE$B>$!&(BLinux Enterprise 10
> Your Linux is ready
> http://www.novell.com/linux
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


renayama19661014 at ybb

Jul 28, 2008, 5:50 PM

Post #10 of 10 (213 views)
Permalink
Re: RE: [PATCH]A patch for compatibility of GUI. [In reply to]

Hi Lars,

>> Hi Yan,
>>
>> I confirmed the movement of the patch in the source which would become
>> Hearbeat2.1.4(http://hg.linux-ha.org/lha-2.1/).
>>
>> > http://hg.clusterlabs.org/pacemaker/pygui/rev/2830689cfce0
>> > http://hg.clusterlabs.org/pacemaker/pygui/rev/4d3288030a84
>>
>> The patch of the compatibility that you arranged worked well.
>>
>> I strongly wish your patch is applied to Heartbeat2.1.4(http://hg.linux-ha.org/lha-2.1/).
>>
>Hi Lars, would you take care of these patches?

Will you take a patch of Mr. Yan in Heartbeat?

Best Regards,
Hideo Yamauchi.

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Linux-HA dev 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.