Skip to content
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

Block iiab-install of JupyterHub & Calibre-Web on 32-bit OS's, til RasPiOS fixes Rust, wheels / cryptography #3422

Merged
merged 1 commit into from Nov 10, 2022

Conversation

holta
Copy link
Member

@holta holta commented Nov 10, 2022

These 2 apps should probably not be running on ancient 32-bit "Zero W" machines in the first place!

(But Calibre-Web is part of the MEDIUM-sized IIAB install, so this will help newcomers from getting tripped up installing something that they shouldn't...)

See:

@holta holta added this to the 8.0 milestone Nov 10, 2022
@holta
Copy link
Member Author

holta commented Nov 10, 2022

Tested on 32-bit RasPiOS Lite.

@holta holta merged commit 8ade0db into iiab:master Nov 10, 2022
@holta holta changed the title Block iiab-install of JupyterHub & Calibre-Web on 32-bit, til RasPiOS fixes Rust, wheels / cryptography Block iiab-install of JupyterHub & Calibre-Web on 32-bit OS's, til RasPiOS fixes Rust, wheels / cryptography Nov 10, 2022
@holta
Copy link
Member Author

holta commented Nov 11, 2022

FYI this was further/later tested with 32-bit and 64-bit RasPiOS Lite on RPi 3 and 3 B+.

@holta
Copy link
Member Author

holta commented Mar 18, 2023

It turns out this PR was flawed — as it delineated between 32-bit and 64-bit HARDWARE — when it should have delineated between 32-bit and 64-bit OS's / SOFTWARE.

As these Ansible variables output the CPU architecture (rather than the OS architecture) — as seen here with the latest 32-bit RasPiOS Lite running on a 64-bit Raspberry Pi:

TASK [debug] *******************************************************************
ok: [127.0.0.1] => {
    "ansible_architecture": "aarch64"
}

TASK [debug] *******************************************************************
ok: [127.0.0.1] => {
    "ansible_machine": "aarch64"
}

On the bright side, avoiding the install of JupyterHub and Calibre-Web is no longer necessary on 32-bit RasPiOS, as confirmed by testing associated with:

FYI this PR (#3422) will be reverted shortly (7db4dc5) as part of merging the above.

@holta
Copy link
Member Author

holta commented May 3, 2023

It turns out this PR was flawed — as it delineated between 32-bit and 64-bit HARDWARE — when it should have delineated between 32-bit and 64-bit OS's / SOFTWARE.

CORRECTION/CLARIF: 6 months ago, this PR originally delineated properly between 32-bit and 64-bit OS's until mid/late March 2023 when RasPiOS changed...

So any 32-bit RasPiOS apt updated since March 2023 changed its [default kernel boot] behavior in RPi 4 and RPi 400 from... (conversely, there's no change in behavior in RPi 3 !)

TASK [debug] *******************************************************************
ok: [127.0.0.1] => {
    "ansible_architecture": "armv7l"
}

TASK [debug] *******************************************************************
ok: [127.0.0.1] => {
    "ansible_machine": "armv7l"
}

To...

As these Ansible variables output the CPU architecture (rather than the OS architecture) — as seen here with the latest 32-bit RasPiOS Lite running on a 64-bit Raspberry Pi:

TASK [debug] *******************************************************************
ok: [127.0.0.1] => {
    "ansible_architecture": "aarch64"
}

TASK [debug] *******************************************************************
ok: [127.0.0.1] => {
    "ansible_machine": "aarch64"
}

BACKGROUND: Anybody can confirm the above, by running this test:

cd /opt/iiab/iiab
sudo ansible-playbook -i ansible_hosts test.yml --connection=local

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant