Skip to content

Resolved #215715 Podman receives 422 unprocessable entity pushing new image

Derek Wright requested to merge derekmwright/gitlab:215715 into master

What does this MR do?

Resolves issue #215715 (closed) - makes the ContainerRepository.build_from_path and ContainerRepository.create_from_path! methods a bit more idempotent to eliminate possible race condition when using podman.

Fix tested and works, may be a more succinct way of accomplishing but this is the temp fix in place on my install.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports