Skip to content

Commit 53923bf

Browse files
saiarcot895mssonicbld
authored andcommitted
Fix docker-sonic-vs following upgrade to Bookworm (sonic-net#21063)
FRR 10.0.1 upgrade (sonic-net#20269) brought in a mgmtd daemon for FRR. This needs to be started up in docker-sonic-vs as part of the other daemons in this container. Additionally, Debian Bookworm provides version 2.5.0 of scapy, but the pip3 command later in the file downgraded it to 2.4.5, which does not work in Bookworm. Fix this by removing the pip3 installation for scapy, and updating the other packages installed via pip3. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
1 parent 3ae9d4d commit 53923bf

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

platform/vs/docker-sonic-vs/Dockerfile.j2

+2-3
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,8 @@ RUN pip3 uninstall -y enum34
7474

7575
# Dependencies of restore_neighbors.py
7676
RUN pip3 install \
77-
scapy==2.4.4 \
78-
pyroute2==0.5.14 \
79-
netifaces==0.10.9
77+
pyroute2==0.7.2 \
78+
netifaces==0.11.0
8079

8180
{% if docker_sonic_vs_debs.strip() -%}
8281
# Copy built Debian packages

platform/vs/docker-sonic-vs/start.sh

+2
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ supervisorctl start vlanmgrd
160160

161161
supervisorctl start zebra
162162

163+
supervisorctl start mgmtd
164+
163165
supervisorctl start staticd
164166

165167
supervisorctl start buffermgrd

0 commit comments

Comments
 (0)