Ansible playbooks fail on database migrations due to click version
I run the ansible playbooks from pulp-installer 3.12.2 (also once with the latest commit of the master branch) on a fresh CentOS 8 as I did last week but suddenly it breaks on database migration with the error:
File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/click/core.py\", line 2108, in __init__", " ) from None", "ValueError: 'default' must be a list when 'multiple' is true."], "stdout": "", "stdout_lines": }
Is the click package incompatible? I really don't know now which version of the pulp-installer really works, cause on every rerun of the playbooks another issue appears mostly due to 3rd party incompatibilities (also django upgrade recently broke the installation) . Would it somehow possible to fix all this dependencies somewhere (which file?) cause when I check out 3.12.2 I always expect the same result? Or is there something I do wrong?
#5 Updated by bmbouter about 1 month ago
- Subject changed from Ansible playbooks fail on database migrations to Ansible playbooks fail on database migrations due to click version
- Category set to Installer
Downgrading click for now is the right thing to do. The issue is with RQ which declares the dependency on
click so Pulp can't take an action. RQ is resolving it here https://github.com/rq/rq/pull/1465.
I propose we leave this open until RQ releases a resolved version, and then we can close this as NOTABUG once the new RQ version is available on Pypi.
Thanks for filing this issue!
#8 Updated by fao89 about 1 month ago
It is related to click 8.0.0, rq just released a new version that is compatible with click 8.0.0 https://github.com/rq/rq/releases/tag/v1.8.1
Problem should be solved with this new rq release, if not, please let us know which installer/pulpcore version are you using
Please register to edit this issue