[Users] Cannot delete storage connection

sirin artem at e-inet.ru
Sat Feb 22 19:07:36 UTC 2014


Hi,

in logs engine.log 

2014-02-22 23:02:17,446 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (ajp-/127.0.0.1:8702-8) Operation Failed: Entity not found: null

vdsm log attached

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdsm.log
Type: application/octet-stream
Size: 35553 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140222/557103a4/attachment-0001.obj>
-------------- next part --------------


Artem

22 ????. 2014 ?., ? 22:38, Meital Bourvine <mbourvin at redhat.com> ???????(?):

> Sounds like a bug to me.
> 
> Can you please attach engine.log and vdsm.log?
> 
> ----- Original Message -----
>> From: "sirin" <artem at e-inet.ru>
>> To: users at ovirt.org
>> Sent: Saturday, February 22, 2014 8:28:54 PM
>> Subject: [Users] Cannot delete storage connection
>> 
>> Hi all,
>> 
>> i have next connection
>> 
>> <storage_connections>
>> <storage_connection
>> href="/api/storageconnections/d94d9341-6116-4b1a-94c5-5c3327aa1b09"
>> id="d94d9341-6116-4b1a-94c5-5c3327aa1b09?>
>> <address>192.168.0.171</address>
>> <type>nfs</type>
>> <path>/srv/lstore/vm</path>
>> </storage_connection>
>> 
>> <storage_connection
>> href="/api/storageconnections/67539ba5-9b6d-46df-8c96-4acd3f212f4a"
>> id="67539ba5-9b6d-46df-8c96-4acd3f212f4a?>
>> <address>rhevm.cebra.lab</address>
>> <type>nfs</type>
>> <path>/var/lib/exports/iso</path>
>> </storage_connection>
>> 
>> <storage_connection
>> href="/api/storageconnections/fdc92419-b278-4b11-9eba-f68fd4914132"
>> id="fdc92419-b278-4b11-9eba-f68fd4914132?>
>> <address>192.168.0.171</address>
>> <type>nfs</type>
>> <path>/srv/store/vm</path>
>> </storage_connection>
>> 
>> <storage_connection
>> href="/api/storageconnections/92fc6cf3-17b1-4b69-af80-5782270137ed"
>> id="92fc6cf3-17b1-4b69-af80-5782270137ed?>
>> <address>192.168.0.171</address>
>> <type>nfs</type>
>> <path>/srv/bstore/vm</path>
>> </storage_connection>
>> </storage_connections>
>> 
>> 
>> I want to remove this connection  id="d94d9341-6116-4b1a-94c5-5c3327aa1b09?
>> but? fail
>> 
>> [RHEVM shell (connected)]# show storageconnection
>> d94d9341-6116-4b1a-94c5-5c3327aa1b09
>> 
>> id     : d94d9341-6116-4b1a-94c5-5c3327aa1b09
>> address: 192.168.0.171
>> path   : /srv/lstore/vm
>> type   : nfs
>> 
>> [RHEVM shell (connected)]# remove storageconnection
>> d94d9341-6116-4b1a-94c5-5c3327aa1b09
>> 
>> error:
>> status: 404
>> reason: Not Found
>> detail: Entity not found: null
>> 
>> [RHEVM shell (connected)]# show storageconnection
>> d94d9341-6116-4b1a-94c5-5c3327aa1b09
>> 
>> id     : d94d9341-6116-4b1a-94c5-5c3327aa1b09
>> address: 192.168.0.171
>> path   : /srv/lstore/vm
>> type   : nfs
>> 
>> okay? i use curl with DELETE
>> 
>> [root at rhevhst ~]# curl -X GET -H "Accept: application/xml" -u
>> admin at internal:<pass>
>> https://192.168.0.170/api/storageconnections/d94d9341-6116-4b1a-94c5-5c3327aa1b09
>> --insecure
>> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
>> <storage_connection
>> href="/api/storageconnections/d94d9341-6116-4b1a-94c5-5c3327aa1b09"
>> id="d94d9341-6116-4b1a-94c5-5c3327aa1b09">
>>    <address>192.168.0.171</address>
>>    <type>nfs</type>
>>    <path>/srv/lstore/vm</path>
>> </storage_connection>
>> [root at rhevhst ~]#
>> 
>> [root at rhevhst ~]# curl -X DELETE -H "Accept: application/xml" -u
>> admin at internal:<pass>
>> https://192.168.0.170/api/storageconnections/d94d9341-6116-4b1a-94c5-5c3327aa1b09
>> --insecure
>> <?xml version="1.0" encoding="UTF-8"
>> standalone="yes"?><fault><reason>Operation Failed</reason><detail>Entity not
>> found: null</detail></fault>
>> [root at rhevhst ~]#
>> 
>> how i can remove connection?! this is bug?
>> 
>> Artem
>> 
>> 
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>> 



More information about the Users mailing list