Created attachment 813213 [details]
Screenshot of REST-Client-Output
Description of problem:
If I try to delete a storage connection via API-Call (no matter if via rest-client, curl, or ovirt-shell) the delete method fails.
Version-Release number of selected component (if applicable):
this occurs in ovirt 3.3
Steps to Reproduce:
1. find a storage connection id, e.g. brows to the specific api entrypoint:
2. try do delete this connection via curl/rest-client/ovirt-shell:
[oVirt shell (connected)]# remove storageconnection 84970346-ae22-49cf-8a4c-c1bd27a0b7a4
in ovirt-shell you get:
reason: Not Found
detail: Entity not found: null
But you can list the connection via shell, so it exists:
[oVirt shell (connected)]# show storageconnection
id : 84970346-ae22-49cf-8a4c-c1bd27a0b7a4
path : /var/lib/exports/export
type : nfs
Via REST-Client you get: "The specified HTTP method is not allowed for the requested resource" (See the attached screenshot)
The Storageconnection gets deleted
The Storage Domain associated to this connection was an export domain, which got deleted, but the connection persisted.
As an side effect, we can no longer add additional local storage domain, in a third local storage datacenter because then it says:
"can't add storage connection, connection already exists"
i think this is only in 3.3.1, which is just about to beta
So this feature doesn't exist in 3.3.0:
Btw, the wiki seems to be down, I get:
"Can't contact the database server: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 (127.7.52.129))"
If this should get fixed in 3.3.1 I suggest to add this bug as a blocker
to the release tracking bug: https://bugzilla.redhat.com/show_bug.cgi?id=1019391
Allon, Daniel, this is in modified state but there is no gerrit patch in external tracker
oVirt 3.3.1 has been released