Mailing List Archive

crm_verify issues warning (probably unjustified)
Hi all, hi Andrew, hi Lars,

I'm not sure if this is right or intended in HAv2 (2.1.3):
a) As far as I know the proper way to stop a ressource is
setting the attribute "target_role" in the meta-section to "stopped".
b) When I do that crm_verify -L -VVV issues a warning of the
following type:
---------------------8<---------------------------------------
crm_verify[22465]: 2008/01/18_00:22:47 WARN: native_color: Resource r_ip-172.30.100.3 cannot run anywhere
Warnings found during check: config may not be valid
---------------------8<---------------------------------------

In my opinion the warning is unjustified and unnecessary.
The warning: "Warnings found during check: config may not be valid"
is missleading IMHO.

Best regards
Andreas Mock



_______________________________________________
Pacemaker mailing list
Pacemaker@clusterlabs.org
http://list.clusterlabs.org/mailman/listinfo/pacemaker
Re: crm_verify issues warning (probably unjustified) [ In reply to ]
On Jan 18, 2008, at 12:37 AM, Andreas Mock wrote:

> Hi all, hi Andrew, hi Lars,
>
> I'm not sure if this is right or intended in HAv2 (2.1.3):
> a) As far as I know the proper way to stop a ressource is
> setting the attribute "target_role" in the meta-section to "stopped".
> b) When I do that crm_verify -L -VVV issues a warning of the
> following type:
> ---------------------8<---------------------------------------
> crm_verify[22465]: 2008/01/18_00:22:47 WARN: native_color: Resource
> r_ip-172.30.100.3 cannot run anywhere
> Warnings found during check: config may not be valid
> ---------------------8<---------------------------------------
>
> In my opinion the warning is unjustified and unnecessary.
> The warning: "Warnings found during check: config may not be valid"
> is missleading IMHO.

well it is a high availability cluster :-)

having resources not be active isn't totally "normal" for a high
availability cluster but, as you said, its possible that it is what
the admin wants (which is why its a warning with 'may' instead of an
error with 'is').

but if people feel strongly about it, i can drop the severity to
'notice' (at least when target_role is set)

_______________________________________________
Pacemaker mailing list
Pacemaker@clusterlabs.org
http://list.clusterlabs.org/mailman/listinfo/pacemaker
Re: crm_verify issues warning (probably unjustified) [ In reply to ]
> -----Ursprüngliche Nachricht-----
> Von: The Pacemaker cluster resource manager <pacemaker@clusterlabs.org>
> Gesendet: 18.01.08 09:12:31
> An: The Pacemaker cluster resource manager <pacemaker@clusterlabs.org>
> Betreff: Re: [Pacemaker] crm_verify issues warning (probably unjustified)
> >
> > In my opinion the warning is unjustified and unnecessary.
> > The warning: "Warnings found during check: config may not be valid"
> > is missleading IMHO.
>
> well it is a high availability cluster :-)
>
> having resources not be active isn't totally "normal" for a high
> availability cluster but, as you said, its possible that it is what
> the admin wants (which is why its a warning with 'may' instead of an
> error with 'is').
>
> but if people feel strongly about it, i can drop the severity to
> 'notice' (at least when target_role is set)

That's exactly what I meant. If something is intended by an user
which can be seen at "target_role=stopped" it is a state which is
"normal".

When Target_role=stopped and the resource is running that you
have to issue a warning. :-))

I didn't want to be too picky. So, only a hint and waste of
email bandwidth.

It happened to me as I started to use crm_verify -L -VVV very often.
And I get a warning (greping the output) where I don't see
a condition to be warned about when I stopped the resources.
But probably a matter of taste as so often. :-)

Best regards
Andreas Mock



>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker@clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker
>


_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220


_______________________________________________
Pacemaker mailing list
Pacemaker@clusterlabs.org
http://list.clusterlabs.org/mailman/listinfo/pacemaker
Re: crm_verify issues warning (probably unjustified) [ In reply to ]
On Jan 18, 2008, at 10:56 AM, Andreas Mock wrote:

>> -----Ursprüngliche Nachricht-----
>> Von: The Pacemaker cluster resource manager <pacemaker@clusterlabs.org
>> >
>> Gesendet: 18.01.08 09:12:31
>> An: The Pacemaker cluster resource manager
>> <pacemaker@clusterlabs.org>
>> Betreff: Re: [Pacemaker] crm_verify issues warning (probably
>> unjustified)
>>>
>>> In my opinion the warning is unjustified and unnecessary.
>>> The warning: "Warnings found during check: config may not be valid"
>>> is missleading IMHO.
>>
>> well it is a high availability cluster :-)
>>
>> having resources not be active isn't totally "normal" for a high
>> availability cluster but, as you said, its possible that it is what
>> the admin wants (which is why its a warning with 'may' instead of an
>> error with 'is').
>>
>> but if people feel strongly about it, i can drop the severity to
>> 'notice' (at least when target_role is set)
>
> That's exactly what I meant. If something is intended by an user
> which can be seen at "target_role=stopped" it is a state which is
> "normal".

Yes, but did they _mean_ to set that option? And if they did when
they set it, do they _still_ mean it? :-)

You'd not believe the amount of conversations/bugs that contain

Me: You configured the cluster to do X...
Them: Oh, but I really meant for it to do Y.

Particularly wrt. target_role

> When Target_role=stopped and the resource is running that you
> have to issue a warning. :-))
>
> I didn't want to be too picky. So, only a hint and waste of
> email bandwidth.
>
> It happened to me as I started to use crm_verify -L -VVV very often.
> And I get a warning (greping the output) where I don't see
> a condition to be warned about when I stopped the resources.
> But probably a matter of taste as so often. :-)
>
> Best regards
> Andreas Mock
>
>
>
>>
>> _______________________________________________
>> Pacemaker mailing list
>> Pacemaker@clusterlabs.org
>> http://list.clusterlabs.org/mailman/listinfo/pacemaker
>>
>
>
> _______________________________________________________________________
> Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
> kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?
> mc=022220
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker@clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker


_______________________________________________
Pacemaker mailing list
Pacemaker@clusterlabs.org
http://list.clusterlabs.org/mailman/listinfo/pacemaker