In your playbook, where there is the list of plugins to install, did you ever remove one from that list? Also can you try adding "upgrade: true" to all plugins in that list?
On Wed, Apr 14, 2021 at 5:27 AM Eric VS <[email protected]> wrote: > Hi, > > Me again :-). > > I had a Pulp installation from several weeks ago (on our staging > environment) and wanted to align it today with my main Pulp installation > running 3.12.0. > The staging one was still running on 3.5.0, installed using the Ansible > Pulp Installer so I followed the upgrade process for the collection and ran > the playbook. This is the error I got, due to version mismatch but not sure > on how to fix this one. > > RUNNING HANDLER [pulp.pulp_installer.pulp_common : Restore SELinux > contexts on Pulp dirs that may exist] > ************************************************************************************************************************ > changed: [localhost] > > RUNNING HANDLER [pulp.pulp_installer.pulp_common : Collect static content] > ****************************************************************************************************************************************************** > fatal: [localhost]: FAILED! => {"changed": true, "cmd": > ["/usr/local/lib/pulp/bin/pulpcore-manager", "collectstatic", "--noinput", > "--link"], "delta": "0:00:00.297250", "end": "2021-04-14 11:20:11.886134", > "msg": "non-zero return code", "rc": 1, "start": "2021-04-14 > 11:20:11.588884", "stderr": "Traceback (most recent call last):\n File > \"/usr/local/lib/pulp/bin/pulpcore-manager\", line 8, in <module>\n > sys.exit(manage())\n File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/app/manage.py\", > line 11, in manage\n execute_from_command_line(sys.argv)\n File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/core/management/__init__.py\", > line 381, in execute_from_command_line\n utility.execute()\n File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/core/management/__init__.py\", > line 325, in execute\n settings.INSTALLED_APPS\n File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/__init__.py\", > line 79, in __getattr__\n self._setup(name)\n File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/__init__.py\", > line 66, in _setup\n self._wrapped = Settings(settings_module)\n File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/__init__.py\", > line 157, in __init__\n mod = > importlib.import_module(self.SETTINGS_MODULE)\n File > \"/usr/lib64/python3.6/importlib/__init__.py\", line 126, in > import_module\n return _bootstrap._gcd_import(name[level:], package, > level)\n File \"<frozen importlib._bootstrap>\", line 994, in > _gcd_import\n File \"<frozen importlib._bootstrap>\", line 971, in > _find_and_load\n File \"<frozen importlib._bootstrap>\", line 955, in > _find_and_load_unlocked\n File \"<frozen importlib._bootstrap>\", line > 665, in _load_unlocked\n File \"<frozen importlib._bootstrap_external>\", > line 678, in exec_module\n File \"<frozen importlib._bootstrap>\", line > 219, in _call_with_frames_removed\n File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/app/settings.py\", > line 83, in <module>\n plugin_app_config = entry_point.load()\n File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/__init__.py\", > line 2317, in load\n self.require(*args, **kwargs)\n File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/__init__.py\", > line 2340, in require\n items = working_set.resolve(reqs, env, > installer, extras=self.extras)\n File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/__init__.py\", > line 779, in resolve\n raise VersionConflict(dist, > req).with_context(dependent_req)\npkg_resources.VersionConflict: (pulpcore > 3.12.0 (/usr/local/lib/pulp/lib/python3.6/site-packages), > Requirement.parse('pulpcore<3.6,>=3.4'))", "stderr_lines": ["Traceback > (most recent call last):", " File > \"/usr/local/lib/pulp/bin/pulpcore-manager\", line 8, in <module>", " > sys.exit(manage())", " File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/app/manage.py\", > line 11, in manage", " execute_from_command_line(sys.argv)", " File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/core/management/__init__.py\", > line 381, in execute_from_command_line", " utility.execute()", " File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/core/management/__init__.py\", > line 325, in execute", " settings.INSTALLED_APPS", " File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/__init__.py\", > line 79, in __getattr__", " self._setup(name)", " File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/__init__.py\", > line 66, in _setup", " self._wrapped = Settings(settings_module)", " > File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/__init__.py\", > line 157, in __init__", " mod = > importlib.import_module(self.SETTINGS_MODULE)", "File > \"/usr/lib64/python3.6/importlib/__init__.py\", line 126, in > import_module", " return _bootstrap._gcd_import(name[level:], package, > level)", " File \"<frozen importlib._bootstrap>\", line 994, in > _gcd_import", " File \"<frozen importlib._bootstrap>\", line 971, in > _find_and_load", " File \"<frozen importlib._bootstrap>\", line 955, in > _find_and_load_unlocked", " File \"<frozen importlib._bootstrap>\", line > 665, in _load_unlocked", "File \"<frozen importlib._bootstrap_external>\", > line 678, in exec_module", " File \"<frozen importlib._bootstrap>\", line > 219, in _call_with_frames_removed", " File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/app/settings.py\", > line 83, in <module>", " plugin_app_config = entry_point.load()", " > File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/__init__.py\", > line 2317, in load", " self.require(*args, **kwargs)", " File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/__init__.py\", > line 2340, in require", " items = working_set.resolve(reqs, env, > installer, extras=self.extras)", " File > \"/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/__init__.py\", > line 779, in resolve", " raise VersionConflict(dist, > req).with_context(dependent_req)", "pkg_resources.VersionConflict: > (pulpcore 3.12.0 (/usr/local/lib/pulp/lib/python3.6/site-packages), > Requirement.parse('pulpcore<3.6,>=3.4'))"], "stdout": "", "stdout_lines": > []} > > RUNNING HANDLER [pulp.pulp_installer.pulp_common : Restart all Pulp > services] > *************************************************************************************************************************************************** > > RUNNING HANDLER [geerlingguy.postgresql : restart postgresql] > ******************************************************************************************************************************************************************* > > NO MORE HOSTS LEFT > ************************************************************************************************************************************************************************************************************** > > PLAY RECAP > ********************************************************************************************************************************************************************************************************************** > localhost : ok=91 changed=33 unreachable=0 > failed=1 skipped=46 rescued=0 ignored=0 > > Any help is greatly appreciated. > > Kind regards, > > *Eric Van Steenbergen* > > *E-mail: [email protected] <[email protected]>* > *Skype: ericvs2014* > *LinkedIn: Eric Van Steenbergen > <http://es.linkedin.com/pub/eric-van-steenbergen/b/8a4/51b>* > _______________________________________________ > Pulp-list mailing list > [email protected] > https://listman.redhat.com/mailman/listinfo/pulp-list
_______________________________________________ Pulp-list mailing list [email protected] https://listman.redhat.com/mailman/listinfo/pulp-list
