52582a0c12
When there is a failure and we run commands to collect network information, the iptables-save command always fails in the root namespace: Executing command 'iptables-save' on local host (timeout=None)... Command 'iptables-save' failed (exit_status=4): stderr: iptables-save v1.8.7 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root) Change list_iptables() to always use sudo fixes the issue. Trivialfix Change-Id: I656569cb333e98f5f55b51b0cfec8e99922424b3 |
||
---|---|---|
.. | ||
__init__.py | ||
constants.py | ||
ip.py | ||
shell.py | ||
ssh.py | ||
tempest_fixtures.py | ||
utils.py |