Bug 1206084
| Summary: | Resource group cannot be deleted if more then one bundle version is deployed on it | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | bkramer <bkramer> |
| Component: | Provisioning, Resource Grouping | Assignee: | Michael Burman <miburman> |
| Status: | CLOSED ERRATA | QA Contact: | Mike Foley <mfoley> |
| Severity: | medium | Docs Contact: | Matt Mahoney <mmahoney> |
| Priority: | high | ||
| Version: | JON 3.3.0 | CC: | fbrychta, jshaughn, loleary, miburman, mmahoney, spinder, theute |
| Target Milestone: | ER01 | Keywords: | Triaged |
| Target Release: | JON 3.3.5 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-02-03 15:02:17 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: | 1206088 | ||
| Bug Blocks: | |||
|
Description
bkramer
2015-03-26 09:51:53 UTC
Deletion of the resource group should work in the same way no matter if we have only one bundle version deployed or more of them. In both case, we should at least tell users what will happen (all bundle destinations will be deleted) if they continue with deletion of the resource group (and delete everything if user confirms it) or tell them to delete the associated bundle destination prior to resource group deletion. Fixed in the master (requires DB-upgrade):
commit 62a728544bdb9cc70ae5d624135995ae45e35b5b
Author: Michael Burman <miburman>
Date: Tue Sep 15 18:20:46 2015 +0300
[BZ 1206084] Cascade delete the replaced bundle ids on RHQ_BUNDLE_DEPLOYMENT table
The original commit from Comment 4 forgot to bump schema version branch: master link: https://github.com/rhq-project/rhq/commit/da7816eef time: 2015-09-18 10:10:33 +0200 commit: da7816eefcd8705d4f22a5d84ae1596de1e78cbd author: Libor Zoubek - lzoubek message: [BZ 1206084] Cascade delete the replaced bundle ids on RHQ_BUNDLE_DEPLOYMENT table Bump schema version Available for review in https://github.com/rhq-project/rhq/pull/186 (merging target is release/jon3.3.x) commit a7fc733a19cc5b06003e53f2b2e312c27c16ee7d Author: Michael Burman <miburman> Date: Wed Oct 14 16:44:28 2015 +0300 [BZ 1206084] Delete all the BundleDestinations before removing ResourceGroup Merged to release/jon3.3.x Moving to ON_QA as available to test with the following brew build: JON Cumulative patch build: https://brewweb.devel.redhat.com/buildinfo?buildID=469635 *Note: jon-server-patch-3.3.0.GA.zip maps to DR01 build of jon-server-3.3.0.GA-update-05.zip. 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/RHSA-2016-0118.html |