Pulp: Issueshttps://pulp.plan.io/https://pulp.plan.io/favicon.ico2021-12-01T04:09:02ZPulp
Planio Docker Support - Issue #9594 (MODIFIED): Sync repo from registry requiring authentication failshttps://pulp.plan.io/issues/95942021-12-01T04:09:02Zyuzhengyuzheng@redhat.com
<p>Sync from a private repo in quay.io with basic auth credentials:</p>
<pre><code class="text syntaxhl" data-language="text">$ curl -X POST -u admin:admin -d '{"override_config": {"feed": "https://quay.io", "upstream_name": "redhat-dev/test----repo114", "tags": ["latest"], "basic_auth_username": "redhat-dev+copy_test", "basic_auth_password": "'$quay_password'"}}' https://docker-pulp-httpd/pulp/api/v2/repositories/redhat-operators/actions/sync/
</code></pre>
<p>The sync task fails with log:</p>
<pre><code class="text syntaxhl" data-language="text">Dec 1 03:54:45 docker-pulp-httpd pulp: celery.worker.strategy:INFO: Received task: pulp.server.managers.repo.sync.sync[ddd7a76a-87ab-4cde-a1f6-a5321f005ec5]
...
Dec 1 03:54:45 docker-pulp-httpd pulp: nectar.downloaders.threaded:INFO: [ddd7a76a] Download succeeded: https://quay.io/v2/redhat-dev/test----repo114/tags/list.
...
Dec 1 03:54:45 docker-pulp-httpd pulp: nectar.downloaders.threaded:INFO: [ddd7a76a] Download succeeded: https://quay.io/v2/redhat-dev/test----repo114/manifests/latest.
...
Dec 1 03:54:45 docker-pulp-httpd pulp: nectar.downloaders.threaded:INFO: [ddd7a76a] Download succeeded: https://quay.io/v2/redhat-dev/test----repo114/manifests/sha256:37daa087fa88d8f5f0f97ba58e4facbba81e87513d6d6584bcf0f6417e994bd1.
...
Dec 1 03:54:46 docker-pulp-httpd pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://quay.io/v2/redhat-dev/test----repo114/blobs/sha256:41c24cf3eae7653c4ff3c0e8762ce2ffb21b8da07715e874bc7b901cc3227e8b failed with code 401: UNAUTHORIZED
...
Dec 1 03:54:46 docker-pulp-httpd pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://quay.io/v2/redhat-dev/test----repo114/blobs/sha256:41c24cf3eae7653c4ff3c0e8762ce2ffb21b8da07715e874bc7b901cc3227e8b failed with code 401: UNAUTHORIZED
...
Dec 1 03:54:47 docker-pulp-httpd pulp: pulp.server.async.tasks:INFO: [ddd7a76a] Task failed : [ddd7a76a-87ab-4cde-a1f6-a5321f005ec5] : Image download(s) from https://quay.io/v2/redhat-dev/test----repo114/blobs/sha256:41c24cf3eae7653c4ff3c0e8762ce2ffb21b8da07715e874bc7b901cc3227e8b failed. Sync task has failed to prevent a corrupted repository.
</code></pre>
<p>It can download tag list and manifests successfully, but has trouble to download blobs.</p>
<p>Pulp version:</p>
<pre><code class="text syntaxhl" data-language="text"># rpm -qa | grep pulp-docker
python-pulp-docker-common-3.2.3-3.el7eng.noarch
pulp-docker-plugins-3.2.3-3.el7eng.noarch
pulp-docker-admin-extensions-3.2.3-3.el7eng.noarch
</code></pre> Pulp - Issue #9360 (MODIFIED): Cleanup doesn't work when import_content raises exceptionhttps://pulp.plan.io/issues/93602021-09-09T03:21:52Zyuzhengyuzheng@redhat.com
<p>A repo sync task failed with error:</p>
<p>Content import of /var/lib/pulp/working/<a href="mailto:reserved_resource_worker-4@pulp-docker04.web.prod.ext.phx2.redhat.com" class="email">reserved_resource_worker-4@pulp-docker04.web.prod.ext.phx2.redhat.com</a>/005cfc84-9b50-42d2-8a04-28e60b16f5e5/sha256:801e265f146090ed6045b2d673922e7aef38bebecaeb65dba770ea84b351c6b2 failed - must be an existing file</p>
<p>But the unit sha256:801e265f146090ed6045b2d673922e7aef38bebecaeb65dba770ea84b351c6b2 should be removed in the task, but it's not.</p> Pulp - Issue #7136 (ASSIGNED): Requirement conflict when running RUNNING HANDLER [pulp.pulp_insta...https://pulp.plan.io/issues/71362020-07-14T17:07:05Zzen42@linux.com
<p>Tried to follow the install instructions here: <a href="https://docs.pulpproject.org/installation/instructions.html" class="external">https://docs.pulpproject.org/installation/instructions.html</a></p>
<p>I have done so on 2 diffrent boxes, one was RHEL7.8 the other a vagrant centos7</p>
<p>On both I hit the below error during the ansible run:</p>
<p>RUNNING HANDLER [pulp.pulp_installer.pulp_common : Collect static content] **********************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/usr/local/lib/pulp/bin/django-admin", "collectstatic", "--noinput", "--link"], "delta": "0:00:00.262311", "end": "2020-07-14 16:46:52.375639", "msg": "non-zero return code", "rc": 1, "start": "2020-07-14 16:46:52.113328", "stderr": "Traceback (most recent call last):\n File "/usr/local/lib/pulp/bin/django-admin", line 8, in \n sys.exit(execute_from_command_line())\n File "/usr/local/lib/pulp/lib64/python3.6/site-packages/django/core/management/<strong>init</strong>.py", line 381, in execute_from_command_line\n utility.execute()\n File "/usr/local/lib/pulp/lib64/python3.6/site-packages/django/core/management/<strong>init</strong>.py", line 325, in execute\n settings.INSTALLED_APPS\n File "/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/<strong>init</strong>.py", line 79, in <strong>getattr</strong>\n self._setup(name)\n File "/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/<strong>init</strong>.py", line 66, in _setup\n self._wrapped = Settings(settings_module)\n File "/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/<strong>init</strong>.py", line 157, in <strong>init</strong>\n mod = importlib.import_module(self.SETTINGS_MODULE)\n File "/usr/lib64/python3.6/importlib/<strong>init</strong>.py", line 126, in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n File "", line 994, in _gcd_import\n File "", line 971, in _find_and_load\n File "", line 955, in _find_and_load_unlocked\n File "", line 665, in _load_unlocked\n File "", line 678, in exec_module\n File "", line 219, in _call_with_frames_removed\n File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/app/settings.py", line 73, in \n plugin_app_config = entry_point.load()\n File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/<strong>init</strong>.py", line 2317, in load\n self.require(*args, **kwargs)\n File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/<strong>init</strong>.py", line 2340, in require\n items = working_set.resolve(reqs, env, installer, extras=self.extras)\n File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/<strong>init</strong>.py", line 779, in resolve\n raise VersionConflict(dist, req).with_context(dependent_req)\npkg_resources.VersionConflict: (pulpcore 3.5.0 (/usr/local/lib/pulp/lib/python3.6/site-packages), Requirement.parse('pulpcore<3.5,>=3.4'))", "stderr_lines": ["Traceback (most recent call last):", " File "/usr/local/lib/pulp/bin/django-admin", line 8, in ", " sys.exit(execute_from_command_line())", " File "/usr/local/lib/pulp/lib64/python3.6/site-packages/django/core/management/<strong>init</strong>.py", line 381, in execute_from_command_line", " utility.execute()", " File "/usr/local/lib/pulp/lib64/python3.6/site-packages/django/core/management/<strong>init</strong>.py", line 325, in execute", " settings.INSTALLED_APPS", " File "/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/<strong>init</strong>.py", line 79, in <strong>getattr</strong>", " self._setup(name)", " File "/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/<strong>init</strong>.py", line 66, in _setup", " self._wrapped = Settings(settings_module)", " File "/usr/local/lib/pulp/lib64/python3.6/site-packages/django/conf/<strong>init</strong>.py", line 157, in <strong>init</strong>", " mod = importlib.import_module(self.SETTINGS_MODULE)", " File "/usr/lib64/python3.6/importlib/<strong>init</strong>.py", line 126, in import_module", " return _bootstrap._gcd_import(name[level:], package, level)", " File "", line 994, in _gcd_import", " File "", line 971, in _find_and_load", " File "", line 955, in _find_and_load_unlocked", " File "", line 665, in _load_unlocked", " File "", line 678, in exec_module", " File "", line 219, in _call_with_frames_removed", " File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/app/settings.py", line 73, in ", " plugin_app_config = entry_point.load()", " File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/<strong>init</strong>.py", line 2317, in load", " self.require(*args, **kwargs)", " File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/<strong>init</strong>.py", line 2340, in require", " items = working_set.resolve(reqs, env, installer, extras=self.extras)", " File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pkg_resources/<strong>init</strong>.py", line 779, in resolve", " raise VersionConflict(dist, req).with_context(dependent_req)", "pkg_resources.VersionConflict: (pulpcore 3.5.0 (/usr/local/lib/pulp/lib/python3.6/site-packages), Requirement.parse('pulpcore<3.5,>=3.4'))"], "stdout": "", "stdout_lines": []}</p>
<p>The interesting bit is on the last line: Requirement.parse('pulpcore<3.5,>=3.4'))"]</p>
<p>I have tried and failed to find where this requirement is being stored but clearly it need updated for 3.5</p> Pulp - Issue #6970 (CLOSED - WORKSFORME): https://github.com/pulp/pulp_installer does not run on ...https://pulp.plan.io/issues/69702020-06-15T11:20:50Zzeitsofa
<p>Hello guys,</p>
<p>today i want to try you code from <a href="https://github.com/pulp/pulp_installer" class="external">https://github.com/pulp/pulp_installer</a>.
Cloning the code was done and a playbook was created to install pulp, too.</p>
<p>If i want to run the playbook it stops withs an error in section "Run pip-compile to check pulpcore/plugin compatibility" as you can see in the following output.</p>
<p>There are also some more [WARNINGS], they're not interrupt the playbook, but it maybe helpful to fix this, too.</p>
<p>$ ansible-playbook -i inventories/inventory_intern playbooks/main.yml
[DEPRECATION WARNING]: The use of 'static' has been deprecated. Use 'import_tasks' for static inclusion, or 'include_tasks' for dynamic inclusion. This feature will be removed in version 2.12. Deprecation
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.</p>
<p>PLAY [all] **********************************************************************************************************************************************************************************************************</p>
<p>TASK [Gathering Facts] **********************************************************************************************************************************************************************************************
ok: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Fail when pulp_secret_key is not set] ******************************************************************************************************************************************************************
ok: [pulp.fancyhost.anon] => {
"changed": false,
"msg": "All assertions passed"
}</p>
<p>TASK [pulp : debug] *************************************************************************************************************************************************************************************************
skipping: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : debug] *************************************************************************************************************************************************************************************************
skipping: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : debug] *************************************************************************************************************************************************************************************************
skipping: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Load OS specific variables] ****************************************************************************************************************************************************************************
ok: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Is this a supported version of CentOS] *****************************************************************************************************************************************************************
skipping: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Enumerate default system PATH] *************************************************************************************************************************************************************************
ok: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : set the default system PATH as a fact] *****************************************************************************************************************************************************************
ok: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Install EPEL Release] **********************************************************************************************************************************************************************************
changed: [pulp.fancyhost.anon] => (item=epel-release)
skipping: [pulp.fancyhost.anon] => (item=<a href="https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" class="external">https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm</a>)</p>
<p>TASK [pulp : Find and enable the first found name of the RHEL7 Optional repo] ***************************************************************************************************************************************
skipping: [pulp.fancyhost.anon] => (item=rhui-rhel-7-server-rhui-optional-rpms)
skipping: [pulp.fancyhost.anon] => (item=rhel-7-server-rhui-optional-rpms)
skipping: [pulp.fancyhost.anon] => (item=rhel-7-server-optional-rpms)
skipping: [pulp.fancyhost.anon] => (item=rhel-7-workstation-optional-rpms)</p>
<p>TASK [pulp : Find and enable the first found name of the RHEL CodeReady Builder repo] *******************************************************************************************************************************
skipping: [pulp.fancyhost.anon] => (item=codeready-builder-for-rhel-8-x86_64-rpms)
skipping: [pulp.fancyhost.anon] => (item=rhui-codeready-builder-for-rhel-8-rhui-rpms)
skipping: [pulp.fancyhost.anon] => (item=codeready-builder-for-rhel-8-rhui-rpms)</p>
<p>TASK [pulp : Determine which file in /etc/yum.repos.d/ has the CentOS PowerTools repo] ******************************************************************************************************************************
ok: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Enable the CentOS PowerTools repo] *********************************************************************************************************************************************************************
changed: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Determine which file in /etc/yum.repos.d/ has the CentOS Stream-PowerTools repo] ***********************************************************************************************************************
ok: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Enable the CentOS Stream-PowerTools PowerTools repo] ***************************************************************************************************************************************************
skipping: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Update apt package index] ******************************************************************************************************************************************************************************
skipping: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Install prerequisites] *********************************************************************************************************************************************************************************
changed: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Disable SELinux (Pulp 3 is currently incompatible with SELinux)] ***************************************************************************************************************************************
changed: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Find the nologin executable] ***************************************************************************************************************************************************************************
ok: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Make sure pulp group exists] ***************************************************************************************************************************************************************************
changed: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Create user pulp] **************************************************************************************************************************************************************************************
changed: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Add user pulp to extra groups] *************************************************************************************************************************************************************************
skipping: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Add user {{ developer_user }} to {{ pulp_group }} group] ***********************************************************************************************************************************************
skipping: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Create cache dir for Pulp] *****************************************************************************************************************************************************************************
changed: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Create pulp install dir] *******************************************************************************************************************************************************************************
changed: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Check if we have Pulp 2 installed] *********************************************************************************************************************************************************************
ok: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Add user 'apache' to 'pulp' group if it exists] ********************************************************************************************************************************************************
skipping: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Set permissions on '/var/lib/pulp' if pulp2 is installed] **********************************************************************************************************************************************
skipping: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Find subdirs without setgid] ***************************************************************************************************************************************************************************
skipping: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Set setgid on the /var/lib/pulp subdirs] ***************************************************************************************************************************************************************
skipping: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Install packages needed for source install] ************************************************************************************************************************************************************
ok: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Create a venv with system-wide packages setting if the venv does not exist] ****************************************************************************************************************************
skipping: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Upgrade to a recent edition of pip (supporting manylinux2014)] *****************************************************************************************************************************************
[WARNING]: Module remote_tmp /var/lib/pulp/.ansible/tmp did not exist and was created with a mode of 0700, this may cause issues when running as another user. To avoid this, create the remote_tmp dir with the
correct permissions manually
changed: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Update any existing venv to allow system-wide packages] ************************************************************************************************************************************************
skipping: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Obtain list of packages in the venv to see if any plugins are installed] *******************************************************************************************************************************
ok: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Create requirements.in file to check pulpcore/plugin compatibility] ************************************************************************************************************************************
changed: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Install pip-tools, which provides pip-compile to check version compatibility] **************************************************************************************************************************
changed: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Run preflight check (no prereq roles)] *****************************************************************************************************************************************************************
skipping: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Run preflight check before prereq roles] ***************************************************************************************************************************************************************
included: /home/amueller/workdir/pulp_installer/roles/pulp/tasks/preflight_function.yml for pulp.fancyhost.anon</p>
<p>TASK [pulp : List currently installed packages for the pip-compile check] *******************************************************************************************************************************************
ok: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Backup currently installed packages for any potential troubleshooting purposes] ************************************************************************************************************************
ok: [pulp.fancyhost.anon]</p>
<p>TASK [pulp : Run pip-compile to check pulpcore/plugin compatibility] ************************************************************************************************************************************************
[WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ failed_condition | default("compatibility.rc != 0") }}
fatal: [pulp.fancyhost.anon]: FAILED! => {"changed": false, "cmd": ["/usr/local/lib/pulp/bin/pip-compile"], "delta": "0:00:05.941732", "end": "2020-06-15 12:38:32.265771", "failed_when_result": true, "msg": "non-zero return code", "rc": 2, "start": "2020-06-15 12:38:26.324039", "stderr": "Could not find a version that matches pulpcore<3.4,<3.5,==3.4.1,>=3.0,>=3.3,>=3.4 from <a href="https://files.pythonhosted.org/packages/5c/40/8dab8ccfe73982ef3a5e48489af2d83974b0e7677ca52ec232fcb4b49dfa/pulpcore-3.4.1-py3-none-any.whl#sha256=e33ca32f867201e1a18b888d72ef07e85c2cd11273a8e422e33d6a2910a64fac" class="external">https://files.pythonhosted.org/packages/5c/40/8dab8ccfe73982ef3a5e48489af2d83974b0e7677ca52ec232fcb4b49dfa/pulpcore-3.4.1-py3-none-any.whl#sha256=e33ca32f867201e1a18b888d72ef07e85c2cd11273a8e422e33d6a2910a64fac</a> (from -r requirements.in (line 1))\nTried: 3.0.0, 3.0.0, 3.0.1, 3.0.1, 3.1.0, 3.1.0, 3.1.1, 3.1.1, 3.2.0, 3.2.0, 3.2.1, 3.2.1, 3.3.0, 3.3.0, 3.3.1, 3.3.1, 3.4.0, 3.4.0, 3.4.1, 3.4.1\nSkipped pre-versions: 3.0.0a1.dev3, 3.0.0a1.dev3, 3.0.0a1.dev4, 3.0.0a1.dev4, 3.0.0a1.dev5, 3.0.0a1.dev5, 3.0.0a1, 3.0.0a1, 3.0.0a2, 3.0.0a2, 3.0.0a3, 3.0.0a3, 3.0.0a4, 3.0.0a4, 3.0.0a5, 3.0.0a5, 3.0.0a6, 3.0.0a6, 3.0.0a7, 3.0.0a7, 3.0.0a8, 3.0.0a8, 3.0.0a9, 3.0.0a9, 3.0.0a10, 3.0.0a10, 3.0.0a11, 3.0.0a11, 3.0.0a12, 3.0.0a12, 3.0.0a13, 3.0.0a13, 3.0.0a14, 3.0.0a14, 3.0.0a15, 3.0.0a15, 3.0.0a16, 3.0.0a16, 3.0.0a17, 3.0.0a17, 3.0.0a18, 3.0.0a18, 3.0.0a19, 3.0.0a19, 3.0.0a20, 3.0.0a20, 3.0.0a21, 3.0.0a21, 3.0.0a22, 3.0.0a22, 3.0.0a23, 3.0.0a23, 3.0.0a24, 3.0.0a24, 3.0.0a25, 3.0.0a25, 3.0.0a26, 3.0.0a26, 3.0.0a27, 3.0.0a27, 3.0.0a28, 3.0.0a28, 3.0.0a29, 3.0.0a29, 3.0.0b1, 3.0.0b1, 3.0.0b2, 3.0.0b2, 3.0.0b3, 3.0.0b3, 3.0.0b4, 3.0.0b4, 3.0.0b5, 3.0.0b5, 3.0.0b6, 3.0.0b6, 3.0.0b7, 3.0.0b7, 3.0.0b8, 3.0.0b8, 3.0.0b9, 3.0.0b9, 3.0.0b10, 3.0.0b10, 3.0.0b11, 3.0.0b11, 3.0.0b12, 3.0.0b12, 3.0.0b13, 3.0.0b13, 3.0.0b14, 3.0.0b14, 3.0.0b15, 3.0.0b15, 3.0.0b16, 3.0.0b16, 3.0.0b17, 3.0.0b18, 3.0.0b18, 3.0.0b19, 3.0.0b19, 3.0.0b20, 3.0.0b20, 3.0.0b21, 3.0.0b21, 3.0.0b22, 3.0.0b22, 3.0.0b23, 3.0.0b23, 3.0.0rc1, 3.0.0rc1, 3.0.0rc2, 3.0.0rc2, 3.0.0rc3, 3.0.0rc3, 3.0.0rc4, 3.0.0rc4, 3.0.0rc5, 3.0.0rc5, 3.0.0rc6, 3.0.0rc6, 3.0.0rc7, 3.0.0rc7, 3.0.0rc8, 3.0.0rc8, 3.0.0rc9, 3.0.0rc9\nThere are incompatible versions in the resolved dependencies:\n pulpcore==3.4.1 from <a href="https://files.pythonhosted.org/packages/5c/40/8dab8ccfe73982ef3a5e48489af2d83974b0e7677ca52ec232fcb4b49dfa/pulpcore-3.4.1-py3-none-any.whl#sha256=e33ca32f867201e1a18b888d72ef07e85c2cd11273a8e422e33d6a2910a64fac" class="external">https://files.pythonhosted.org/packages/5c/40/8dab8ccfe73982ef3a5e48489af2d83974b0e7677ca52ec232fcb4b49dfa/pulpcore-3.4.1-py3-none-any.whl#sha256=e33ca32f867201e1a18b888d72ef07e85c2cd11273a8e422e33d6a2910a64fac</a> (from -r requirements.in (line 1))\n pulpcore<3.5,>=3.4 (from pulp-file==1.0.1->-r requirements.in (line 4))\n pulpcore<3.5,>=3.4 (from pulp-rpm==3.4.1->-r requirements.in (line 6))\n pulpcore<3.5,>=3.4 (from pulp-python==3.0.0b9->-r requirements.in (line 5))\n pulpcore<3.4,>=3.3 (from pulp-deb==2.3.0b1->-r requirements.in (line 3))\n pulpcore<3.5,>=3.0 (from pulp-ansible==0.2.0b13->-r requirements.in (line 2))", "stderr_lines": ["Could not find a version that matches pulpcore<3.4,<3.5,==3.4.1,>=3.0,>=3.3,>=3.4 from https://files.pythonhosted.org/packages/5c/40/8dab8ccfe73982ef3a5e48489af2d83974b0e7677ca52ec232fcb4b49dfa/pulpcore-3.4.1-py3-none-any.whl#sha256=e33ca32f867201e1a18b888d72ef07e85c2cd11273a8e422e33d6a2910a64fac (from -r requirements.in (line 1))", "Tried: 3.0.0, 3.0.0, 3.0.1, 3.0.1, 3.1.0, 3.1.0, 3.1.1, 3.1.1, 3.2.0, 3.2.0, 3.2.1, 3.2.1, 3.3.0, 3.3.0, 3.3.1, 3.3.1, 3.4.0, 3.4.0, 3.4.1, 3.4.1", "Skipped pre-versions: 3.0.0a1.dev3, 3.0.0a1.dev3, 3.0.0a1.dev4, 3.0.0a1.dev4, 3.0.0a1.dev5, 3.0.0a1.dev5, 3.0.0a1, 3.0.0a1, 3.0.0a2, 3.0.0a2, 3.0.0a3, 3.0.0a3, 3.0.0a4, 3.0.0a4, 3.0.0a5, 3.0.0a5, 3.0.0a6, 3.0.0a6, 3.0.0a7, 3.0.0a7, 3.0.0a8, 3.0.0a8, 3.0.0a9, 3.0.0a9, 3.0.0a10, 3.0.0a10, 3.0.0a11, 3.0.0a11, 3.0.0a12, 3.0.0a12, 3.0.0a13, 3.0.0a13, 3.0.0a14, 3.0.0a14, 3.0.0a15, 3.0.0a15, 3.0.0a16, 3.0.0a16, 3.0.0a17, 3.0.0a17, 3.0.0a18, 3.0.0a18, 3.0.0a19, 3.0.0a19, 3.0.0a20, 3.0.0a20, 3.0.0a21, 3.0.0a21, 3.0.0a22, 3.0.0a22, 3.0.0a23, 3.0.0a23, 3.0.0a24, 3.0.0a24, 3.0.0a25, 3.0.0a25, 3.0.0a26, 3.0.0a26, 3.0.0a27, 3.0.0a27, 3.0.0a28, 3.0.0a28, 3.0.0a29, 3.0.0a29, 3.0.0b1, 3.0.0b1, 3.0.0b2, 3.0.0b2, 3.0.0b3, 3.0.0b3, 3.0.0b4, 3.0.0b4, 3.0.0b5, 3.0.0b5, 3.0.0b6, 3.0.0b6, 3.0.0b7, 3.0.0b7, 3.0.0b8, 3.0.0b8, 3.0.0b9, 3.0.0b9, 3.0.0b10, 3.0.0b10, 3.0.0b11, 3.0.0b11, 3.0.0b12, 3.0.0b12, 3.0.0b13, 3.0.0b13, 3.0.0b14, 3.0.0b14, 3.0.0b15, 3.0.0b15, 3.0.0b16, 3.0.0b16, 3.0.0b17, 3.0.0b18, 3.0.0b18, 3.0.0b19, 3.0.0b19, 3.0.0b20, 3.0.0b20, 3.0.0b21, 3.0.0b21, 3.0.0b22, 3.0.0b22, 3.0.0b23, 3.0.0b23, 3.0.0rc1, 3.0.0rc1, 3.0.0rc2, 3.0.0rc2, 3.0.0rc3, 3.0.0rc3, 3.0.0rc4, 3.0.0rc4, 3.0.0rc5, 3.0.0rc5, 3.0.0rc6, 3.0.0rc6, 3.0.0rc7, 3.0.0rc7, 3.0.0rc8, 3.0.0rc8, 3.0.0rc9, 3.0.0rc9", "There are incompatible versions in the resolved dependencies:", " pulpcore==3.4.1 from https://files.pythonhosted.org/packages/5c/40/8dab8ccfe73982ef3a5e48489af2d83974b0e7677ca52ec232fcb4b49dfa/pulpcore-3.4.1-py3-none-any.whl#sha256=e33ca32f867201e1a18b888d72ef07e85c2cd11273a8e422e33d6a2910a64fac (from -r requirements.in (line 1))", " pulpcore<3.5,>=3.4 (from pulp-file==1.0.1->-r requirements.in (line 4))", " pulpcore<3.5,>=3.4 (from pulp-rpm==3.4.1->-r requirements.in (line 6))", " pulpcore<3.5,>=3.4 (from pulp-python==3.0.0b9->-r requirements.in (line 5))", " pulpcore<3.4,>=3.3 (from pulp-deb==2.3.0b1->-r requirements.in (line 3))", " pulpcore<3.5,>=3.0 (from pulp-ansible==0.2.0b13->-r requirements.in (line 2))"], "stdout": "", "stdout_lines": []}</p>
<p>PLAY RECAP **********************************************************************************************************************************************************************************************************
pulp.fancyhost.anon : ok=25 changed=11 unreachable=0 failed=1 skipped=17 rescued=0 ignored=0</p>
<p>Please fix this isseu to make it possible installing pulp with the code from <a href="https://github.com/pulp/pulp_installer" class="external">https://github.com/pulp/pulp_installer</a>.</p>
<p>Thanks a lot and best regards</p>
<p>Andreas</p>
<a name="Playbook"></a>
<h2 >Playbook<a href="#Playbook" class="wiki-anchor">¶</a></h2>
<ul>
<li>hosts: all
vars:
pulp_settings:
secret_key: secret
content_origin: "http://{{ ansible_fqdn }}"
pulp_default_admin_password: "MYVERYVERYSECRET"
pulp_install_plugins:
# galaxy-ng: {}
pulp-ansible: {}
# pulp-certguard: {}
# pulp-container: {}
# pulp-cookbook: {}
pulp-deb: {}
pulp-file: {}
# pulp-gem: {}
# pulp-maven: {}
# pulp-npm: {}
pulp-python: {}
pulp-rpm:
prereq_role: "pulp.pulp_rpm_prerequisites" # RPM plugin needs a prereq_role: <a href="https://galaxy.ansible.com/pulp/pulp_rpm_prerequisites" class="external">https://galaxy.ansible.com/pulp/pulp_rpm_prerequisites</a>
roles:
<ul>
<li>pulp_database</li>
<li>pulp_workers</li>
<li>pulp_resource_manager</li>
<li>pulp_webserver</li>
<li>pulp_content
environment:
DJANGO_SETTINGS_MODULE: pulpcore.app.settings</li>
</ul>
</li>
</ul> Debian Support - Issue #6595 (CLOSED - NOTABUG): Pulp2 No plugin found: deb_distributorhttps://pulp.plan.io/issues/65952020-04-28T21:51:35Zymadav
<p>Hi All,</p>
<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.Did someone face this issue ,I have all necessary packages installed.</p>
<p>python-pulp-rpm-common-2.18.1-1.el7.noarch</p>
<p>pulp-docker-admin-extensions-3.2.2-1.el7.noarch</p>
<p>pulp-deb-admin-extensions-1.8.0-1.el7.noarch</p>
<p>python-pulp-client-lib-2.18.1-2.el7.noarch</p>
<p>pulp-puppet-plugins-2.18.1-1.el7.noarch</p>
<p>python-pulp-docker-common-3.2.2-1.el7.noarch</p>
<p>pulp-server-2.18.1-2.el7.noarch</p>
<p>python-pulp-repoauth-2.18.1-2.el7.noarch</p>
<p>pulp-rpm-admin-extensions-2.18.1-1.el7.noarch</p>
<p>python-pulp-bindings-2.18.1-2.el7.noarch</p>
<p>pulp-rpm-plugins-2.18.1-1.el7.noarch</p>
<p>python-pulp-deb-common-1.8.0-1.el7.noarch</p>
<p>python-pulp-puppet-common-2.18.1-1.el7.noarch</p>
<p>pulp-selinux-2.18.1-2.el7.noarch</p>
<p>pulp-puppet-admin-extensions-2.18.1-1.el7.noarch</p>
<p>python-pulp-common-2.18.1-2.el7.noarch</p>
<p>pulp-admin-client-2.18.1-2.el7.noarch</p>
<p>pulp-docker-plugins-3.2.2-1.el7.noarch</p>
<p>python-pulp-oid_validation-2.18.1-2.el7.noarch</p>
<p>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</p>
<p>+----------------------------------------------------------------------+ 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-tes<br>
t This command may be exited via ctrl+c without affecting the request. [] Running...</p>
<p>Task Failed</p>
<p>Pulp exception occurred: PulpExecutionException</p>
<p>No plugin found: deb_importer</p>
<p>No plugin found: deb_distributor<br>
Thanks,<br>
-Yash</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> Debian Support - Issue #6082 (CLOSED - DUPLICATE): Fail to install from pulp-deb distribution usi...https://pulp.plan.io/issues/60822020-02-03T16:29:51Zyogev
<p>I started a setup on prem with the following packages:</p>
<p>pulp-deb (2.0.0b4)
pulp-file (0.1.0)
pulp-rpm (3.0.0)
pulpcore (3.0.1)</p>
<p>running on CentOS 7</p>
<p>RPM plugin works well.
For DEB i pretty much do the same things -</p>
<ul>
<li>create repository</li>
<li>upload artifacts</li>
<li>create content from the artifacts</li>
<li>create publication and distribution.</li>
</ul>
<p>All the steps above seem to work OK.</p>
<p>then i add the following configuration to the client:</p>
<pre><code class="bash syntaxhl" data-language="bash"><span class="nb">cat</span> <span class="o">></span> /etc/apt/sources.list.d/lightos.list <span class="o"><<</span> <span class="no">EOF</span><span class="sh">
deb [trusted=yes] http://repo00/pulp/content/yogev/yogev/workspace_duros/deb/ default all
</span><span class="no">EOF
</span></code></pre>
<p>and run</p>
<pre><code class="bash syntaxhl" data-language="bash">apt update
</code></pre>
<p>i get the following response from running update:</p>
<pre><code class="bash syntaxhl" data-language="bash">Ign:1 http://repo00/pulp/content/yogev/yogev/workspace_duros/deb default InRelease
Get:2 http://repo00/pulp/content/yogev/yogev/workspace_duros/deb default Release <span class="o">[</span>1193 B]
Ign:3 http://repo00/pulp/content/yogev/yogev/workspace_duros/deb default Release.gpg
Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease <span class="o">[</span>88.7 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease <span class="o">[</span>88.7 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease <span class="o">[</span>74.6 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages <span class="o">[</span>4242 B]
Fetched 257 kB <span class="k">in </span>1s <span class="o">(</span>328 kB/s<span class="o">)</span>
Reading package lists... Done
Building dependency tree
Reading state information... Done
9 packages can be upgraded. Run <span class="s1">'apt list --upgradable'</span> to see them.
W: Invalid <span class="s1">'Date'</span> entry <span class="k">in </span>Release file /var/lib/apt/lists/partial/repo00_pulp_content_yogev_yogev_workspace%5fduros_deb_dists_default_Release
</code></pre>
<p>I can see my files under <a href="http://repo00/pulp/content/yogev/yogev/workspace_duros/deb/pool/" class="external">http://repo00/pulp/content/yogev/yogev/workspace_duros/deb/pool/</a></p>
<p>I can see that the release file is pointing to these files.</p>
<p>but when i run:</p>
<pre><code class="bash syntaxhl" data-language="bash">apt <span class="nb">install </span>lightos-monitoring
</code></pre>
<p>i get the following error:</p>
<pre><code class="bash syntaxhl" data-language="bash">root@7a4bbdfe4f20:/wd# apt <span class="nb">install </span>lightos-monitoring
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package lightos-monitoring
</code></pre>
<p>After reading the pulp-deb docs I fail to see what I'm missing.</p>
<p>Questions:</p>
<ol>
<li>i get a working about the Date not up to date - why? does it metter?</li>
<li>i can't seem to control the codename and the distribution - there is no mentioning about these attributes in the help of pulp-deb.</li>
<li>I see in the code that there is API for release_file but i don't see any docs or example on how to use it.</li>
<li>I fail to install the packages even though I uploaded the deb files to the repo.</li>
</ol> 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 #4305 (CLOSED - DUPLICATE): Issue #4303:<Pulp upgrade from 2.7 to 2.17>https://pulp.plan.io/issues/43052019-01-08T18:27:26Zymadav
<p>Hi Team,</p>
<p>I have created a case in pulp website, here I am sending again the info. Please let me know if I am missing anything.</p>
<p>I have recently updated the pulp from 2.7 to 2.17 and with mongodb version of 3.0.I was able to start the mongodb and also i was able to initialize the mongodb from apache server.</p>
<p>My setup is like i have dedicated servers for each component.when i try to do pulp-admin login from resource manager server i got error saying that there is some internal error in apache,in the apache server logs it show me error as<br>
mod_wsgi (pid=10774): Target WSGI script '/usr/share/pulp/wsgi/webservices.wsgi' cannot be loaded as Python module.Not sure what exactly it is blocking me here,can someone please help me on this.</p>
<p>Note:We don’t have selinux enabled it is disabled in all my component server.</p>
<p>Thanks,<br>
-Yash</p> Pulp - Issue #4303 (CLOSED - WONTFIX): Pulp upgrade from 2.7 to 2.17https://pulp.plan.io/issues/43032019-01-08T15:54:16Zymadav
<p>Hi</p>
<p>I have recently updated the pulp from 2.7 to 2.17 and with mongodb version of 3.0.I was able to start the mongodb and also i was able to initialize the mongodb from apache server.</p>
<p>My setup is like i have dedicated servers for each component.when i try to do pulp-admin login from resource manager server i got error saying that there is some internal error in apache,in the apache server logs it show me error as<br>
mod_wsgi (pid=10774): Target WSGI script '/usr/share/pulp/wsgi/webservices.wsgi' cannot be loaded as Python module.Not sure what exactly it is blocking me here,can someone please help me on this.</p>
<p>Thanks,<br>
-Yash</p> RPM Support - Issue #4247 (CLOSED - WONTFIX): improve performance of uploading ISOhttps://pulp.plan.io/issues/42472018-12-10T02:28:50ZZhiming
<p>Adding a search criteria to filter out units as need to improve performance of "find_repo_content_units" in pulp_rpm/plugins/importers/iso/importer.py</p>
<p>We suffered serious performance issue to uploading units (ISO) to a repository when data volume get larger and larger. After applying the change[1], performance improved. In addition, some our internal function tests had been done, it's pass. We uses pulp 2.15.</p>
<p>[1]<a href="https://github.com/pulp/pulp_rpm/pull/1236" class="external">https://github.com/pulp/pulp_rpm/pull/1236</a></p> Pulp - Issue #3574 (CLOSED - WONTFIX): Checksum issue after copy a repohttps://pulp.plan.io/issues/35742018-04-17T15:38:41Zzeitsofa
<p>Hello guys,</p>
<p>in IRC #pulp we talked about that issue. Here we are with some more information for an easy reproduce.</p>
<p>The issue: If I create a new repo and copy all stuff from an other one into the new one, sometimes (not on every repo I tried) a checksum error occurred like following:</p>
<p>Overall download size: 1.1 MiB. Already cached: 77.8 KiB. After the operation, 10.3 MiB will be freed.<br>
Continue? [y/n/...? shows all options] (y): y<br>
Retrieving package libcollectdclient1-5.7.2-84.1.x86_64 (1/8), 86.8 KiB ( 30.5 KiB unpacked)<br>
Retrieving: libcollectdclient1-5.7.2-84.1.x86_64.rpm ...................................................................................................................[done]<br>
Retrieving package liboping0-1.9.0-1.2.x86_64 (2/8), 28.4 KiB ( 58.3 KiB unpacked)<br>
Retrieving: liboping0-1.9.0-1.2.x86_64.rpm .............................................................................................................................[done]<br>
Retrieving package libprotobuf-c1-1.3.0-29.1.x86_64 (3/8), 22.8 KiB ( 35.9 KiB unpacked)<br>
Retrieving: libprotobuf-c1-1.3.0-29.1.x86_64.rpm .......................................................................................................................[done]<br>
Warning: Digest verification failed for file 'libprotobuf-c1-1.3.0-29.1.x86_64.rpm'<br>
[/var/cache/zypp/packages/sles-12.2-server-monitoring-leap-with-collectd/Packages/l/libprotobuf-c1-1.3.0-29.1.x86_64.rpm]<br>
expected caa3fcbbeba1018cc32f72ffbcbd87ea3d50a3efc0dc434007973971a849cdcc<br>
but got 3271b1ec7ef1f7be80dfba63754bcc293b4cd67ffe16f0b182e968b177850256<br>
Accepting packages with wrong checksums can lead to a corrupted system and in extreme cases even to a system compromise.<br>
However if you made certain that the file with checksum '3271..' is secure, correct<br>
and should be used within this operation, enter the first 4 characters of the checksum<br>
to unblock using this file on your own risk. Empty input will discard the file.<br>
Unblock or discard? [3271/...? shows all options] (discard):</p>
<p>Setup is a Pulp cluster within 3 nodes in version pulp-server-2.15.2-1.el7.noarch on RHEL 7.3.</p>
<p>Upstream feed: <a href="http://ftp.halifax.rwth-aachen.de/opensuse/repositories/server:/monitoring/openSUSE_Leap_42.3/" class="external">http://ftp.halifax.rwth-aachen.de/opensuse/repositories/server:/monitoring/openSUSE_Leap_42.3/</a></p>
<p>pulp-admin rpm repo create --repo-id myfancyrepo --display-name myfanczyrepo --feed <a href="http://ftp.halifax.rwth-aachen.de/opensuse/repositories/server:/monitoring/openSUSE_Leap_42.3/" class="external">http://ftp.halifax.rwth-aachen.de/opensuse/repositories/server:/monitoring/openSUSE_Leap_42.3/</a> --relative-url bla/blub/ --serve-http true --serve-https true</p>
<p>pulp-admin rpm repo sync run --repo-id myfancyrepo<br>
pulp-admin rpm repo publish run --repo-id myfancyrepo<br>
pulp-admin rpm repo create --repo-id copy-of-fancyrepo -- display-name copy-of-fancyrepo --relative-url bla/blub/copy --serve-http true --serve-https true<br>
pulp-admin rpm repo publish run --repo-id copy-of-fancyrepo<br>
pulp-admin rpm repo copy all --from-repo-id myfancyrepo --to-repo-id copy-of-fancyrepo<br>
pulp-admin rpm repo publish run --repo-id copy-of-fancyrepo</p>
<p>At least i tried to install collectd from the repo above, and the given error above occurred.</p>
<p>Thx for any help to fix this stange thing :)</p> RPM Support - Issue #2774 (CLOSED - WONTFIX): Inconsistent Checksum and Checksumtype when uploadi...https://pulp.plan.io/issues/27742017-05-23T06:20:12Zyuzhengyuzheng@redhat.com
<pre><code># rpm -qa pulp-server
pulp-server-2.13.0-1.el7.noarch
</code></pre>
<p>Reproducing steps:<br>
1. Create a rpm repo</p>
<pre><code># pulp-admin rpm repo create --repo-id test-repo10
Successfully created repository [test-repo10]
</code></pre>
<p>2. Upload a drpm to the repo with --checksum-type=md5</p>
<pre><code># pulp-admin rpm repo uploads drpm --repo-id test-repo10 --file /root/test-alpha-1.1-2_1.1-3.noarch.drpm --checksum-type md5
+----------------------------------------------------------------------+
Unit Upload
+----------------------------------------------------------------------+
Extracting necessary metadata for each request...
[==================================================] 100%
Analyzing: test-alpha-1.1-2_1.1-3.noarch.drpm
... completed
Creating upload requests on the server...
[==================================================] 100%
Initializing: test-alpha-1.1-2_1.1-3.noarch.drpm
... completed
Starting upload of selected units. If this process is stopped through ctrl+c,
the uploads will be paused and may be resumed later using the resume command or
canceled entirely using the cancel command.
Uploading: test-alpha-1.1-2_1.1-3.noarch.drpm
[==================================================] 100%
3304/3304 bytes
... completed
Importing into the repository...
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Task Succeeded
Deleting the upload request...
... completed
</code></pre>
<p>3. Check uploaded drpm</p>
<pre><code># pulp-admin rpm repo content drpm --repo-id test-repo10
Arch: noarch
Checksum: f9476caa0f491dfa227a984b092e05f68b637471f7c7c2f648475f067f12fc2e
Checksumtype: md5
Epoch: 0
Filename: drpms/test-alpha-1.1-2_1.1-3.noarch.drpm
Release: 3
Version: 1.1
</code></pre>
<p>Checksumtype is md5, but Checksum shows a value of sha256 checksum.</p>
<pre><code># sha256sum /root/test-alpha-1.1-2_1.1-3.noarch.drpm
f9476caa0f491dfa227a984b092e05f68b637471f7c7c2f648475f067f12fc2e /root/test-alpha-1.1-2_1.1-3.noarch.drpm
</code></pre> Pulp - Issue #1891 (CLOSED - NOTABUG): Distribution of 'import_uploaded_unit' tasks is unbalanced...https://pulp.plan.io/issues/18912016-05-04T07:03:49Zyuzhengyuzheng@redhat.com
<p><strong>How reproducible:</strong><br>
100%</p>
<p><strong>Builds:</strong><br>
pulp-server-2.7.1-1.el6.noarch<br>
pulp-rpm-plugins-2.7.1-1.el6.noarch</p>
<p><strong>Steps:</strong><br>
1. Prepare 10 uploaded rpms in /var/lib/pulp/uploads/<br>
2. Run 10 'POST /pulp/api/v2/repositories/{REPO_ID}/actions/import_upload/' requests in threads (thread_number=5) by attached script<br>
3. Check pulp task status from db client</p>
<p><strong>Actual result:</strong><br>
There were 4 running workers. But all 'import_uploaded_unit' tasks were allocated to the same pulp worker - reserved_resource_worker-3.</p>
<p>[root@dhcp-136-194 tmp]# service pulp_workers status<br>
celery init v10.0.<br>
Using config script: /etc/default/pulp_workers<br>
node reserved_resource_worker-0 (pid 845) is running...<br>
node reserved_resource_worker-1 (pid 870) is running...<br>
node reserved_resource_worker-2 (pid 899) is running...<br>
node reserved_resource_worker-3 (pid 927) is running...</p>
<p>db.task_status.find({task_type:"pulp.server.managers.content.upload.import_uploaded_unit"}).count()<br>
10<br>
db.task_status.find({task_type:"pulp.server.managers.content.upload.import_uploaded_unit", worker_name:"reserved_resource_worker-3@dhcp-136-194***"}).count()<br>
10</p>
<p><strong>Expected result:</strong><br>
Distribution of 10 tasks should be balanced on 4 workers. Otherwise, tasks can not be run in parallel.</p> Pulp - Issue #1094 (CLOSED - NOTABUG): repodata wrongly created for copied rpmshttps://pulp.plan.io/issues/10942015-06-29T15:06:39Zzottelmarianus.potratz@gmail.com
<p>Since upgrading from 2.6beta (March 2015) to 2.6.2 stable I am getting wrong repomd.xml files generated.</p>
<p>This happens when I use:</p>
<p><strong>pulp-admin rpm repo content rpm copy</strong></p>
<p>The generated repomd.xml is sometimes pointing to tarballs that don't exist, so my yum clients are fetching updateinfo.tar.gz with a 404.<br>
I have also reinstalled the system fresh and did another install not migrating any data, but instead reuploading all old artifacts.</p>
<p>A workaround that I am currently applying is downloading the rpm from one repo and using pulp-admin to upload it to the other one, which seems to never fail generating repodata properly.</p>