[ClusterLabs] [Patch][glue][external/libvirt] Conversion to a lower case of hostlist.

renayama19661014 at ybb.ne.jp renayama19661014 at ybb.ne.jp
Fri Oct 30 22:36:57 UTC 2015


Hi Dejan,

Thank you for a reply.

> It somehow slipped.

> 
> I suppose that you tested the patch well and nobody objected so
> far, so lets apply it.
> 
> Many thanks! And sorry about the delay.


I confirmed the merge of the patch.
 * http://hg.linux-ha.org/glue/rev/56f40ec5d37e

Many Thanks!
Hideo Yamauchi.



----- Original Message -----
> From: Dejan Muhamedagic <dejanmm at fastmail.fm>
> To: Cluster Labs - All topics related to open-source clustering welcomed <users at clusterlabs.org>
> Cc: 
> Date: 2015/10/30, Fri 16:58
> Subject: Re: [ClusterLabs] [Patch][glue][external/libvirt] Conversion to a lower case of hostlist.
> 
> Hi Hideo-san,
> 
> On Fri, Oct 30, 2015 at 11:41:26AM +0900, renayama19661014 at ybb.ne.jp wrote:
>>  Hi Dejan,
>>  Hi All,
>> 
>>  How about the patch which I contributed by a former email?
>>  I would like an opinion.
> 
> It somehow slipped.
> 
> I suppose that you tested the patch well and nobody objected so
> far, so lets apply it.
> 
> Many thanks! And sorry about the delay.
> 
> Cheers,
> 
> Dejan
> 
> 
> 
>> 
>>  Best Regards,
>>  Hideo Yamauchi.
>> 
>>  ----- Original Message -----
>>  > From: "renayama19661014 at ybb.ne.jp" 
> <renayama19661014 at ybb.ne.jp>
>>  > To: Cluster Labs - All topics related to open-source clustering 
> welcomed <users at clusterlabs.org>
>>  > Cc: 
>>  > Date: 2015/10/14, Wed 09:38
>>  > Subject: Re: [ClusterLabs] [Patch][glue][external/libvirt] Conversion 
> to a lower case of hostlist.
>>  > 
>>  > Hi Dejan,
>>  > Hi All,
>>  > 
>>  > We reconsidered a patch.....
>>  > 
>>  > 
>>  > 
>>  > In Pacemaker1.1, node names in STONITH are always small letters.
>>  > When a user uses a capital letter in host name, STONITH of libvirt 
> fails.
>>  > 
>>  > This patch lets STONITH by libvirt succeed in the next setting.
>>  > 
>>  >  * host name(upper case) and hostlist(upper case) and domain_id on 
>>  > libvirt(uppper case)
>>  >  * host name(upper case) and hostlist(lower case) and domain_id on 
> libvirt(lower 
>>  > case)
>>  >  * host name(lower case) and hostlist(upper case) and domain_id on 
>>  > libvirt(uppper case)
>>  >  * host name(lower case) and hostlist(lower case) and domain_id on 
> libvirt(lower 
>>  > case)
>>  > 
>>  > 
>>  > However, in the case of the next setting, STONITH of libvirt causes an 
> error.
>>  > In this case it is necessary for the user to make the size of the 
> letter of the 
>>  > host name to manage of libvirt the same as host name to appoint in 
> hostlist.
>>  > 
>>  >  * host name(upper case) and hostlist(lower case) and domain_id on 
>>  > libvirt(uppper case)
>>  >  * host name(upper case) and hostlist(uppper case) and domain_id on 
>>  > libvirt(lower case)
>>  >  * host name(lower case) and hostlist(lower case) and domain_id on 
>>  > libvirt(uppper case)
>>  >  * host name(lower case) and hostlist(uppper case) and domain_id on 
>>  > libvirt(lower case)
>>  > 
>>  > 
>>  > This patch is effective for letting STONITH by libvirt when host name 
> was set 
>>  > for a capital letter succeed.
>>  > 
>>  > Best Regards,
>>  > Hideo Yamauchi.
>>  > 
>>  > 
>>  > 
>>  > 
>>  > ----- Original Message -----
>>  >>  From: "renayama19661014 at ybb.ne.jp" 
>>  > <renayama19661014 at ybb.ne.jp>
>>  >>  To: Cluster Labs - All topics related to open-source clustering 
> welcomed 
>>  > <users at clusterlabs.org>
>>  >>  Cc: 
>>  >>  Date: 2015/9/15, Tue 03:28
>>  >>  Subject: Re: [ClusterLabs] [Patch][glue][external/libvirt] 
> Conversion to a 
>>  > lower case of hostlist.
>>  >> 
>>  >>  Hi Dejan,
>>  >> 
>>  >>>   I suppose that you'll send another one? I can vaguelly 
> recall
>>  >>>   a problem with non-lower case node names, but not the 
> specifics.
>>  >>>   Is that supposed to be handled within a stonith agent?
>>  >> 
>>  >> 
>>  >>  Yes.
>>  >>  We make a different patch now.
>>  >>  With the patch, I solve a node name of the non-small letter in 
> the range of 
>>  > 
>>  >>  stonith agent.
>>  >>  # But the patch cannot cover all all patterns.
>>  >> 
>>  >>  Please wait a little longer.
>>  >>  I send a patch again.
>>  >>  For a new patch, please tell me your opinion.
>>  >> 
>>  >>  Best Regards,
>>  >>  Hideo Yamauchi.
>>  >> 
>>  >> 
>>  >> 
>>  >>  ----- Original Message -----
>>  >>>   From: Dejan Muhamedagic <dejanmm at fastmail.fm>
>>  >>>   To: ClusterLabs-ML <users at clusterlabs.org>
>>  >>>   Cc: 
>>  >>>   Date: 2015/9/14, Mon 22:20
>>  >>>   Subject: Re: [ClusterLabs] [Patch][glue][external/libvirt] 
> Conversion 
>>  > to a 
>>  >>  lower case of hostlist.
>>  >>> 
>>  >>>   Hi Hideo-san,
>>  >>> 
>>  >>>   On Tue, Sep 08, 2015 at 05:28:05PM +0900, 
> renayama19661014 at ybb.ne.jp 
>>  > wrote:
>>  >>>>    Hi All,
>>  >>>> 
>>  >>>>    We intend to change some patches.
>>  >>>>    We withdraw this patch.
>>  >>> 
>>  >>>   I suppose that you'll send another one? I can vaguelly 
> recall
>>  >>>   a problem with non-lower case node names, but not the 
> specifics.
>>  >>>   Is that supposed to be handled within a stonith agent?
>>  >>> 
>>  >>>   Cheers,
>>  >>> 
>>  >>>   Dejan
>>  >>> 
>>  >>>>    Best Regards,
>>  >>>>    Hideo Yamauchi.
>>  >>>> 
>>  >>>> 
>>  >>>>    ----- Original Message -----
>>  >>>>    > From: "renayama19661014 at ybb.ne.jp" 
>>  >>>   <renayama19661014 at ybb.ne.jp>
>>  >>>>    > To: ClusterLabs-ML <users at clusterlabs.org>
>>  >>>>    > Cc: 
>>  >>>>    > Date: 2015/9/7, Mon 09:06
>>  >>>>    > Subject: [ClusterLabs] 
> [Patch][glue][external/libvirt] 
>>  > Conversion 
>>  >>  to a 
>>  >>>   lower case of hostlist.
>>  >>>>    > 
>>  >>>>    > Hi All,
>>  >>>>    > 
>>  >>>>    > When a cluster carries out stonith, Pacemaker 
> handles host 
>>  > name 
>>  >>  by a 
>>  >>>   small 
>>  >>>>    > letter.
>>  >>>>    > When a user sets the host name of the OS and host 
> name of 
>>  >>  hostlist of 
>>  >>>>    > external/libvrit in capital letters and waits, 
> stonith is 
>>  > not 
>>  >>  carried 
>>  >>>   out.
>>  >>>>    > 
>>  >>>>    > The external/libvrit to convert host name of 
> hostlist, and 
>>  > to 
>>  >>  compare 
>>  >>>   can assist 
>>  >>>>    > a setting error of the user.
>>  >>>>    > 
>>  >>>>    > Best Regards,
>>  >>>>    > Hideo Yamauchi.
>>  >>>>    > 
>>  >>>>    > _______________________________________________
>>  >>>>    > Users mailing list: Users at clusterlabs.org
>>  >>>>    > http://clusterlabs.org/mailman/listinfo/users
>>  >>>>    > 
>>  >>>>    > Project Home: http://www.clusterlabs.org
>>  >>>>    > Getting started: 
>>  >>>   http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>>  >>>>    > Bugs: http://bugs.clusterlabs.org
>>  >>>>    > 
>>  >>>> 
>>  >>>>    _______________________________________________
>>  >>>>    Users mailing list: Users at clusterlabs.org
>>  >>>>    http://clusterlabs.org/mailman/listinfo/users
>>  >>>> 
>>  >>>>    Project Home: http://www.clusterlabs.org
>>  >>>>    Getting started: 
>>  >>  http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>>  >>>>    Bugs: http://bugs.clusterlabs.org
>>  >>> 
>>  >>>   _______________________________________________
>>  >>>   Users mailing list: Users at clusterlabs.org
>>  >>>   http://clusterlabs.org/mailman/listinfo/users
>>  >>> 
>>  >>>   Project Home: http://www.clusterlabs.org
>>  >>>   Getting started: 
>>  > http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>>  >>>   Bugs: http://bugs.clusterlabs.org
>>  >>> 
>>  >> 
>>  >>  _______________________________________________
>>  >>  Users mailing list: Users at clusterlabs.org
>>  >>  http://clusterlabs.org/mailman/listinfo/users
>>  >> 
>>  >>  Project Home: http://www.clusterlabs.org
>>  >>  Getting started: 
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>>  >>  Bugs: http://bugs.clusterlabs.org
>>  >> 
>>  > _______________________________________________
>>  > Users mailing list: Users at clusterlabs.org
>>  > http://clusterlabs.org/mailman/listinfo/users
>>  > 
>>  > Project Home: http://www.clusterlabs.org
>>  > Getting started: 
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>>  > Bugs: http://bugs.clusterlabs.org
>>  > 
>> 
>>  _______________________________________________
>>  Users mailing list: Users at clusterlabs.org
>>  http://clusterlabs.org/mailman/listinfo/users
>> 
>>  Project Home: http://www.clusterlabs.org
>>  Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>>  Bugs: http://bugs.clusterlabs.org
> 
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
> 




More information about the Users mailing list