OPNsense Forum

English Forums => Zenarmor (Sensei) => Topic started by: almodovaris on July 10, 2021, 04:18:32 pm

Title: 27.1
Post by: almodovaris on July 10, 2021, 04:18:32 pm
I am using Opnsense 27.1.r1 with an APU2.

Before 27.1, Sensei could establish bridge mode seamlessly. Now it does not remove the addresses of the interfaces, so the bridge mode kind of fails.

Maybe it has something to do with "interfaces: refactored address removal into interfaces_addresses_flush()".
Title: Re: 27.1
Post by: almodovaris on July 10, 2021, 04:22:08 pm
Code: [Select]
>>> Summary of actions performed:

py37-requests dependency failed to be fixed
py37-aiohttp dependency failed to be fixed
py37-dnspython dependency failed to be fixed
py37-Jinja2 dependency failed to be fixed
py37-sqlite3 dependency failed to be fixed
Title: Re: 27.1
Post by: franco on July 13, 2021, 11:35:40 am
21.7 uses Python 3.8 which we haven't tested with Sensei developers yet.

And there do not seem to be any packages yet as witnessed by your install.


Cheers,
Franco
Title: Re: 27.1
Post by: agster27 on July 28, 2021, 03:00:42 pm
@franco Should we not upgrade to 21.7 if we have Sensei installed?
Title: Re: 27.1
Post by: sy on July 28, 2021, 03:14:08 pm
Hi,

Sensei 1.9.3 has already been released for 21.7 users. But there is a problem with the OPNsense update.

https://forum.opnsense.org/index.php?topic=24113.0
Title: Re: 27.1
Post by: peptet on July 28, 2021, 05:11:50 pm
Manually disabled the SunnyValley repo through console, updated to 21.7, re-enabled the repo and reinstalled the os-sunnyvalley and os-sensei packages (which got me 1.9.3).

Everything seems to work, OPNsense is on 21.7 and sensei is on 1.9.3, however when auditting it still shows some missing deps/python checksum mismatches for sensei:
Code: [Select]
>>> Check for missing package dependencies
Checking all packages: .......... done
os-sensei has a missing dependency: py37-requests
os-sensei has a missing dependency: py37-aiohttp
os-sensei has a missing dependency: py37-Jinja2
>>> Check for missing or altered package files
Checking all packages: .....
os-sensei-1.9.3: checksum mismatch for /usr/local/sensei/py_venv/bin/python
os-sensei-1.9.3: checksum mismatch for /usr/local/sensei/py_venv/bin/python3
Title: Re: 27.1
Post by: almodovaris on July 28, 2021, 06:00:47 pm
Code: [Select]
pkg install -f py38-requests py38-aiohttp py38-dnspython py38-Jinja2 py38-sqlite3 php74-pecl-mongodb py38-pymongo
Title: Re: 27.1
Post by: peptet on July 28, 2021, 06:12:34 pm
Code: [Select]
pkg install -f py38-requests py38-aiohttp py38-dnspython py38-Jinja2 py38-sqlite3 php74-pecl-mongodb py38-pymongo

Those are the python 3.8 packages (which are already installed, except for aiohttp and the mongo ones it seems), however it is complaining about 3.7 deps that appear to not be available (anymore) through the 21.7 repos.

Checking the dependencies of 1.9.3 on my box, it only shows the 3.7 ones:
Code: [Select]
$ pkg info -dx os-sensei
os-sensei-1.9.3:
        py37-requests-(null)
        py37-aiohttp-(null)
        os-sensei-updater-1.9
        py37-dnspython-1.16.0
        py37-Jinja2-(null)
        py37-sqlite3-3.7.11_7
        ubench-0.32
Title: Re: 27.1
Post by: sy on July 28, 2021, 09:47:28 pm
Hi,

Please run the command for OpenSSL:

pkg install -fy os-sensei

if the Cloud portal is active;
pkg install -fy os-sensei-agent

LibreSSL is coming.
Title: Re: 27.1
Post by: peptet on July 28, 2021, 09:50:18 pm
Hi,

Please run the command for OpenSSL:

pkg install -fy os-sensei

if the Cloud portal is active;
pkg install -fy os-sensei-agent

LibreSSL is coming.
My issue has been resolved, I see all py related dependencies are gone now.
Thanks!
Title: Re: 27.1
Post by: sy on July 29, 2021, 12:19:55 am
Hi,

LibreSSL is also published.
Title: Re: 27.1
Post by: allebone on July 29, 2021, 02:05:15 am
Thanks @sy - all perfect now.