https://pulp.plan.io/https://pulp.plan.io/favicon.ico2021-02-10T17:24:20ZPulpAnsible Plugin - Issue #8238: 0030_collectionversion_requires_ansible.py migration throws FileNotFoundErrorhttps://pulp.plan.io/issues/8238?journal_id=674672021-02-10T17:24:20Zalikins
<ul><li><strong>File</strong> <a href="/attachments/536484">freeze.out</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/536484/freeze.out">freeze.out</a> added</li></ul> Ansible Plugin - Issue #8238: 0030_collectionversion_requires_ansible.py migration throws FileNotFoundErrorhttps://pulp.plan.io/issues/8238?journal_id=674682021-02-10T17:27:46Zalikins
<ul></ul><p>Note on the container, the file doesn't exist. But the version without the /media/ does exist:</p>
<pre><code>[galaxy@addad5122ca6 /]$ ls /var/lib/pulp/media/artifact/d4/07b75923940bb9a477be4fe019a9ae1ec8b85a998f218aa5913a455488a202
ls: cannot access '/var/lib/pulp/media/artifact/d4/07b75923940bb9a477be4fe019a9ae1ec8b85a998f218aa5913a455488a202': No such file or directory
[galaxy@addad5122ca6 /]$ ls /var/lib/pulp
artifact assets tmp
[galaxy@addad5122ca6 /]$ ls /var/lib/pulp/media
ls: cannot access '/var/lib/pulp/media': No such file or directory
[galaxy@addad5122ca6 /]$ ls /var/lib/pulp/artifact/d
d0/ d1/ d2/ d4/ d5/ d6/ d7/ d8/ d9/ da/ db/ dc/ dd/ de/ df/
[galaxy@addad5122ca6 /]$ ls /var/lib/pulp/artifact/d4/07b75923940bb9a477be4fe019a9ae1ec8b85a998f218aa5913a455488a202
/var/lib/pulp/artifact/d4/07b75923940bb9a477be4fe019a9ae1ec8b85a998f218aa5913a455488a202
</code></pre> Ansible Plugin - Issue #8238: 0030_collectionversion_requires_ansible.py migration throws FileNotFoundErrorhttps://pulp.plan.io/issues/8238?journal_id=674692021-02-10T17:46:48Zalikins
<ul></ul><p>The '/media/' seems to be from <a href="https://github.com/pulp/pulpcore/commit/f8a8c64bb28cbe3908720ea56f417312a4389862%C2%A0" class="external">https://github.com/pulp/pulpcore/commit/f8a8c64bb28cbe3908720ea56f417312a4389862 </a></p> Ansible Plugin - Issue #8238: 0030_collectionversion_requires_ansible.py migration throws FileNotFoundErrorhttps://pulp.plan.io/issues/8238?journal_id=674702021-02-10T17:53:51Zalikins
<ul><li><strong>File</strong> <a href="/attachments/536485">media_root_diffsettings.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/536485/media_root_diffsettings.diff">media_root_diffsettings.diff</a> added</li></ul><p>Settings as deployed attached, highlights:</p>
<pre><code>(galaxy_ng_2) [newswoop:F31:galaxy_ng (rev_pulp_container %)]$ cat media_root_diffsettings.diff | grep /var/lib/
+ DEPLOY_ROOT = PosixPath('/var/lib/pulp')
+ FILE_UPLOAD_TEMP_DIR = PosixPath('/var/lib/pulp/tmp')
+ MEDIA_ROOT = '/var/lib/pulp/media'
+ STATIC_ROOT = PosixPath('/var/lib/pulp/assets')
+ WORKING_DIRECTORY = PosixPath('/var/lib/pulp/tmp')
</code></pre> Ansible Plugin - Issue #8238: 0030_collectionversion_requires_ansible.py migration throws FileNotFoundErrorhttps://pulp.plan.io/issues/8238?journal_id=674722021-02-10T18:33:01Zbmbouterbmbouter@redhat.com
<ul></ul><p>With pulpcore 3.10 the artifact storage is moved to <code>/media/</code>, e.g. this the top line on these release notes: <a href="https://docs.pulpproject.org/pulpcore/changes.html#features" class="external">https://docs.pulpproject.org/pulpcore/changes.html#features</a></p>
<p>Am I understanding correctly that you have a system on < pulpcore 3.10 and it's loaded with data and then you upgrade to 3.10? If that's right are you upgrading with the installer? If you are not then you'll have to handle moving the data in your environment at upgrade time (like the installer does).</p>
<p>We want to get this resolved for you, so let us know how we can help.</p> Ansible Plugin - Issue #8238: 0030_collectionversion_requires_ansible.py migration throws FileNotFoundErrorhttps://pulp.plan.io/issues/8238?journal_id=677042021-02-16T15:49:34Zbmbouterbmbouter@redhat.com
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>CLOSED - NOTABUG</i></li></ul><p>I believe this was environmental so I'm closing as NOTABUG. Please comment so we can reopen or message us to reopen if its not.</p>