[ovirt-users] listing domains fails

Fabrice Bacchella fabrice.bacchella at icloud.com
Tue May 31 13:54:15 UTC 2016


I'm trying to list domains using the api, and I'm getting a strange message :

> GET /api/storagedomains;case_sensitive=True HTTP/1.1
...
> Version: 3
> Content-Type: application/xml
> Accept: application/xml
> Filter: False
> Prefer: persistent-auth
> Content-Length: 0

< HTTP/1.1 404 Not Found
< <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
< <fault>
<     <reason>Operation Failed</reason>
<     <detail>Entity not found: Storage server connection: id=6860d96f-557e-4d82-a209-401d72bd6e16</detail>
< </fault>

And in engine.log, I got:
Before:
2016-05-30 13:07:31,017 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.DisconnectStorageServerVDSCommand] (default task-25) [4c2e1822] START, DisconnectStorageServerVDSCommand(HostName = ng320, StorageServerConnectionManagementVDSParameters:{runAsync='true', hostId='4426ed42-0805-43b1-92d9-3e5a680eaf38', storagePoolId='00000000-0000-0000-0000-000000000000', storageType='LOCALFS', connectionList='[StorageServerConnections:{id='6860d96f-557e-4d82-a209-401d72bd6e16', connection='/data/ovirt/data', iqn='null', vfsType='null', mountOptions='null', nfsVersion='null', nfsRetrans='null', nfsTimeo='null', iface='null', netIfaceName='null'}]'}), log id: 63f890
...
2016-05-30 13:07:32,312 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.DisconnectStorageServerVDSCommand] (default task-25) [4c2e1822] FINISH, DisconnectStorageServerVDSCommand, return: {6860d96f-557e-4d82-a209-401d72bd6e16=0}, log id: 63f890

When I run the command:
2016-05-31 15:34:11,259 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default task-13) [] Operation Failed: Entity not found: Storage server connection: id=6860d96f-557e-4d82-a209-401d72bd6e16

What's wrong ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160531/8efe8e86/attachment-0001.html>


More information about the Users mailing list