Container image build fails if docker registry includes port

Bug #2054715 reported by Will Szumski
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kayobe
Fix Released
Undecided
Unassigned

Bug Description

The error is:

```
raise errors.DockerException(", "docker.errors.DockerException: invalid tag 'mirror.bhs1.ovh.opendev.org:4447/openstack.kolla/base:master-rocky-9': invalid reference format", "INFO:kolla.common.utils:Attempt number: 2 to run task: BuildTask(base) "
```
```

When building images.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kayobe (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/kayobe/+/909913

Changed in kayobe:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kayobe (master)

Reviewed: https://review.opendev.org/c/openstack/kayobe/+/909913
Committed: https://opendev.org/openstack/kayobe/commit/9c1951478f06a9244b5bdc5fbd356b3872543d24
Submitter: "Zuul (22348)"
Branch: master

commit 9c1951478f06a9244b5bdc5fbd356b3872543d24
Author: Will Szumski <email address hidden>
Date: Thu Feb 22 16:23:52 2024 +0000

    Skip buggy release of docker PyPI package

    The tag regex is buggy and fails if the docker registry contains a port
    number[1].

    [1] https://github.com/docker/docker-py/issues/3195

    Change-Id: I5d85e751b490ab1e39e417ff8797ca8f8688590b
    Closes-Bug: #2054715

Changed in kayobe:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.