Build 1.10 24
Trying to disassociate a port from the router using port-id fails .
DEBUG: neutronclient.client
REQ: curl -i http://10.204.217.69:9696/v2.0/routers.json?fields=id&name=router1-21915609 -X GET -H "X-Auth-Token: <token> -H "Content-Typ
e: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"
DEBUG: neutronclient.client RESP:{'date': 'Tue, 26 Aug 2014 06:54:49 GMT', 'status': '200', 'content-length': '61', 'content-type': 'application/json; charset=UTF-8', 'content-location': 'http://10.204.217.69:9696/v2.0/routers.json?fields=id&name=router1-21915609'} {"routers": [{"id": "d53d4b6d-1d85-48c8-b0c1-ef98b347f575"}]}
DEBUG: neutronclient.client
REQ: curl -i http://10.204.217.69:9696/v2.0/ports.json?fields=id&id=0ee3b44c-bfdc-41fe-95a4-55412e5a2837 -X GET -H "X-Auth-Token: <token> -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"
DEBUG: neutronclient.client RESP:{'date': 'Tue, 26 Aug 2014 06:54:49 GMT', 'status': '200', 'content-length': '59', 'content-type': 'application/json; charset=UTF-8', 'content-location': 'http://10.204.217.69:9696/v2.0/ports.json?fields=id&id=0ee3b44c-bfdc-41fe-95a4-55412e5a2837'} {"ports": [{"id": "0ee3b44c-bfdc-41fe-95a4-55412e5a2837"}]}
DEBUG: neutronclient.client
REQ: curl -i http://10.204.217.69:9696/v2.0/routers/d53d4b6d-1d85-48c8-b0c1-ef98b347f575/remove_router_interface.json -X PUT -H "X-Auth-Token: <token> -H "Accept: application/json" -H "User-Agent: python-neutronclient" -d '{"port_id": "0ee3b44c-bfdc-41fe-95a4-55412e5a2837"}'
DEBUG: neutronclient.client RESP:{'date': 'Tue, 26 Aug 2014 06:54:49 GMT', 'status': '404', 'content-length': '195', 'content-type': 'application/json; charset=UTF-8'} {"NeutronError": {"message": "Router d53d4b6d-1d85-48c8-b0c1-ef98b347f575 does not have an interface with id 0ee3b44c-bfdc-41fe-95a4-55412e5a2837", "type": "ContrailNotFoundError", "detail": ""}}
DEBUG: neutronclient.v2_0.client Error message: {"NeutronError": {"message": "Router d53d4b6d-1d85-48c8-b0c1-ef98b347f575 does not have an interface with id 0ee3b44c-bfdc-41fe-95a4-55412e5a2837", "type": "ContrailNotFoundError", "detail": ""}}
ERROR: neutronclient.shell 404-{u'NeutronError': {u'message': u'Router d53d4b6d-1d85-48c8-b0c1-ef98b347f575 does not have an interface with id 0ee3b44c-bfdc-41fe-95a4-55412e5a2837', u'type': u'ContrailNotFoundError', u'detail': u''}}
DEBUG: neutronclient.shell clean_up RemoveInterfaceRouter
DEBUG: neutronclient.shell got an error: 404-{u'NeutronError': {u'message': u'Router d53d4b6d-1d85-48c8-b0c1-ef98b347f575 does not have an interface with id 0ee3b44c-bfdc-41fe-95a4-55412e5a2837', u'type': u'ContrailNotFoundError', u'detail': u''}}
root@nodec22:~/github/mine4/contrail-test#
Adding more details :
root@nodec22: ~/github/ mine4/contrail- test# neutron router-list ------- ------- ------- ------- ----+-- ------- ------- --+---- ------- ------- -----+ gateway_ info | ------- ------- ------- ------- ----+-- ------- ------- --+---- ------- ------- -----+ b2ae-4709- 979f-448dc70065 72 | router1-73569122 | null | 7e70-48ff- aca3-630eaabee7 08 | router1-53908450 | null | 1d85-48c8- b0c1-ef98b347f5 75 | router1-21915609 | null | 3d4f-4401- 8154-60e0e3db52 0f | rtr1 | null | ------- ------- ------- ------- ----+-- ------- ------- --+---- ------- ------- -----+ ~/github/ mine4/contrail- test# neutron router-port-list d53d4b6d- 1d85-48c8- b0c1-ef98b347f5 75 ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+----- ------- ------- +------ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ----+ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+----- ------- ------- +------ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ----+ bfdc-41fe- 95a4-55412e5a28 37 | 0ee3b44c- bfdc-41fe- 95a4-55412e5a28 37 | 02:0e:e3:b4:4c:bf | {"subnet_id": "6a64a814- 97c2-41c6- b230-eec0ad5b75 33", "ip_address": "64.6.66.3", "port_id": "0ee3b44c- bfdc-41fe- 95a4-55412e5a28 37", "net_id": "805ae971- a469-46f5- 8cd4-37b558aacd 2a"} | 9d63-46a2- 96d4-be0165c60b 9c | f161ba1f- 9d63-46a2- 96d4-be0165c60b 9c | 02:f1:61:ba:1f:9d | {"subnet_id": "c8ad8337- 3af1-41b4- 9c5f-598625744e 95", "ip_address": "31.148.58.3", "port_id": "f161ba1f- 9d63-46a2- 96d4-be0165c60b 9c", "net_id": "3eae8d26- 5d5a-4705- 96d4-776993c447 97"} | ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+----- ------- ------- +------ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ----+ ~/github/ mine4/contrail- test#
+------
| id | name | external_
+------
| fed6053a-
| cf04780e-
| d53d4b6d-
| 186643ad-
+------
root@nodec22:
+------
| id | name | mac_address | fixed_ips |
+------
| 0ee3b44c-
| f161ba1f-
+------
root@nodec22: