Pulp: Issueshttps://pulp.plan.io/https://pulp.plan.io/favicon.ico2021-08-12T14:28:21ZPulp
Planio RPM Support - Issue #9236 (CLOSED - NOTABUG): Pulp 3.14 - can't sync new repositories because of...https://pulp.plan.io/issues/92362021-08-12T14:28:21Zsbrock
<p>Hi there! It seems I've discovered what may be a bug. I've proven this on two separate machines now. Both are fully up to date with Pulp 3.14 and are fresh installs. This seems to be related to issue <a class="issue tracker-1 status-8 priority-6 priority-default closed" title="Issue: Pulp 3.14 - can't sync a repository because of a checksum (CLOSED - NOTABUG)" href="https://pulp.plan.io/issues/9224">#9224</a> but I am not sure.</p>
<p>Syncing new repos fails with checksum validation failure on packages. Which packages it fails on seems random. Each time a new sync occurs, it fails on a different package. Syncing the repo over and over and over again eventually completes successfully, and going forward repo syncs fine. It does not seem to matter where the repository is, as I've tried different mirrors, http and https, and even my local cobbler install. It seems to often occur on the OS and AppStream repositories, and does not matter if its OS or Kickstart. Ive got one on Alma's PowerTools repo as well. This also happens on CentOS, AlmaLinux and RockyLinux. And I've seen it on the EPEL repositories too.</p>
<p>Here's some of the error messages. I am also going to attach a couple of screenshots (with the org fudged out) Let me know what else you need from me, logs, configs, et al. THANKS!!</p>
<p>A file located at the url <a href="https://repo.almalinux.org/almalinux/8.4/PowerTools/x86_64/os/Packages/mingw64-headers-5.0.2-2.el8.noarch.rpm" class="external">https://repo.almalinux.org/almalinux/8.4/PowerTools/x86_64/os/Packages/mingw64-headers-5.0.2-2.el8.noarch.rpm</a> failed validation due to checksum.</p>
<p>A file located at the url <a href="https://repo.almalinux.org/almalinux/8.4/AppStream/x86_64/os/Packages/rust-std-static-1.52.1-1.module_el8.4.0+2520+0729bac9.x86_64.rpm" class="external">https://repo.almalinux.org/almalinux/8.4/AppStream/x86_64/os/Packages/rust-std-static-1.52.1-1.module_el8.4.0+2520+0729bac9.x86_64.rpm</a> failed validation due to checksum.</p>
<p>A file located at the url <a href="http://mirrors.rit.edu/centos/7.9.2009/os/x86_64/Packages/kdeartwork-wallpapers-4.10.5-4.el7.noarch.rpm" class="external">http://mirrors.rit.edu/centos/7.9.2009/os/x86_64/Packages/kdeartwork-wallpapers-4.10.5-4.el7.noarch.rpm</a> failed validation due to checksum.</p>
<p>A file located at the url <a href="http://cobbler" class="external">http://cobbler</a>..org/cobbler/repo_mirror/CentOS_79-x86_64/Packages/thunderbird-68.10.0-1.el7.centos.x86_64.rpm failed validation due to checksum.</p>
<p>A file located at the url <a href="http://cobbler" class="external">http://cobbler</a>..org/cobbler/repo_mirror/EPEL7-x86_64/p/paraview-4.4.0-2.el7.x86_64.rpm failed validation due to checksum.</p>
<p>A file located at the url <a href="http://mirrors.rit.edu/rocky/8.4/BaseOS/x86_64/os/../../../AppStream/x86_64/os/Packages/libkkc-data-0.2.7-12.el8.x86_64.rpm" class="external">http://mirrors.rit.edu/rocky/8.4/BaseOS/x86_64/os/../../../AppStream/x86_64/os/Packages/libkkc-data-0.2.7-12.el8.x86_64.rpm</a> failed validation due to checksum.</p>
<p>A file located at the url <a href="http://mirrors.rit.edu/rocky/8.4/AppStream/x86_64/os/Packages/openblas-0.3.12-1.el8.i686.rpm" class="external">http://mirrors.rit.edu/rocky/8.4/AppStream/x86_64/os/Packages/openblas-0.3.12-1.el8.i686.rpm</a> failed validation due to checksum.</p> RPM Support - Issue #9190 (CLOSED - NOTABUG): Problem syncing rpm-repo for bacula enterprise https://pulp.plan.io/issues/91902021-08-02T07:14:36ZLangesmalle
<p>I'm having a problem syncing the bweb repo from Bacula Enterprise Edition.</p>
<p>For more details, please see:
<a href="https://community.theforeman.org/t/problem-syncing-rpm-repo-for-bacula-enterprise/24679" class="external">https://community.theforeman.org/t/problem-syncing-rpm-repo-for-bacula-enterprise/24679</a></p>
<p>Please find in attachment the repomd.xml file from the Dependencies folder as Sherrill Justin mentioned in his reply.</p>
<p>Please let me know if additional information is required.</p> Pulp - Issue #8883 (CLOSED - CURRENTRELEASE): `customized` flag on the Access policy is not honouredhttps://pulp.plan.io/issues/88832021-06-10T15:09:52Zmdellweg
<p>When installing the access policies in the post_migrate signal, we need to look for the customized flag to update a policy.</p>
<p><a href="https://github.com/pulp/pulpcore/blob/master/pulpcore/app/apps.py#L197" class="external">https://github.com/pulp/pulpcore/blob/master/pulpcore/app/apps.py#L197</a></p> Debian Support - Issue #8512 (CLOSED - DUPLICATE): deb repo - apt install - File has unexpected ...https://pulp.plan.io/issues/85122021-04-06T14:51:13Zjsherril@redhat.comjsherril@redhat.com
<p>A katello user opened this: <a href="https://projects.theforeman.org/issues/32178" class="external">https://projects.theforeman.org/issues/32178</a></p>
<p>I'm getting unexpected size error on ubuntu 18.04 when trying to install from a deb repository.
The problem seems to be caused by apt pipelining requests.
Only happens on katello deb repos, and when there are many packages to download as seen below.
I have ubuntu mirror in the pub directory, not through katello.</p>
<p>My guess is this is issue with pulp, as httpd proxies the requests to it, right?</p>
<pre><code># apt install -y ...
<snip>
Get:29 http://foreman.example.com/pub/mirror/archive.ubuntu.com/ubuntu bionic/main amd64 libxi6 amd64 2:1.7.9-1 [29.2 kB]
Get:30 http://foreman.example.com/pub/mirror/archive.ubuntu.com/ubuntu bionic/main amd64 libxrender1 amd64 1:0.9.10-1 [18.7 kB]
Get:31 http://foreman.example.com/pub/mirror/archive.ubuntu.com/ubuntu bionic-updates/main amd64 x11-common all 1:7.7+19ubuntu7.1 [22.5 kB]
Get:32 http://foreman.example.com/pub/mirror/archive.ubuntu.com/ubuntu bionic/main amd64 libxtst6 amd64 2:1.2.3-1 [12.8 kB]
Get:33 http://foreman.example.com/pub/mirror/archive.ubuntu.com/ubuntu bionic-updates/universe amd64 openjdk-8-jre-headless amd64 8u282-b08-0ubuntu1~18.04 [28.2 MB]
Get:34 http://foreman.example.com/pub/mirror/archive.ubuntu.com/ubuntu bionic-updates/main amd64 ca-certificates-java all 20180516ubuntu1~18.04.1 [12.2 kB]
Get:35 http://foreman.example.com/pulp/deb/MyOrg/Library/custom/Scylla/scylladb-enterprise-2020_1_bionic default/all amd64 scylla-enterprise-conf amd64 2020.1.7-0.20210304.e42189e09-1 [11.8 kB]
Get:36 http://foreman.example.com/pulp/deb/MyOrg/Library/custom/Scylla/scylladb-enterprise-2020_1_bionic default/all amd64 scylla-enterprise-python3 amd64 3.7.7-0.20210304.e42189e09-1 [20.0 MB]
Err:36 http://foreman.example.com/pulp/deb/MyOrg/Library/custom/Scylla/scylladb-enterprise-2020_1_bionic default/all amd64 scylla-enterprise-python3 amd64 3.7.7-0.20210304.e42189e09-1
File has unexpected size (20004486 != 86464). Mirror sync in progress? [IP: 10.1.1.8 80]
Hashes of expected file:
- SHA256:51a6c7c50ebd72be856b02a9fbe8ac39739e3f0c36bcf6a7c5f1d2d83092286c
- SHA1:02cf7a581beeaf1b067600c72c268dc0b9e713bd [weak]
- MD5Sum:aa1e11ed2ba92ca3da8a9785cdfae2ed [weak]
Get:37 http://foreman.example.com/pulp/deb/MyOrg/Library/custom/Scylla/scylladb-enterprise-2020_1_bionic default/all amd64 scylla-enterprise-server amd64 2020.1.7-0.20210304.e42189e09-1 [35.7 MB]
Err:37 http://foreman.example.com/pulp/deb/MyOrg/Library/custom/Scylla/scylladb-enterprise-2020_1_bionic default/all amd64 scylla-enterprise-server amd64 2020.1.7-0.20210304.e42189e09-1
File has unexpected size (35725644 != 86464). Mirror sync in progress? [IP: 10.1.1.8 80]
Hashes of expected file:
- SHA256:74cbe6f7ba359869f84bf671941e9e7d60b4c302de836f35e73f12b37fe57c46
- SHA1:ba106ac7ae29c5821a9d3c01d6f601352081d6e3 [weak]
- MD5Sum:83f1ad8d23dcbf950096c28b88059442 [weak]
Get:38 http://foreman.example.com/pub/mirror/archive.ubuntu.com/ubuntu bionic-updates/universe amd64 sntp amd64 1:4.2.8p10+dfsg-5ubuntu7.3 [86.5 kB]
Fetched 38.1 MB in 1s (53.8 MB/s)
E: Failed to fetch http://foreman.example.com/pulp/deb/MyOrg/Library/custom/Scylla/scylladb-enterprise-2020_1_bionic/pool/all/s/scylla-enterprise-python3/scylla-enterprise-python3_3.7.7-0.20210304.e42189e09-1_amd64.deb File has unexpected size (20004486 != 86464). Mirror sync in progress? [IP: 10.1.1.8 80]
Hashes of expected file:
- SHA256:51a6c7c50ebd72be856b02a9fbe8ac39739e3f0c36bcf6a7c5f1d2d83092286c
- SHA1:02cf7a581beeaf1b067600c72c268dc0b9e713bd [weak]
- MD5Sum:aa1e11ed2ba92ca3da8a9785cdfae2ed [weak]
E: Failed to fetch http://foreman.example.com/pulp/deb/MyOrg/Library/custom/Scylla/scylladb-enterprise-2020_1_bionic/pool/all/s/scylla-enterprise-server/scylla-enterprise-server_2020.1.7-0.20210304.e42189e09-1_amd64.deb File has unexpected size (35725644 != 86464). Mirror sync in progress? [IP: 10.1.1.8 80]
Hashes of expected file:
- SHA256:74cbe6f7ba359869f84bf671941e9e7d60b4c302de836f35e73f12b37fe57c46
- SHA1:ba106ac7ae29c5821a9d3c01d6f601352081d6e3 [weak]
- MD5Sum:83f1ad8d23dcbf950096c28b88059442 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
# apt -oAcquire::http::Pipeline-Depth=0 install ...
# install completes with issue
</code></pre> Pulp - Issue #8427 (CLOSED - CURRENTRELEASE): Fix azure artifacts path downloadhttps://pulp.plan.io/issues/84272021-03-19T11:31:56Zipanova@redhat.comipanova@redhat.com
<p>Don't send <code>ResponseContentDisposition</code> header with Azure artifacts because this header is used only for S3</p> Container Support - Issue #8405 (CLOSED - NOTABUG): pulp_container.app.registry_api.VersionView....https://pulp.plan.io/issues/84052021-03-15T19:06:28Zalikins
<p>Writing a galaxy_ng management command that pokes at the views and their permission classes and ran into:</p>
<pre><code>DEBUG 2021-03-15 18:15:00,405 galaxy_ng.app.management.commands.access-policy-views access-policy-views.handle:154 713 - func.cls: <class 'pulp_container.app.registry_api.VersionView'>
DEBUG 2021-03-15 18:15:00,405 galaxy_ng.app.management.commands.access-policy-views access-policy-views.handle:155 713 - func.cls.permission_classes: <property object at 0x7f3d01eaeb38>
Traceback (most recent call last):
File "/venv/bin/pulpcore-manager", line 33, in <module>
sys.exit(load_entry_point('pulpcore', 'console_scripts', 'pulpcore-manager')())
File "/src/pulpcore/pulpcore/app/manage.py", line 11, in manage
execute_from_command_line(sys.argv)
File "/venv/lib64/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/venv/lib64/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/venv/lib64/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/venv/lib64/python3.6/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/src/galaxy_ng/galaxy_ng/app/management/commands/access-policy-views.py", line 158, in handle
perms = func.cls.get_permissions(func.cls)
File "/venv/lib64/python3.6/site-packages/rest_framework/views.py", line 278, in get_permissions
return [permission() for permission in self.permission_classes]
TypeError: 'property' object is not iterable
</code></pre> Pulp - Issue #6753 (CLOSED - CURRENTRELEASE): pulp_installer requires the firewall python packag...https://pulp.plan.io/issues/67532020-05-15T18:03:12Zmdepaulo@redhat.com
<p>As documented in <a href="https://pulp.plan.io/issues/6725" class="external">https://pulp.plan.io/issues/6725</a>, the managed system must have the python package "firewall" installed.</p>
<p>1st of all, this is only true if <code>pulp_configure_firewall</code> is set to "auto" (the default) or "firewalld".</p>
<p>2nd, if firewalld is installed and running, but the python module for it is not installed, then we should install the distro package that provides it (for the distro's default python interpreter) when the variable is set to "auto" or "firewalld".</p>
<p>For reference on this being the intended behaviour of an ansible role, consider how the ansible apt module will automatically install the python3-apt package (presumably via commands) if it is missing.</p>
<p>If firewalld is not installed and running, then "auto" should do nothing.</p> Migration Plugin - Issue #5483 (CLOSED - CURRENTRELEASE): Include description in the pulp2reposi...https://pulp.plan.io/issues/54832019-09-19T11:47:53Zipanova@redhat.comipanova@redhat.com
<p>When pre-migrating repo, description is not included, therefore in pulp3 repo it will always be none</p>
<p><a href="https://github.com/pulp/pulp-2to3-migrate/blob/master/pulp_2to3_migrate/app/pre_migration.py#L168" class="external">https://github.com/pulp/pulp-2to3-migrate/blob/master/pulp_2to3_migrate/app/pre_migration.py#L168</a><br>
<a href="https://github.com/pulp/pulp-2to3-migrate/blob/master/pulp_2to3_migrate/app/pre_migration.py#L198" class="external">https://github.com/pulp/pulp-2to3-migrate/blob/master/pulp_2to3_migrate/app/pre_migration.py#L198</a></p>
<p><a href="https://github.com/pulp/pulp-2to3-migrate/blob/master/pulp_2to3_migrate/app/migration.py#L70" class="external">https://github.com/pulp/pulp-2to3-migrate/blob/master/pulp_2to3_migrate/app/migration.py#L70</a></p> RPM Support - Issue #5006 (CLOSED - CURRENTRELEASE): A publication can't be created immediately ...https://pulp.plan.io/issues/50062019-06-21T11:00:20Zttereshcttereshc@redhat.com
<p>Document that the solution for such cases is to wait for sync to complete before attempting to publish.</p> Pulp - Issue #4840 (CLOSED - WONTFIX): Prevent users from creating publication distributions wit...https://pulp.plan.io/issues/48402019-05-17T10:13:04Zipanova@redhat.comipanova@redhat.com
<pre><code>$ http GET http://localhost:24817/pulp/api/v3/distributions/rpm/rpm/21b865d5-94c6-490d-9930-d320520d98a1/
HTTP/1.1 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Connection: close
Content-Length: 245
Content-Type: application/json
Date: Fri, 17 May 2019 10:10:21 GMT
Server: gunicorn/19.9.0
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN
{
"_created": "2019-05-17T10:10:02.361459Z",
"_href": "/pulp/api/v3/distributions/rpm/rpm/21b865d5-94c6-490d-9930-d320520d98a1/",
"base_path": "foo5",
"base_url": "localhost:24816/pulp/content/foo5",
"content_guard": null,
"name": "baz5",
"publication": null
</code></pre> RPM Support - Issue #3957 (CLOSED - WONTFIX): on_demand repositories should not allow remove_mis...https://pulp.plan.io/issues/39572018-08-30T17:21:42Zjsherril@redhat.comjsherril@redhat.com
<p>on_demand should always use remove_missing=true because:</p>
<p>1) if a package is removed upstream the on_demand repo won't be able to download it<br>
2) if the checksum of the repo changes, all the old checksum'd packages will still be in the repo and won't be able to be downloaded, nor will the repodata be able to be generated</p> Pulp - Issue #2414 (CLOSED - NOTABUG): `ImproperlyConfigured` exception in for detail list view ...https://pulp.plan.io/issues/24142016-11-10T19:14:24Zamacdona@redhat.comaustin@redhat.com
<p>`HyperlinkedRelatedField` for detail list views are passed incorrect `view_names`.</p>
<p>As an example, this should be the most simple working detail importer serializer possible:</p>
<pre><code class="python syntaxhl" data-language="python"><span class="k">class</span> <span class="nc">TestImporterSerializer</span><span class="p">(</span><span class="n">ImporterSerializer</span><span class="p">):</span>
<span class="c1"># _href is provided by the base class, which is a subclass of `MasterModelSerializer`
</span>
<span class="k">class</span> <span class="nc">Meta</span><span class="p">:</span>
<span class="n">model</span> <span class="o">=</span> <span class="n">TestImporter</span>
<span class="n">fields</span> <span class="o">=</span> <span class="n">ImporterSerializer</span><span class="p">.</span><span class="n">Meta</span><span class="p">.</span><span class="n">fields</span>
</code></pre>
<p>This creates the following error from Django (viewed from the browsable web API):</p>
<pre><code>ImproperlyConfigured at /api/v3/importers/test/
Could not resolve URL for hyperlinked relationship using view name "testimporter-detail". You may have failed to include the related model in your API, or incorrectly configured the `lookup_field` attribute on this field.
Request Method: GET
Request URL: http://192.168.121.160:8000/api/v3/importers/test/
Django Version: 1.8.16
Exception Type: ImproperlyConfigured
Exception Value:
Could not resolve URL for hyperlinked relationship using view name "testimporter-detail". You may have failed to include the related model in your API, or incorrectly configured the `lookup_field` attribute on this field.
Exception Location: /usr/lib/python3.5/site-packages/djangorestframework-3.5.3-py3.5.egg/rest_framework/relations.py in to_representation, line 386
Python Executable: /home/vagrant/.virtualenvs/pulp/bin/python
Python Version: 3.5.2
Python Path:
['/home/vagrant/devel/pulp/app/pulp/app',
'/home/vagrant/.virtualenvs/pulp/lib64/python35.zip',
'/home/vagrant/.virtualenvs/pulp/lib64/python3.5',
'/home/vagrant/.virtualenvs/pulp/lib64/python3.5/plat-linux',
'/home/vagrant/.virtualenvs/pulp/lib64/python3.5/lib-dynload',
'/usr/lib64/python3.5',
'/usr/lib/python3.5',
'/home/vagrant/.virtualenvs/pulp/lib/python3.5/site-packages',
'/home/vagrant/devel/devel/pulp-dev',
'/home/vagrant/devel/pulp/app',
'/usr/lib/python3.5/site-packages/psycopg2-2.6.2-py3.5-linux-x86_64.egg',
'/usr/lib/python3.5/site-packages/djangorestframework-3.5.3-py3.5.egg',
'/usr/lib/python3.5/site-packages/django_filter-0.15.3-py3.5.egg',
'/usr/lib/python3.5/site-packages/django_extensions-1.7.4-py3.5.egg',
'/usr/lib/python3.5/site-packages/django_crispy_forms-1.6.1-py3.5.egg',
'/usr/lib/python3.5/site-packages/Django-1.8.16-py3.5.egg',
'/usr/lib/python3.5/site-packages/coreapi-2.0.9-py3.5.egg',
'/usr/lib/python3.5/site-packages/celery-4.0.0-py3.5.egg',
'/usr/lib/python3.5/site-packages/uritemplate-3.0.0-py3.5.egg',
'/usr/lib/python3.5/site-packages/itypes-1.1.0-py3.5.egg',
'/usr/lib/python3.5/site-packages/kombu-4.0.0-py3.5.egg',
'/usr/lib/python3.5/site-packages/billiard-3.5.0.2-py3.5.egg',
'/usr/lib/python3.5/site-packages/pytz-2016.7-py3.5.egg',
'/usr/lib/python3.5/site-packages/amqp-2.1.1-py3.5.egg',
'/usr/lib/python3.5/site-packages/vine-1.1.3-py3.5.egg',
'/home/vagrant/devel/pulp/plugin',
'/home/vagrant/devel/pulp/exceptions',
'/home/vagrant/devel/pulp/client_lib',
'/home/vagrant/devel/pulp/common',
'/home/vagrant/devel/pulp/client_consumer',
'/home/vagrant/devel/pulp/devel',
'/home/vagrant/devel/pulp/server',
'/home/vagrant/devel/pulp/bindings',
'/home/vagrant/devel/pulp/client_admin',
'/home/vagrant/devel/pulp/streamer',
'/usr/lib/python3.5/site-packages/Twisted-16.5.0-py3.5-linux-x86_64.egg',
'/home/vagrant/devel/pulp/repoauth',
'/home/vagrant/devel/pulp/oid_validation',
'/home/vagrant/devel/pulp/tasking',
'/usr/lib64/python3.5/site-packages',
'/usr/lib/python3.5/site-packages',
'/usr/lib/python3.5/site-packages',
'/home/vagrant/devel/pulp']
Server time: Thu, 10 Nov 2016 19:16:43 +0000
</code></pre>
<p>This is the traceback from the server:</p>
<pre><code>Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/Django-1.8.16-py3.5.egg/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python3.5/site-packages/Django-1.8.16-py3.5.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/usr/lib/python3.5/site-packages/djangorestframework-3.5.3-py3.5.egg/rest_framework/viewsets.py", line 83, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python3.5/site-packages/djangorestframework-3.5.3-py3.5.egg/rest_framework/views.py", line 477, in dispatch
response = self.handle_exception(exc)
File "/usr/lib/python3.5/site-packages/djangorestframework-3.5.3-py3.5.egg/rest_framework/views.py", line 437, in handle_exception
self.raise_uncaught_exception(exc)
File "/usr/lib/python3.5/site-packages/djangorestframework-3.5.3-py3.5.egg/rest_framework/views.py", line 474, in dispatch
response = handler(request, *args, **kwargs)
File "/usr/lib/python3.5/site-packages/djangorestframework-3.5.3-py3.5.egg/rest_framework/mixins.py", line 45, in list
return self.get_paginated_response(serializer.data)
File "/usr/lib/python3.5/site-packages/djangorestframework-3.5.3-py3.5.egg/rest_framework/serializers.py", line 725, in data
ret = super(ListSerializer, self).data
File "/usr/lib/python3.5/site-packages/djangorestframework-3.5.3-py3.5.egg/rest_framework/serializers.py", line 262, in data
self._data = self.to_representation(self.instance)
File "/usr/lib/python3.5/site-packages/djangorestframework-3.5.3-py3.5.egg/rest_framework/serializers.py", line 643, in to_representation
self.child.to_representation(item) for item in iterable
File "/usr/lib/python3.5/site-packages/djangorestframework-3.5.3-py3.5.egg/rest_framework/serializers.py", line 643, in <listcomp>
self.child.to_representation(item) for item in iterable
File "/home/vagrant/devel/pulp/app/pulp/app/serializers/base.py", line 187, in to_representation
ret[field.field_name] = field.to_representation(attribute)
File "/usr/lib/python3.5/site-packages/djangorestframework-3.5.3-py3.5.egg/rest_framework/relations.py", line 386, in to_representation
raise ImproperlyConfigured(msg % self.view_name)
django.core.exceptions.ImproperlyConfigured: Could not resolve URL for hyperlinked relationship using view name "importers-detail". You may have failed to include the related model in your API, or incorrectly configured the `lookup_field` attribute on this field.
</code></pre>
<p>The problem is that the view_name being passed to the HyperlinedRelatedField is `testimporter-detail`, which does not exist. What should be created is `<master_names>-<detail_name>-detail`, which in this example would be importers-test-detail.</p>
<p>There is a workaround, the plugin writer just needs to override `_href` with the correct view_name, but this isn't ideal and should be handled by the base class.</p>
<pre><code class="python syntaxhl" data-language="python"><span class="k">class</span> <span class="nc">TestImporterSerializer</span><span class="p">(</span><span class="n">ImporterSerializer</span><span class="p">):</span>
<span class="n">_href</span> <span class="o">=</span> <span class="n">serializers</span><span class="p">.</span><span class="n">HyperlinkedIdentityField</span><span class="p">(</span><span class="n">view_name</span><span class="o">=</span><span class="s">'importers-test-detail'</span><span class="p">)</span>
<span class="k">class</span> <span class="nc">Meta</span><span class="p">:</span>
<span class="n">model</span> <span class="o">=</span> <span class="n">TestImporter</span>
<span class="n">fields</span> <span class="o">=</span> <span class="n">ImporterSerializer</span><span class="p">.</span><span class="n">Meta</span><span class="p">.</span><span class="n">fields</span>
</code></pre> Pulp - Issue #1691 (CLOSED - NOTABUG): pulp-admin repo download failing https://pulp.plan.io/issues/16912016-02-18T17:28:31Zpthomas@redhat.com
<p>Running pulp-admin repo download on repositories with on_demand or background download plolicy.</p>
<pre><code>
[root@cloud-qe-14 ~]# rpm -qa |grep pulp
pulp-rpm-consumer-extensions-2.8.0-0.5.beta.git.46.c9f2464.el7.noarch
pulp-puppet-plugins-2.8.0-0.5.beta.git.6.5894bd0.el7.noarch
pulp-rpm-admin-extensions-2.8.0-0.5.beta.git.46.c9f2464.el7.noarch
pulp-agent-2.8.0-0.5.beta.git.107.d52583d.el7.noarch
python-pulp-rpm-common-2.8.0-0.5.beta.git.46.c9f2464.el7.noarch
python-pulp-bindings-2.8.0-0.5.beta.git.107.d52583d.el7.noarch
pulp-consumer-client-2.8.0-0.5.beta.git.107.d52583d.el7.noarch
python-isodate-0.5.0-4.pulp.el7.noarch
python-pulp-docker-common-2.0.0-0.5.beta.git.29.0ebc63d.el7.noarch
python-pulp-repoauth-2.8.0-0.5.beta.git.107.d52583d.el7.noarch
pulp-rpm-plugins-2.8.0-0.5.beta.git.46.c9f2464.el7.noarch
python-pulp-streamer-2.8.0-0.5.beta.git.107.d52583d.el7.noarch
pulp-admin-client-2.8.0-0.5.beta.git.107.d52583d.el7.noarch
pulp-rpm-handlers-2.8.0-0.5.beta.git.46.c9f2464.el7.noarch
pulp-docker-plugins-2.0.0-0.5.beta.git.29.0ebc63d.el7.noarch
python-pulp-client-lib-2.8.0-0.5.beta.git.107.d52583d.el7.noarch
pulp-docker-admin-extensions-2.0.0-0.5.beta.git.29.0ebc63d.el7.noarch
pulp-puppet-consumer-extensions-2.8.0-0.5.beta.git.6.5894bd0.el7.noarch
pulp-puppet-handlers-2.8.0-0.5.beta.git.6.5894bd0.el7.noarch
python-pulp-puppet-common-2.8.0-0.5.beta.git.6.5894bd0.el7.noarch
pulp-server-2.8.0-0.5.beta.git.107.d52583d.el7.noarch
pulp-selinux-2.8.0-0.5.beta.git.107.d52583d.el7.noarch
python-pulp-agent-lib-2.8.0-0.5.beta.git.107.d52583d.el7.noarch
pulp-rpm-yumplugins-2.8.0-0.5.beta.git.46.c9f2464.el7.noarch
python-pulp-common-2.8.0-0.5.beta.git.107.d52583d.el7.noarch
python-kombu-3.0.33-2.pulp.el7.noarch
python-pulp-oid_validation-2.8.0-0.5.beta.git.107.d52583d.el7.noarch
pulp-puppet-admin-extensions-2.8.0-0.5.beta.git.6.5894bd0.el7.noarch
[root@cloud-qe-14 ~]#
1. Create a repo with
[root@cloud-qe-14 ~]# pulp-admin rpm repo create --repo-id errata --feed https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_errata_install/ --download-policy background
Successfully created repository [errata]
[root@cloud-qe-14 ~]# pulp-admin rpm repo sync run --repo-id errata
+----------------------------------------------------------------------+
Synchronizing Repository [errata]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Downloading metadata...
[|]
... completed
Downloading repository content...
[==================================================] 100%
RPMs: 11/11 items
Delta RPMs: 0/0 items
... completed
Downloading distribution files...
[==================================================] 100%
Distributions: 0/0 items
... completed
Importing errata...
[-]
... completed
Importing package groups/categories...
[-]
... completed
Cleaning duplicate packages...
[-]
... completed
Task Succeeded
Initializing repo metadata
[-]
... completed
Publishing Distribution files
[-]
... completed
Publishing RPMs
[==================================================] 100%
11 of 11 items
... completed
Publishing Delta RPMs
... skipped
Publishing Errata
[==================================================] 100%
4 of 4 items
... completed
Publishing Comps file
[-]
... completed
Publishing Metadata.
[-]
... completed
Closing repo metadata
[-]
... completed
Generating sqlite files
... skipped
Publishing files to web
[-]
... completed
Writing Listings File
[-]
... completed
Task Succeeded
Task Succeeded
[root@cloud-qe-14 ~]# pulp-admin repo download --repo-id=zoo
+----------------------------------------------------------------------+
Downloading Repository [zoo]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Download Repository Content
[= ] 3%
1 of 32 items
... failed
Task Succeeded
[root@cloud-qe-14 ~]#
[root@cloud-qe-14 ~]#
[root@cloud-qe-14 ~]# pulp-admin repo download --repo-id=errata
+----------------------------------------------------------------------+
Downloading Repository [errata]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Download Repository Content
[==== ] 9%
1 of 11 items
... failed
Task Succeeded
[root@cloud-qe-14 ~]#
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30467]: celery.worker.strategy:INFO: Received task: pulp.server.controllers.repository.download_repo[22da8e54-d337-4cd7-9315-959b4d2e777f]
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cloud-qe-14.idmqe.lab.eng.bos.redhat.com
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (2): cloud-qe-14.idmqe.lab.eng.bos.redhat.com
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (3): cloud-qe-14.idmqe.lab.eng.bos.redhat.com
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (4): cloud-qe-14.idmqe.lab.eng.bos.redhat.com
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (5): cloud-qe-14.idmqe.lab.eng.bos.redhat.com
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: nectar.downloaders.threaded:WARNING: Connection Error - https://cloud-qe-14.idmqe.lab.eng.bos.redhat.com/streamer/var/lib/pulp/content/units/rpm/1e/f8c06e51196250bb49ce5fdcabfed9f0d0ad410d39525c26c7b3c10284cbd1/grinder_test_package-3.0-1.fc14.noarch.rpm?policy=eyJleHRlbnNpb25zIjoge30sICJyZXNvdXJjZSI6ICIvc3RyZWFtZXIvdmFyL2xpYi9wdWxwL2NvbnRlbnQvdW5pdHMvcnBtLzFlL2Y4YzA2ZTUxMTk2MjUwYmI0OWNlNWZkY2FiZmVkOWYwZDBhZDQxMGQzOTUyNWMyNmM3YjNjMTAyODRjYmQxL2dyaW5kZXJfdGVzdF9wYWNrYWdlLTMuMC0xLmZjMTQubm9hcmNoLnJwbSIsICJleHBpcmF0aW9uIjogMTQ4NzM1MjQ4OH0%3D;signature=A6NLM7GFBAfv2GFV-lL8wG-_K6Sr745quwGOzO1ggx6TqxpX8GrQV0aOMbvtao_kgP6JxOUamVCjTGAHlIa_SGp-FJTHlEbrsaiJ-C2JaFxXjs7ghoDQKqfTnXhT7xTgDFccNMHQQkrpiha1-ae_L3x3jFCUfUB-BayKTsgWZ8CBZ8kRREJNdBcZ_LeNWilj5IW8wUARMSopNLgsFt_hvk4NACnFuV_Or4FV3MSGYznsNRaFo9y12Nb-QOMXvOEgtM7-euXL9jQvbn59ZGbHKnbJMQHNPIB4RjJ06kCX6PEcEJ6umu3n2VoxP2JnEXi6sR2n_7ULYe0r6CqR79ZjpA%3D%3D could not be reached.
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: pulp.server.controllers.repository:INFO: Download of /var/lib/pulp/content/units/rpm/1e/f8c06e51196250bb49ce5fdcabfed9f0d0ad410d39525c26c7b3c10284cbd1/grinder_test_package-3.0-1.fc14.noarch.rpm failed: A connection error occurred.
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: nectar.downloaders.threaded:WARNING: Connection Error - https://cloud-qe-14.idmqe.lab.eng.bos.redhat.com/streamer/var/lib/pulp/content/units/rpm/44/3e411d281f2f8c59ad22e0efb625d1cb0938ccddb7706ed34f0bd57bae4117/warnerbros-0.1-1.noarch.rpm?policy=eyJleHRlbnNpb25zIjoge30sICJyZXNvdXJjZSI6ICIvc3RyZWFtZXIvdmFyL2xpYi9wdWxwL2NvbnRlbnQvdW5pdHMvcnBtLzQ0LzNlNDExZDI4MWYyZjhjNTlhZDIyZTBlZmI2MjVkMWNiMDkzOGNjZGRiNzcwNmVkMzRmMGJkNTdiYWU0MTE3L3dhcm5lcmJyb3MtMC4xLTEubm9hcmNoLnJwbSIsICJleHBpcmF0aW9uIjogMTQ4NzM1MjQ4OH0%3D;signature=6SILh113ejZXZkp4dK-6T8JtBGHrv-4lV4DP-UZ-I34T2KQW1BLDcZUoTMLubV64epg6ceoq_pkjyFvNjoXvrAvF9xuxWzeERCv8zZbXzhD_YXMAax3xFqDlELI2Qn2PcnxYw_b1i4IChvypwHKkz1JWb3ZnSCv4lrLcEq65_KeK1mUR8dSkzXTU2oM_sF6s_keSRQye70ZHM7fQvxIV1UR7vMD4M1xGHV-QsZD7TxCiMO2ogxK6joKt157e4tMTnpdbdXIja2G3bOejPRDQPF5HYlPTMU578nnP0XuQKuFifJjmMkT12UWRMpGaXu71b62xfyAcg6txj6Hf9K0JNg%3D%3D could not be reached.
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: nectar.downloaders.threaded:WARNING: Connection Error - https://cloud-qe-14.idmqe.lab.eng.bos.redhat.com/streamer/var/lib/pulp/content/units/rpm/dd/30d2174f9d9670c0c5bf2f2f97b59ab4064400f32a2ec6e0c5a806fd665f6f/feedless-1.0-1.noarch.rpm?policy=eyJleHRlbnNpb25zIjoge30sICJyZXNvdXJjZSI6ICIvc3RyZWFtZXIvdmFyL2xpYi9wdWxwL2NvbnRlbnQvdW5pdHMvcnBtL2RkLzMwZDIxNzRmOWQ5NjcwYzBjNWJmMmYyZjk3YjU5YWI0MDY0NDAwZjMyYTJlYzZlMGM1YTgwNmZkNjY1ZjZmL2ZlZWRsZXNzLTEuMC0xLm5vYXJjaC5ycG0iLCAiZXhwaXJhdGlvbiI6IDE0ODczNTI0ODh9;signature=wCH9i-mWLIegPF3IQ-nuvWlVxHGQNqMIh3-Ks7Ozxp77jexZvO-Qv3FpU3lkcNZxhJLledCR7phlcyEwHYnTKIeFXRufpAui3F9qfJkjyifuRzNP0SRmacAS67GAOrgI09hMDGGAE4ZcS4NKnW6_YotzYtwfTMD2AgHOwN8ag4Z8uNyYaor4xwGLTXqCDevp2ws3B5I_186PF7aukH95QgQBWIIy6H-pWONHuOPZOoLVUI9g76CTsZRIVDYdjFhG6tUlIXUp4KFzC-05F_kLtPtkFXvUmUUwWqPxVAV0kuvcRr8BUoB9NHCRUcCbeiS-LmWc_xtkf_7CaltmS-JBeA%3D%3D could not be reached.
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: nectar.downloaders.threaded:WARNING: Connection Error - https://cloud-qe-14.idmqe.lab.eng.bos.redhat.com/streamer/var/lib/pulp/content/units/rpm/93/a0921b41d13eff8fc906a82341d4ca1b66c30d5bf5315101051e3938834250/patb-0.1-2.noarch.rpm?policy=eyJleHRlbnNpb25zIjoge30sICJyZXNvdXJjZSI6ICIvc3RyZWFtZXIvdmFyL2xpYi9wdWxwL2NvbnRlbnQvdW5pdHMvcnBtLzkzL2EwOTIxYjQxZDEzZWZmOGZjOTA2YTgyMzQxZDRjYTFiNjZjMzBkNWJmNTMxNTEwMTA1MWUzOTM4ODM0MjUwL3BhdGItMC4xLTIubm9hcmNoLnJwbSIsICJleHBpcmF0aW9uIjogMTQ4NzM1MjQ4OH0%3D;signature=Insgy59oNppmcRToJ8qEOxVDtAbD8eL2SOD9NooTgJm9lYeLiB5K613eOilFToacVdaD9RFgHN5i_uM4AIWjfF0yNrfxTWzyHJohWlehT30BtOBl871LPmAx_CWfe6kfs40hz6Wu1oXXFdyRFOm1FTkiVKU0OMgL4Uupif_85EpfyoZZ8HB8KKh2uSruBv8M2yVz7pma7q9zoQncF0kj17ZwMGaeK7OsGKlZ8j4qUKiCWdqHUfVPIpSkGfP3_QST0Ao6apoYqAVrfs8yj9B0raUTkzBxoZzQMCWR42WLbHTzW8gtcsa00ZS9QzrkPh8MJAZ7HBXDtfVjpLPeWZSQ_A%3D%3D could not be reached.
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: pulp.server.controllers.repository:INFO: Download of /var/lib/pulp/content/units/rpm/44/3e411d281f2f8c59ad22e0efb625d1cb0938ccddb7706ed34f0bd57bae4117/warnerbros-0.1-1.noarch.rpm failed: A connection error occurred.
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: pulp.server.controllers.repository:INFO: Download of /var/lib/pulp/content/units/rpm/dd/30d2174f9d9670c0c5bf2f2f97b59ab4064400f32a2ec6e0c5a806fd665f6f/feedless-1.0-1.noarch.rpm failed: A connection error occurred.
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: pulp.server.controllers.repository:INFO: Download of /var/lib/pulp/content/units/rpm/93/a0921b41d13eff8fc906a82341d4ca1b66c30d5bf5315101051e3938834250/patb-0.1-2.noarch.rpm failed: A connection error occurred.
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: nectar.downloaders.threaded:WARNING: Connection Error - https://cloud-qe-14.idmqe.lab.eng.bos.redhat.com/streamer/var/lib/pulp/content/units/rpm/ca/599342648dc9fcb59124ad23d7a77cc70bc3928b93bbfc393d349a42c37a1d/grinder_test_package-2.0-1.fc14.noarch.rpm?policy=eyJleHRlbnNpb25zIjoge30sICJyZXNvdXJjZSI6ICIvc3RyZWFtZXIvdmFyL2xpYi9wdWxwL2NvbnRlbnQvdW5pdHMvcnBtL2NhLzU5OTM0MjY0OGRjOWZjYjU5MTI0YWQyM2Q3YTc3Y2M3MGJjMzkyOGI5M2JiZmMzOTNkMzQ5YTQyYzM3YTFkL2dyaW5kZXJfdGVzdF9wYWNrYWdlLTIuMC0xLmZjMTQubm9hcmNoLnJwbSIsICJleHBpcmF0aW9uIjogMTQ4NzM1MjQ4OH0%3D;signature=KEefZmMwzGW3_zcTTXndw4PTSPmi066dfuiV7szpRkYwVhReeWnrqOyHWAuHmx6oMRVOgtZAncap1s50-qQ0kV43d_mWyrwetPpkz3ak9ROIPJCz_h8QurQmKhtjZCM2HOx1zHvdenNiCbpSkR8ZknCYMsZlG7UoHGSuLDW7gLe1mn3jsNq2VhEQrMRmZOrd5y8zH5CdmXjc_uTCst_-HCp4-KEptv7eLw2Tj5SH9kwpyf_AZRK8E0GqkCOVaYDaXbn3lz3BiVuCr9ND8_MIoZoYSXSmXDxHF3af8bijxMPalCvpKBrGejcZMBmCrkDIIi0pzAYQknx99hx2pMIuqw%3D%3D could not be reached.
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: pulp.server.controllers.repository:INFO: Download of /var/lib/pulp/content/units/rpm/ca/599342648dc9fcb59124ad23d7a77cc70bc3928b93bbfc393d349a42c37a1d/grinder_test_package-2.0-1.fc14.noarch.rpm failed: A connection error occurred.
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: pulp.server.controllers.repository:INFO: Download of /var/lib/pulp/content/units/rpm/32/49aa94759bff71fbddb774684f963fb409a662efcd736019b6fde1f5583807/origin-1.0-1.noarch.rpm failed: Download skipped.
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: pulp.server.controllers.repository:INFO: Download of /var/lib/pulp/content/units/rpm/20/227e158c06f92aa843ff7a99e00f9be80996b5659825bc1be679d9dbc55784/grinder_test_package-5.0-1.fc14.noarch.rpm failed: Download skipped.
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: pulp.server.controllers.repository:INFO: Download of /var/lib/pulp/content/units/rpm/87/180ee8f076e6c83d217ba32ebcd74f841f9c171cb911e47474615d4b1d9914/grinder_test_package-4.0-1.fc14.noarch.rpm failed: Download skipped.
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: pulp.server.controllers.repository:INFO: Download of /var/lib/pulp/content/units/rpm/b5/592a3144ba786dc5bf8fe59caa634e0dbb9827d4a9f8eaadc2dbd260ee445a/parent-1.0-1.noarch.rpm failed: Download skipped.
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: pulp.server.controllers.repository:INFO: Download of /var/lib/pulp/content/units/rpm/0e/5dba5924631327fc8f8054972eaf0d355484a0fb5d6817b75dd797279c01ef/emoticons-0.1-2.noarch.rpm failed: Download skipped.
Feb 18 12:28:08 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30535]: pulp.server.controllers.repository:INFO: Download of /var/lib/pulp/content/units/rpm/05/94b854b013c130d9ce0eb7a0529884ed15a22e3faeb23810c592446ff35100/animaniacs-0.1-1.noarch.rpm failed: Download skipped.
Feb 18 12:28:09 cloud-qe-14.idmqe.lab.eng.bos.redhat.com pulp[30467]: celery.worker.job:INFO: Task pulp.server.controllers.repository.download_repo[22da8e54-d337-4cd7-9315-959b4d2e777f] succeeded in 1.08056300902s: None
</code></pre> Python Support - Issue #1349 (CLOSED - CURRENTRELEASE): Deleting an python repo results in a Typ...https://pulp.plan.io/issues/13492015-11-02T17:01:50Zipanova@redhat.comipanova@redhat.com
<pre><code>pulp-admin python repo create --repo-id 123
Repository [123] successfully created
[ipanova@ina pulp]$ pulp-admin python repo delete --repo-id 123
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Task Failed
Pulp exception occurred: PulpExecutionException
coercing to Unicode: need string or buffer, NoneType found
</code></pre>
<pre><code>Oct 14 08:26:06 dev pulp[3609]: pulp.server.controllers.repository:ERROR: (3609-86912) Error received removing distributor [cli_npm_distributor] from repo [test_delete]
Oct 14 08:26:06 dev pulp[3609]: pulp.server.controllers.repository:ERROR: (3609-86912) Traceback (most recent call last):
Oct 14 08:26:06 dev pulp[3609]: pulp.server.controllers.repository:ERROR: (3609-86912) File "/home/vagrant/devel/pulp/server/pulp/server/controllers/repository.py", line 315, in delete
Oct 14 08:26:06 dev pulp[3609]: pulp.server.controllers.repository:ERROR: (3609-86912) distributor_manager.remove_distributor(repo_id, repo_distributor['id'])
Oct 14 08:26:06 dev pulp[3609]: pulp.server.controllers.repository:ERROR: (3609-86912) File "/home/vagrant/devel/pulp/server/pulp/server/managers/repo/distributor.py", line 228, in remove_distributor
Oct 14 08:26:06 dev pulp[3609]: pulp.server.controllers.repository:ERROR: (3609-86912) distributor_instance.distributor_removed(transfer_repo, call_config)
Oct 14 08:26:06 dev pulp[3609]: pulp.server.controllers.repository:ERROR: (3609-86912) File "/home/vagrant/devel/pulp_npm/plugins/pulp_npm/plugins/distributors/web.py", line 133, in distributor_removed
Oct 14 08:26:06 dev pulp[3609]: pulp.server.controllers.repository:ERROR: (3609-86912) shutil.rmtree(repo_dir, ignore_errors=True)
Oct 14 08:26:06 dev pulp[3609]: pulp.server.controllers.repository:ERROR: (3609-86912) File "/usr/lib64/python2.7/shutil.py", line 228, in rmtree
Oct 14 08:26:06 dev pulp[3609]: pulp.server.controllers.repository:ERROR: (3609-86912) if os.path.islink(path):
Oct 14 08:26:06 dev pulp[3609]: pulp.server.controllers.repository:ERROR: (3609-86912) File "/usr/lib64/python2.7/posixpath.py", line 135, in islink
Oct 14 08:26:06 dev pulp[3609]: pulp.server.controllers.repository:ERROR: (3609-86912) st = os.lstat(path)
Oct 14 08:26:06 dev pulp[3609]: pulp.server.controllers.repository:ERROR: (3609-86912) TypeError: coercing to Unicode: need string or buffer, NoneType found
</code></pre> Pulp - Issue #1202 (CLOSED - WONTFIX): pulp_celerybeat,pulp_resource_manager fail to start on boothttps://pulp.plan.io/issues/12022015-08-20T14:15:23Zalvinstarralvin@netvel.net
<p>I am running a reasonably stock Katello 2.3 on C7 and when I reboot the system celerybeat and resource_maager do not start.<br>
They can be restarted via systemctl and run just fine.</p>
<p>Aug 17 09:23:49 foreman systemd: pulp_celerybeat.service: main process exited, code=exited, status=200/CHDIR<br>
Aug 17 09:23:49 foreman systemd: Unit pulp_celerybeat.service entered failed state.<br>
Aug 17 09:23:49 foreman systemd: pulp_resource_manager.service: main process exited, code=exited, status=200/CHDIR<br>
Aug 17 09:23:49 foreman systemd: Unit pulp_resource_manager.service entered failed state.</p>
<p>It occurs to me that the issue may be that I have a /var/lib/pulp as a mounted NFS partition.</p>
<p>Filesystem 1K-blocks Used Available Use% Mounted on<br>
/dev/mapper/centos_foreman-root 50577276 10911124 39666152 22% /<br>
devtmpfs 3987812 0 3987812 0% /dev<br>
tmpfs 3865924 0 3865924 0% /dev/shm<br>
tmpfs 3865924 8680 3857244 1% /run<br>
tmpfs 3865924 0 3865924 0% /sys/fs/cgroup<br>
/dev/mapper/centos_foreman-home 24695008 32928 24662080 1% /home<br>
/dev/xvda1 508588 166600 341988 33% /boot<br>
xen:/var/storage/foreman/pulp 780709888 27501568 753208320 4% /var/lib/pulp</p>
<p>Not sure if that is the issue or not.<br>
The version I am running is:</p>
<p>Installed Packages<br>
Name : pulp-server<br>
Arch : noarch<br>
Version : 2.6.2<br>
Release : 1.el7<br>
Size : 2.8 M<br>
Repo : installed<br>
From repo : katello-pulp<br>
Summary : The pulp platform server<br>
URL : <a href="https://fedorahosted.org/pulp/" class="external">https://fedorahosted.org/pulp/</a><br>
License : GPLv2<br>
Description : Pulp provides replication, access, and accounting for software<br>
: repositories.</p>