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
Til wheels / cryptography fixed: ansible-core 2.12.10+ PPA on 32-bit RasPiOS #3421
Conversation
Another fresh install of this PR is underway: this time a LARGE-sized IIAB install on 32-bit RasPiOS Lite on RPi 4. To spot-check that ansible-core 2.12.10 (point release from 2022-10-11) is working well with IIAB. ASIDE: ansible-core 2.12.0 itself was released 2021-11-08 (exactly a year ago) so everything should likely work well. |
JupyterHub is extremely unlikely to be important on ancient 32-bit ARM CPU's (i.e. Zero W) but FYI:
|
FYI Calibre-Web also requires Everything else worked. iiab-diagnostics: |
Merged to allow IIAB installs on 32-bit RasPiOS. Hopefully this PR can be reverted in a few short months, when 32-bit RasPiOS restores Rust and patches up wheels / cryptography. |
In the meantime, the inability to run JupyterHub & Calibre-Web on 32-bit RasPiOS is documented within "Known Issues" here: https://github.com/iiab/iiab/wiki/IIAB-8.0-Release-Notes#known-issues |
Why was this was not brought up in the meeting that just ended? |
Should the same safeguards be used as was used for mongodb? |
This was discussed during the call that just ended: 32-bit RasPiOS is no longer mainline with IIAB. Most everyone should use 64-bit Raspberry Pi OS going forward — unless absolutely necessary — e.g. if 32-bit is required for very old "Zero W" machines. |
Good idea. To help newcomers who install 32-bit RasPiOS by accident, I've blocked iiab-install from installing JupyterHub & Calibre-Web onto 32-bit OS's for now: |
and yet I have an install from Sept 29, 2022 on 32 bit 9-22 raspios-lite that completed on a 4 and runs on a W (master at commit 4b2fe1e). And I installed kiwix using Admin Console, running on the W. |
This is just a plain sloppy hack, now there are files that introduce an apt repo that is never used on most installs but will pull down metadata from the repo anyway. Now on 32bit the installed version is less than the advertised 'good version' which can be confusing. |
All ansible-base and ansible-core versions failed to pip install on 32-bit Raspberry Pi OS Lite according to my tests on RPi 4. Despite this being a new problem since around mid-August 2022, all versions of 32-bit RasPiOS from 2022 (not just the 2022-09-22 release) now suffer from this same problem.
Examples of the many failures, due to wheels / cryptography being missing:
So this PR installs ansible-core 2.12.10 on 32-bit RasPiOS Lite using our original PPA method, well-tested with IIAB installs over many years.
It's quite likely this PR can be reverted in coming months, if/when the wheels / cryptography glitch (which arose around mid-August 2022) is hopefully solved upstream:
We should entirely avoid mucking around with Ansible internals & dependencies, leaving that job to those upstream. But just FYI this PR ends up putting the original
cryptography 3.3.2
in place, just as ifpip3 install ansible-core==2.12.10
was still working: