Bug 843914
Summary: | [TEXT] improve error message when user tries to downgrade data center compatibility level | ||
---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Cybertimber2011 <cybertimber2000> |
Component: | ovirt-engine-webadmin | Assignee: | Alissa <abonas> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.1 RC | CC: | abonas, acathrow, amureini, dyasny, ecohen, iheim, mgoldboi |
Target Milestone: | --- | Keywords: | EasyFix |
Target Release: | 3.3.4 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | storage | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-03-04 15:01:52 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Cybertimber2011
2012-07-27 16:21:36 UTC
Additional testing: You can however create a new datacenter set to 2.2 and 3.0. I created data center "legacy2" set to 2.2 and it worked, and I was able to upgrade it to 3.0. I cannot move it back to 2.2 without the above erorr. I created data center "legacy3" set to 3.0 adn it worked, and I was able to upgrade it to 3.1. But once it is on 3.1, it cannot be changed to 3.0 or 2.2 without the above error. I'm wondering if this is a bug, or if it's intended... eg, you can't move compatibility down a level. indeed - not a bug - you cannot downgrade a DC level. error message could be improved though... changing to a TEXT bug. care to try and send a patch for a better message? I'd be glad to try. I'm guessing I'd have to look at the source for that. Mind meeting me in IRC some time so I can learn how to do that and make the change? irc is sometime harder for me than emails. just grep for the message you get (or part of it) usually messages are in these files: backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/VdcBllMessages.java backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties I submitted a patch with improved text of error message as proposed here, thus the bug was marked as closed (fixed) |