Bug 834841 - Ovirt CLI - Can't remove network
Summary: Ovirt CLI - Can't remove network
Keywords:
Status: CLOSED DUPLICATE of bug 834198
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-cli
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Michael Pasternak
QA Contact: Oded Ramraz
URL:
Whiteboard: network
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-24 07:39 UTC by Elena
Modified: 2016-02-10 19:48 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-24 08:00:48 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Elena 2012-06-24 07:39:07 UTC
delete network testrest1
unknown error: None

2012-06-24 10:34:27,939 WARN  [org.ovirt.engine.core.bll.storage.RemoveNetworkCommand] (ajp--0.0.0.0-8009-8) [3cc612a8] CanDoAction of action RemoveNetwork failed. Reasons:VAR__ACTION__REMOVE,VAR__TYPE__NETWORK,NETWORK_CLUSTER_NETWORK_IN_USE
2012-06-24 10:34:27,940 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (ajp--0.0.0.0-8009-8) Operation Failed: [Cannot remove Network. Network is being used by at least one Cluster.]

Same action with same parameters works perfect with REST API

I suggest there is the same problem with search networks bug and api just try to remove the wrong network

Comment 1 Michael Pasternak 2012-06-24 08:00:48 UTC
Elena, this is very same issue as in :
#834198 - OVIRT-CLI: update network by name doesn't work

i.e get-network-by-name doesn't work, in meanwhile you can delete by-id

*** This bug has been marked as a duplicate of bug 834198 ***


Note You need to log in before you can comment on or make changes to this bug.