Hi,

On Wed, Oct 08, 2014 at 02:25:02PM +0200, Ulrich Windl wrote:
> Hi!
> 
> I discovered an inconsistency in crm shell crmsh-1.2.6-0.35.11
> (SLES11): When you add a primitive interactively using an
> unknown parameter, you can commit the change.

IIRC, that depends on the check-mode option.

> However if you
> use "crm configure edit <primitive>", after saving you'll see:
> "Do you want to edit again?"
> 
> My assumption was that answering "no" will keep the changes as written, but 
> in fact the changes seem to be discarded when answering "no":
> [...]
> Do you want to edit again? no
> crm(live)configure# commit
> INFO: apparently there is nothing to commit
> INFO: try changing something first

My best guess is that the edit operation doesn't observe the
above rc option or at least not in the same way.

> What about changing the question to "What now? (Keep|Fix|Revert)?

Apparently, keep didn't seem to be an option at the time :)

> (With the obvious semantics: Keep=Keeps the changes as written, Fix=Try again 
> to fix the problem, Revert=Revert to the loaded configuration)

I assume that this could be improved, but it is not clear in
which way. I wonder how does the crmsh v2.0 behave in this case.

Thanks,

Dejan

> I assume I did something dirty on my system: Just updated the RA on one node, 
> so the other node didn't know about the new RA, but anyway...
> 
> Regards,
> Ulrich
> 
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to