Skip to content

Commit

Permalink
Fixes:ISSU: ToR agents in init state after finalize
Browse files Browse the repository at this point in the history
Description: ToR agent has different configuration. When a ToR agent node is upgraded, discovery in that agent has to be updated to new discovery.
Closes-Bug:1676681

Change-Id: I3585a819735b310c9e08d20646a473cb83c6e3b4
  • Loading branch information
Suresh-vin committed Mar 29, 2017
1 parent 171e345 commit 60bf671
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config/utils/issu_process.sh
Expand Up @@ -6,6 +6,7 @@ function issu_contrail_switch_compute_node {
openstack-config --set /etc/contrail/supervisord_vrouter_files/contrail-vrouter-agent.ini program:contrail-vrouter-agent autostart true
openstack-config --set /etc/contrail/supervisord_vrouter_files/contrail-vrouter-agent.ini program:contrail-vrouter-agent killasgroup true
openstack-config --set /etc/contrail/contrail-vrouter-nodemgr.conf DISCOVERY server $1
for i in `ls /etc/contrail/contrail-tor-agent-*`; do echo $i; openstack-config --set $i DISCOVERY server $1; done
service supervisor-vrouter stop; rmmod vrouter;modprobe vrouter;service supervisor-vrouter start
contrail-status
route -n
Expand Down

0 comments on commit 60bf671

Please sign in to comment.