Skip to content

dhcp6relay: remove line overwriting docker-dhcp-relay variable#9179

Merged
lguohan merged 1 commit intosonic-net:masterfrom
saiarcot895:fix-dhcprelay-variable
Nov 6, 2021
Merged

dhcp6relay: remove line overwriting docker-dhcp-relay variable#9179
lguohan merged 1 commit intosonic-net:masterfrom
saiarcot895:fix-dhcprelay-variable

Conversation

@saiarcot895
Copy link
Contributor

The dhcp6relay rules file had a line overwriting a variable for
docker-dhcp-relay. Remove that line.

This line caused a limited impact where if some (many?) of the docker
containers were already built, except for dhcp-relay, and the build
failed or was interrupted, then dhcp-relay container would fail to build
because this variable was overwritten and the python3-swsscommon
wouldn't get installed into the slave container. Most builds would be
fine, though.

Signed-off-by: Saikrishna Arcot sarcot@microsoft.com

Why I did it

How I did it

How to verify it

To see the failure:

  1. Start a regular build (for any platform).
  2. When the containers are getting built, before the dhcp-relay container is built, interrupt the build with Ctrl-C.
  3. If it's timed right, after restarting the build, the dhcp-relay container fails to build.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

The dhcp6relay rules file had a line overwriting a variable for
docker-dhcp-relay. Remove that line.

This line caused a limited impact where if some (many?) of the docker
containers were already built, except for dhcp-relay, and the build
failed or was interrupted, then dhcp-relay container would fail to build
because this variable was overwritten and the python3-swsscommon
wouldn't get installed into the slave container. Most builds would be
fine, though.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
@lguohan
Copy link
Collaborator

lguohan commented Nov 5, 2021

do we need this for 202012?

@lguohan lguohan merged commit 3fc42df into sonic-net:master Nov 6, 2021
@saiarcot895 saiarcot895 deleted the fix-dhcprelay-variable branch November 9, 2021 18:04
qiluo-msft pushed a commit that referenced this pull request Nov 9, 2021
The dhcp6relay rules file had a line overwriting a variable for
docker-dhcp-relay. Remove that line.

This line caused a limited impact where if some (many?) of the docker
containers were already built, except for dhcp-relay, and the build
failed or was interrupted, then dhcp-relay container would fail to build
because this variable was overwritten and the python3-swsscommon
wouldn't get installed into the slave container. Most builds would be
fine, though.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants