[dvs] Start portsyncd before orchagent for docker-sonic-vs container (#5140)

Swap order of orchagent and portsyncd in start.sh and fix priorities

Many docker virtual switch tests are failing at the moment because orchagent never finishes initializing. After doing some searching I figured out that Ethernet24 is never published to State DB, which is reminiscent of #4821

Signed-off-by: Danny Allen <daall@microsoft.com>
This commit is contained in:
Danny Allen 2020-08-11 08:52:06 -07:00 committed by GitHub
parent 9c364fbf93
commit 9297d8ee47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -87,10 +87,10 @@ fi
supervisorctl start syncd supervisorctl start syncd
supervisorctl start orchagent
supervisorctl start portsyncd supervisorctl start portsyncd
supervisorctl start orchagent
supervisorctl start neighsyncd supervisorctl start neighsyncd
supervisorctl start teamsyncd supervisorctl start teamsyncd

View File

@ -43,16 +43,16 @@ autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog
[program:orchagent] [program:portsyncd]
command=/usr/bin/orchagent.sh command=/usr/bin/portsyncd
priority=5 priority=5
autostart=false autostart=false
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog
[program:portsyncd] [program:orchagent]
command=/usr/bin/portsyncd command=/usr/bin/orchagent.sh
priority=6 priority=6
autostart=false autostart=false
autorestart=false autorestart=false