Pulp: Issueshttps://pulp.plan.io/https://pulp.plan.io/favicon.ico2021-02-25T12:30:31ZPulp
Planio Debian Support - Issue #8307 (CLOSED - CURRENTRELEASE): Signing Service is broken by pulpcore changehttps://pulp.plan.io/issues/83072021-02-25T12:30:31Zquba42
<p>I need to implement usage of the new Signing Service fields from pulpcore and fix the tests.</p> Debian Support - Issue #7190 (CLOSED - CURRENTRELEASE): Pulp 3 - pulp-deb : APT client installing...https://pulp.plan.io/issues/71902020-07-22T14:11:24Zswisscom
<p>Dear support,</p>
<p>We have the same issue than reported in <a href="https://pulp.plan.io/issues/6982" class="external">https://pulp.plan.io/issues/6982</a> but for field Multi-Arch (was fixed for field Installed-Size in <a href="https://github.com/pulp/pulp_deb/pull/184" class="external">https://github.com/pulp/pulp_deb/pull/184</a>)</p>
<p>Would it be possible to fix missing Multi-Arch field ?
And in addition if possible not put SHA1 field in Packages file when SHA1 value is empty...</p>
<p>Pulp components version :</p>
<pre><code class="text syntaxhl" data-language="text">(pulp) -bash-4.2$ pip list | grep pulp
pulp-deb 2.6.0b1.dev0 /var/lib/pulp/pulp_deb
pulp-rpm 3.4.2
pulpcore 3.5.0
</code></pre>
<p>Thanks in advance</p> Debian Support - Issue #6982 (CLOSED - CURRENTRELEASE): Pulp 3 - pulp-deb : APT client installing...https://pulp.plan.io/issues/69822020-06-16T12:46:52Zswisscom
<p>Dear support team,
When setting up APT client to connect to Pulp to get it's content, I discovered that it installs the same patches again and again. Like if I run twice "apt-get upgrade -y", it will install 339 packages the two times.</p>
<p>The issue is due to the fact the "Installed-Size" field is missing in the Packages file produced by Pulp. "Installed-Size" is one of the mandatory fields, that is used by APT client to check if the patch is already installed or not.</p>
<p>Mpore information here : <a href="https://github.com/Debian/apt/issues/23" class="external">https://github.com/Debian/apt/issues/23</a>
The following fields must be the same in the Packages file and /var/lib/dpkg status: "Installed-Size",
"Depends", "Pre-Depends", "Conflicts", "Breaks", "Replaces". All spaces are ignored, all values are transformed to lowercase, and <= and >= are normalized into < and >.</p>
<p>Would it be possible to fix this issue ?</p>
<p>Thanks a lot</p> Debian Support - Issue #6876 (CLOSED - CURRENTRELEASE): Pulp 3 - pulp-deb : Wrong paths in Releas...https://pulp.plan.io/issues/68762020-06-02T10:23:11Zswisscom
<p>Dear support team,</p>
<p>I discovered a major issue in the Release file produced by pulp-deb publications.
The paths are wrong, because it must be relative from the place where the Release file is. With wrong path in Release file, the repo cannot be used (apt client do not see any package comin</p>
<p>Example of what I see in Release file produced by Pulp :</p>
<pre><code class="python syntaxhl" data-language="python"><span class="n">MD5sum</span><span class="p">:</span>
<span class="n">aa84d85627f4b4d1e1d8072b238150ca</span> <span class="mi">39099687</span> <span class="n">dists</span><span class="o">/</span><span class="n">buster</span><span class="o">/</span><span class="n">main</span><span class="o">/</span><span class="n">binary</span><span class="o">-</span><span class="n">s390x</span><span class="o">/</span><span class="n">Packages</span>
<span class="mi">422</span><span class="n">f6f847b971d36d26d724d04e8a0f2</span> <span class="mi">11994723</span> <span class="n">dists</span><span class="o">/</span><span class="n">buster</span><span class="o">/</span><span class="n">main</span><span class="o">/</span><span class="n">binary</span><span class="o">-</span><span class="n">s390x</span><span class="o">/</span><span class="n">Packages</span><span class="p">.</span><span class="n">gz</span>
<span class="mf">4e01</span><span class="n">fb37905070bf47a186b9321aa507</span> <span class="mi">39689978</span> <span class="n">dists</span><span class="o">/</span><span class="n">buster</span><span class="o">/</span><span class="n">main</span><span class="o">/</span><span class="n">binary</span><span class="o">-</span><span class="n">ppc64el</span><span class="o">/</span><span class="n">Packages</span>
<span class="mi">15681</span><span class="n">a4fb0e26463cd7eca6e4c8c4082</span> <span class="mi">12128141</span> <span class="n">dists</span><span class="o">/</span><span class="n">buster</span><span class="o">/</span><span class="n">main</span><span class="o">/</span><span class="n">binary</span><span class="o">-</span><span class="n">ppc64el</span><span class="o">/</span><span class="n">Packages</span><span class="p">.</span><span class="n">gz</span>
<span class="mi">57439</span><span class="n">b8db44e619293e6df3bc0666de0</span> <span class="mi">39371394</span> <span class="n">dists</span><span class="o">/</span><span class="n">buster</span><span class="o">/</span><span class="n">main</span><span class="o">/</span><span class="n">binary</span><span class="o">-</span><span class="n">mipsel</span><span class="o">/</span><span class="n">Packages</span>
</code></pre>
<p>What it must be :</p>
<pre><code class="python syntaxhl" data-language="python"><span class="n">MD5sum</span><span class="p">:</span>
<span class="n">aa84d85627f4b4d1e1d8072b238150ca</span> <span class="mi">39099687</span> <span class="n">main</span><span class="o">/</span><span class="n">binary</span><span class="o">-</span><span class="n">s390x</span><span class="o">/</span><span class="n">Packages</span>
<span class="mi">422</span><span class="n">f6f847b971d36d26d724d04e8a0f2</span> <span class="mi">11994723</span> <span class="n">main</span><span class="o">/</span><span class="n">binary</span><span class="o">-</span><span class="n">s390x</span><span class="o">/</span><span class="n">Packages</span><span class="p">.</span><span class="n">gz</span>
<span class="mf">4e01</span><span class="n">fb37905070bf47a186b9321aa507</span> <span class="mi">39689978</span> <span class="n">main</span><span class="o">/</span><span class="n">binary</span><span class="o">-</span><span class="n">ppc64el</span><span class="o">/</span><span class="n">Packages</span>
<span class="mi">15681</span><span class="n">a4fb0e26463cd7eca6e4c8c4082</span> <span class="mi">12128141</span> <span class="n">main</span><span class="o">/</span><span class="n">binary</span><span class="o">-</span><span class="n">ppc64el</span><span class="o">/</span><span class="n">Packages</span><span class="p">.</span><span class="n">gz</span>
<span class="mi">57439</span><span class="n">b8db44e619293e6df3bc0666de0</span> <span class="mi">39371394</span> <span class="n">main</span><span class="o">/</span><span class="n">binary</span><span class="o">-</span><span class="n">mipsel</span><span class="o">/</span><span class="n">Packages</span>
</code></pre>
<p>Example of a working Release file : <a href="http://ftp.debian.org/debian/dists/buster/Release" class="external">http://ftp.debian.org/debian/dists/buster/Release</a></p>
<p>FYI : I already applied this fix : <a href="https://github.com/pulp/pulp_deb/pull/173" class="external">https://github.com/pulp/pulp_deb/pull/173</a></p>
<p>Thanks for your help</p> Debian Support - Issue #6873 (CLOSED - DUPLICATE): Pulp 3 - pulp-deb : APT client notb working du...https://pulp.plan.io/issues/68732020-06-01T19:09:23Zswisscom
<p>Dear support team,</p>
<p>The paths in Release files created by Pulp (pulp-deb plugin) wre wrong. It contain full path (dists/)/...
instead of "...." only.</p>
<p>Example from <a href="http://ftp.debian.org/debian/dists/buster/Release" class="external">http://ftp.debian.org/debian/dists/buster/Release</a> :</p>
<pre><code class="python syntaxhl" data-language="python"><span class="n">MD5Sum</span><span class="p">:</span>
<span class="mi">11</span><span class="n">bc5601662d8b6f5b24a92d28150fee</span> <span class="mi">1363066</span> <span class="n">contrib</span><span class="o">/</span><span class="n">Contents</span><span class="o">-</span><span class="n">amd64</span>
<span class="mi">3059916</span><span class="n">a1fef8d912df26e4e537c87f0</span> <span class="mi">103346</span> <span class="n">contrib</span><span class="o">/</span><span class="n">Contents</span><span class="o">-</span><span class="n">amd64</span><span class="p">.</span><span class="n">gz</span>
<span class="n">ccfc6bac526797636a618f18cdce393c</span> <span class="mi">1081641</span> <span class="n">contrib</span><span class="o">/</span><span class="n">Contents</span><span class="o">-</span><span class="n">arm64</span>
<span class="n">e4e018e33daf3f4f24732834af309669</span> <span class="mi">84796</span> <span class="n">contrib</span><span class="o">/</span><span class="n">Contents</span><span class="o">-</span><span class="n">arm64</span><span class="p">.</span><span class="n">gz</span>
</code></pre>
<p>Example from repo coming from Pulp :</p>
<pre><code class="python syntaxhl" data-language="python"><span class="n">Codename</span><span class="p">:</span> <span class="n">buster</span>
<span class="n">Date</span><span class="p">:</span> <span class="n">Sat</span><span class="p">,</span> <span class="mi">09</span> <span class="n">May</span> <span class="mi">2020</span> <span class="mi">09</span><span class="p">:</span><span class="mi">51</span><span class="p">:</span><span class="mi">02</span> <span class="n">UTC</span>
<span class="n">Architectures</span><span class="p">:</span> <span class="n">s390x</span> <span class="n">ppc64el</span> <span class="n">mipsel</span> <span class="n">mips64el</span> <span class="n">mips</span> <span class="n">i386</span> <span class="n">armhf</span> <span class="n">armel</span> <span class="n">arm64</span> <span class="n">amd64</span>
<span class="n">MD5sum</span><span class="p">:</span>
<span class="n">aa84d85627f4b4d1e1d8072b238150ca</span> <span class="mi">39099687</span> <span class="n">dists</span><span class="o">/</span><span class="n">buster</span><span class="o">/</span><span class="n">main</span><span class="o">/</span><span class="n">binary</span><span class="o">-</span><span class="n">s390x</span><span class="o">/</span><span class="n">Packages</span>
<span class="mi">422</span><span class="n">f6f847b971d36d26d724d04e8a0f2</span> <span class="mi">11994723</span> <span class="n">dists</span><span class="o">/</span><span class="n">buster</span><span class="o">/</span><span class="n">main</span><span class="o">/</span><span class="n">binary</span><span class="o">-</span><span class="n">s390x</span><span class="o">/</span><span class="n">Packages</span><span class="p">.</span><span class="n">gz</span>
<span class="mf">4e01</span><span class="n">fb37905070bf47a186b9321aa507</span> <span class="mi">39689978</span> <span class="n">dists</span><span class="o">/</span><span class="n">buster</span><span class="o">/</span><span class="n">main</span><span class="o">/</span><span class="n">binary</span><span class="o">-</span><span class="n">ppc64el</span><span class="o">/</span><span class="n">Packages</span>
<span class="mi">15681</span><span class="n">a4fb0e26463cd7eca6e4c8c4082</span> <span class="mi">12128141</span> <span class="n">dists</span><span class="o">/</span><span class="n">buster</span><span class="o">/</span><span class="n">main</span><span class="o">/</span><span class="n">binary</span><span class="o">-</span><span class="n">ppc64el</span><span class="o">/</span><span class="n">Packages</span><span class="p">.</span><span class="n">gz</span>
</code></pre>
<p>"dist/buster/" should not appear here as the path here must be relative from the place where the Release file is, to work prpoerly with the apt client.</p> Debian Support - Issue #6593 (CLOSED - NOTABUG): No plugin found: deb_distributorhttps://pulp.plan.io/issues/65932020-04-28T20:12:14Zymadav
<p>I have pulp 2.18 running on RHEL 7.7 and have all pulp debain packages and pulgin packages installed,I was able to create the repo but when i try to run the sync command it says like no plugin found or missing resources, during the delete of the repo also it is the same situation.Below are the my pulp packages.Can some one help me here.</p>
<p>python-pulp-rpm-common-2.18.1-1.el7.noarch
pulp-docker-admin-extensions-3.2.2-1.el7.noarch
pulp-deb-admin-extensions-1.8.0-1.el7.noarch
python-pulp-client-lib-2.18.1-2.el7.noarch
pulp-puppet-plugins-2.18.1-1.el7.noarch
python-pulp-docker-common-3.2.2-1.el7.noarch
pulp-server-2.18.1-2.el7.noarch
python-pulp-repoauth-2.18.1-2.el7.noarch
pulp-rpm-admin-extensions-2.18.1-1.el7.noarch
python-pulp-bindings-2.18.1-2.el7.noarch
pulp-rpm-plugins-2.18.1-1.el7.noarch
python-pulp-deb-common-1.8.0-1.el7.noarch
python-pulp-puppet-common-2.18.1-1.el7.noarch
pulp-selinux-2.18.1-2.el7.noarch
pulp-puppet-admin-extensions-2.18.1-1.el7.noarch
python-pulp-common-2.18.1-2.el7.noarch
pulp-admin-client-2.18.1-2.el7.noarch
pulp-docker-plugins-3.2.2-1.el7.noarch
python-pulp-oid_validation-2.18.1-2.el7.noarch
pulp-deb-plugins-1.8.0-1.el7.noarch</p>
<p>Erros i am getting are as like below.</p>
<p>pulp-admin deb repo publish run --repo-id xenial-backports-amd64
+----------------------------------------------------------------------+
Publishing Repository [xenial-backports-amd64]
+----------------------------------------------------------------------+</p>
<p>This command may be exited via ctrl+c without affecting the request.</p>
<p>Task Failed</p>
<p>No plugin found: deb_distributor</p>
<p>pulp-admin deb repo delete --repo-id xenial-newrelic-test
This command may be exited via ctrl+c without affecting the request.
[]
Running...
Task Failed
Pulp exception occurred: PulpExecutionException
No plugin found: deb_importer
No plugin found: deb_distributor</p> Pulp - Issue #6438 (CLOSED - WORKSFORME): Pulp 3.2.1 not able to sync to redhathttps://pulp.plan.io/issues/64382020-04-02T13:47:18Zbinlinf0
<p>After upgrading from 3.1 to 3.2.1, we no longer able to sync to redhat repo. Below is the errors:</p>
<p>"error": {
"description": "[PEM: NO_START_LINE] no start line (_ssl.c:3947)",
"traceback": " File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/worker.py", line 884, in perform_job\n rv = job.perform()\n File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py", line 664, in perform\n self._result = self._execute()\n File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py", line 670, in _execute\n return self.func(*self.args, **self.kwargs)\n File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 126, in synchronize\n treeinfo = get_treeinfo_data(remote)\n File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/kickstart/treeinfo.py", line 21, in get_treeinfo_data\n downloader = remote.get_downloader(url=urljoin(remote_url, namespace))\n File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/app/models/repository.py", line 287, in get_downloader\n return self.download_factory.build(url, **kwargs)\n File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/app/models/repository.py", line 245, in download_factory\n self._download_factory = DownloaderFactory(self)\n File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/download/factory.py", line 68, in <strong>init</strong>\n self._session = self._make_aiohttp_session_from_remote()\n File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/download/factory.py", line 85, in _make_aiohttp_session_from_remote\n sslcontext = ssl.create_default_context(cadata=self._remote.ca_cert)\n File "/opt/python/3.7.3/lib64/python3.7/ssl.py", line 573, in create_default_context\n context.load_verify_locations(cafile, capath, cadata)\n"</p>
<p>The works fine before updating to 3.2.1. We also tried overwrite all cert in pulp 3.2.1 and it didn't help.</p> Pulp - Issue #6154 (CLOSED - CURRENTRELEASE): Redirect to S3 in pulp-content-app is broken in 3.1.0https://pulp.plan.io/issues/61542020-02-13T14:29:13Zosapryki
<p>pulp-content-app returns redirect to invalid S3 URL:</p>
<pre><code>https://bucket.s3.amazonaws.com/artifact/xx/xxx?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=********&X-Amz-Date=20200213T141229Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=********?response-content-disposition=attachment;+filename=pulp-artifact-filename
</code></pre>
<p><code>response-content-disposition</code> is attached to the URL that already has query string which gives as a result invalid URL.</p>
<p>Please refer to for the correct example of setting Response-Content-Disposition parameter with django-storages:</p>
<p><a href="https://github.com/ansible/galaxy/blob/devel/galaxy/api/download/views.py#L64" class="external">https://github.com/ansible/galaxy/blob/devel/galaxy/api/download/views.py#L64</a></p> Pulp - Issue #5673 (CLOSED - CURRENTRELEASE): Resource reservations are not cleaned up if worker ...https://pulp.plan.io/issues/56732019-11-06T17:29:15Zosapryki
<p>It pulp worker is killed while executing task that has reserved resources, resources are not cleaned up.<br>
All subsequent task that use any of the reserved resources are assigned to the same worker (which is dead).</p>
<p>Steps to reproduce:</p>
<p>1. Spawn import_collection task from pulp_ansible (T1).<br>
2. While task is running kill worker (W1).<br>
3. Start another worker (W2)<br>
4. Spawn import_collection task from pulp_ansible (T2)</p>
<p>Expected behavior:</p>
<p>Task T2 is assigned on worker W2 or Cancelled if assigned on W1 before cleanup is performed.</p>
<p>Actual behavior:</p>
<p>Task T2 is assigned on worker W1 and remains in waiting state forever.<br>
Resources are not cleaned up.</p>
<p>Environment:</p>
<p>pulpcore + pulp_ansible.<br>
1 worker</p> Ansible Plugin - Issue #5571 (CLOSED - CURRENTRELEASE): Add the ability to filter collection vers...https://pulp.plan.io/issues/55712019-10-14T20:13:14Znewswangerd
<p>We need a parameter on `/pulp/api/v3/content/ansible/collection_versions/` that allows for us to filter collection versions by tag, such that we can specify `tags=?network,cloud` and get a list of collection versions that have the network AND cloud tags.</p> Debian Support - Issue #5377 (CLOSED - CURRENTRELEASE): Cannot modify, delete, or duplicate contenthttps://pulp.plan.io/issues/53772019-08-30T18:52:56Zjaymzh
<p>Once an artifact has been made into apt content, that content cannot be modified or deleted. Further, you can't work around this by creating new content because multiple contents cannot point to the same artifact because content cannot have the same sha256 sum.</p>
<p>As such if you create content incorrectly, there is literally now way out of it.</p> Pulp - Issue #4929 (CLOSED - WORKSFORME): Pulp 2.18 having issues to start workers celery and com...https://pulp.plan.io/issues/49292019-06-07T04:36:54Zymadav
<p>Team,</p>
<p>We upgraded pulp version from 2.12 to 2.18 and all the services are up and running but,worker services in worker server are not able to start and it is failing to communicate to rabbitmq server.we have below package versions installed in worker for celery and pulp,also posting the pulp errors.Please help us to fix this as this is production we are running out of the time.uploaded the message file for reference,please let me know if anything else is required.</p>
<p>We have earlier python2-celery-4.2.1-3.el7.noarch version installed,even with that we were unable to start the services,so using python2-celery-4.0.2-7.el7.noarch.Server is running with RHEL 7.6</p>
<p>Mostly i see these errors</p>
<p>Jun 07 04:17:21 ip-10-12-111-237. celery[319]: from billiard.compat import get_fdmax, close_open_fds<br>
Jun 07 04:17:21 ip-10-12-111-237. celery[319]: ImportError: cannot import name get_fdmax</p>
<p>Installed packaged<br>
rpm <del>qa | grep -i celery<br>
python2-celery-4.0.2-7.el7.noarch<br>
[ymadav@ip-10-12-111-237 ~]$ rpm -qa | egrep -i "amqp|celery|billiard|kombu"<br>
python2-celery-4.0.2-7.el7.noarch<br>
python2-kombu-4.0.2-11.el7.noarch<br>
python-gofer-amqp-2.12.5-1.el7.noarch<br>
python2-amqp-2.2.2-5.el7.noarch<br>
python2-billiard-3.5.0.3-4.el7.x86_64<br>
[ymadav@ip-10-12-111-237 ~]$ rpm -qa | grep -i pulp</del>*<br>
python-pulp-python-common-2.0.3-1.el7.noarch<br>
python-pulp-rpm-common-2.18.1-1.el7.noarch<br>
pulp-rpm-plugins-2.18.1-1.el7.noarch<br>
python-pulp-puppet-common-2.18.1-1.el7.noarch<br>
pulp-selinux-2.18.1-2.el7.noarch<br>
pulp-puppet-tools-2.18.1-1.el7.noarch<br>
python-pulp-manifest-2.16.4-1.el7.noarch<br>
python-pulp-docker-common-3.2.2-1.el7.noarch<br>
pulp-docker-plugins-3.2.2-1.el7.noarch<br>
pulp-python-plugins-2.0.3-1.el7.noarch<br>
python-pulp-deb-common-1.8.0-1.el7.noarch<br>
python-pulp-repoauth-2.18.1-2.el7.noarch<br>
python2-solv-0.6.34-2.pulp.el7.x86_64<br>
pulp-deb-plugins-1.8.0-1.el7.noarch<br>
python-pulp-ostree-common-1.4.0-1.el7.noarch<br>
pulp-puppet-plugins-2.18.1-1.el7.noarch<br>
python-pulp-oid_validation-2.18.1-2.el7.noarch<br>
pulp-server-2.18.1-2.el7.noarch<br>
python-pulp-common-2.18.1-2.el7.noarch<br>
libsolv-0.6.34-2.pulp.el7.x86_64<br>
pulp-ostree-plugins-1.4.0-1.el7.noarch</p>
<pre><code>sudo systemctl list-units | grep -i pulp
● pulp_worker-0.service loaded failed failed Pulp Worker #0
● pulp_worker-1.service loaded failed failed Pulp Worker #1
● pulp_worker-2.service loaded failed failed Pulp Worker #2
● pulp_worker-3.service loaded failed failed Pulp Worker #3
pulp_workers.service loaded active exited Pulp Celery Workers
</code></pre>
<p>Jun 07 04:17:21 ip-10-12-111-237. celery[319]: File "/usr/lib/python2.7/site-packages/celery/utils/log.py", line 19, in <module><br>
Jun 07 04:17:21 ip-10-12-111-237. celery[319]: from .term import colored<br>
Jun 07 04:17:21 ip-10-12-111-237. celery[319]: File "/usr/lib/python2.7/site-packages/celery/utils/term.py", line 11, in <module><br>
Jun 07 04:17:21 ip-10-12-111-237. celery[319]: from celery.platforms import isatty<br>
Jun 07 04:17:21 ip-10-12-111-237. celery[319]: File "/usr/lib/python2.7/site-packages/celery/platforms.py", line 21, in <module><br>
Jun 07 04:17:21 ip-10-12-111-237. celery[319]: from billiard.compat import get_fdmax, close_open_fds<br>
Jun 07 04:17:21 ip-10-12-111-237. celery[319]: ImportError: cannot import name get_fdmax<br>
Jun 07 04:17:21 ip-10-12-111-237. systemd[1]: pulp_worker-0.service: main process exited, code=exited, status=1/FAILURE<br>
Jun 07 04:17:21 ip-10-12-111-237. systemd[1]: Unit pulp_worker-0.service entered failed state.<br>
Jun 07 04:17:21 ip-10-12-111-237. systemd[1]: pulp_worker-0.service failed.<br>
<img src="https://pulp.plan.io/attachments/download/518583/clipboard-201906070629-xt6og.png" alt=""></p>
<p>Thanks,<br>
-Yash</p> Pulp - Issue #4226 (CLOSED - DUPLICATE): Upgrade from 2.17 to 2.18 failedhttps://pulp.plan.io/issues/42262018-12-05T07:19:37ZPoil
<p>Hi,</p>
<p>Nothing in the release note about how to upgrade, so I've first only do a "yum update"<br>
When starting the service I have this error</p>
<pre><code>Dec 5 07:14:53 repos pulp: pulp.server.webservices.application:ERROR: (5296-72992) The database has not been migrated to the current version. Run pulp-manage-db and restart the application.
Dec 5 07:14:53 repos pulp: pulp.server.webservices.application:ERROR: (5296-72992) Traceback (most recent call last):
Dec 5 07:14:53 repos pulp: pulp.server.webservices.application:ERROR: (5296-72992) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/application.py", line 111, in wsgi_application
Dec 5 07:14:53 repos pulp: pulp.server.webservices.application:ERROR: (5296-72992) _initialize_web_services()
Dec 5 07:14:53 repos pulp: pulp.server.webservices.application:ERROR: (5296-72992) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/application.py", line 74, in _initialize_web_services
Dec 5 07:14:53 repos pulp: pulp.server.webservices.application:ERROR: (5296-72992) migration_models.check_package_versions()
Dec 5 07:14:53 repos pulp: pulp.server.webservices.application:ERROR: (5296-72992) File "/usr/lib/python2.7/site-packages/pulp/server/db/migrate/models.py", line 314, in check_package_versions
Dec 5 07:14:53 repos pulp: pulp.server.webservices.application:ERROR: (5296-72992) raise Exception(error_message)
Dec 5 07:14:53 repos pulp: pulp.server.webservices.application:ERROR: (5296-72992) InitializationException: The database has not been migrated to the current version. Run pulp-manage-db and restart the application
</code></pre>
<p>So I've run "sudo -u apache pulp-manage-db"<br>
And I've this error</p>
<pre><code>Applying pulp.server.db.migrations version 29
*******************************************************************************
Applying migration pulp.server.db.migrations.0029_applicability_schema_change failed.
Halting migrations due to a migration failure.
command SON([('dropIndexes', u'repo_profile_applicability'), ('index', 'profile_hash_-1_repo_id_-1')]) on namespace pulp_database.$cmd failed: index not found with name [profile_hash_-1_repo_id_-1]
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pulp/server/db/manage.py", line 239, in main
return _auto_manage_db(options)
File "/usr/lib/python2.7/site-packages/pulp/server/db/manage.py", line 306, in _auto_manage_db
migrate_database(options)
File "/usr/lib/python2.7/site-packages/pulp/server/db/manage.py", line 135, in migrate_database
update_current_version=not options.test)
File "/usr/lib/python2.7/site-packages/pulp/server/db/migrate/models.py", line 189, in apply_migration
migration.migrate()
File "/usr/lib/python2.7/site-packages/pulp/server/db/migrations/0029_applicability_schema_change.py", line 52, in migrate
rpa_collection.drop_index("profile_hash_-1_repo_id_-1")
File "/usr/lib64/python2.7/site-packages/pymongo/collection.py", line 1456, in drop_index
allowable_errors=["ns not found"])
File "/usr/lib64/python2.7/site-packages/pymongo/collection.py", line 205, in _command
read_concern=read_concern)
File "/usr/lib64/python2.7/site-packages/pymongo/pool.py", line 211, in command
read_concern)
File "/usr/lib64/python2.7/site-packages/pymongo/network.py", line 100, in command
helpers._check_command_response(response_doc, msg, allowable_errors)
File "/usr/lib64/python2.7/site-packages/pymongo/helpers.py", line 196, in _check_command_response
raise OperationFailure(msg % errmsg, code, response)
OperationFailure: command SON([('dropIndexes', u'repo_profile_applicability'), ('index', 'profile_hash_-1_repo_id_-1')]) on namespace pulp_database.$cmd failed: index not found with name [profile_hash_-1_repo_id_-1]
</code></pre> Pulp - Issue #3611 (CLOSED - NOTABUG): Pulp Data Migrated but failed to access through URLhttps://pulp.plan.io/issues/36112018-04-27T04:32:27Zrams
<p>Hi,</p>
<p>We migrated pulp-server from NTT env to AWS env.<br>
We bcaked up data in following way<br>
- /var/lib/pulp: tar this data and transferred<br>
-/var/lib/mongodb - tar this data and transferred</p>
<p>on AWS instance we installed pulp-server (2.6.2), mongo db (version 2.4.14) and pyhton (2.6.6)<br>
untar the content into same file system as in previous environment. Started all services.<br>
Ran sudo -u apache pulp-manage-db command on empty db<br>
then restored data</p>
<p>but not able to access repositories via web browser</p>
<p>httpd, qpidd, pulp_workers, pulp_celerybeat, pulp_resource_manager serivces are up and running</p> Debian Support - Issue #3094 (CLOSED - DUPLICATE): Unable to cancel pending unstarted taskshttps://pulp.plan.io/issues/30942017-10-23T21:40:42ZAnonymous
<p>1. Created Consumers<br>
2. Created Consumer Groups for Patching<br>
3. Deleted some Consumers<br>
4. Run Patching on the Consumer Group<br>
5. Orphan Tasks that cannot be deleted</p>
<p>pulp-admin tasks cancel --task-id <task-id></p>
<p>The following resources(s) could not be found</p>
<p><consumer.hostname> (consumer)</p>
<p>Is there a workaround for this kind of issue?</p>