Red Hat Bugzilla – Bug 843914
[TEXT] improve error message when user tries to downgrade data center compatibility level
Last modified: 2016-02-10 11:29:38 EST
Description of problem:
Cannot change the Data Center compatibility version from 3.1.
Changing to 3.0 or 2.2 results in an error.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Login to Admin
2. Click Data Centers
3. Click Default
4. Click Edit
5. Change compatibility version to 3.0 or 2.2
6. Click ok twice
Error: Cannot edit Repository. Compatibilty version is invalid, previous value restored.
Change of compatibility version
If this is expected (can't support 2.2/3.0) can we remove the 2.2/3.0 options?
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:
I submitted a patch with improved text of error message as proposed here, thus the bug was marked as closed (fixed)