setup:
env.roledefs = {
'all': [host1,host2,host3,host4,host5],
'cfgm': [host1,host2,host5],
'openstack':[host2],
'control': [host2,host1],
'compute': [host3,host4],
'collector': [host2,host1],
'webui': [host1],
'database': [host1,host2,host5],
'build': [host_build],
}
env.hostnames = {
'all': ['nodeh1', 'nodeg18', 'nodeh8', 'nodec11', 'nodec12']
}
there is routing instance present for already deleted VN "vn-mx", which may be because of schema crash(bug 1335831) at the same time when VN was deleted.
root@nodeg18:~# curl http://nodeh1.englab.juniper.net:8082/routing-instance/262e9eef-f71b-48f1-8ffd-96362c045911
{"routing-instance": {"fq_name": ["default-domain", "admin", "vn-mx", "vn-mx"], "uuid": "262e9eef-f71b-48f1-8ffd-96362c045911", "parent_uuid": "1c798324-f276-4d5c-8668-bab391a3e82e", "parent_href": "http://nodeh1.englab.juniper.net:8082/virtual-network/1c798324-f276-4d5c-8668-bab391a3e82e", "parent_type": "virtual-network", "href": "http://nodeh1.englab.juniper.net:8082/routing-instance/262e9eef-f71b-48f1-8ffd-96362c045911", "id_perms": {"enable": true, "description": null, "created": "2014-06-27T09:46:27.882720", "uuid": {"uuid_mslong": 2751311175850084593, "uuid_lslong": 10375614275942373649}, "last_modified": "2014-06-27T09:57:57.907709", "permissions": {"owner": "cloud-admin", "owner_access": 7, "other_access": 7, "group": "cloud-admin-group", "group_access": 7}}, "route_target_refs": [{"to": ["target:64512:20001"], "href": "http://nodeh1.englab.juniper.net:8082/route-target/8544b924-ca2a-42ba-8a0d-e9def070a610", "attr": {"import_export": null}, "uuid": "8544b924-ca2a-42ba-8a0d-e9def070a610"}, {"to": ["target:64512:11"], "href": "http://nodeh1.englab.juniper.net:8082/route-target/982a4931-e1c1-4cbc-b19a-7b56289769a3", "attr": {"import_export": null}, "uuid": "982a4931-e1c1-4cbc-b19a-7b56289769a3"}], "name": "vn-mx"}}
root@nodeg18:~# neutron net-list
+--------------------------------------+-------------------------+--------------------------------------------------------+
| id | name | subnets |
+--------------------------------------+-------------------------+--------------------------------------------------------+
| e861417f-a1a2-423a-941b-b9a11ccaf794 | vn--float | f6e817c9-ec0e-4e4f-9557-3f574d3066f5 9.9.9.0/24 |
| 0c2f067c-cf69-4973-952c-93d2f5e15813 | vnet1 | 980c71b9-19ef-4dc8-9ca6-bb542069702e 10.1.1.0/24 |
| | | 2c4b761f-d80f-4867-b883-23b205e06d43 11.1.1.0/24 |
| d34a809d-6585-415f-bdb2-aee9055d6c71 | vnet3 | 84abd84f-9980-44d4-83d7-3f5a9743e08f 10.1.3.0/24 |
| | | 4ebd6439-a11d-49b4-a5ae-f0068e52a9c2 11.1.3.0/24 |
| 75999242-60c1-4c61-b582-7f731f55587b | vnet4 | 442048b1-8fa2-4abf-a6ef-5a02fcf39c13 10.1.4.0/24 |
| | | 4eb5d63e-b420-47ff-b39d-bece14977fab 11.1.4.0/24 |
| c0858686-3a94-4c20-8662-b5e913d1da4a | svc-vn-right | a1bf52c3-1644-4234-b3c6-5823b61b867a 250.250.3.0/24 |
| 05d4fc36-d13d-4506-ae6c-28c0a6378eb8 | vnet2 | c96dd80a-c592-4e17-8ab7-ccdb3e3339e1 10.1.2.0/24 |
| | | eea58f60-8ed0-4c0a-96ed-c271abfc6674 11.1.2.0/24 |
| de250558-c173-48bc-8b23-d32184ee7031 | __link_local__ | |
| afb11f31-e1e2-4b18-95af-387751d362c2 | default-virtual-network | |
| ad9c0b4b-6288-47d9-b885-2c5e6a68f512 | vn1 | 3eb36a35-3f99-4db8-9980-f9b3628db015 10.204.220.192/29 |
| 8162d07e-5564-4ac2-84ac-d05406ed9b2d | svc-vn-left | 5f501d6f-44be-40dd-82ea-96be834e30f8 250.250.2.0/24 |
| 43686b07-040b-4b0c-aa74-49c0ba9942b7 | ip-fabric | |
| 39949d3a-4f31-40e6-a7a9-2c072a321bc5 | svc-vn-mgmt | 137edf33-279e-44b5-b66f-9894eadb9e81 250.250.1.0/24 |
+--------------------------------------+-------------------------+--------------------------------------------------------+
Prakash is aware about the issue.
all logs are @mayamruga:/home/bhushana/Documents/technical/bugs/1335831
for deleted SI again, we still have routing instances in API.
SI-2 is deleted and removed from policy but routing instance is still present.
there is no SI with name SI-2: nodeh1. englab. juniper. net:8082/ service- instances instances" : [{"href": "http:// nodeh1. englab. juniper. net:8082/ service- instance/ f96fdbf9- 377b-4d5d- a38c-8668f5cf3a bb", "fq_name": ["default-domain", "admin", "firewall-inNat"], "uuid": "f96fdbf9- 377b-4d5d- a38c-8668f5cf3a bb"}, {"href": "http:// nodeh1. englab. juniper. net:8082/ service- instance/ 4f9cd4a0- 8aa4-43ec- a411-929ae34ba8 3b", "fq_name": ["default-domain", "admin", "si-3"], "uuid": "4f9cd4a0- 8aa4-43ec- a411-929ae34ba8 3b"}]}
root@nodeh1:~# curl http://
{"service-
but routing instance still exist: nodeh1. englab. juniper. net:8082/ routing- instance/ c9f4c2c6- d7e9-4ebb- 87b1-df75478f9a ef instance" : {"fq_name": ["default-domain", "admin", "vn1", "service- default- domain_ admin_vn1- default- domain_ admin_vn- -float- default- domain_ admin_si- 2"], "uuid": "c9f4c2c6- d7e9-4ebb- 87b1-df75478f9a ef", "parent_uuid": "ad9c0b4b- 6288-47d9- b885-2c5e6a68f5 12", "parent_href": "http:// nodeh1. englab. juniper. net:8082/ virtual- network/ ad9c0b4b- 6288-47d9- b885-2c5e6a68f5 12", "parent_type": "virtual-network", "href": "http:// nodeh1. englab. juniper. net:8082/ routing- instance/ c9f4c2c6- d7e9-4ebb- 87b1-df75478f9a ef", "id_perms": {"enable": true, "description": null, "created": "2014-06- 27T10:34: 11.348611" , "uuid": {"uuid_mslong": 145524704552226 19835, "uuid_lslong": 977784196080281 8799}, "last_modified": "2014-06- 27T10:37: 03.455076" , "permissions": {"owner": "cloud-admin", "owner_access": 7, "other_access": 7, "group": "cloud- admin-group" , "group_access": 7}}, "route_ target_ refs": [{"to": ["target: 64512:15" ], "href": "http:// nodeh1. englab. juniper. net:8082/ route-target/ 5a4d5054- 0dfc-46b8- b07c-437546f400 22", "attr": {"import_export": null}, "uuid": "5a4d5054- 0dfc-46b8- b07c-437546f400 22"}], "routing_ instance_ refs": [{"to": ["default-domain", "admin", "vn1", "vn1"], "href": "http:// nodeh1. englab. juniper. net:8082/ routing- instance/ 60fd2ded- 77b7-4ea6- 8f06-2dcedb63d9 4c", "attr": {}, "uuid": "60fd2ded- 77b7-4ea6- 8f06-2dcedb63d9 4c"}], "name": "service- default- domain_ admin_vn1- default- domain_ admin_vn- -float- default- domain_ admin_si- 2"}}
root@nodeh1:~# curl http://
{"routing-
root@nodeh1:~# curl http:// nodeh1. englab. juniper. net:8082/ routing- instance/ 05c8eb5d- 1b5d-4269- 8a92-464b794fd5 48 instance" : {"fq_name": ["default-domain", "admin", "vn--float", "service- default- domain_ admin_vn- -float- default- domain_ admin_vn1- default- domain_ admin_si- 2"], "uuid": "05c8eb5d- 1b5d-4269- 8a92-464b794fd5 48", "parent_uuid": "e861417f- a1a2-423a- 941b-b9a11ccaf7 94", "parent_href": "http:// nodeh1. englab. juniper. net:8082/ virtual- network/ e861417f- a1a2-423a- 941b-b9a11ccaf7 94", "parent_type": "virtual-network", "href": "http:// nodeh1. englab. juniper. net:8082/ routing- instance/ 05c8eb5d- 1b5d-4269- 8a92-464b794fd5 48", "id_perms": {"enable": true, "description": null, "created": "2014-06- 27T10:34: 11.551759" , "uuid": {"uuid_mslong": 416841750655353449, "uuid_lslong": 998512061380557 7544}, "last_modified": "2014-06- 27T10:37: 03.519015" , "permissions": {"owner": "cloud-admin", "owner_access": 7, "other_access": 7, "gro...
{"routing-