[Pacemaker] [Problem][crmsh]The designation of the 'ordered' attribute becomes the error.

renayama19661014 at ybb.ne.jp renayama19661014 at ybb.ne.jp
Thu Apr 18 02:13:27 UTC 2013


Hi Dejan,
Hi Andreas,

> The shell in pacemaker v1.0.x is in maintenance mode and shipped
> along with the pacemaker code. The v1.1.x doesn't have the
> ordered and collocated meta attributes.

I sent the pull request of the patch which Mr. Dejan donated.
 * https://github.com/ClusterLabs/pacemaker-1.0/pull/14

Many Thanks!
Hideo Yamauchi.
--- On Tue, 2013/4/2, Dejan Muhamedagic <dejanmm at fastmail.fm> wrote:

> Hi,
> 
> On Mon, Apr 01, 2013 at 09:19:51PM +0200, Andreas Kurz wrote:
> > Hi Dejan,
> > 
> > On 2013-03-06 11:59, Dejan Muhamedagic wrote:
> > > Hi Hideo-san,
> > > 
> > > On Wed, Mar 06, 2013 at 10:37:44AM +0900, renayama19661014 at ybb.ne.jp wrote:
> > >> Hi Dejan,
> > >> Hi Andrew,
> > >>
> > >> As for the crm shell, the check of the meta attribute was revised with the next patch.
> > >>
> > >>  * http://hg.savannah.gnu.org/hgweb/crmsh/rev/d1174f42f4b3
> > >>
> > >> This patch was backported in Pacemaker1.0.13.
> > >>
> > >>  * https://github.com/ClusterLabs/pacemaker-1.0/commit/fa1a99ab36e0ed015f1bcbbb28f7db962a9d1abc#shell/modules/cibconfig.py
> > >>
> > >> However, the ordered,colocated attribute of the group resource is treated as an error when I use crm Shell which adopted this patch.
> > >>
> > >> --------------------------------------
> > >> (snip)
> > >> ### Group Configuration ###
> > >> group master-group \
> > >>         vip-master \
> > >>         vip-rep \
> > >>         meta \
> > >>                 ordered="false"
> > >> (snip)
> > >>
> > >> [root at rh63-heartbeat1 ~]# crm configure load update test2339.crm 
> > >> INFO: building help index
> > >> crm_verify[20028]: 2013/03/06_17:57:18 WARN: unpack_nodes: Blind faith: not fencing unseen nodes
> > >> WARNING: vip-master: specified timeout 60s for start is smaller than the advised 90
> > >> WARNING: vip-master: specified timeout 60s for stop is smaller than the advised 100
> > >> WARNING: vip-rep: specified timeout 60s for start is smaller than the advised 90
> > >> WARNING: vip-rep: specified timeout 60s for stop is smaller than the advised 100
> > >> ERROR: master-group: attribute ordered does not exist  -----> WHY?
> > >> Do you still want to commit? y
> > >> --------------------------------------
> > >>
> > >> If it chooses `yes` by a confirmation message, it is reflected, but it is a problem that error message is displayed.
> > >>  * The error occurs in the same way when I appoint colocated attribute.
> > >> And....I noticed that there was not explanation of ordered,colocated of the group resource in online help of Pacemaker.
> > >>
> > >> I think that the designation of the ordered,colocated attribute should not become the error in group resource.
> > >> In addition, I think that ordered,colocated should be added to online help.
> > > 
> > > These attributes are not listed in crmsh. Does the attached patch
> > > help?
> > 
> > Dejan, will this patch for the missing "ordered" and "collocated" group
> > meta-attribute be included in the next crmsh release? ... can't see the
> > patch in the current tip.
> 
> The shell in pacemaker v1.0.x is in maintenance mode and shipped
> along with the pacemaker code. The v1.1.x doesn't have the
> ordered and collocated meta attributes.
> 
> Thanks,
> 
> Dejan
> 
> 
> > Thanks & Regards,
> > Andreas
> > 
> > > 
> > > Thanks,
> > > 
> > > Dejan
> > >>
> > >> Best Regards,
> > >> Hideo Yamauchi.
> > >>
> > >>
> > >> _______________________________________________
> > >> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > >> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> > >>
> > >> Project Home: http://www.clusterlabs.org
> > >> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > >> Bugs: http://bugs.clusterlabs.org
> > >>
> > >>
> > >> _______________________________________________
> > >> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > >> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> > >>
> > >> Project Home: http://www.clusterlabs.org
> > >> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > >> Bugs: http://bugs.clusterlabs.org
> > 
> > 
> > 
> 
> 
> 
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> > 
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://bugs.clusterlabs.org
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> 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 Pacemaker mailing list