<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openstack/kolla.git/kolla/tests, branch train-eol</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.platform-os.org/openstack/kolla.git/atom?h=train-eol</id>
<link rel='self' href='https://git.platform-os.org/openstack/kolla.git/atom?h=train-eol'/>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/'/>
<updated>2020-04-04T18:53:49+00:00</updated>
<entry>
<title>Fix --skip-existing and --skip-parents</title>
<updated>2020-04-04T18:53:49+00:00</updated>
<author>
<name>Mark Goddard</name>
<email>mark@stackhpc.com</email>
</author>
<published>2020-03-16T12:54:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=c59dc07e9031eaf127b4222a66efc06db29454d2'/>
<id>urn:sha1:c59dc07e9031eaf127b4222a66efc06db29454d2</id>
<content type='text'>
There are currently a few corner cases with the --skip-existing and
--skip-parents flags. Examples:

1. kolla-build --type source --skip-parents monasca-grafana

This does not try to build the monasca-grafana image. This appears to be
an issue when the image is a grandchild.

2. kolla-build --type source --skip-parents

This will build all images. Expect it to skip parents.

3. kolla-build --type source --skip-existing

This will build all images. Expect it to skip existing images.

The filter_images method does quite a lot, including handling
whether images are buildable, regex/profile matching, and which images
to skip. The matching and skipping parts are done in a single pass,
which can lead to some weird effects due to dependencies between the
images and their statuses. Also, skipping is only currently applied when
there is a regex/profile filter.

This change splits out the matching and skipping into two separate
passes. In the first pass, we mark all buildable images that match the
filter as matched. In the second, we iterate over matched images,
applying the skip existing and skip parents rules.

Change-Id: I2f895aea0cc59d808129e9fc636af0890196af33
Closes-Bug: #1867614
Related-Bug: #1810979
(cherry picked from commit dfddcce3a5bc98cbd177c984fd9d0a8bab51d40c)
</content>
</entry>
<entry>
<title>handle push error properly</title>
<updated>2019-10-16T05:02:16+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2019-10-14T11:36:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=52cac09d3d0b8dcdbc8d68a0bcc8092008220309'/>
<id>urn:sha1:52cac09d3d0b8dcdbc8d68a0bcc8092008220309</id>
<content type='text'>
If there was some error during pushing then Kolla was greeting with "all went
fine" message anyway:

INFO:kolla.common.utils.aodh-api:Trying to push the image
ERROR:kolla.common.utils.aodh-api:Get http://10.101.16.1:5000/v2/: dial tcp 10.101.16.1:5000: connect: no route to host
INFO:kolla.common.utils.aodh-api:Pushed successfully

This patch changes that. Now if there is an error during push then proper
exception is raised to PushTask and image is marked with PUSH_ERROR status.

This way at the end of build it is easy to spot which images did not got
pushed to registry:

INFO:kolla.common.utils:===========================
INFO:kolla.common.utils:Images that failed to build
INFO:kolla.common.utils:===========================
ERROR:kolla.common.utils:base Failed with status: push_error
ERROR:kolla.common.utils:nova-api Failed with status: push_error
ERROR:kolla.common.utils:nova-base Failed with status: push_error
ERROR:kolla.common.utils:nova-compute Failed with status: push_error
ERROR:kolla.common.utils:nova-compute-ironic Failed with status: push_error
ERROR:kolla.common.utils:nova-conductor Failed with status: push_error

Closes-Bug: #1848019
Change-Id: Id2ab97bf4c0dc3423268a0ea435b56f4a65f7196
</content>
</entry>
<entry>
<title>Fix retries when pushing images</title>
<updated>2019-09-19T16:20:50+00:00</updated>
<author>
<name>Mark Goddard</name>
<email>mark@stackhpc.com</email>
</author>
<published>2019-09-19T16:20:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=f8ded663891f79c289156ee61d4e02197d80ce7a'/>
<id>urn:sha1:f8ded663891f79c289156ee61d4e02197d80ce7a</id>
<content type='text'>
Currently the retry mechanism is broken for pushing because the image
state gets set to an error state, and is never reset to 'built'. This
prevents the PushTask from setting success to True.

This change sets the image state to 'built' if the push succeeds,
ensuring it overrides any previous failures.

Change-Id: I93fc0e383da8fec6b3ca31f8094321c2a0c3af71
Closes-Bug: #1844697
</content>
</entry>
<entry>
<title>Remove support for OracleLinux</title>
<updated>2019-09-18T12:42:47+00:00</updated>
<author>
<name>Mark Goddard</name>
<email>mark@stackhpc.com</email>
</author>
<published>2019-09-18T11:40:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=fa8e174be6bc5b4d555258197938da9da40bfa81'/>
<id>urn:sha1:fa8e174be6bc5b4d555258197938da9da40bfa81</id>
<content type='text'>
We have agreed to remove support for Oracle Linux.

http://lists.openstack.org/pipermail/openstack-discuss/2019-June/006896.html

