<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openstack/kolla.git/kolla/image/tasks.py, branch stable/2026.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.platform-os.org/openstack/kolla.git/atom?h=stable%2F2026.1</id>
<link rel='self' href='https://git.platform-os.org/openstack/kolla.git/atom?h=stable%2F2026.1'/>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/'/>
<updated>2026-03-30T18:47:21+00:00</updated>
<entry>
<title>Add OCI standard labels to container images</title>
<updated>2026-03-30T18:47:21+00:00</updated>
<author>
<name>Piotr Milewski</name>
<email>vurmil@gmail.com</email>
</author>
<published>2025-12-23T09:30:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=cbca935b87b4606534fc08d2cae80d864af51c7c'/>
<id>urn:sha1:cbca935b87b4606534fc08d2cae80d864af51c7c</id>
<content type='text'>
Currently, Kolla images lack standard metadata, making it difficult
to identify their build source, creation time, or exact version solely
by inspecting the image artifact.

This patch introduces the addition of Open Container Initiative (OCI)
standard labels to all generated images. The build process now detects
metadata (utilizing `direct_url.json` for pip-installed packages to
avoid subprocess calls) and injects the following labels into the
container runtime config:

* org.opencontainers.image.authors
* org.opencontainers.image.created
* org.opencontainers.image.description
* org.opencontainers.image.licenses
* org.opencontainers.image.revision
* org.opencontainers.image.source
* org.opencontainers.image.title
* org.opencontainers.image.url
* org.opencontainers.image.version

Example output:
    "Labels": {
        "org.opencontainers.image.authors": "Kolla Project (https://launchpad.net/kolla)",
        "org.opencontainers.image.created": "2025-12-22T14:02:47.015819",
        "org.opencontainers.image.description": "OpenStack Kolla keystone-ssh image",
        "org.opencontainers.image.licenses": "Apache-2.0",
        "org.opencontainers.image.revision": "96b54022857ccef8dc6bb11789abe32119827109",
        "org.opencontainers.image.source": "https://opendev.org/openstack/kolla",
        "org.opencontainers.image.title": "keystone-ssh",
        "org.opencontainers.image.url": "https://opendev.org/openstack/kolla",
        "org.opencontainers.image.version": "master-ubuntu-noble"
    }

This enhancement improves the interoperability of Kolla images with
standard container tools and registries that display OCI metadata.

Change-Id: I3451940c90180ba91759c839987434e94251e32e
Signed-off-by: Piotr Milewski &lt;vurmil@gmail.com&gt;
</content>
</entry>
<entry>
<title>send empty X-Registry-Auth for anonymous pushes</title>
<updated>2025-08-06T09:50:39+00:00</updated>
<author>
<name>Bartosz Bezak</name>
<email>bartosz@stackhpc.com</email>
</author>
<published>2025-08-04T09:31:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=ddac7ca1ed393609b7bda8753db3598f1ae02648'/>
<id>urn:sha1:ddac7ca1ed393609b7bda8753db3598f1ae02648</id>
<content type='text'>
Since Docker 28.3.3 the daemon rejects a push that carries no
`X-Registry-Auth` header [1]. The SDK already sets this header when it
finds credentials, so the breakage happens only on anonymous pushes.

During `PushTask.push_image()` we now check whether the SDK can resolve
credentials for the target registry; if it cannot, we inject
`auth_config={}`, causing the SDK to send the minimal "{}" header that
satisfies the daemon while leaving authenticated pushes unchanged.

Drop this addition when [2] is fixed.

[1] https://github.com/moby/moby/pull/50371
[2] https://github.com/docker/docker-py/issues/3348

Closes-Bug: #2119619

Change-Id: I7a2f3fce223afd74741b40bf62836b325fca5b19
Signed-off-by: Bartosz Bezak &lt;bartosz@stackhpc.com&gt;
</content>
</entry>
<entry>
<title>Remove Git remote origin after cloning sources</title>
<updated>2025-02-19T22:43:19+00:00</updated>
<author>
<name>Michal Arbet</name>
<email>michal.arbet@ultimum.io</email>
</author>
<published>2025-02-19T22:22:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=405f95019354b9be45a750e246127bd9c68d2508'/>
<id>urn:sha1:405f95019354b9be45a750e246127bd9c68d2508</id>
<content type='text'>
When kolla is cloning a Git repository during the build
process, the `.git/config` file retains the remote
origin URL, which may expose sensitive credentials if
authentication tokens are embedded in the URL.

This fix ensures that the remote is removed after cloning
to prevent unintended exposure of credentials.

