Project

Profile

Help

Issue #9229

push operation does not save config blob with the correct media_type

Added by ipanova@redhat.com 2 months ago. Updated 8 days ago.

Status:
POST
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

After push operation Config Blob is saved with media_type from a Regular Blob. This issue does not seem to affect pull operation hence priority is not 'everything is on fire ' :)

After podman push :


In [5]: Manifest.objects.first().config_blob.media_type
Out[5]: 'application/vnd.docker.image.rootfs.diff.tar.gzip'

In [6]: Blob.objects.distinct("media_type").values_list('media_type', flat=True)
Out[6]: <QuerySet ['application/vnd.docker.image.rootfs.diff.tar.gzip']>

https://github.com/pulp/pulp_container/blob/master/pulp_container/app/registry_api.py#L685

History

#1 Updated by ipanova@redhat.com 2 months ago

  • Description updated (diff)

#2 Updated by ipanova@redhat.com 2 months ago

  • Description updated (diff)

#3 Updated by mdellweg about 2 months ago

  • Triaged changed from No to Yes

#4 Updated by pulpbot 8 days ago

  • Status changed from NEW to POST

Please register to edit this issue

Also available in: Atom PDF