bugcrmsh - Bugs: bug #35057, crm shell does not allow removal...

 
 

bug #35057: crm shell does not allow removal of a stopped, unmanaged resource

Submitted by:  None
Submitted on:  Tue 13 Dec 2011 05:12:45 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 13 Dec 2011 05:28:08 PM UTC, comment #1:

Fixed in:

changeset: 670:d3673a378545
user: Dejan Muhamedagic <dejan@hello-penguin.com>
date: Fri Aug 19 14:03:03 2011 +0200
summary: Medium: Shell: enable removal of unmanaged resources (bnc#696506)

Dejan Muhamedagic <dejanm>
Project Administrator
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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dejanm (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 13 Dec 2011 05:28:08 PM UTCdejanmStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1