Change-Id: I961dfba1aeef2c509ecdaf376dfe6928926ffb39
Depends-On: https://review.opendev.org/682858
</content>
</entry>
<entry>
<title>Change how build process treats unbuildable images</title>
<updated>2019-07-21T17:39:06+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2019-07-18T13:54:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=3a4b223d6a103c635ec5838060b077fe9638672a'/>
<id>urn:sha1:3a4b223d6a103c635ec5838060b077fe9638672a</id>
<content type='text'>
We have a list of images which are unbuildable for distro/buildtype/arch
combos. This patch renames it from SKIPPED_IMAGES to UNBUILDABLE_IMAGES
because 'skipped' images is something else in our code.

Now all unbuildable images are marked as such and so are their children.

At the end of build there is information provided about skipped images
(due to --skip-parents or --skip-existing options) and then information
about not buildable images. Both list should only contain entries
related to requested build.

Change-Id: If9b521339f564e483cba03d52e7c4eba271821a5
</content>
</entry>
<entry>
<title>Debian/Ubuntu: move to Python 3 for source images</title>
<updated>2019-06-06T10:59:03+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2019-03-08T17:50:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=d436001b43f0a7e3c161ac4a2c5d09d36c6f1015'/>
<id>urn:sha1:d436001b43f0a7e3c161ac4a2c5d09d36c6f1015</id>
<content type='text'>
Commit 43b74ccc157c0b50138c3785ed91dab504895571 enabled use of Python 3
based packages but not switched to use Python 3.

Some of images still contain Python 2. There are two reasons:

- Ceph (ceph-common depends on Py2)
- python3-ldappool on Ubuntu 18.04

In Ceph situation Py3 packages were added. For second one we can not do
anything - Py2 dependency got dropped in Ubuntu 18.10 version.

Removed neutron-server-plugin-networking-infoblox due to being not
maintained. Once https://review.opendev.org/#/c/657578/ get merged
someone may revert that part.

Implements: blueprint debian-ubuntu-python3

Depends-on: Ie2a1077f7def0743f1403341985e2109aa490026

Change-Id: Ibfe0c2b8be98db56c61f74fb0247488ab3749ef4
</content>
</entry>
<entry>
<title>Move to opendev</title>
<updated>2019-04-24T07:22:57+00:00</updated>
<author>
<name>ZhongShengping</name>
<email>chdzsp@163.com</email>
</author>
<published>2019-04-22T07:24:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=4fc5f1cc6ec7a3722f518ca12cca50677ac801cb'/>
<id>urn:sha1:4fc5f1cc6ec7a3722f518ca12cca50677ac801cb</id>
<content type='text'>
1.Use opendev.org instead of git.openstack.org.
2.Use review.opendev.org instead of review.openstack.org.

You can see the discussion below:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html

Change-Id: I377ea63827b6f3995ee275fdc466c1b2100eafc7
</content>
</entry>
<entry>
<title>Add distro_package_manager configuration</title>
<updated>2019-03-12T18:24:29+00:00</updated>
<author>
<name>Alex Schultz</name>
<email>aschultz@redhat.com</email>
</author>
<published>2019-02-25T23:04:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=78c819d6232b3fa5c6fb6aa5ea85a54c596f0b56'/>
<id>urn:sha1:78c819d6232b3fa5c6fb6aa5ea85a54c596f0b56</id>
<content type='text'>
Add configuration to allow the switch between dnf/yum or provide an
alternative package manager.

Change-Id: I913769fcf5875a12b4561958cf7c90b74cd116ea
</content>
</entry>
<entry>
<title>replace 'distro_python3' variable with 'distro_python_version'</title>
<updated>2019-03-12T17:13:46+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2019-03-08T12:19:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=8df6eb01184672ffdc752437ea4d98d13f16026e'/>
<id>urn:sha1:8df6eb01184672ffdc752437ea4d98d13f16026e</id>
<content type='text'>
RHEL7 derived distros use Python 2.7
RHEL8 uses Python 3.6
Ubuntu 18.04 uses Python 3.6, but we haven't enabled it yet.
Debian:buster uses Python 3.7, but we haven't enabled it yet.

We have several places in code where "/lib/pythonX.Y/site-packages"
is used so we need to know value of X.Y rather than py2/py3 switch.

How to check for Python 2:

{% if distro_python_version == '2.7' %}

Breaks: Iad6b70b433a0dd1b0f8ae6790fd280594517661a
Change-Id: Ie24f109af19ae0438c21e0d43cb3cc947812b4ce
</content>
</entry>
<entry>
<title>Add base_package_type</title>
<updated>2019-01-16T15:36:44+00:00</updated>
<author>
<name>Alex Schultz</name>
<email>aschultz@redhat.com</email>
</author>
<published>2019-01-15T23:33:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=fca732b81e4eb5daa56da16e338bdd305a56d5bd'/>
<id>urn:sha1:fca732b81e4eb5daa56da16e338bdd305a56d5bd</id>
<content type='text'>
Currently in all the Dockerfile.j2 files, we are doing base distro if
conditions for package names when installing via a binary.  Rather than
duplicating these base_distro in [&lt;distros&gt;], let's provide a single
value for determining the binary installation method. This change adds a
base_package_type which we can use to lookup if 'rpm' or if 'deb' rather
than relying on specific distro names.

Change-Id: I8a0c6c8fbc32a8cfa6932fddf28a449fceda3d49
</content>
</entry>
</feed>
