Actions
Issue #7774
closed`podman push` leads to missing checksums on the Artifacts
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 86
Quarter:
Description
$ podman push localhost:24817/my-repo1:my-tag
Getting image source signatures
Copying blob 78075328e0da done
Copying blob 9f8566ee5135 done
Copying blob bf6c6e063560 done
Copying blob 20dd87a4c2ab done
Copying blob 2a96d4965a5f done
Copying blob d7d35bef3536 done
Copying config de2c82423e done
Writing manifest to image destination
Storing signatures
(pulp) [vagrant@pulp3-source-fedora32 _scripts]$ django-admin shell_plus
Traceback (most recent call last):
File "/usr/local/lib/pulp/bin/django-admin", line 8, in <module>
sys.exit(execute_from_command_line())
File "/usr/local/lib/pulp/lib64/python3.8/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/usr/local/lib/pulp/lib64/python3.8/site-packages/django/core/management/__init__.py", line 357, in execute
django.setup()
File "/usr/local/lib/pulp/lib64/python3.8/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/pulp/lib64/python3.8/site-packages/django/apps/registry.py", line 122, in populate
app_config.ready()
File "/home/vagrant/devel/pulpcore/pulpcore/app/apps.py", line 81, in ready
self.import_viewsets()
File "/home/vagrant/devel/pulpcore/pulpcore/app/apps.py", line 110, in import_viewsets
from pulpcore.app.viewsets import NamedModelViewSet
File "/home/vagrant/devel/pulpcore/pulpcore/app/viewsets/__init__.py", line 1, in <module>
from .base import ( # noqa
File "/home/vagrant/devel/pulpcore/pulpcore/app/viewsets/base.py", line 17, in <module>
from pulpcore.app import tasks
File "/home/vagrant/devel/pulpcore/pulpcore/app/tasks/__init__.py", line 1, in <module>
from pulpcore.app.tasks import base, repository, upload # noqa
File "/home/vagrant/devel/pulpcore/pulpcore/app/tasks/upload.py", line 6, in <module>
from pulpcore.app.serializers import ArtifactSerializer
File "/home/vagrant/devel/pulpcore/pulpcore/app/serializers/__init__.py", line 42, in <module>
from .exporter import ( # noqa
File "/home/vagrant/devel/pulpcore/pulpcore/app/serializers/exporter.py", line 8, in <module>
from pulpcore.app import models, settings
File "/home/vagrant/devel/pulpcore/pulpcore/app/settings.py", line 300, in <module>
raise e
File "/home/vagrant/devel/pulpcore/pulpcore/app/settings.py", line 292, in <module>
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: ALLOWED_CONTENT_CHECKSUMS cannot contain checksum 'sha224' since checksums can only be removed and not added to ALLOWED_CONTENT_CHECKSUMS in existing deployments.
(pulp) [vagrant@pulp3-source-fedora32 _scripts]$ http GET :24817/pulp/api/v3/artifacts/
HTTP/1.1 200 OK
Allow: GET, POST, HEAD, OPTIONS
Connection: close
Content-Length: 5294
Content-Type: application/json
Date: Mon, 02 Nov 2020 17:18:12 GMT
Server: gunicorn/20.0.4
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN
{
"count": 8,
"next": null,
"previous": null,
"results": [
{
"file": "artifact/de/2c82423e49665429b8246cb573dde7e7f2263bf4c734893ed48a553e8b0c77",
"md5": "f8a6c82a9c037547062a09f08173ae3b",
"pulp_created": "2020-11-02T17:17:51.785405Z",
"pulp_href": "/pulp/api/v3/artifacts/29efd83e-0780-4f55-9107-b96b7812150b/",
"sha1": "94bfada6eba6b6ec85d1b0510fc8ba6c68cf49fe",
"sha224": null,
"sha256": "de2c82423e49665429b8246cb573dde7e7f2263bf4c734893ed48a553e8b0c77",
"sha384": "a76f0b0ea1ad893bdc3a72d26a83aaa220633fccd3096f2936d8c51eb7bf63e07dd27194a51fc2072b158883b223fc58",
"sha512": "c6828eba63ada2ce6ca874e45a976be69b60e0040e42fc25da3e3f08ea49b57b9cf3b52197c4106749412f3ebc2e2b83742209affe8ac0d0deef73462c611f64",
"size": 4221
},
{
"file": "artifact/e0/7f54af9717cb6c46833282955bdc9d2d4360cfe3d5b75b1aa9285412450ce0",
"md5": "11f3aad27b29dd5a797e350ed3a61a3c",
"pulp_created": "2020-11-02T17:17:51.605868Z",
"pulp_href": "/pulp/api/v3/artifacts/a1141399-7caf-462c-9973-97baeb774ca4/",
"sha1": "10aa5bbaaa823772e733dfeb30c5df3c38d781db",
"sha224": null,
"sha256": "e07f54af9717cb6c46833282955bdc9d2d4360cfe3d5b75b1aa9285412450ce0",
"sha384": "9fc6b86ac2f227e0dc40cf5c441f6e9fd1db46fe88b578eb759eb94caf8bb2b11d7e45353f408c2c7fb40cdb0ee5266a",
"sha512": "f8e4788f8239f6502204eb401aa1a5e0b9ce658e2baddba66e42158c6c87560bfe62105a66c532949ef1068a803e2d1355f345c04b5ec53860a5ab0ab72e997a",
"size": 41947743
},
Related issues
Actions
Fixed a bug where Artifacts were missing sha224 checksum after
podman push
.closes #7774 https://pulp.plan.io/issues/7774