Comment 0 for bug 1642436

Revision history for this message
wenqing liang (wliang) wrote :

contrail-install-packages 3.0.3.1-7~kilo.

objects such as virtual network went missing after restoring Cassandra snapshots to the new database via restore_cassandra_db during AB upgrade.

root@newvm-1:/opt/contrail/utils# curl -u admin:c0ntrail123 http://localhost:8095/virtual-networks | python -m json.tool
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 638 100 638 0 0 75646 0 --:--:-- --:--:-- --:--:-- 79750
{
    "virtual-networks": [
        {
            "fq_name": [
                "default-domain",
                "default-project",
                "default-virtual-network"
            ],
            "href": "http://localhost:8095/virtual-network/cd63ad8b-b656-4416-9bed-92bda2e7d973",
            "uuid": "cd63ad8b-b656-4416-9bed-92bda2e7d973"
        },
        {
            "fq_name": [
                "default-domain",
                "default-project",
                "ip-fabric"
            ],
            "href": "http://localhost:8095/virtual-network/abe9638d-420d-4e24-8192-9107d94fb3fc",
            "uuid": "abe9638d-420d-4e24-8192-9107d94fb3fc"
        },
        {
            "fq_name": [
                "default-domain",
                "default-project",
                "__link_local__"
            ],
            "href": "http://localhost:8095/virtual-network/de6defd2-009c-4b3d-8406-788187d19be6",
            "uuid": "de6defd2-009c-4b3d-8406-788187d19be6"
        }
    ]
}
root@newvm-1:/opt/contrail/utils#