Pulp: Issueshttps://pulp.plan.io/https://pulp.plan.io/favicon.ico2020-01-09T15:26:48ZPulp
Planio Pulp - Issue #5954 (CLOSED - CURRENTRELEASE): Add support for Azure blob storage as file backend ...https://pulp.plan.io/issues/59542020-01-09T15:26:48ZAnonymous
<p>Currently only AWS S3 support is working and documented for Pulp, however, Django Storages also supports Azure blob storage. Please support this as well.</p> Debian Support - Issue #3750 (CLOSED - NOTABUG): "Unable to find global header" https://pulp.plan.io/issues/37502018-06-08T15:09:30ZAnonymous
<p>I receive this error specifically on this repo, I do not have this issue with bionic, xenial, precise, and trusty-64bit.</p>
<pre><code>pulp-admin deb repo list --repo-id 'trusty-updates-32bit' --details
+----------------------------------------------------------------------+
Debian Repositories
+----------------------------------------------------------------------+
Id: trusty-updates-32bit
Display Name: None
Description: None
Content Unit Counts:
Deb: 10265
Deb Component: 4
Deb Release: 1
Notes:
Scratchpad:
Importers:
Config:
Architectures: i386
Components: main,universe,multiverse,restricted
Feed: http://us.archive.ubuntu.com/ubuntu
Proxy Host: XXXXXXXXX
Proxy Password: XXXXXXXXX
Proxy Port: XXXX
Proxy Username: XXXXX
Releases: trusty-updates
Id: deb_importer
Importer Type Id: deb_importer
Last Override Config:
Last Sync: 2018-06-07T22:18:47Z
Last Updated: 2018-06-07T22:17:25Z
Repo Id: trusty-updates-32bit
Scratchpad: None
Distributors:
Auto Publish: True
Config:
Http: False
Https: True
Relative URL: /trusty-updates-32bit/
Distributor Type Id: deb_distributor
Id: deb_distributor
Last Override Config:
Last Publish: None
Last Updated: 2018-06-07T22:17:25Z
Repo Id: trusty-updates-32bit
Scratchpad:
</code></pre>
<p>Error: "Unable to find global header"</p>
<p><strong>Journalctl Output</strong></p>
<pre><code> pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) Exception caught from plugin during publish for repo [trusty-updates]
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) Traceback (most recent call last):
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 1258, in _do_publish
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) publish_report = publish_repo(transfer_repo, conduit, call_config)
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 737, in wrap_f
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) return f(*args, **kwargs)
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py", line 80, in publish_repo
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) return self._publisher.process_lifecycle()
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 572, in process_lifecycle
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) super(PluginStep, self).process_lifecycle()
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 163, in process_lifecycle
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) step.process()
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 256, in process
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) self._process_block()
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 303, in _process_block
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) self.process_main()
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py", line 329, in process_main
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) with_symlinks=True)
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/debpkgr/aptrepo.py", line 477, in create
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) component=component, architecture=architecture)
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/debpkgr/aptrepo.py", line 448, in add_packages
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) pkg = debpkg.DebPkg.from_file(filename, Size=sz)
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/debpkgr/debpkg.py", line 416, in from_file
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) debpkg = debfile.DebFile(filename=path)
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/debian/debfile.py", line 272, in __init__
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) ArFile.__init__(self, filename, mode, fileobj)
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/debian/arfile.py", line 67, in __init__
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) self.__index_archive()
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/debian/arfile.py", line 79, in __index_archive
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) raise ArError("Unable to find global header")
pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072) ArError: Unable to find global header
pulp.server.async.tasks:INFO: [fd535452] Task failed : [fd535452-e040-4f94-8865-1b7d68dcf383]
celery.app.trace:ERROR: [fd535452] (1746-71072) Task pulp.server.managers.repo.publish.publish[fd535452-e040-4f94-8865-1b7d68dcf383] raised unexpected: ArError('Unable to find global header',)
celery.app.trace:ERROR: [fd535452] (1746-71072) Traceback (most recent call last):
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 367, in trace_task
celery.app.trace:ERROR: [fd535452] (1746-71072) R = retval = fun(*args, **kwargs)
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 529, in __call__
celery.app.trace:ERROR: [fd535452] (1746-71072) return super(Task, self).__call__(*args, **kwargs)
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 107, in __call__
celery.app.trace:ERROR: [fd535452] (1746-71072) return super(PulpTask, self).__call__(*args, **kwargs)
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 622, in __protected_call__
celery.app.trace:ERROR: [fd535452] (1746-71072) return self.run(*args, **kwargs)
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 1109, in publish
celery.app.trace:ERROR: [fd535452] (1746-71072) result = check_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 1206, in check_publish
celery.app.trace:ERROR: [fd535452] (1746-71072) result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 1258, in _do_publish
celery.app.trace:ERROR: [fd535452] (1746-71072) publish_report = publish_repo(transfer_repo, conduit, call_config)
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 737, in wrap_f
celery.app.trace:ERROR: [fd535452] (1746-71072) return f(*args, **kwargs)
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py", line 80, in publish_repo
celery.app.trace:ERROR: [fd535452] (1746-71072) return self._publisher.process_lifecycle()
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 572, in process_lifecycle
celery.app.trace:ERROR: [fd535452] (1746-71072) super(PluginStep, self).process_lifecycle()
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 163, in process_lifecycle
celery.app.trace:ERROR: [fd535452] (1746-71072) step.process()
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 256, in process
celery.app.trace:ERROR: [fd535452] (1746-71072) self._process_block()
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 303, in _process_block
celery.app.trace:ERROR: [fd535452] (1746-71072) self.process_main()
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py", line 329, in process_main
celery.app.trace:ERROR: [fd535452] (1746-71072) with_symlinks=True)
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/debpkgr/aptrepo.py", line 477, in create
celery.app.trace:ERROR: [fd535452] (1746-71072) component=component, architecture=architecture)
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/debpkgr/aptrepo.py", line 448, in add_packages
celery.app.trace:ERROR: [fd535452] (1746-71072) pkg = debpkg.DebPkg.from_file(filename, Size=sz)
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/debpkgr/debpkg.py", line 416, in from_file
celery.app.trace:ERROR: [fd535452] (1746-71072) debpkg = debfile.DebFile(filename=path)
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/debian/debfile.py", line 272, in __init__
celery.app.trace:ERROR: [fd535452] (1746-71072) ArFile.__init__(self, filename, mode, fileobj)
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/debian/arfile.py", line 67, in __init__
celery.app.trace:ERROR: [fd535452] (1746-71072) self.__index_archive()
celery.app.trace:ERROR: [fd535452] (1746-71072) File "/usr/lib/python2.7/site-packages/debian/arfile.py", line 79, in __index_archive
celery.app.trace:ERROR: [fd535452] (1746-71072) raise ArError("Unable to find global header")
celery.app.trace:ERROR: [fd535452] (1746-71072) ArError: Unable to find global header
</code></pre> Pulp - Issue #3455 (CLOSED - NOTABUG): add consumer id to a consumer group does not workhttps://pulp.plan.io/issues/34552018-03-10T00:02:49ZAnonymous
<p>I have a rpm consumer group with 37 consumers but is not able to add more consumer-ids.</p>
<p>I always get the message "Consumer Group [xys] membership updated" but the group does not contain the new consumer-id.</p>
<p>Is there a limit on the number of consumers that can be added to a consumer group?</p>
<p>When I tried to use the -vvv option it returns the new list but without containing my consumer id.</p> Pulp - Issue #2061 (CLOSED - DUPLICATE): [Errno 13] Permission denied when using symlink to a dif...https://pulp.plan.io/issues/20612016-07-05T17:19:31ZAnonymous
<p>Before I installed Pulp I created a symlink from /var/lib/pulp to /pulp_data/(BIG SPACE). The installation of Pulp went perfect with the documentation procedure and created the following folders under the partition.</p>
<p>1. published<br>
2. static<br>
3. uploads</p>
<p>I also tried to use a dummy command to test it out and it worked: pulp-admin rpm repo create --repo-id=foo</p>
<p>I am trying to create a CDN repository with the appropriate certificate information but it seems to crash with permissions.</p>
<pre><code>pulp-admin -v rpm repo create --feed=https://cdn.redhat.com/content/dist/rhel/server/6/6.8/x86_64/os --repo-id=base --feed-cert=/etc/pki/entitlement/<cert>.pem --feed-key=/etc/pki/entitlement/<key>.pem --feed-ca-cert=<rhn-ca>.pem
2016-07-05 13:10:58,228 - ERROR - Exception occurred:
href: /pulp/api/v2/repositories/
method: POST
status: 500
error: [Errno 13] Permission denied: '/var/lib/pulp/importers/base-yum_importer'
traceback: [u' File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 112, in get_response\n response = wrapped_callback(request, *callback_args, **callback_kwargs)\n', u' File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view\n return self.dispatch(request, *args, **kwargs)\n', u' File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch\n return handler(request, *args, **kwargs)\n', u' File "/usr/lib/python2.7/site-packages/pulp/server/webservices/views/decorators.py", line 241, in _auth_decorator\n return _verify_auth(self, operation, super_user_only, method, *args, **kwargs)\n', u' File "/usr/lib/python2.7/site-packages/pulp/server/webservices/views/decorators.py", line 195, in _verify_auth\n value = method(self, *args, **kwargs)\n', u' File "/usr/lib/python2.7/site-packages/pulp/server/webservices/views/util.py", line 130, in wrapper\n return func(*args, **kwargs)\n', u' File "/usr/lib/python2.7/site-packages/pulp/server/webservices/views/repositories.py", line 128, in post\n distributor_list=repo_data.get(\'distributors\')\n', u' File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 410, in create_repo\n importer_controller.set_importer(repo_id, importer_type_id, importer_repo_plugin_config)\n', u' File "/usr/lib/python2.7/site-packages/celery/local.py", line 167, in <lambda>\n __call__ = lambda x, *a, **kw: x._get_current_object()(*a, **kw)\n', u' File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 473, in __call__\n return super(Task, self).__call__(*args, **kwargs)\n', u' File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 103, in __call__\n return super(PulpTask, self).__call__(*args, **kwargs)\n', u' File "/usr/lib/python2.7/site-packages/celery/app/task.py", line 420, in __call__\n return self.run(*args, **kwargs)\n', u' File "/usr/lib/python2.7/site-packages/pulp/server/controllers/importer.py", line 96, in set_importer\n importer.save()\n', u' File "/usr/lib/python2.7/site-packages/pulp/server/db/model/__init__.py", line 283, in save\n self._write_pem_file(key, path)\n', u' File "/usr/lib/python2.7/site-packages/pulp/server/db/model/__init__.py", line 344, in _write_pem_file\n misc.mkdir(os.path.dirname(self._pki_path))\n', u' File "/usr/lib/python2.7/site-packages/pulp/plugins/util/misc.py", line 48, in mkdir\n os.makedirs(path)\n', u' File "/usr/lib64/python2.7/os.py", line 157, in makedirs\n mkdir(name, mode)\n']
data: {}
An internal error occurred on the Pulp server:
RequestException: POST request
on /pulp/api/v2/repositories/ failed with 500 - [Errno 13] Permission denied:
'/var/lib/pulp/importers/base-yum_importer'
</code></pre>
<p>I checked that the permissions of the symlink are assigned to the apache user as well as the subfolders. My guess is that pulp is unable to create the importers directory.</p>
<p>I also think that the documentation regarding Storage Requirements should be expanded a little bit more with a couple of more scenarios.</p> RPM Support - Story #211 (CLOSED - WONTFIX): [RFE] pulp allows corrupt rpms to be pushed into reposhttps://pulp.plan.io/issues/2112015-02-19T01:12:08ZAnonymous
<p>+<span>+ This bug was initially created as a clone of <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1023335" class="external">Bugzilla Bug #1023335</a> +</span>+</p>
<p>Description of problem:</p>
<p>Description of problem:<br>
I create a repo, and push to it a corrupt rpm, which won't install.</p>
<p>Version-Release number of selected component (if applicable):<br>
2.2.0-1</p>
<p>How reproducible:<br>
always</p>
<p>Steps to Reproduce:</p>
<p>1. locate a corrupt rpm:<br>
rpm -K /tmp/corruptrpm-1.0-1.noarch.rpm: RSA sha1 ((MD5) PGP) md5 NOT OK (MISSING KEYS: (MD5) PGP#f44e7eb7)</p>
<p>2. pulp-admin rpm repo create --repo-id test-repo2 --relative-url test-repo2</p>
<p>3. pulp-admin rpm repo uploads rpm -f /tmp/corruptrpm-1.0-1.noarch.rpm --repo-id=test-repo2<br>
<span>----------------------------------------------------------------------</span><br>
Unit Upload<br>
<span><del>--------------------------------------------------------------------</del></span></p>
<p>Extracting necessary metadata for each request...<br>
[==================================================] 100%<br>
Analyzing: corruptrpm-1.0-1.noarch.rpm<br>
... completed</p>
<p>Creating upload requests on the server...<br>
[==================================================] 100%<br>
Initializing: corruptrpm-1.0-1.noarch.rpm<br>
... completed</p>
<p>Starting upload of selected units. If this process is stopped through ctrl+c,<br>
the uploads will be paused and may be resumed later using the resume command or<br>
cancelled entirely using the cancel command.</p>
<p>Uploading: corruptrpm-1.0-1.noarch.rpm<br>
[==================================================] 100%<br>
2729160/2729160 bytes<br>
... completed</p>
<p>Importing into the repository...<br>
... completed</p>
<p>Deleting the upload request...<br>
... completed</p>
<p>Actual results:</p>
<p>Corrult rpm successfully pushed into pulp.</p>
<p>Expected results:</p>
<p>rpm upload should fail due to incorrect checksum</p>
<p>Additional info:</p>
<p>--- Additional comment from <a href="mailto:petter.hassberg@netent.com" class="email">petter.hassberg@netent.com</a> at 10/25/2013 08:49:45 ---</p>
<p>this was not a corrupt rpm after all.</p>
<p>--- Additional comment from <a href="mailto:petter.hassberg@netent.com" class="email">petter.hassberg@netent.com</a> at 11/11/2013 14:49:22 ---</p>
<p>This also is applicable with actual corrupt rpm:s with sha1sum mismatch,.</p>
<p>--- Additional comment from <a href="mailto:skarmark@redhat.com" class="email">skarmark@redhat.com</a> at 11/13/2013 16:56:04 ---</p>
<p>***** Bug 1029085 has been marked as a duplicate of this bug. ***</p> Pulp - Story #66 (CLOSED - WONTFIX): As a developer, I have a script to automatically tag a build...https://pulp.plan.io/issues/662014-12-18T16:12:42ZAnonymous
<p>The goal is to provide a script that can be run either by a developer via a jenkins job that can automatically tag a build and release. The script should be able to determine next version number to use. In addition if a flag is specified it should be able to transition the build number from alpha ->beta->rc->release in accordance with <a href="http://pulp-dev-guide.readthedocs.org/en/latest/policies/versioning.html" class="external">http://pulp-dev-guide.readthedocs.org/en/latest/policies/versioning.html</a> In addition the functionality will be provided to automatically merge the changes forward into the next release if there is one. In this way tags from 2.3 will be merged into 2.4, master, etc.</p> Pulp - Story #64 (CLOSED - WONTFIX): Add man pages for pulp-admin and pulp-clienthttps://pulp.plan.io/issues/642014-12-18T16:12:41ZAnonymousPulp - Story #31 (CLOSED - WONTFIX): As a CLI user removing orphans, the pulp-admin tool shows ta...https://pulp.plan.io/issues/312014-12-18T16:12:37ZAnonymous
<p>Deliverables: The orphan remove command in pulp-admin polls task state and displays some type of useful progress info.</p> Puppet Support - Story #32 (CLOSED - WONTFIX): As a developer of pulp_puppet, I have docs about p...https://pulp.plan.io/issues/322014-12-18T16:12:37ZAnonymous
<p>Deliverables: documentation about the format of any progress reports produced by the pulp_puppet plugins.</p> Nectar - Story #29 (CLOSED - WONTFIX): As a developer using nectar, I have documentation of the A...https://pulp.plan.io/issues/292014-12-18T16:12:37ZAnonymous
<p>Deliverables: nectar API documentation any additional documentation of what contract a developer must honor</p> Pulp - Story #30 (CLOSED - WONTFIX): As a developer, I don't hate the configuration value of: che...https://pulp.plan.io/issues/302014-12-18T16:12:37ZAnonymousPulp - Story #18 (CLOSED - WONTFIX): As a developer, I have an example repository with a distributorhttps://pulp.plan.io/issues/182014-12-18T16:12:35ZAnonymous
<p>As discussed during the Pulp Summit, we should have a git repository that contains an example of simple type support.Deliverablesnew git repository with support for a basic content type, such as perhaps generic filesimporter, distributor, and admin extensionsextensive in-line code documentationdeveloper guide that includes all pertinent informationwhenever possible, ensure that generic functionality is in the platform</p> Pulp - Story #16 (CLOSED - WONTFIX): As a developer, I have an example repository with an importerhttps://pulp.plan.io/issues/162014-12-18T16:12:35ZAnonymous
<p>As discussed during the Pulp Summit, we should have a git repository that contains an example of simple type support.Deliverablesnew git repository with support for a basic content type, such as perhaps generic filesimporter, distributor, and admin extensionsextensive in-line code documentationdeveloper guide that includes all pertinent informationwhenever possible, ensure that generic functionality is in the platform</p> Pulp - Story #17 (CLOSED - WONTFIX): As a developer, I have an example repository with extensionshttps://pulp.plan.io/issues/172014-12-18T16:12:35ZAnonymous
<p>As discussed during the Pulp Summit, we should have a git repository that contains an example of simple type support.Deliverablesnew git repository with support for a basic content type, such as perhaps generic filesimporter, distributor, and admin extensionsextensive in-line code documentationdeveloper guide that includes all pertinent informationwhenever possible, ensure that generic functionality is in the platform</p> RPM Support - Refactor #5 (CLOSED - WONTFIX): [Task] Make pulp_rpm sync use step processing frame...https://pulp.plan.io/issues/52014-12-18T16:12:34ZAnonymous