commit 6faca0e70cb7e5aa594c2446e74629de899b139a
Author: Lucas Ratusznei Fonseca <email address hidden>
Date: Thu Nov 9 14:50:11 2023 -0300
Remove ifup output logging to prevent script from freezing
In some cases, capturing ifup output causes the script to freeze, which
leads to a puppet fail due to timeout. This commit changes the code so
that the output is redirected to /dev/null for ifup and ifdown calls.
Reviewed: https:/ /review. opendev. org/c/starlingx /stx-puppet/ +/900551 /opendev. org/starlingx/ stx-puppet/ commit/ 6faca0e70cb7e5a a594c2446e74629 de899b139a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 6faca0e70cb7e5a a594c2446e74629 de899b139a
Author: Lucas Ratusznei Fonseca <email address hidden>
Date: Thu Nov 9 14:50:11 2023 -0300
Remove ifup output logging to prevent script from freezing
In some cases, capturing ifup output causes the script to freeze, which
leads to a puppet fail due to timeout. This commit changes the code so
that the output is redirected to /dev/null for ifup and ifdown calls.
Test plan
PASS First unlock in an AIO-DX IPv6 install
Closes-Bug: #2043133 bb45b74690dca51 0fa91d6ec8f
Change-Id: I1fffa784e8067b
Signed-off-by: Lucas Ratusznei Fonseca <email address hidden>