Bug 856583 - engine [TEXT]: unclear error messages when trying to create a wrong format domain
Summary: engine [TEXT]: unclear error messages when trying to create a wrong format do...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 3.2.0
Assignee: Vered Volansky
QA Contact: Dafna Ron
URL:
Whiteboard: storage
Depends On: 895601
Blocks: 915537
TreeView+ depends on / blocked
 
Reported: 2012-09-12 11:09 UTC by Dafna Ron
Modified: 2016-02-10 19:07 UTC (History)
8 users (show)

Fixed In Version: sf3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
log (256.64 KB, application/x-xz)
2012-09-12 11:09 UTC, Dafna Ron
no flags Details

Description Dafna Ron 2012-09-12 11:09:05 UTC
Created attachment 612065 [details]
log

Description of problem:

trying to create a V3 domain in a V2 DC will trigger: 

Error while executing action: ENGINE

for CanDoAction: 

VAR__ACTION__ADD,VAR__TYPE__STORAGE__DOMAIN,ACTION_TYPE_FAILED_STORAGE_DOMAIN_FORMAT_ILLEGAL_HOST,$storageFormat V3


Version-Release number of selected component (if applicable):

si17

How reproducible:

100%

Steps to Reproduce:
1. try to create a V3 domain when DC=none with a host which is part of a V2 domain 
2.
3.
  
Actual results:

unclear error: 
Error while executing action: ENGINE

Expected results:

we should have a clear error

Additional info: engine log

Comment 1 Vered Volansky 2012-09-30 12:40:57 UTC
Trying to reproduce like this:

DC 3.0
cluster 3.0
host is attached to above

When creating a V3 domain with the above host I get:

 Error: Cannot add Storage. Storage format V3 is not supported on the
 selected host version.

Does this flow comply with the above one?

Comment 2 Dafna Ron 2012-10-14 08:56:09 UTC
are you selecting DC when creating the domain or "None"?

Comment 3 Vered Volansky 2012-10-21 12:29:27 UTC
I'm selecting "None".

Comment 4 Vered Volansky 2012-11-15 11:48:33 UTC
The problem occurred with the following full scenario:

DC 3.0 - iSCSI
cluster 3.0
host is attached to above
Create a V3 iSCSI detached domain with above host.

Error message corrected to:
--------------------------------------------------------------------
Error: Cannot add Storage. Storage format V3 is not supported on the
selected host version.
--------------------------------------------------------------------

The fix - http://gerrit.ovirt.org/#/c/9259/
Change-Id: I07cb27ce4c50410840032cdda06deb3b20a5aa8b

Comment 6 Dafna Ron 2013-01-15 15:59:40 UTC
blocked by: https://bugzilla.redhat.com/show_bug.cgi?id=895601

Comment 7 Dafna Ron 2013-02-04 16:48:53 UTC
verified on sf5


Error: Cannot add Storage. Storage format V3 is not supported on the selected host version.

Comment 8 Itamar Heim 2013-06-11 08:58:55 UTC
3.2 has been released

Comment 9 Itamar Heim 2013-06-11 08:59:00 UTC
3.2 has been released

Comment 10 Itamar Heim 2013-06-11 08:59:01 UTC
3.2 has been released

Comment 11 Itamar Heim 2013-06-11 09:00:37 UTC
3.2 has been released

Comment 12 Itamar Heim 2013-06-11 09:30:06 UTC
3.2 has been released


Note You need to log in before you can comment on or make changes to this bug.