Skip to content

Commit

Permalink
Fix docker-sonic-vs following upgrade to Bookworm (#21063)
Browse files Browse the repository at this point in the history
FRR 10.0.1 upgrade (#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 <[email protected]>
  • Loading branch information
saiarcot895 authored and mssonicbld committed Dec 19, 2024
1 parent 3ae9d4d commit 53923bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions platform/vs/docker-sonic-vs/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,8 @@ RUN pip3 uninstall -y enum34

# Dependencies of restore_neighbors.py
RUN pip3 install \
scapy==2.4.4 \
pyroute2==0.5.14 \
netifaces==0.10.9
pyroute2==0.7.2 \
netifaces==0.11.0

{% if docker_sonic_vs_debs.strip() -%}
# Copy built Debian packages
Expand Down
2 changes: 2 additions & 0 deletions platform/vs/docker-sonic-vs/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ supervisorctl start vlanmgrd

supervisorctl start zebra

supervisorctl start mgmtd

supervisorctl start staticd

supervisorctl start buffermgrd
Expand Down

0 comments on commit 53923bf

Please sign in to comment.