Bug 1073456 - can't attach iso domain to local datacenter
Summary: can't attach iso domain to local datacenter
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.4.0
Assignee: Tal Nisan
QA Contact: Elad
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-06 13:21 UTC by Ohad Basan
Modified: 2016-02-10 19:51 UTC (History)
10 users (show)

Fixed In Version: ovirt-3.4.0-ga
Clone Of:
: 1073965 (view as bug list)
Environment:
Last Closed: 2014-03-31 12:31:28 UTC
oVirt Team: Storage
Embargoed:


Attachments (Terms of Use)
engine log (72.37 KB, text/x-log)
2014-03-06 13:21 UTC, Ohad Basan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1065726 0 unspecified CLOSED The ISO uploader assumes that the storage domain uses NFS 2021-02-22 00:41:40 UTC

Internal Links: 1065726

Description Ohad Basan 2014-03-06 13:21:26 UTC
Created attachment 871445 [details]
engine log

Description of problem:

Engine is failing CanDoAction when trying to add an iso domain to local storage
2014-02-19 12:24:28,757 WARN  [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (ajp--127.0.0.1-8702-6) [414008e9] CanDoAction of action AttachStorageDomainToPool failed. Reasons:VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__ATTACH,ERROR_CANNOT_ATTACH_STORAGE_DOMAIN_STORAGE_TYPE_NOT_MATCH
2014-02-19 12:24:28,764 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (ajp--127.0.0.1-8702-6) Operation Failed: [Cannot attach storage to Data Center. Storage type doesn't match the Data Center type.]

imho, local dc should support iso domain like it did in the past.
this functionality is important for ovirt live to work

Comment 1 Sandro Bonazzola 2014-03-07 09:19:39 UTC
May be related to bug #1065726 also.

Comment 2 Tal Nisan 2014-03-09 13:16:04 UTC
Was fixed in http://gerrit.ovirt.org/24232, Ohad can you recompile from a newer version and test it?

Comment 3 Ohad Basan 2014-03-12 11:07:49 UTC
works
thanks!

Comment 4 Sandro Bonazzola 2014-03-12 12:08:07 UTC
3.4.0 has not been released yet, moving back to ON_QA.

Comment 5 Elad 2014-03-18 12:05:01 UTC
Attaching a NFS ISO domain to a local DC is allowed and works properly. 

2014-03-18 14:01:34,501 INFO  [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (org.ovirt.thread.pool-4-thread-21) [5778b1cb] Running command: AttachStorageDomainToPoolCommand internal: false. Entities affected :  ID: 7233a711-98e8-4c3c-bcfa-44c4bcc4f6c6 Type: Storage

2014-03-18 14:01:34,968 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand] (org.ovirt.thread.pool-4-thread-21) [5778b1cb] START, AttachStorageDomainVDSCommand( storagePoolId = 4200b248
-0c3a-4a15-879c-40e622811951, ignoreFailoverLimit = false, storageDomainId = 7233a711-98e8-4c3c-bcfa-44c4bcc4f6c6), log id: 4a16642f
2014-03-18 14:01:38,515 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand] (org.ovirt.thread.pool-4-thread-21) [5778b1cb] FINISH, AttachStorageDomainVDSCommand, log id: 4a16642f
2014-03-18 14:01:38,519 INFO  [org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand] (org.ovirt.thread.pool-4-thread-21) [17809d75] Lock Acquired to object EngineLock [exclusiveLocks= key: 7233a711-98e8-
4c3c-bcfa-44c4bcc4f6c6 value: STORAGE
, sharedLocks= ]


Verified using RHEV3.4 - AV3

Comment 6 Sandro Bonazzola 2014-03-31 12:31:28 UTC
this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released


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