Bug 1059604
Summary: | [engine] Unable to add new storage unattached domain if host's cluster does not belong to a datacenter | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Gadi Ickowicz <gickowic> | ||||
Component: | ovirt-engine-core | Assignee: | Fred Rolland <frolland> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | lkuchlan <lkuchlan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.4 | CC: | amureini, bugs, gklein, nlevinki, rbalakri, yeylon | ||||
Target Milestone: | m1 | ||||||
Target Release: | 3.6.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | storage | ||||||
Fixed In Version: | ovirt-engine-3.6.0_qa1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-11-04 13:48:53 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
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. It is not reproducible on master 3.6. A lot of work in this area has been done since 3.4. Tested using ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764 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. |
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