Mailing List Archive

crm shell: Inconsistent configure for non-existing objects
Hi!

In SLES11 SP2 when I try to display ("show") a resource group that does not exist, there is no error message, but when I try to delete a non-existing object, I get an error message. That's inconsistent: Trying to display an object that does not exist should also display an error.

Example:
crm(live)configure# show grp_v02
crm(live)configure# delete grp_v02
ERROR: object grp_v02 does not exist
crm(live)configure# show grp_v02xy
crm(live)configure# show grp_v0s
crm(live)configure#

Regards,
Ulrich



_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
Re: crm shell: Inconsistent configure for non-existing objects [ In reply to ]
Hi,

On Wed, Apr 17, 2013 at 08:39:30AM +0200, Ulrich Windl wrote:
> Hi!
>
> In SLES11 SP2 when I try to display ("show") a resource group that does not exist, there is no error message, but when I try to delete a non-existing object, I get an error message. That's inconsistent: Trying to display an object that does not exist should also display an error.
>
> Example:
> crm(live)configure# show grp_v02
> crm(live)configure# delete grp_v02
> ERROR: object grp_v02 does not exist
> crm(live)configure# show grp_v02xy
> crm(live)configure# show grp_v0s
> crm(live)configure#

There's a somewhat technical explanation why this happens, but
obviously needs to be somehow fixed.

Thanks for reporting.

Cheers,

Dejan

> Regards,
> Ulrich
>
>
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev@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@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/