Hide Forgot
Description of problem: (This is a restapi_jboss7 job on jenkins upstream) Trying to import ISO storage domain via rest api. POST : http://localhost:8080/api/storagedomains body:<storage_domain><type>iso</type><storage><type>nfs</type><address>.......</address><path>.....</path></storage><host><name>.......</name></host></storage_domain> response: <fault> <reason>Incomplete parameters</reason> <detail>StorageDomain [name] required for add</detail> </fault> engine: [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetStorageDomainsListVDSCommand] (http--0.0.0.0-8080-2) FINISH, HSMGetStorageDomain sListVDSCommand, return: [], log id: 771a30a8 vdsClient: # vdsClient 0 getStorageDomainsList 00000000-0000-0000-0000-000000000000 2 1 blabla.bla.bla.bla.redhat.com:/volumes/bla/ci-iso5 2c61eac5-1885-41f1-9280-57c33308c047 e4dc274b-7e11-4034-b1e8-5652e2659492 9c37e757-60d8-4e85-a560-9c611a300459 which means engine doesn't get that list of storage domain on the same iso domain
Created attachment 564643 [details] engine log
Created attachment 564644 [details] vdsm log
In order to reproduce, the latest upstream VDSM version installed (vdsm-4.9.4-0.74.gita001141.fc16.x86_64) on a fedora host. Running from command line returns a single storage domain id: vdsClient 0 getStorageDomainsList 00000000-0000-0000-0000-000000000000 2 1 host-address:/volumes/base/shared_iso_domain ab800c64-3caa-4c28-b61f-c3073d487c50 however, the response to engine-code returned an empty list of ids.
Engine sends getStorageDomainsList(spUUID='00000000-0000-0000-0000-000000000000', domainClass=2, storageType=1, remotePath='shafan.eng.lab.tlv.redhat.com:/volumes/shafan/ci-shared-iso', options=None) which is probably broken due to a recent upstream commit fe22ef5fe9893bbf7ba02c4fc2e83e4f6c2197dc Author: Saggi Mizrahi <smizrahi> Date: Fri Jan 20 10:23:31 2012 -0500 Fix remotePath comparison in getStorageDomainsList
http://gerrit.ovirt.org/#change,2142
closing ON_QA bugs as oVirt 3.1 was released: http://www.ovirt.org/get-ovirt/