IP forwarding issues #24

Open
opened 2019-09-19 21:28:52 +02:00 by Ghost · 2 comments

I met an issue where I got this error when running evolixisation.yml:

TASK [forwarding : Enable IPv6 forwarding] *******************************************************************************
fatal: [xxxxx]: FAILED! => {"changed": false, "module_stderr": "Shared connection to x.x.x.x closed.\r\n", "module_stdout": "\r\nTraceback (most recent call last):\r\n  File \"/home/evolix/.ansible/tmp/ansible-tmp-1568919491.4909573-2839159559046/AnsiballZ_sysctl.py\", line 114, in <module>\r\n    _ansiballz_main()\r\n  File \"/home/evolix/.ansible/tmp/ansible-tmp-1568919491.4909573-2839159559046/AnsiballZ_sysctl.py\", line 106, in _ansiballz_main\r\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n  File \"/home/evolix/.ansible/tmp/ansible-tmp-1568919491.4909573-2839159559046/AnsiballZ_sysctl.py\", line 49, in invoke_module\r\n    imp.load_module('__main__', mod, module, MOD_DESC)\r\n  File \"/tmp/ansible_sysctl_payload_vOsJUo/__main__.py\", line 415, in <module>\r\n  File \"/tmp/ansible_sysctl_payload_vOsJUo/__main__.py\", line 409, in main\r\n  File \"/tmp/ansible_sysctl_payload_vOsJUo/__main__.py\", line 133, in __init__\r\n  File \"/tmp/ansible_sysctl_payload_vOsJUo/__main__.py\", line 193, in process\r\n  File \"/tmp/ansible_sysctl_payload_vOsJUo/__main__.py\", line 304, in reload_sysctl\r\nUnboundLocalError: local variable 'err' referenced before assignment\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

The same exact error happened with the [forwarding : Enable IPv4 forwarding] task. In both cases, the error disappeared upon running the playbook again.

I met an issue where I got this error when running evolixisation.yml: ``` TASK [forwarding : Enable IPv6 forwarding] ******************************************************************************* fatal: [xxxxx]: FAILED! => {"changed": false, "module_stderr": "Shared connection to x.x.x.x closed.\r\n", "module_stdout": "\r\nTraceback (most recent call last):\r\n File \"/home/evolix/.ansible/tmp/ansible-tmp-1568919491.4909573-2839159559046/AnsiballZ_sysctl.py\", line 114, in <module>\r\n _ansiballz_main()\r\n File \"/home/evolix/.ansible/tmp/ansible-tmp-1568919491.4909573-2839159559046/AnsiballZ_sysctl.py\", line 106, in _ansiballz_main\r\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n File \"/home/evolix/.ansible/tmp/ansible-tmp-1568919491.4909573-2839159559046/AnsiballZ_sysctl.py\", line 49, in invoke_module\r\n imp.load_module('__main__', mod, module, MOD_DESC)\r\n File \"/tmp/ansible_sysctl_payload_vOsJUo/__main__.py\", line 415, in <module>\r\n File \"/tmp/ansible_sysctl_payload_vOsJUo/__main__.py\", line 409, in main\r\n File \"/tmp/ansible_sysctl_payload_vOsJUo/__main__.py\", line 133, in __init__\r\n File \"/tmp/ansible_sysctl_payload_vOsJUo/__main__.py\", line 193, in process\r\n File \"/tmp/ansible_sysctl_payload_vOsJUo/__main__.py\", line 304, in reload_sysctl\r\nUnboundLocalError: local variable 'err' referenced before assignment\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1} ``` The same exact error happened with the [forwarding : Enable IPv4 forwarding] task. In both cases, the error disappeared upon running the playbook again.
Author

This is a recurring error as I've had it happen again for another server.

This is a recurring error as I've had it happen again for another server.
Member

I never reproduced it. But I let it open in case it happens again.

I never reproduced it. But I let it open in case it happens again.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: evolix/EvoBSD#24
No description provided.