-
Notifications
You must be signed in to change notification settings - Fork 17
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
Glitch when upgrading Admin Console: moving aside /usr/local/speedtest
often helps
#575
Comments
I regularly git pull adm cons and then run install and have never seen this, so I question the circumstances. Module 'pip' is supposed to be an alias for the builtin pip according to https://docs.ansible.com/ansible/latest/collections/ansible/builtin/pip_module.html |
It happened on at least 2 different Ubuntu-based IIAB's. I haven't investigated the root cause, since removing dir |
If it's on a later OS, I wonder if ansible stopped using the keyword pip, and the stanza has to be ansible.builtin.pip: |
Just did an apt update and upgrade on ub 24.04, then git pull on adm console and ./install
No problem. |
My guess is that it happens to everyone affected by the recent years' venv / pip changes (PEP 668 or similar). (That means situations like where Ubuntu 22.04 was upgraded to 24.04 and similar, causing failure to find pip where it was formerly expected — within old venv's — e.g. suddenly causing things like In any case the workaround is published (on this ticket) which is probably good enough. |
Just FYI quasi-automated IIAB software upgrades (new since July 2024!) are one reason I was looking at overall resiliency/reliability:
CLARIF: IIAB software upgrades are NOT currently intended to update/upgrade every individual IIAB app! Rather they're about quickly + reliably updating/upgrading core IIAB software infra, as outlined here... |
@EMG70 also experienced this today, apparently on an Ubuntu 24.04 machine that was not upgraded from 22.04: https://dpaste.com/2WVMRNZQN |
CLARIF: https://dpaste.com/2WVMRNZQN indicates the machine was upgraded from Ubuntu 23.10 to 24.04 — so it sounds like the very same kind of failure mode / scenario outlined above. |
@EMG70 indicates that some off his other venv's may also be making mess — much like If he has time to connect in coming days, I'll try to take a closer look. |
Not a serious bug but FYI the workaround (of manually moving aside
/usr/local/speedtest
) seems to work well.e.g. when trying to run the following as root (to upgrade Admin Console) a year or so later:
To get past an error like the following:
The text was updated successfully, but these errors were encountered: