<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Folks,</div><div><br></div><div>When I create a network and a subnet associated to that network, I am able to delete the network without deleting the subnet first from both CLI and Horizon.</div><div>The difference is that in Horizon, both APIs are called: delete_subnet() and delete_network()</div><div>When I tried by CLI, only delete_network is called as you can see in these logs:</div><div><div><br></div><div>2013-07-02 12:26:57 DEBUG [quantum.policy] loading policy file at /etc/quantum/policy.json</div><div>2013-07-02 12:26:57 DEBUG [quantum.plugins.plumgrid.plumgrid_nos_plugin.plumgrid_plugin] QuantumPluginPLUMgrid Status: delete_network() called</div><div>2013-07-02 12:26:57 DEBUG [quantum.policy] loading policy file at /etc/quantum/policy.json</div><div>2013-07-02 12:26:57 DEBUG [quantum.plugins.plumgrid.plumgrid_nos_plugin.rest_connection] PLUMgrid_NOS_Server: 10.1.2.43 8080 DELETE</div><div>2013-07-02 12:26:57 DEBUG [quantum.plugins.plumgrid.plumgrid_nos_plugin.rest_connection] PLUMgrid_NOS_Server Sending Data: {'Content-type': 'application/json', 'Accept': 'application/json'}</div><div>2013-07-02 12:26:57 DEBUG [quantum.openstack.common.rpc.amqp] Sending network.delete.end on notifications.info</div><div>2013-07-02 12:26:57 DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is ad8c5a233bd6403ea850cde73afb720a.</div><div>2013-07-02 12:26:57 DEBUG [quantum.openstack.common.rpc.amqp] Making asynchronous fanout cast...</div><div>2013-07-02 12:26:57 DEBUG [quantum.openstack.common.rpc.amqp] UNIQUE_ID is dcba5e2b55bb4cb89aab17f5797882e6.</div><div>2013-07-02 12:27:23 DEBUG [keystoneclient.middleware.auth_token] Authenticating user token</div><div>2013-07-02 12:27:23 DEBUG [keystoneclient.middleware.auth_token] Removing headers from request environment: X-Identity-Status,X-Domain-Id,X-Domain-Name,X-Project-Id,X-Project-Name,X-Project-Domain-Id,X-Project-Domain-Name,X-User-Id,X-User-Name,X-User-Domain-Id,X-User-Domain-Name,X-Roles,X-Service-Catalog,X-User,X-Tenant-Id,X-Tenant-Name,X-Tenant,X-Role</div><div>2013-07-02 12:27:23 DEBUG [keystoneclient.middleware.auth_token] Storing dd0bd438481c2d010d1abc5903fa11da token in memcache</div><div>2013-07-02 12:27:23 DEBUG [routes.middleware] No route matched for GET /subnets.json</div><div>2013-07-02 12:27:23 DEBUG [routes.middleware] Matched GET /subnets.json</div><div>2013-07-02 12:27:23 DEBUG [routes.middleware] Route path: '/subnets{.format}', defaults: {'action': u'index', 'controller': <wsgify at 37764240 wrapping <function resource at 0x24745f0>>}</div><div>2013-07-02 12:27:23 DEBUG [routes.middleware] Match dict: {'action': u'index', 'controller': <wsgify at 3776424</div></div><div><br></div><div>However, the subnet is not in the DB but the delete_subnet API is never called, can somebody explain what is happening here?</div><div>BTW. This is Grizzly release</div><div><br></div><div>Thanks,</div><div><br></div><div>Edgar</div></body></html>