You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker image ls | grep config-api
docker run --rm -it -v /temp/tmp-config-dir/:/tmp/ -v /etc/contrail/ssl/controller/:/etc/contrail/ssl/:ro \
--network host --entrypoint=/bin/bash hub.juniper.net/contrail/contrail-controller-config-api:<version>
Run the command
cd /usr/lib/python2.7/site-packages/cfgm_common
python db_json_exim.py --export-to /tmp/db-dump.json --api-conf /temp/tmp-config-dir/contrail-api.conf
Run below commands to check DB inconsistenices
docker exec -it <CONTAINER_ID_CONFIG_API_1> bash
cd /usr/lib/python2.7/site-packages/vnc_cfg_api_server
- Displays the list of all Object id to be cleaned(dry-run).
python db_manage.py --api-conf /etc/contrail/contrail-api.conf clean
- Deletes all stale object id in DB's with(--execute)
python db_manage.py --api-conf /etc/contrail/contrail-api.conf \
--execute check