[Users] Cannot delete storage connection

Meital Bourvine mbourvin at redhat.com
Sun Feb 23 09:00:28 UTC 2014


Can you please open a bug?

----- Original Message -----
> From: "sirin" <artem at e-inet.ru>
> To: "Meital Bourvine" <mbourvin at redhat.com>
> Cc: users at ovirt.org
> Sent: Saturday, February 22, 2014 9:07:36 PM
> Subject: Re: [Users] Cannot delete storage connection
> 
> 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
> 
> 
> 
> 
> 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