Closes-Bug: #2098904
Change-Id: Iec21fc2363e03133ec77326da7392bc25b40132a
</content>
</entry>
<entry>
<title>Check if archive is tarfile</title>
<updated>2024-08-27T20:20:32+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>mnasiadka@gmail.com</email>
</author>
<published>2024-03-26T11:07:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=ece67cd2aec82d661ba355ce6bc6e41bb88001b6'/>
<id>urn:sha1:ece67cd2aec82d661ba355ce6bc6e41bb88001b6</id>
<content type='text'>
Change-Id: I802267d848c1dee722015b0d379bd9210f6c103e
</content>
</entry>
<entry>
<title>Merge "add: cross-compile support"</title>
<updated>2024-03-28T16:29:14+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2024-03-28T16:29:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=95a671b00df7625a357aa73f99f75965cb08aff2'/>
<id>urn:sha1:95a671b00df7625a357aa73f99f75965cb08aff2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move curl sources to sources.py</title>
<updated>2024-02-21T08:26:52+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>mnasiadka@gmail.com</email>
</author>
<published>2024-02-14T13:02:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=750a137815f1ca58c7e65d23e9d63403ea282b1a'/>
<id>urn:sha1:750a137815f1ca58c7e65d23e9d63403ea282b1a</id>
<content type='text'>
Move most curl sources to sources.py, so it can be automatically
updated in future.

This also makes overriding the versions/locations/sha256 easier.

Change-Id: Ib3497fe96162ae190e5c113cacaaa3ef8334f590
</content>
</entry>
<entry>
<title>add: cross-compile support</title>
<updated>2024-02-08T00:16:05+00:00</updated>
<author>
<name>Tadas Sutkaitis</name>
<email>tadasas@gmail.com</email>
</author>
<published>2023-07-20T21:44:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=3ee1a82d8761902a75e075ccbcd8e9e02a226051'/>
<id>urn:sha1:3ee1a82d8761902a75e075ccbcd8e9e02a226051</id>
<content type='text'>
The main goal is to be able to build ARM
images on standard x86 hardware. Add simple
functions supported by python-py and
podman-py to enable creation of container
images on emulated architectures.

Change-Id: I1526b460f6e271c2ec63ab3a3b1dc348d742e96d
</content>
</entry>
<entry>
<title>Handle the case where docker is not available</title>
<updated>2023-11-28T11:07:42+00:00</updated>
<author>
<name>Bartosz Bezak</name>
<email>bartosz@stackhpc.com</email>
</author>
<published>2023-11-28T11:02:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=ef4bd9bbcd2b8b1df067004b806ee6cbcf2f6467'/>
<id>urn:sha1:ef4bd9bbcd2b8b1df067004b806ee6cbcf2f6467</id>
<content type='text'>
Change-Id: I473ea1c68d2fd7f15fa0545d77892276b1accfeb
</content>
</entry>
<entry>
<title>Fix build errors missing podman/docker module</title>
<updated>2023-09-29T04:59:16+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>mnasiadka@gmail.com</email>
</author>
<published>2023-09-26T19:38:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=1d204e759ae5ac46b3fb6fe4ecfcfd819b8392b6'/>
<id>urn:sha1:1d204e759ae5ac46b3fb6fe4ecfcfd819b8392b6</id>
<content type='text'>
Example:
Traceback (most recent call last):
  File "/home/ubuntu/kolla/kolla/image/build.py", line 79, in run
    task.run()
  File "/home/ubuntu/kolla/kolla/image/tasks.py", line 144, in run
    self.builder(self.image)
  File "/home/ubuntu/kolla/kolla/image/tasks.py", line 424, in builder
    if isinstance(e, podman.errors.exceptions.BuildError):
NameError: name 'podman' is not defined

Change-Id: I947c77750b3ccfb975e010c2042a3716e3e46bde
</content>
</entry>
<entry>
<title>Add podman for image building</title>
<updated>2023-09-21T09:01:21+00:00</updated>
<author>
<name>Michal Arbet</name>
<email>michal.arbet@ultimum.io</email>
</author>
<published>2023-09-12T00:28:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=b76bd4c6efa22af43d7895a7b5e95c75806d3893'/>
<id>urn:sha1:b76bd4c6efa22af43d7895a7b5e95c75806d3893</id>
<content type='text'>
Add podman as an option to choose for container engine
for kolla-build (--engine podman)

Signed-off-by: Konstantin Yarovoy &lt;konstantin.yarovoy@tietoevry.com&gt;
Co-Authored-By: Michal Arbet &lt;michal.arbet@ultimum.io&gt;
Change-Id: I068c906df97745e397408d8c3ef6af47ee037638
</content>
</entry>
</feed>
