once agent is up, it doesn't have any instance information. looks like instances info could not be recovered after agent crash/restart.
after this instances are not able to send traffic to each other, verified it through docker cli.
from analytics: curl http://nodec64.englab.juniper.net:8081/analytics/uves/virtual-machines []
root@nodec62:~# nova list +--------------------------------------+-------+--------+------------+-------------+-------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+-------+--------+------------+-------------+-------------+ | 17dda6d0-89e1-4c72-845c-bdf124564a2d | vm10 | ACTIVE | - | Running | vn4=4.4.4.6 | | b0716346-ef97-489e-b36e-3c3d9a92c4d6 | vm4-1 | ACTIVE | - | Running | vn4=4.4.4.3 | | 556f84ce-2240-4fec-b0ec-69d17d5ba137 | vm4-2 | ACTIVE | - | Running | vn4=4.4.4.4 | | 05c436ed-baca-4c10-95ca-5be0fff8630f | vm9 | ACTIVE | - | Running | vn4=4.4.4.5 | +--------------------------------------+-------+--------+------------+-------------+-------------+
root@nodec64:/opt/contrail/utils# curl -u admin:contrail123 http://127.0.0.1:8095/virtual-machines | python -mjson.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 778 100 778 0 0 176k 0 --:--:-- --:--:-- --:--:-- 189k { "virtual-machines": [ { "fq_name": [ "05c436ed-baca-4c10-95ca-5be0fff8630f" ], "href": "http://127.0.0.1:8095/virtual-machine/05c436ed-baca-4c10-95ca-5be0fff8630f", "uuid": "05c436ed-baca-4c10-95ca-5be0fff8630f" }, { "fq_name": [ "17dda6d0-89e1-4c72-845c-bdf124564a2d" ], "href": "http://127.0.0.1:8095/virtual-machine/17dda6d0-89e1-4c72-845c-bdf124564a2d", "uuid": "17dda6d0-89e1-4c72-845c-bdf124564a2d" }, { "fq_name": [ "556f84ce-2240-4fec-b0ec-69d17d5ba137" ], "href": "http://127.0.0.1:8095/virtual-machine/556f84ce-2240-4fec-b0ec-69d17d5ba137", "uuid": "556f84ce-2240-4fec-b0ec-69d17d5ba137" }, { "fq_name": [ "b0716346-ef97-489e-b36e-3c3d9a92c4d6" ], "href": "http://127.0.0.1:8095/virtual-machine/b0716346-ef97-489e-b36e-3c3d9a92c4d6", "uuid": "b0716346-ef97-489e-b36e-3c3d9a92c4d6" } ] }
once agent is up, it doesn't have any instance information.
looks like instances info could not be recovered after agent crash/restart.
after this instances are not able to send traffic to each other, verified it through docker cli.
from analytics: nodec64. englab. juniper. net:8081/ analytics/ uves/virtual- machines
curl http://
[]
root@nodec62:~# nova list ------- ------- ------- ------- ----+-- -----+- ------- +------ ------+ ------- ------+ ------- ------+ ------- ------- ------- ------- ----+-- -----+- ------- +------ ------+ ------- ------+ ------- ------+ 89e1-4c72- 845c-bdf124564a 2d | vm10 | ACTIVE | - | Running | vn4=4.4.4.6 | ef97-489e- b36e-3c3d9a92c4 d6 | vm4-1 | ACTIVE | - | Running | vn4=4.4.4.3 | 2240-4fec- b0ec-69d17d5ba1 37 | vm4-2 | ACTIVE | - | Running | vn4=4.4.4.4 | baca-4c10- 95ca-5be0fff863 0f | vm9 | ACTIVE | - | Running | vn4=4.4.4.5 | ------- ------- ------- ------- ----+-- -----+- ------- +------ ------+ ------- ------+ ------- ------+
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 17dda6d0-
| b0716346-
| 556f84ce-
| 05c436ed-
+------
root@nodec64: /opt/contrail/ utils# curl -u admin:contrail123 http:// 127.0.0. 1:8095/ virtual- machines | python -mjson.tool
Dload Upload Total Spent Left Speed machines" : [
"fq_ name": [
"05c436ed- baca-4c10- 95ca-5be0fff863 0f" 127.0.0. 1:8095/ virtual- machine/ 05c436ed- baca-4c10- 95ca-5be0fff863 0f", baca-4c10- 95ca-5be0fff863 0f"
"fq_ name": [
"17dda6d0- 89e1-4c72- 845c-bdf124564a 2d" 127.0.0. 1:8095/ virtual- machine/ 17dda6d0- 89e1-4c72- 845c-bdf124564a 2d", 89e1-4c72- 845c-bdf124564a 2d"
"fq_ name": [
"556f84ce- 2240-4fec- b0ec-69d17d5ba1 37" 127.0.0. 1:8095/ virtual- machine/ 556f84ce- 2240-4fec- b0ec-69d17d5ba1 37", 2240-4fec- b0ec-69d17d5ba1 37"
"fq_ name": [
"b0716346- ef97-489e- b36e-3c3d9a92c4 d6" 127.0.0. 1:8095/ virtual- machine/ b0716346- ef97-489e- b36e-3c3d9a92c4 d6", ef97-489e- b36e-3c3d9a92c4 d6"
% Total % Received % Xferd Average Speed Time Time Time Current
100 778 100 778 0 0 176k 0 --:--:-- --:--:-- --:--:-- 189k
{
"virtual-
{
],
"href": "http://
"uuid": "05c436ed-
},
{
],
"href": "http://
"uuid": "17dda6d0-
},
{
],
"href": "http://
"uuid": "556f84ce-
},
{
],
"href": "http://
"uuid": "b0716346-
}
]
}