Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to modify iptables fails with command not found #166

Closed
murthyvijay opened this issue Mar 1, 2023 · 2 comments
Closed

Attempt to modify iptables fails with command not found #166

murthyvijay opened this issue Mar 1, 2023 · 2 comments
Assignees
Labels
bug Something isn't working DENT 3.0 needed for DENT 3.0 release regression issue found in regression

Comments

@murthyvijay
Copy link

In test suite:

dentv2_testing

and in test case:

dentv2/acl/chain/test_acl_tc_chain_scale.py::test_iptables_tc_scale

attempt to modify iptables fails with command not found.

One obvious thing to note is the extra forward slash in the path /

/sputnik/env/IhmDentTcFlower//bin/iptables-unroll

INFO     asyncssh:logging.py:92 [conn=196, chan=382] Requesting new SSH session
INFO     asyncssh:logging.py:92 [conn=196, chan=382]   Command: echo onl | sudo -S /sputnik/env/IhmDentTcFlower//bin/execute_in_env  /sputnik/env/IhmDentTcFlower//bin/iptables-unroll --multi-interface --extended /tmp/iptables.rules /tmp/iptables-unrolled.rules FORWARD
INFO     asyncssh:logging.py:92 [conn=196, chan=382] Received exit status 1
INFO     asyncssh:logging.py:92 [conn=196, chan=382] Received channel close
INFO     asyncssh:logging.py:92 [conn=196, chan=382] Channel closed
DEBUG    infra1:Logger.py:156 sudo: /sputnik/env/IhmDentTcFlower//bin/execute_in_env: command not found

INFO DENT:Logger.py:84 [Dent infra1] Failed to run /sputnik/env/IhmDentTcFlower//bin/execute_in_env /sputnik/env/IhmDentTcFlower//bin/iptables-unroll --multi-interface --extended /tmp/iptables.rules /tmp/iptables-unrolled.rules FORWARD output sudo: /sputnik/env/IhmDentTcFlower//bin/execute_in_env: command not found

@isgmano isgmano added DENT 3.0 needed for DENT 3.0 release bug Something isn't working regression issue found in regression labels Mar 2, 2023
@muchetan
Copy link
Contributor

muchetan commented Mar 9, 2023

Can you please check the latest it should be fixed. meaning we are using direct iptables-unroll part of petunia

@muchetan muchetan closed this as completed Mar 9, 2023
@vikumarks
Copy link
Collaborator

I can still see this issue in yesterday build (DENT OS DENTOS-HEAD, 2023-03-13.08:50-c9fc890)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working DENT 3.0 needed for DENT 3.0 release regression issue found in regression
Projects
None yet
Development

No branches or pull requests

4 participants