ansible-galaxy cli can't talk to galaxy server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ansible-core (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
~~~
$ podman run -ti ubuntu:22.04
root@524fb540d6
Description: Ubuntu 22.04.3 LTS
Release: 22.04
root@524fb540d6
... lots of output
~~~
~~~
root@524fb540d6
ansible-core:
Installed: 2.12.0-1ubuntu0.1
Candidate: 2.12.0-1ubuntu0.1
Version table:
*** 2.12.0-1ubuntu0.1 500
500 http://
100 /var/lib/
2.12.0-1 500
500 http://
~~~
~~~
root@524fb540d6
ansible-galaxy [core 2.12.0]
config file = None
configured module search path = ['/root/
ansible python module location = /usr/lib/
ansible collection location = /root/.
executable location = /usr/bin/
python version = 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
jinja version = 3.0.3
libyaml = True
~~~
~~~
root@524fb540d6
Starting galaxy collection install process
Process install dependency map
ERROR! Unexpected Exception, this is probably a bug: CollectionDepen
to see the full traceback, use -vvv
~~~
this is the wrong error message, sadly enough
I install an older version of resolvelib.
~~~
root@524fb540d6
Collecting resolvelib<0.6.0
Downloading resolvelib-
Installing collected packages: resolvelib
Attempting uninstall: resolvelib
Found existing installation: resolvelib 0.8.1
Not uninstalling resolvelib at /usr/lib/
Can't uninstall 'resolvelib'. No files were found to uninstall.
Successfully installed resolvelib-0.5.4
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https:/
~~~
the error has changed.
here is the bug that I want to report: I try to install a collection, but can't
~~~
root@524fb540d6
Starting galaxy collection install process
Process install dependency map
[WARNING]: Skipping Galaxy server https:/
'/api/v3/
ERROR! Unexpected Exception, this is probably a bug: '/api/v3/
to see the full traceback, use -vvv
~~~
It is possible to specify the old galaxy, which is read-only in a frozen state.
This is to prove that the resolvelib hack from above does work.
~~~
root@524fb540d6
Starting galaxy collection install process
Process install dependency map
Starting collection install process
Downloading https:/
Installing 'community.
community.
~~~
However, only old content is available from old galaxy.
Hard rewording of the summary: ansible-galaxy is unusable.
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.