Pulp: Issueshttps://pulp.plan.io/https://pulp.plan.io/favicon.ico2021-03-22T17:05:21ZPulp
Planio Migration Plugin - Issue #8436 (CLOSED - CURRENTRELEASE): ValueError: Invalid value for `pulp2_st...https://pulp.plan.io/issues/84362021-03-22T17:05:21Zttereshcttereshc@redhat.com
<p>It happens only via bindings, direct REST API calls work fine.
To reproduce:</p>
<ul>
<li>migrate contnt with no storage path (e.g. errata, package group, etc)</li>
<li>list pulp2content/ endpoint using bindings, observe error</li>
</ul>
<p>Not sure if Ruby bindings are affected, Python ones definitely are.</p>
<pre><code>Traceback (most recent call last):
File "/usr/local/lib/pulp/lib64/python3.6/site-packages/IPython/core/interactiveshell.py", line 3343, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-1-8b97a68e577c>", line 1, in <module>
cls.pulp2content_api.list()
File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/client/pulp_2to3_migration/api/pulp2_content_api.py", line 78, in list
return self.list_with_http_info(**kwargs) # noqa: E501
File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/client/pulp_2to3_migration/api/pulp2_content_api.py", line 226, in list_with_http_info
collection_formats=collection_formats)
File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/client/pulp_2to3_migration/api_client.py", line 370, in call_api
_preload_content, _request_timeout, _host)
File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/client/pulp_2to3_migration/api_client.py", line 209, in __call_api
return_data = self.deserialize(response_data, response_type)
File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/client/pulp_2to3_migration/api_client.py", line 281, in deserialize
return self.__deserialize(data, response_type)
File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/client/pulp_2to3_migration/api_client.py", line 320, in __deserialize
return self.__deserialize_model(data, klass)
File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/client/pulp_2to3_migration/api_client.py", line 659, in __deserialize_model
kwargs[attr] = self.__deserialize(value, attr_type)
File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/client/pulp_2to3_migration/api_client.py", line 298, in __deserialize
for sub_data in data]
File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/client/pulp_2to3_migration/api_client.py", line 298, in <listcomp>
for sub_data in data]
File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/client/pulp_2to3_migration/api_client.py", line 320, in __deserialize
return self.__deserialize_model(data, klass)
File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/client/pulp_2to3_migration/api_client.py", line 661, in __deserialize_model
instance = klass(**kwargs)
File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_pulp2_content_response.py", line 84, in __init__
self.pulp2_storage_path = pulp2_storage_path
File "/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_pulp2_content_response.py", line 229, in pulp2_storage_path
raise ValueError("Invalid value for `pulp2_storage_path`, must not be `None`") # noqa: E501
ValueError: Invalid value for `pulp2_storage_path`, must not be `None`
</code></pre> RPM Support - Issue #8422 (CLOSED - CURRENTRELEASE): ValueError: Repository contains disallowed p...https://pulp.plan.io/issues/84222021-03-18T13:32:10Zttereshcttereshc@redhat.com
<pre><code>[56ad69b1c82c47c8a1015304813e99f9]: pulp_rpm.app.tasks.publishing:INFO: Publishing: repository=rpm-with-modules, version=1
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: pulp [56ad69b1c82c47c8a1015304813e99f9]: rq.worker:ERROR: Traceback (most recent call last):
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: File "/usr/local/lib/pulp/lib64/python3.6/site-packages/rq/worker.py", line 975, in perform_job
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: rv = job.perform()
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: File "/usr/local/lib/pulp/lib64/python3.6/site-packages/rq/job.py", line 696, in perform
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: self._result = self._execute()
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: File "/usr/local/lib/pulp/lib64/python3.6/site-packages/rq/job.py", line 719, in _execute
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: return self.func(*self.args, **self.kwargs)
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: File "/home/vagrant/devel/pulp-2to3-migration/pulp_2to3_migration/app/migration.py", line 224, in complex_repo_migration
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: migrated_repo.pulp3_repository_version
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: File "/home/vagrant/devel/pulp-2to3-migration/pulp_2to3_migration/app/migration.py", line 371, in migrate_repo_distributor
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: pulp2dist, repo_version)
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: File "/home/vagrant/devel/pulp-2to3-migration/pulp_2to3_migration/app/plugin/rpm/repository.py", line 79, in migrate_to_pulp3
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: publish(repo_version.pk, checksum_types=checksum_types, sqlite_metadata=sqlite)
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: File "/home/vagrant/devel/pulp_rpm/pulp_rpm/app/tasks/publishing.py", line 320, in publish
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: metadata_signing_service=metadata_signing_service,
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: File "/home/vagrant/devel/pulp_rpm/pulp_rpm/app/tasks/publishing.py", line 371, in create_repomd_xml
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: "thus can't be published. {}".format(package_checksum_type, ALLOWED_CHECKSUM_ERROR_MSG)
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: ValueError: Repository contains disallowed package checksum type 'None', thus can't be published. Checksum must be one of the allowed checksum types.
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: You can adjust these with the 'ALLOWED_CONTENT_CHECKSUMS' setting.
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: Traceback (most recent call last):
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: File "/usr/local/lib/pulp/lib64/python3.6/site-packages/rq/worker.py", line 975, in perform_job
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: rv = job.perform()
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: File "/usr/local/lib/pulp/lib64/python3.6/site-packages/rq/job.py", line 696, in perform
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: self._result = self._execute()
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: File "/usr/local/lib/pulp/lib64/python3.6/site-packages/rq/job.py", line 719, in _execute
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: return self.func(*self.args, **self.kwargs)
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: File "/home/vagrant/devel/pulp-2to3-migration/pulp_2to3_migration/app/migration.py", line 224, in complex_repo_migration
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: migrated_repo.pulp3_repository_version
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: File "/home/vagrant/devel/pulp-2to3-migration/pulp_2to3_migration/app/migration.py", line 371, in migrate_repo_distributor
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: pulp2dist, repo_version)
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: File "/home/vagrant/devel/pulp-2to3-migration/pulp_2to3_migration/app/plugin/rpm/repository.py", line 79, in migrate_to_pulp3
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: publish(repo_version.pk, checksum_types=checksum_types, sqlite_metadata=sqlite)
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: File "/home/vagrant/devel/pulp_rpm/pulp_rpm/app/tasks/publishing.py", line 320, in publish
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: metadata_signing_service=metadata_signing_service,
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: File "/home/vagrant/devel/pulp_rpm/pulp_rpm/app/tasks/publishing.py", line 371, in create_repomd_xml
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: "thus can't be published. {}".format(package_checksum_type, ALLOWED_CHECKSUM_ERROR_MSG)
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: ValueError: Repository contains disallowed package checksum type 'None', thus can't be published. Checksum must be one of the allowed checksum types.
Mar 18 12:54:14 pulp2-nightly-pulp3-source-centos7.rhtemp.example.com rq[13360]: You can adjust these with the 'ALLOWED_CONTENT_CHECKSUMS' setting.
</code></pre>
<p>It can be reproduced only outside if the RPM plugin (e.g. migration plugin), however the signature of the <code>publish</code> function is misleading, checksums parameter defaults to <code>None</code> but the code assumes that it's always set.
For RPM plugin it is always set indeed - before the task is triggered.</p> Migration Plugin - Issue #8200 (CLOSED - NOTABUG): ValueError: invalid literal for int() with bas...https://pulp.plan.io/issues/82002021-02-03T14:20:04Zjsherril@redhat.comjsherril@redhat.com
<pre><code>ValueError: invalid literal for int() with base 10: '1601956550.79'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/rq/worker.py", line 936, in perform_job
rv = job.perform()
File "/usr/lib/python3.6/site-packages/rq/job.py", line 684, in perform
self._result = self._execute()
File "/usr/lib/python3.6/site-packages/rq/job.py", line 690, in _execute
return self.func(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/tasks/migrate.py", line 141, in migrate_from_pulp2
migrate_content(plan, skip_corrupted=skip_corrupted)
File "/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/migration.py", line 47, in migrate_content
plugin.migrator.migrate_content_to_pulp3(skip_corrupted=skip_corrupted)
File "/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/plugin/rpm/migrator.py", line 145, in migrate_content_to_pulp3
loop.run_until_complete(dm.create())
File "/usr/lib64/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/plugin/content.py", line 90, in create
await pipeline
File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline
await asyncio.gather(*futures)
File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 43, in __call__
await self.run()
File "/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/plugin/content.py", line 182, in run
self.migrate_to_pulp3(cmodel, ctype)
File "/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/plugin/content.py", line 277, in migrate_to_pulp3
pulp3content, extra_info = pulp_2to3_detail_content.create_pulp3_content()
File "/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/plugin/rpm/pulp_2to3_models.py", line 774, in create_pulp3_content
treeinfo_serialized = self.get_treeinfo_serialized()
File "/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/plugin/rpm/pulp_2to3_models.py", line 745, in get_treeinfo_serialized
treeinfo.load(f=os.path.join(self.pulp2content.pulp2_storage_path, namespace))
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/kickstart/treeinfo.py", line 55, in load
super().load(f)
File "/usr/lib/python3.6/site-packages/productmd/common.py", line 263, in load
self.deserialize(parser)
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/kickstart/treeinfo.py", line 83, in deserialize
current.deserialize(parser)
File "/usr/lib/python3.6/site-packages/productmd/treeinfo.py", line 319, in deserialize
self.deserialize_1_0(parser)
File "/usr/lib/python3.6/site-packages/productmd/treeinfo.py", line 347, in deserialize_1_0
self.build_timestamp = parser.getint(self._section, "build_timestamp")
File "/usr/lib64/python3.6/configparser.py", line 819, in getint
fallback=fallback, **kwargs)
File "/usr/lib64/python3.6/configparser.py", line 809, in _get_conv
**kwargs)
File "/usr/lib64/python3.6/configparser.py", line 803, in _get
return conv(self.get(section, option, **kwargs))
ValueError: invalid literal for int() with base 10: '1601956550.79'
</code></pre> Pulp - Issue #8152 (CLOSED - CURRENTRELEASE): viewset_name stored for AccessPolicy doesn't take p...https://pulp.plan.io/issues/81522021-01-25T15:44:24Zttereshcttereshc@redhat.com
<p>Currently for the plugin viewsets like the subclasses of RepositoryVersion, which have a parent viewset, viewset_name for AccessPolicy is defined incorrectly.<br>
At the moment all plugin RepositoryVersions will have one default policy and one viewset_name used.<br>
It prevents each plugin to define their default policies, and to define different default policies for different types of the same resource within a plugin.</p>
<p>Current result (see the <code>viewset_name</code>)</p>
<pre><code>pulp_id | 266dcffc-7c8d-4516-8216-45378b217de8
pulp_created | 2021-01-25 12:34:17.932316+00
pulp_last_updated | 2021-01-25 12:34:17.932346+00
statements | [{"action": ["list"], "effect": "allow", "principal": "authenticated"}, {"action": ["retrieve"], "effect": "allow", "condition": "has_repo_model_or_obj_perm
s:container.view_containerpushrepository", "principal": "authenticated"}, {"action": ["destroy"], "effect": "allow", "condition": "has_pushrepoversion_delete_perms", "principal": "a
uthenticated"}]
viewset_name | versions
permissions_assignment |
</code></pre>
<p>Expected result:</p>
<pre><code>
pulp_id | ea39b491-1fca-4a2f-98bc-8ad99739f3e1
pulp_created | 2021-01-25 13:20:23.815131+00
pulp_last_updated | 2021-01-25 13:20:23.815152+00
statements | [{"action": ["list"], "effect": "allow", "principal": "authenticated"}, {"action": ["retrieve"], "effect": "allow", "condition": "has_repo_param_model_or_ob
j_perms:container.view_containerpushrepository", "principal": "authenticated"}, {"action": ["destroy"], "effect": "allow", "condition": "has_pushrepoversion_delete_perms", "principa
l": "authenticated"}]
viewset_name | repositories/container/container-push/versions
permissions_assignment |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
pulp_id | f9cbdaad-1490-4937-b8f1-5dc1550913a4
pulp_created | 2021-01-25 13:20:23.823607+00
pulp_last_updated | 2021-01-25 13:20:23.823656+00
statements | [{"action": ["list"], "effect": "allow", "principal": "authenticated"}, {"action": ["retrieve"], "effect": "allow", "condition": "has_repo_param_model_or_ob
j_perms:container.view_containerrepository", "principal": "authenticated"}, {"action": ["destroy"], "effect": "allow", "condition": "(has_repo_param_model_or_obj_perms:container.del
ete_containerrepository or has_repo_param_model_or_obj_perms:container.modify_content_containerrepository)", "principal": "authenticated"}]
viewset_name | repositories/container/container/versions
permissions_assignment |
</code></pre> Migration Plugin - Issue #7540 (CLOSED - CURRENTRELEASE): workers and resource-manager go missing...https://pulp.plan.io/issues/75402020-09-21T17:26:57Zjsherril@redhat.comjsherril@redhat.com
<p>When doing a large migration with ~300K rpms, my workers and resource-manager went missing. Upon further investigation, it appeared that postgresql was stuck in a large IO wait trying to commit a large transaction, for ~10-15 minutes.</p>
<p>My guess is that there is a very large transaction that needs to be broken up into smaller ones, probably around saving artifacts (although this is just a guess)</p> Migration Plugin - Issue #6853 (CLOSED - CURRENTRELEASE): When a repo is only specified among dis...https://pulp.plan.io/issues/68532020-05-28T13:06:57Zttereshcttereshc@redhat.com
<a name="Pulp-2-setup"></a>
<h4 >Pulp 2 setup<a href="#Pulp-2-setup" class="wiki-anchor">¶</a></h4>
<p>repo <code>rpm_unsigned</code> with content<br>
repo <code>empty</code> with no content (it's important that it's empty, otherwise you'll hit a known bug which I can't find - will file it)</p>
<p>2 yum_distributors, one for each.</p>
<a name="Migration-plan"></a>
<h4 >Migration plan<a href="#Migration-plan" class="wiki-anchor">¶</a></h4>
<pre><code> {
"plan": {
"plugins": [
{
"type": "rpm",
"repositories": [
{
"name": "rpm_unsigned",
"repository_versions": [
{
"pulp2_repository_id": "rpm_unsigned",
"pulp2_distributor_repository_ids": [
"rpm_unsigned",
"drpm"
]
}
]
}
]
}
]
}
}
</code></pre>
<a name="Expectations"></a>
<h4 >Expectations<a href="#Expectations" class="wiki-anchor">¶</a></h4>
<p>In Pulp 3, there will be one repo, one repo version, one publication and two distributors.</p>
<a name="Actual-results"></a>
<h4 >Actual results<a href="#Actual-results" class="wiki-anchor">¶</a></h4>
<p>One repo, one repo version, one publication and one distributor (for <code>rpm_unsigned</code> distributor).</p> Pulp - Issue #4313 (CLOSED - CURRENTRELEASE): Username is mutable and can be updated/changed via ...https://pulp.plan.io/issues/43132019-01-11T14:01:50Zttereshcttereshc@redhat.com
<p>Username is mutable and can be updated/changed via REST API.<br>
Is it on purpose? Do we rely anywhere on username?</p>
<p>Suggestion: make it immutable for now</p> File Support - Issue #4042 (CLOSED - CURRENTRELEASE): Update workflow in docs after changes of fi...https://pulp.plan.io/issues/40422018-09-27T07:54:29Zvdusek
<p>Recently fields of responses were changed (e.g. <a href="https://pulp.plan.io/issues/3978" class="external">https://pulp.plan.io/issues/3978</a>, <a href="https://pulp.plan.io/issues/3979" class="external">https://pulp.plan.io/issues/3979</a>). Workflow in docs should be updated.</p> RPM Support - Issue #4013 (CLOSED - CURRENTRELEASE): UpdateRecord index row size is too largehttps://pulp.plan.io/issues/40132018-09-14T16:31:12Zttereshcttereshc@redhat.com
<p>To reproduce sync EPEL repo <a href="https://dl.fedoraproject.org/pub/epel/7/x86_64/" class="external">https://dl.fedoraproject.org/pub/epel/7/x86_64/</a><br>
Index for the UpdateRecord: <a href="https://github.com/pulp/pulp_rpm/blob/cf68be94f7b758faa24948e68f5050dedc4b4d33/pulp_rpm/app/models.py#L330" class="external">https://github.com/pulp/pulp_rpm/blob/cf68be94f7b758faa24948e68f5050dedc4b4d33/pulp_rpm/app/models.py#L330</a></p>
<pre><code>Sep 14 16:19:47 pulp3.dev rq[9581]: Traceback (most recent call last):
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute
Sep 14 16:19:47 pulp3.dev rq[9581]: return self.cursor.execute(sql, params)
Sep 14 16:19:47 pulp3.dev rq[9581]: psycopg2.OperationalError: index row size 3656 exceeds maximum 2712 for index "pulp_rpm_updaterecord_errata_id_updated_date_d_cc03c752_uniq"
Sep 14 16:19:47 pulp3.dev rq[9581]: HINT: Values larger than 1/3 of a buffer page cannot be indexed.
Sep 14 16:19:47 pulp3.dev rq[9581]: Consider a function index of an MD5 hash of the value, or use full text indexing.
Sep 14 16:19:47 pulp3.dev rq[9581]: The above exception was the direct cause of the following exception:
Sep 14 16:19:47 pulp3.dev rq[9581]: Traceback (most recent call last):
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/rq/worker.py", line 793, in perform_job
Sep 14 16:19:47 pulp3.dev rq[9581]: rv = job.perform()
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/rq/job.py", line 599, in perform
Sep 14 16:19:47 pulp3.dev rq[9581]: self._result = self._execute()
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/rq/job.py", line 605, in _execute
Sep 14 16:19:47 pulp3.dev rq[9581]: return self.func(*self.args, **self.kwargs)
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/devel/pulp_rpm/pulp_rpm/app/tasks/synchronizing.py", line 69, in synchronize
Sep 14 16:19:47 pulp3.dev rq[9581]: loop.run_until_complete(pipeline)
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/usr/lib64/python3.6/asyncio/base_events.py", line 468, in run_until_complete
Sep 14 16:19:47 pulp3.dev rq[9581]: return future.result()
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/devel/pulp/plugin/pulpcore/plugin/stages/api.py", line 58, in create_pipeline
Sep 14 16:19:47 pulp3.dev rq[9581]: await asyncio.gather(*futures)
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/devel/pulp/plugin/pulpcore/plugin/stages/content_unit_stages.py", line 152, in __call__
Sep 14 16:19:47 pulp3.dev rq[9581]: declarative_content.content.save()
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/devel/pulp/pulpcore/pulpcore/app/models/base.py", line 83, in save
Sep 14 16:19:47 pulp3.dev rq[9581]: return super().save(*args, **kwargs)
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/db/models/base.py", line 718, in save
Sep 14 16:19:47 pulp3.dev rq[9581]: force_update=force_update, update_fields=update_fields)
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/db/models/base.py", line 748, in save_base
Sep 14 16:19:47 pulp3.dev rq[9581]: updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/db/models/base.py", line 831, in _save_table
Sep 14 16:19:47 pulp3.dev rq[9581]: result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/db/models/base.py", line 869, in _do_insert
Sep 14 16:19:47 pulp3.dev rq[9581]: using=using, raw=raw)
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
Sep 14 16:19:47 pulp3.dev rq[9581]: return getattr(self.get_queryset(), name)(*args, **kwargs)
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/db/models/query.py", line 1136, in _insert
Sep 14 16:19:47 pulp3.dev rq[9581]: return query.get_compiler(using=using).execute_sql(return_id)
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/db/models/sql/compiler.py", line 1289, in execute_sql
Sep 14 16:19:47 pulp3.dev rq[9581]: cursor.execute(sql, params)
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/db/backends/utils.py", line 100, in execute
Sep 14 16:19:47 pulp3.dev rq[9581]: return super().execute(sql, params)
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/db/backends/utils.py", line 68, in execute
Sep 14 16:19:47 pulp3.dev rq[9581]: return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers
Sep 14 16:19:47 pulp3.dev rq[9581]: return executor(sql, params, many, context)
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute
Sep 14 16:19:47 pulp3.dev rq[9581]: return self.cursor.execute(sql, params)
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/db/utils.py", line 89, in __exit__
Sep 14 16:19:47 pulp3.dev rq[9581]: raise dj_exc_value.with_traceback(traceback) from exc_value
Sep 14 16:19:47 pulp3.dev rq[9581]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute
Sep 14 16:19:47 pulp3.dev rq[9581]: return self.cursor.execute(sql, params)
Sep 14 16:19:47 pulp3.dev rq[9581]: django.db.utils.OperationalError: index row size 3656 exceeds maximum 2712 for index "pulp_rpm_updaterecord_errata_id_updated_date_d_cc03c752_uniq"
Sep 14 16:19:47 pulp3.dev rq[9581]: HINT: Values larger than 1/3 of a buffer page cannot be indexed.
Sep 14 16:19:47 pulp3.dev rq[9581]: Consider a function index of an MD5 hash of the value, or use full text indexing.
</code></pre> Pulp - Issue #3978 (CLOSED - CURRENTRELEASE): Operation postponed response contains too much info...https://pulp.plan.io/issues/39782018-09-05T13:51:52Zdkliban@redhat.com
<p>When a user performs a sync, repository_version creation, or a publish she is presented with a 202 response with the following schema:</p>
<pre><code>{
"_href": "/pulp/api/v3/some-task-id/",
"task_id": "some-task-id"
}
</code></pre>
<p>The `task_id` is not necessary because users are supposed to use resource HREFs as identifiers. The `_href` field is not descriptive enough on it's own. A better response would look like</p>
<pre><code>{
"task": "/pulp/api/v3/some-task-id/"
}
</code></pre> Ansible Plugin - Issue #3898 (CLOSED - CURRENTRELEASE): Filters inherit from a Django's FilterSet...https://pulp.plan.io/issues/38982018-08-02T15:13:08Zvdusek
<p>AnsibleRoleFilter and AnsibleRoleVersionFilter inherit from Django's filterset.FilterSet class not from our BaseFilterSet. I suppose this could cause problems in generating documentation.</p> Pulp - Issue #3846 (CLOSED - WONTFIX): Wrong status codehttps://pulp.plan.io/issues/38462018-07-10T09:07:34Zvdusek
<p>When I want to create a repository with a name which is already used for another repository, it returns status code 400 - Bad Request. According to this topic <a href="https://stackoverflow.com/questions/3825990/http-response-code-for-post-when-resource-already-exists" class="external">HTTP response code for POST when resource already exists</a> I would suggest use 409 - Conflict.</p> File Support - Issue #3827 (CLOSED - CURRENTRELEASE): Filters on content list lack help texthttps://pulp.plan.io/issues/38272018-07-06T17:33:51ZdaviddavisPulp - Issue #3826 (CLOSED - CURRENTRELEASE): Range filter help text should specify the format al...https://pulp.plan.io/issues/38262018-07-06T17:31:54Zdaviddavis
<p>We have some range filters like <code>last_updated__range</code> but it's not clear how to format the input to these filters.</p> Pulp - Issue #3825 (CLOSED - CURRENTRELEASE): Date filter help text should specify the format of ...https://pulp.plan.io/issues/38252018-07-06T17:30:31Zdaviddavis
<p>We have a bunch of date filters but it's not clear what formats they allow.</p>