Red Hat Bugzilla – Bug 836190
oVirt - Admin GUI: Can't attach V1/V2 domains to a V3 (3.1) DC
Last modified: 2016-02-10 12:05:00 EST
It is currently impossible to attach V1/V2 storage domains to a V3 data center (3.1 compatibility version). This makes the domains unusable since there is no flow to upgrade unattached domains to V3.
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.
reopening as it's still happening in 3.3
The scenario can be done in 2 ways in webadmin, in one of them it works, while it the other it doesn't.
Given a V1 unattached storage domain, and a data center of version 3.2 or 3.3 which is up:
1. working scenario- in DataCenters tab, select the data center , go to Storage subtab and press "attach Data" - the unattached V1 domain will appear there.
2. not working scenario - in Storage tab, select the V1 unattached domain, go to its DataCenter subtab, press "attach", the data center 3.2 (or 3.3) will not appear there.
(in code - StorageDataCenterListModel checks that storagedomain version == data center version - which is the wrong condition)
Unattached domains are empty by definition so just delete and recreate them.
(In reply to Ayal Baron from comment #3)
> Unattached domains are empty by definition so just delete and recreate them.
There's no need to delete a domain (how that will help?) if it can be attached from Data Centers tab.
"working scenario- in DataCenters tab, select the data center , go to Storage subtab and press "attach Data" - the unattached V1 domain will appear there."
Also, since REST is creating the domains as V1 (see bug https://bugzilla.redhat.com/994569), if users recreate the domain with REST, it won't help deleting it because it will be created again as V1 and the attach won't work again from storage tab in UI.