[Pulp-list] Pip failure installing Pulp_file

Mike DePaulo mikedep333 at redhat.com
Fri May 29 14:43:11 UTC 2020


On Fri, May 29, 2020 at 10:22 AM Heide, Todd <Todd.Heide at sccompanies.com>
wrote:

> Running Ansible, to install Pulp_File plugin, it got to a certain point
> and failed.
>
>
>
>
>
> TASK [pulp : Run pip-compile to check pulpcore/plugin compatibility]
> ****************************************************
>
> [WARNING]: conditional statements should not include jinja2 templating
> delimiters such as {{ }} or {% %}. Found: {{
>
> failed_condition | default("compatibility.rc != 0") }}
>
> fatal: [aecdas-pulp3test]: FAILED! => {"changed": false, "cmd":
> ["/usr/local/lib/pulp/bin/pip-compile"], "delta": "0:00:00.935834", "end":
> "2020-05-29 13:56:40.712232", "failed_when_result": true, "msg": "non-zero
> return code", "rc": 2, "start": "2020-05-29 13:56:39.776398", "stderr":
> "Could not find a version that matches
> pulpcore<3.4,<3.5,==3.3.1,>=3.3,>=3.4 (from -r requirements.in (line
> 1))\nTried: 3.0.0, 3.0.0, 3.0.1, 3.0.1, 3.1.0, 3.1.0, 3.1.1, 3.1.1, 3.2.0,
> 3.2.0, 3.2.1, 3.2.1, 3.3.0, 3.3.0, 3.3.1, 3.3.1, 3.4.0, 3.4.0\nSkipped
> pre-versions: 3.0.0a1.dev3, 3.0.0a1.dev3, 3.0.0a1.dev4, 3.0.0a1.dev4,
> 3.0.0a1.dev5, 3.0.0a1.dev5, 3.0.0a1, 3.0.0a1, 3.0.0a2, 3.0.0a2, 3.0.0a3,
> 3.0.0a3, 3.0.0a4, 3.0.0a4, 3.0.0a5, 3.0.0a5, 3.0.0a6, 3.0.0a6, 3.0.0a7,
> 3.0.0a7, 3.0.0a8, 3.0.0a8, 3.0.0a9, 3.0.0a9, 3.0.0a10, 3.0.0a10, 3.0.0a11,
> 3.0.0a11, 3.0.0a12, 3.0.0a12, 3.0.0a13, 3.0.0a13, 3.0.0a14, 3.0.0a14,
> 3.0.0a15, 3.0.0a15, 3.0.0a16, 3.0.0a16, 3.0.0a17, 3.0.0a17, 3.0.0a18,
> 3.0.0a18, 3.0.0a19, 3.0.0a19, 3.0.0a20, 3.0.0a20, 3.0.0a21, 3.0.0a21,
> 3.0.0a22, 3.0.0a22, 3.0.0a23, 3.0.0a23, 3.0.0a24, 3.0.0a24, 3.0.0a25,
> 3.0.0a25, 3.0.0a26, 3.0.0a26, 3.0.0a27, 3.0.0a27, 3.0.0a28, 3.0.0a28,
> 3.0.0a29, 3.0.0a29, 3.0.0b1, 3.0.0b1, 3.0.0b2, 3.0.0b2, 3.0.0b3, 3.0.0b3,
> 3.0.0b4, 3.0.0b4, 3.0.0b5, 3.0.0b5, 3.0.0b6, 3.0.0b6, 3.0.0b7, 3.0.0b7,
> 3.0.0b8, 3.0.0b8, 3.0.0b9, 3.0.0b9, 3.0.0b10, 3.0.0b10, 3.0.0b11, 3.0.0b11,
> 3.0.0b12, 3.0.0b12, 3.0.0b13, 3.0.0b13, 3.0.0b14, 3.0.0b14, 3.0.0b15,
> 3.0.0b15, 3.0.0b16, 3.0.0b16, 3.0.0b17, 3.0.0b18, 3.0.0b18, 3.0.0b19,
> 3.0.0b19, 3.0.0b20, 3.0.0b20, 3.0.0b21, 3.0.0b21, 3.0.0b22, 3.0.0b22,
> 3.0.0b23, 3.0.0b23, 3.0.0rc1, 3.0.0rc1, 3.0.0rc2, 3.0.0rc2, 3.0.0rc3,
> 3.0.0rc3, 3.0.0rc4, 3.0.0rc4, 3.0.0rc5, 3.0.0rc5, 3.0.0rc6, 3.0.0rc6,
> 3.0.0rc7, 3.0.0rc7, 3.0.0rc8, 3.0.0rc8, 3.0.0rc9, 3.0.0rc9\nThere are
> incompatible versions in the resolved dependencies:\n  pulpcore==3.3.1
> (from -r requirements.in (line 1))\n  pulpcore<3.5,>=3.4 (from
> pulp-file==1.0.0->-r requirements.in (line 3))\n  pulpcore<3.4,>=3.3
> (from pulp-rpm==3.3.2->-r requirements.in (line 2))", "stderr_lines":
> ["Could not find a version that matches
> pulpcore<3.4,<3.5,==3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.0b13, 3.0.0b13, 3.0.0b14,
> 3.0.0b14, 3.0.0b15, 3.0.0b15, 3.0.0b16, 3.0.0b16, 3.0.0b17, 3.0.0b18,
> 3.0.0b18, 3.0.0b19, 3.0.0b19, 3.0.0b20, 3.0.0b20, 3.0.0b21, 3.0.0b21,
> 3.0.0b22, 3.0.0b22, 3.0.0b23, 3.0.0b23, 3.0.0rc1, 3.0.0rc1, 3.0.0rc2,
> 3.0.0rc2, 3.0.0rc3, 3.0.0rc3, 3.0.0rc4, 3.0.0rc4, 3.0.0rc5, 3.0.0rc5,
> 3.0.0rc6, 3.0.0rc6, 3.0.0rc7, 3.0.0rc7, 3.0.0rc8, 3.0.0rc8, 3.0.0rc9,
> 3.0.0rc9", "There are incompatible versions in the resolved dependencies:",
> "  pulpcore==3.3.1 (from -r requirements.in (line 1))", "
> pulpcore<3.5,>=3.4 (from pulp-file==1.0.0->-r requirements.in (line 3))",
> "  pulpcore<3.4,>=3.3 (from pulp-rpm==3.3.2->-r requirements.in (line
> 2))"], "stdout": "", "stdout_lines": []}
>

Hi Todd,

It looks like you are running pulp_installer 3.3.1 to install pulpcore
3.3.1.

The reason why it is failing is because the new pulp_file 1.0.0 has been
released, and it requires pulpcore 3.4.0.

You can upgrade the installer to 3.4.0, and it will resolve the issue:
https://github.com/pulp/pulp_installer/releases/tag/3.4.0

Alternatively, you can specify the old version of pulp_file, 0.3.0, which
is compatible with pulpcore 3.3.x. The ansible variable *pulp_install_plugins
*needs to include:
pulp_file:
  version: "0.3.0"

Note that we will be adding documentation to pulp_installer on these
workflows shortly.

-Mike


-- 

Mike DePaulo

He / Him / His

Service Reliability Engineer, Pulp

Red Hat <https://www.redhat.com/>

IM: mikedep333

GPG: 51745404
<https://www.redhat.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20200529/fd8aff76/attachment.htm>


More information about the Pulp-list mailing list