<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello Daniel,</p>
<p>I attempted to upgrade my pulp installation using these
instructions.</p>
<p>I upgraded the pulp_installer as described.</p>
<p>Note that I am behind a proxy server, and I have to edit the file
~/.ansible/collections/ansible_collections/pulp_installer/roles/pulp_common/tasks/repos.yml
to remove the rpm_key module (which doesn't work with my proxy)
and replace it with the raw module (which does work with my
proxy). I have described this previously on this mailing list.</p>
<p>I have properly set my proxy environment variables (proxy,
proxy_http, proxy_https and no_proxy) before attempting this
procedure.<br>
</p>
<p>I ran the pulp_installer as:</p>
<p>ansible-playbook pulp_install.yml -l honeybee</p>
<p><much output removed></p>
<p>TASK [pulp.pulp_installer.pulp_common : Install pulpcore via
PyPI] *************<br>
fatal: [honeybee]: FAILED! => {"changed": false, "cmd":
["/usr/local/lib/pulp/bin/pip", "install", "pulpcore==3.13.0"],
"msg": "\n:stderr: WARNING: Retrying (Retry(total=4, connect=None,
read=None, redirect=None, status=None)) after connection broken by
'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection
failed: 407 Proxy Authentication Required',))':
/simple/pulpcore/\nWARNING: Retrying (Retry(total=3, connect=None,
read=None, redirect=None, status=None)) after connection broken by
'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection
failed: 407 Proxy Authentication Required',))':
/simple/pulpcore/\nWARNING: Retrying (Retry(total=2, connect=None,
read=None, redirect=None, status=None)) after connection broken by
'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection
failed: 407 Proxy Authentication Required',))':
/simple/pulpcore/\nWARNING: Retrying (Retry(total=1, connect=None,
read=None, redirect=None, status=None)) after connection broken by
'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection
failed: 407 Proxy Authentication Required',))':
/simple/pulpcore/\nWARNING: Retrying (Retry(total=0, connect=None,
read=None, redirect=None, status=None)) after connection broken by
'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection
failed: 407 Proxy Authentication Required',))':
/simple/pulpcore/\nERROR: Could not find a version that satisfies
the requirement pulpcore==3.13.0 (from versions: none)\nERROR: No
matching distribution found for pulpcore==3.13.0\n"}<br>
<br>
</p>
<p>It seems that the pulp_installer does not provide the proxy
information to pip.</p>
<p>When I run pip on the command line, it works.</p>
<p> </p>
<p style="margin-bottom: 0cm; line-height: 100%">
<font face="Liberation Mono, monospace"><font style="font-size:
7pt" size="1">[root@honeybee
pulp_installation]# <b>/usr/local/lib/pulp/bin/pip install
pulpcore==3.13.0</b></font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font
face="Liberation Mono, monospace"><font style="font-size: 7pt"
size="1">Collecting
pulpcore==3.13.0</font></font></p>
<p><font size="1"><font face="Liberation Mono, monospace">...</font></font></p>
<p><font face="Liberation Mono, monospace"><font style="font-size:
7pt" size="1">Attempting
uninstall: pulpcore</font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"> <font
face="Liberation Mono, monospace"><font style="font-size: 7pt"
size="1">Found
existing installation: pulpcore 3.12.2</font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"> <font
face="Liberation Mono, monospace"><font style="font-size: 7pt"
size="1">Uninstalling
pulpcore-3.12.2:</font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"> <font
face="Liberation Mono, monospace"><font style="font-size: 7pt"
size="1">Successfully
uninstalled pulpcore-3.12.2</font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font
face="Liberation Mono, monospace"><font style="font-size: 7pt"
size="1">ERROR:
pip's dependency resolver does not currently take into account
all
the packages that are installed. This behaviour is the source
of the
following dependency conflicts.</font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font
face="Liberation Mono, monospace"><font style="font-size: 7pt"
size="1">pulp-2to3-migration
0.11.0 requires pulpcore<3.13,>=3.6, but you have
pulpcore
3.13.0 which is incompatible.</font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font
face="Liberation Mono, monospace"><font style="font-size: 7pt"
size="1">pulp-rpm
3.10.0 requires pulpcore<3.13,>=3.7, but you have
pulpcore
3.13.0 which is incompatible.</font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font
face="Liberation Mono, monospace"><font style="font-size: 7pt"
size="1">pulp-python
3.2.0 requires pulpcore<3.13,>=3.9, but you have
pulpcore
3.13.0 which is incompatible.</font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font
face="Liberation Mono, monospace"><font style="font-size: 7pt"
size="1">pulp-deb
2.11.1 requires pulpcore<3.13,>=3.10, but you have
pulpcore
3.13.0 which is incompatible.</font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font
face="Liberation Mono, monospace"><font style="font-size: 7pt"
size="1">pulp-container
2.5.1 requires pulpcore<3.13,>=3.11, but you have
pulpcore
3.13.0 which is incompatible.</font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font
face="Liberation Mono, monospace"><font style="font-size: 7pt"
size="1">pulp-ansible
0.7.2 requires pulpcore<3.13,>=3.10, but you have
pulpcore
3.13.0 which is incompatible.</font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font
face="Liberation Mono, monospace"><font style="font-size: 7pt"
size="1">Successfully
installed Django-2.2.23 aiodns-3.0.0 aiofiles-0.7.0
django-currentuser-0.5.3 django-guardian-2.4.0
drf-spectacular-0.16.0
pulpcore-3.13.0 pycares-4.0.0 rq-1.8.1</font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font
face="Liberation Mono, monospace"><font style="font-size: 7pt"
size="1">WARNING:
You are using pip version 21.1.1; however, version 21.1.2 is
available.</font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font
face="Liberation Mono, monospace"><font style="font-size: 7pt"
size="1">You
should consider upgrading via the
'/usr/local/lib/pulp/bin/python3.6
-m pip install --upgrade pip' command.</font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font
face="Liberation Mono, monospace"><font style="font-size: 7pt"
size="1">[root@honeybee
pulp_installation]#</font></font></p>
<p>Then I have to run the installer again to deal with the other
packages. This errors out due to the same problem seen earlier.
However, I can run the pip command manually (using the command
line shown in the installer error message). It turns out that
pulp-2to3-migration and pulp-ansible are not yet compatible with
pulpcore-3.13.0. I managed to upgrade pulp-rpm, pulp-python,
pulp-deb and pulp-container.</p>
<p>Ben.<br>
</p>
<p><br>
</p>
<p>
<style type="text/css">p { margin-bottom: 0.25cm; line-height: 120%; background: transparent }a:link { color: #000080; so-language: zxx; text-decoration: underline }</style></p>
<div class="moz-cite-prefix">On 27/5/21 10:48 pm, Daniel Alley
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAK1D4mD1sd6WDyZOMYnPhhkOaEeJLH7aiGnM63BvL0a37nQLuQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail-gE gmail-iv gmail-gt">
<table class="gmail-cf gmail-gJ" cellpadding="0">
<tbody>
<tr class="gmail-acZ gmail-xD">
<td colspan="3">
<table class="gmail-cf gmail-adz" cellpadding="0">
<tbody>
<tr>
<td class="gmail-ady">
<div id="gmail-:29x" class="gmail-ajy"
tabindex="0"><img class="gmail-ajz"
src="https://mail.google.com/mail/u/0/images/cleardot.gif"
alt="" moz-do-not-send="true"></div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div class="gmail-">
<div id="gmail-:3eq" class="gmail-ii gmail-gt">
<div id="gmail-:3ep" class="gmail-a3s gmail-aiL">
<div dir="ltr">Pulpcore 3.13.0 [0] and pulp_installer
3.13.0 [1] have been released.<br>
<br>
Details of the most important changes are available in
our blog [2]. For a full list of changes, please check
the changelog for pulpcore [3] and pulp_installer [4].<br>
<br>
# Installation and Upgrade<br>
<br>
Users should use the 3.13.0 release of pulp_installer
[1] to install or upgrade their installations. <br>
This version of the installer will check compatibility
of all installed plugins with pulpcore 3.13. The
installer will abort if any plugin is incompatible.<br>
<br>
The pulp_installer collection can be installed from
Ansible Galaxy with the following command:<br>
<br>
ansible-galaxy collection install --force
pulp.pulp_installer<br>
<br>
The --force flag will upgrade the collection if you had
a previous version installed.<br>
<br>
# Plugin API<br>
<br>
Plugin writers can see the API changes here [6].<br>
<br>
Due to the 1-cycle deprecation policy, the recommended
strategy is to pin plugins to a 3.y and 3.y+1 version of
pulpcore. So for a compatibility release with 3.13 use:
"pulpcore>=3.13,<3.15".<br>
If your plugin is compatible with earlier pulpcore
releases, use: "pulpcore>=3.y,<3.15", where y is
the eldest pulpcore release your plugin is compatible
with.<br>
<br>
[0] <a href="https://pypi.org/project/pulpcore/3.13.0/"
target="_blank" moz-do-not-send="true">https://pypi.org/project/pulpcore/3.13.0/</a><br>
[1] <a
href="https://galaxy.ansible.com/pulp/pulp_installer"
target="_blank" moz-do-not-send="true">https://galaxy.ansible.com/pulp/pulp_installer</a><br>
[2] <a
href="https://pulpproject.org/2021/05/24/pulpcore-3.13-is-generally-available/"
target="_blank" moz-do-not-send="true">https://pulpproject.org/2021/05/24/pulpcore-3.13-is-generally-available/</a><br>
<div>[3] <a
href="https://docs.pulpproject.org/pulpcore/changes.html#id1"
target="_blank" moz-do-not-send="true">https://docs.pulpproject.org/pulpcore/changes.html#id1</a><br>
[4] <a
href="https://pulp-installer.readthedocs.io/en/latest/CHANGES/#3130-2021-05-26"
target="_blank" moz-do-not-send="true">https://pulp-installer.readthedocs.io/en/latest/CHANGES/#3130-2021-05-26</a><br>
[5] <a
href="https://docs.pulpproject.org/pulpcore/changes.html#plugin-api"
target="_blank" moz-do-not-send="true">https://docs.pulpproject.org/pulpcore/changes.html#plugin-api</a></div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Pulp-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://listman.redhat.com/mailman/listinfo/pulp-list">https://listman.redhat.com/mailman/listinfo/pulp-list</a></pre>
</blockquote>
</body>
</html>