Red Hat Bugzilla – Bug 840558
[rhevm] [web-admin] Creating a V1 block data storage domain should be allowed in order to reinitialize a 3.0 DC with V1 block domains
Last modified: 2016-02-10 11:53:02 EST
Description of problem:
WebAdmin allow create new iSCSI Storage Domain, with format V1, that not attached to Data Center (Data Center == (none))
Version-Release number of selected component (if applicable):
RHEVM 3.1 - SI10
QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.295.el6.x86_64
Steps to Reproduce:
1. Create a new iSCSI Storage Domain, with format V1, that not attached to Data Center (Data Center == (none)) – print-screen attached
WebAdmin allow create new iSCSI Storage Domain, with format V1
Option select new iSCSI Storage Domain, with format V1 must be removed.
Created attachment 598481 [details]
## Logs vdsm, rhevm, screen-shots
There is no point of allowing creation on V1 storage domain, it just leaves a door to nasty bugs in the upgrade process, rhevm 3.1 only supports 3.0 and 3.1 compatibility version, which means either v2 or v3 (in the coming build).
please filter it out from the GUI.
other than export/iso domains?
(In reply to comment #3)
> other than export/iso domains?
I assume they cannot be created from the API as well?
(In reply to comment #7)
> I assume they cannot be created from the API as well?
Moving back to post seeing as current patch does not prevent it in API only in GUI.
maybe should keep the api for now.
3.0 DC doesn't mean its not V1, and you need 'none' to reconstruct?
(although, if there is more than a single storage domain, you don't need to add with none, and if it was a single storage domain, maybe we want to reconstruct on V2 (though we probably block from adding a V2 storage domain to a V1 DC)
Users can upgrade from 3.0 with a DC containing only V1 storage domains. In such a scenario we must allow reinitializing the DC with a V1 storage domain, hence this is not a bug.
need to revert the patch that was committed.
patch sent upstream:
patch merged upstream:
Change-Id: Ib0dd0dd838b3a56b50fa7f9f93925a5002793e07 merged
Succeeded create iSCSI Storage Domain, with format V1 that not attached to Data Center (Data Center == (none))
Failed attached to iSCSI Storage Domain v3.0 and v3.1
Warning message displayed on Admin UI
Verified on RHEVM 3.1 - SI16
QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.295.el6_3.1.x86_64