Tue 13 Dec 2011 05:12:45 PM UTC, original submission:
Description of problem:
crm shell does not allow removal of a stopped, unmanaged resource.
Version-Release number of selected component (if applicable):
Pacemaker 1.1.5, Madkiss repo, Debian amd64.
How reproducible:
Create a filesystem resource, st
Steps to Reproduce:
1. Create a filesystem resource, let it start.
2. crm configure edit
3. set on the resource is-managed="false" and target-role="Stopped"
4. save changes and exit editor
Actual results:
WARNING: resource fs_libvirt is running, can't delete it
Expected results:
crm shell should be able to remove a resource that has is-managed="false"
Additional info:
crm shell checks for running resources when deleting configuration, as to not
remove existing and running resources, those that are running should receive
the warning message and not accidentally remove resources from the
configuration, therefore the check is valid, but when having is-managed="false"
set on a primitive the shell should disregard the check for a resource running
or not, thus allowing an administrator to remove a resource from the cluster,
without interfering with it's state, and without setting a cluster-wide
maintenance-mode.
|