Comment 1 for bug 1454655

Revision history for this message
alok kumar (kalok) wrote :

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"
        }
    ]
}