Bug 1176202

Summary: Automate : Locked domains can be deleted
Product: Red Hat CloudForms Management Engine Reporter: Harpreet Kataria <hkataria>
Component: AutomateAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Aziza Karol <akarol>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.3.0CC: akarol, dajohnso, hkataria, jhardy, jprause, mfeifer, obarenbo, sshveta, xlecauch
Target Milestone: GAKeywords: ZStream
Target Release: 5.3.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.3.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1173712 Environment:
Last Closed: 2015-02-25 16:11:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1173712    
Bug Blocks:    

Comment 1 CFME Bot 2014-12-22 22:31:00 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/09117a1ba0a577288be36a2715d3bcb4c1e7eae5

commit 09117a1ba0a577288be36a2715d3bcb4c1e7eae5
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Dec 19 11:49:26 2014 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Fri Dec 19 14:42:36 2014 -0500

    Fixed code to not allow deletion of locked domains.
    
    Added spec test to verify fixed code.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1173712
    https://bugzilla.redhat.com/show_bug.cgi?id=1176202

 vmdb/app/controllers/miq_ae_class_controller.rb       | 10 +++++++++-
 vmdb/spec/controllers/miq_ae_class_controller_spec.rb | 19 +++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletion(-)

Comment 2 CFME Bot 2014-12-22 22:31:07 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/cdd0d1f284793a239bbbcfce223a1d68eb8e371e

commit cdd0d1f284793a239bbbcfce223a1d68eb8e371e
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Dec 19 16:47:49 2014 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon Dec 22 16:11:44 2014 -0500

    Fixed 4 occurrences of "can not" to "cannot".
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1173712
    https://bugzilla.redhat.com/show_bug.cgi?id=1176202

 vmdb/app/controllers/miq_ae_class_controller.rb       | 8 +++++---
 vmdb/spec/controllers/miq_ae_class_controller_spec.rb | 2 +-
 2 files changed, 6 insertions(+), 4 deletions(-)

Comment 3 CFME Bot 2015-01-06 16:11:22 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=ab8b59a42778a195a5a71b01269d5550b1334dab

commit ab8b59a42778a195a5a71b01269d5550b1334dab
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Dec 19 11:49:26 2014 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue Jan 6 11:09:07 2015 -0500

    Fixed code to not allow deletion of locked domains.
    
    Added spec test to verify fixed code.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1173712
    https://bugzilla.redhat.com/show_bug.cgi?id=1176202
    (cherry picked from commit 09117a1)

 vmdb/app/controllers/miq_ae_class_controller.rb       | 10 +++++++++-
 vmdb/spec/controllers/miq_ae_class_controller_spec.rb | 19 +++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletion(-)

Comment 4 CFME Bot 2015-01-06 16:11:33 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=a856c50ad09d83cead6020fe0e62de1cd72f96d1

commit a856c50ad09d83cead6020fe0e62de1cd72f96d1
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Dec 19 16:47:49 2014 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue Jan 6 11:09:07 2015 -0500

    Fixed 4 occurrences of "can not" to "cannot".
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1173712
    https://bugzilla.redhat.com/show_bug.cgi?id=1176202
    (cherry picked from commit cdd0d1f)

 vmdb/app/controllers/miq_ae_class_controller.rb       | 12 +++++-------
 vmdb/spec/controllers/miq_ae_class_controller_spec.rb |  2 +-
 2 files changed, 6 insertions(+), 8 deletions(-)

Comment 6 Aziza Karol 2015-02-02 09:39:13 UTC
Fixed. Locked domains cannot be deleted

Verified:
5.3.3.0.1.20150127115148_446974b

Comment 8 errata-xmlrpc 2015-02-25 16:11:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0261.html