22.1.10 - IPsec tunnel disappeared from overview

Started by astrandb, July 07, 2022, 12:17:05 PM

Previous topic - Next topic
After upgrading to 22.1.10 the IPsec tunnel (host-host) has dissapeared both from the dashboard-ipsec widget and from VPN->IPsec->Status Overview.

However, the tunnel itself is working as expected.

Might be related to vici library switch. https://github.com/opnsense/core/commit/becf4e93428

# opnsense-patch becf4e93428

Does that bring it back?


Cheers,
Franco

No difference.

Did that patch change anything?

root@reserv2:~ # opnsense-patch becf4e93428
Fetched becf4e93428 via https://github.com/opnsense/core
No file to patch.  Skipping...
1 out of 1 hunks ignored while patching opnsense/scripts/ipsec/vici/__init__.py
No file to patch.  Skipping...
1 out of 1 hunks ignored while patching opnsense/scripts/ipsec/vici/compat.py
No file to patch.  Skipping...
1 out of 1 hunks ignored while patching opnsense/scripts/ipsec/vici/exception.py
No file to patch.  Skipping...
1 out of 1 hunks ignored while patching opnsense/scripts/ipsec/vici/protocol.py
No file to patch.  Skipping...
1 out of 1 hunks ignored while patching opnsense/scripts/ipsec/vici/session.py
No file to patch.  Skipping...
1 out of 1 hunks ignored while patching opnsense/scripts/ipsec/vici/test/test_protocol.py
root@reserv2:~ #

Could be that patch utility falters with reversing the removal of files.

How about this one? https://github.com/opnsense/core/commit/e838492dd

# opnsense-patch e838492dd


Cheers,
Franco


Thanks, I'm raising awareness about this internally.


Cheers,
Franco

Can you try the following:

# rm -rf /usr/local/opnsense/scripts/ipsec/vici
# /usr/local/opnsense/scripts/ipsec/list_status.py


Thanks,
Franco

Thanks for your help via PM.

The issue seems to be stale .pyc files lingering in the directory and those should be cleaned up after an update anyway:

https://github.com/opnsense/core/commit/99e4cd28b64


Cheers,
Franco