Bug 1059604 - [engine] Unable to add new storage unattached domain if host's cluster does not belong to a datacenter
Summary: [engine] Unable to add new storage unattached domain if host's cluster does n...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: m1
: 3.6.0
Assignee: Fred Rolland
QA Contact: lkuchlan
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-30 09:10 UTC by Gadi Ickowicz
Modified: 2016-03-10 06:13 UTC (History)
6 users (show)

Fixed In Version: ovirt-engine-3.6.0_qa1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-04 13:48:53 UTC
oVirt Team: Storage
Embargoed:


Attachments (Terms of Use)
engine logs (277.91 KB, application/gzip)
2014-01-30 09:10 UTC, Gadi Ickowicz
no flags Details

Description Gadi Ickowicz 2014-01-30 09:10:20 UTC
Created attachment 857397 [details]
engine logs

Description of problem:
If a host's cluster does not belong to a datacenter and it is used to add a new unattached storage domain the action fails in the UI with the following error:

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

Version-Release number of selected component (if applicable):
ovirt-engine-3.4.0-0.2.master.20140112020439.git9ad8529.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. Create DC, add cluster to DC, add host to cluster
2. Remove DC
3. Add new storage domain
4. Select 'None' for datacenter and select the host


Actual results:
Unable to add domain using host if the host's cluster does not belong to a datacenter and the domain will also be unattached

Expected results:
Domain should be created


Additional info:
Relevant engine log section:

2014-01-30 11:02:51,593 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.GetDeviceListVDSCommand] (ajp--127.0.0.1-8702-9) START, GetDeviceListVDSCommand(HostName = gold-vdsd.qa.lab.tlv.redhat.com, HostId = e0eca3d6-aeb9-4827-a397-0448a007c7e9, storageType=ISCSI), log id: 136bf297
2014-01-30 11:02:53,914 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.GetDeviceListVDSCommand] (ajp--127.0.0.1-8702-9) FINISH, GetDeviceListVDSCommand, return: [org.ovirt.engine.core.common.businessentities.LUNs@7ada167, org.ovirt.engine.core.common.businessentities.LUNs@85b3622, org.ovirt.engine.core.common.businessentities.LUNs@ea19cac1, org.ovirt.engine.core.common.businessentities.LUNs@12c58580, org.ovirt.engine.core.common.businessentities.LUNs@9d86d51, org.ovirt.engine.core.common.businessentities.LUNs@ff98216a, org.ovirt.engine.core.common.businessentities.LUNs@b3e7a50a, org.ovirt.engine.core.common.businessentities.LUNs@8cbdfe44, org.ovirt.engine.core.common.businessentities.LUNs@616705f7, org.ovirt.engine.core.common.businessentities.LUNs@ddd538e8, org.ovirt.engine.core.common.businessentities.LUNs@837e1189, org.ovirt.engine.core.common.businessentities.LUNs@245d8d04, org.ovirt.engine.core.common.businessentities.LUNs@f4435d45, org.ovirt.engine.core.common.businessentities.LUNs@3f8340f1, org.ovirt.engine.core.common.businessentities.LUNs@64987be0, org.ovirt.engine.core.common.businessentities.LUNs@5477bcc3], log id: 136bf297
2014-01-30 11:03:04,858 WARN  [org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand] (ajp--127.0.0.1-8702-5) [538edc] CanDoAction of action AddSANStorageDomain failed. Reasons:VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__ADD,ACTION_TYPE_FAILED_STORAGE_DOMAIN_FORMAT_ILLEGAL_HOST,$storageFormat V3

Comment 1 Itamar Heim 2014-02-02 08:17:11 UTC
Setting target release to current version for consideration and review. please
do not push non-RFE bugs to an undefined target release to make sure bugs are
reviewed for relevancy, fix, closure, etc.

Comment 3 Fred Rolland 2015-02-09 10:16:22 UTC
It is not reproducible on master 3.6.
A lot of work in this area has been done since 3.4.

Comment 4 lkuchlan 2015-04-20 15:18:38 UTC
Tested using ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764

Comment 5 Sandro Bonazzola 2015-11-04 13:48:53 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.


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