vrouter: /var/lib/contrail/ inside vrouter-agent need to be a persistent volume
Bug #1781749 reported by
Senthilnathan Murugappan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
Fix Committed
|
Critical
|
Yuvaraja Mariappan | |||
Trunk |
Fix Committed
|
Critical
|
Yuvaraja Mariappan |
Bug Description
In vrouter agent we store the db at /var/lib/contrail inside the container which needs to be a persistent volume.
It is not a persisten volume right now due to which when we do 'docker-compose down' and 'docker-compose up -d' to upgrade the cluster, the existing VMI and related info are not replayed and agent loses information about the existing VMs in the node.
Observed this on ansible-deployer based provisioned cluster, this needs to be fixed in all the deployment models (ansible-deployer, helm, openshift, single-yaml etal) if not already taken care of.
To post a comment you must log in.
Probably this is a pre-existing bug in R5.0 GA too. vrouter- agent_1: /var/lib/ contrail /tmp/bkup/contrail' contrail/ ); do docker cp /tmp/bkup/ contrail/ $dir vrouter_ vrouter- agent_1: /var/lib/ contrail; done vrouter- agent_1
In which case if someone wants to upgrade they may need to do below on all the computes during upgrade to not lose the existing VM info (change the name of the container as need be)
1) 'docker cp vrouter_
2) Upgrade the cluster
3) for dir in $(ls /tmp/bkup/
4) docker restart vrouter_