Bug 612121
Summary: | Provisioning: Revert bundle to a version fails | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Sudhir D <sdharane> |
Component: | Provisioning | Assignee: | Jay Shaughnessy <jshaughn> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Sunil Kondkar <skondkar> |
Severity: | medium | Docs Contact: | |
Priority: | urgent | ||
Version: | 3.0.0 | CC: | jshaughn |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-08-12 16:59:18 UTC | Type: | --- |
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: | |||
Bug Blocks: | 601949 |
Description
Sudhir D
2010-07-07 11:04:43 UTC
fix commit: 91c9d1fb7849b9966f60a2cdeb8bca1903e3389c The only way I could reproduce the above situation was to click Revert when if fact the destination had only 1 deployment. Meaning, in the destination view page there is only one deployment in the list. In this situation the live deployment is the *only* deployment and there is nothing to revert to. I've improved the revert wizard to better handle this situation and display a (hopefully) useful message. And it will not let the user continue past the first step. Verified on latest jon 2.4.0.GA_QA build#53 If the destination view page has only one deployment in the list and user clicks 'Revert' button, below messages is displayed in the wizard: Live deployment [BundleDeployment[id=10031, name=Deployment [1] of Version [1.0] to [deployversion1]]] can not be reverted. There is no prior deployment for the destination [BundleDestination[id=10031, bundle=example, group=linux1, name=deployversion1]] Deployed version2 of the bundle to same destination. Navigated to the destination tab and clicked on 'Revert' button. The bundle is reverted successfully to previous version. Mass-closure of verified bugs against JON. |