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

Not supported URL scheme http+unix error with Requests 2.25.1-8 on Rocky 9 #373

Closed
rezib opened this issue Nov 4, 2024 · 5 comments
Closed
Assignees
Milestone

Comments

@rezib
Copy link
Contributor

rezib commented Nov 4, 2024

3

journalctl -u slurm-web-agent-uwsgi.service

4

Originally posted by @stadox in #372 (reply in thread)

@rezib rezib added the bug This was supposed to work in this case and clearly it is not. label Nov 4, 2024
@rezib rezib added this to the v4.0.0 milestone Nov 7, 2024
@rezib rezib self-assigned this Nov 7, 2024
@rezib
Copy link
Contributor Author

rezib commented Nov 7, 2024

@stadox I am not able to reproduce this issue with these packages on Rocky 9:

[root@admin ~]# rpm -qa | egrep 'requests-2|slurm-web'
python3-requests-2.25.1-8.el9.noarch
python3-slurm-web-3.2.0-1.el9.noarch
slurm-web-agent-3.2.0-1.el9.noarch
slurm-web-gateway-3.2.0-1.el9.noarch

I just figured out of your logs that Slurm-web and requests Python packages are installed in /usr/local. I guess you installed Slurm-web from source, right? Note that only installations from distributions packages are supported.

@rezib rezib added invalid can't reproduce and removed bug This was supposed to work in this case and clearly it is not. labels Nov 7, 2024
@stadox
Copy link

stadox commented Nov 8, 2024

Hello,

I installed packages following https://docs.rackslab.io/slurm-web/install/install/distribs/rocky.html

install

[root@model07 self]# rpm -qa | egrep 'requests-2|slurm-web'
python3-requests-2.25.1-8.el9.noarch
python3-slurm-web-3.2.0-1.el9.noarch
slurm-web-agent-3.2.0-1.el9.noarch
slurm-web-gateway-3.2.0-1.el9.noarch

but still the same

log

thank you very much

Kind regards,
Stanislav

@rezib
Copy link
Contributor Author

rezib commented Nov 8, 2024

You can see in the logs that it is still loading Requests library installed in /usr/local, instead of Requests library of python3-requests package.

@stadox
Copy link

stadox commented Nov 8, 2024

Hi,

I tried to resolve this case for python /usr/local/....

It seems that point Requests library to /usr/lib/....

helped and now I'm able to see the GUI interface over uwsgi.sock

What left now for me is to find a route cause of this message which appears only on Dashboard card.
Other TABS (Jobs, Resources,... ) are working well.

dashboard

log

Thank you a lot for support and time!

Regards,
Stanislav

@rezib
Copy link
Contributor Author

rezib commented Nov 8, 2024

I close this issue as the initial issue is fixed. Your are asking about something else now, please open another Q&A discussion with your new help request.

@rezib rezib closed this as completed Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants