<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openstack/kolla.git/kolla/tests, branch stein-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=stein-eol</id>
<link rel='self' href='https://git.platform-os.org/openstack/kolla.git/atom?h=stein-eol'/>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/'/>
<updated>2019-10-16T10:38:14+00:00</updated>
<entry>
<title>handle push error properly</title>
<updated>2019-10-16T10:38:14+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=d6f46d544fd757fdc811d738422f85e64a6dc09b'/>
<id>urn:sha1:d6f46d544fd757fdc811d738422f85e64a6dc09b</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
(cherry picked from commit 52cac09d3d0b8dcdbc8d68a0bcc8092008220309)
</content>
</entry>
<entry>
<title>Fix retries when pushing images</title>
<updated>2019-09-20T14:15:18+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=f79df0f25e096f984c1c83b7048979ca2b167555'/>
<id>urn:sha1:f79df0f25e096f984c1c83b7048979ca2b167555</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
(cherry picked from commit f8ded663891f79c289156ee61d4e02197d80ce7a)
</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>
<entry>
<title>Add distro_python3 option</title>
<updated>2019-01-16T15:27:44+00:00</updated>
<author>
<name>Alex Schultz</name>
<email>aschultz@redhat.com</email>
</author>
<published>2019-01-15T22:56:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=3410a6165af199992c0b06eaf603dd0dde72c4b0'/>
<id>urn:sha1:3410a6165af199992c0b06eaf603dd0dde72c4b0</id>
<content type='text'>
As we add support for python3 on RHEL based systems, we need to add a
flag to key off of in the Dockerfiles to swap out the python3 package
names.  This change adds a distro_python3 configuration option that can
be defined to force python3 or python2 package names.  If this option
is not provided, we set this to True for RHEL 8 based distros and false
for other distros.

Change-Id: I4028991bad92c0e8e21066cc4173c06ce5eba393
Related-Blueprint: python3-support
</content>
</entry>
<entry>
<title>Ability to build container against docker swarm</title>
<updated>2018-06-30T15:23:01+00:00</updated>
<author>
<name>Victor Coutellier</name>
<email>victor.coutellier@gmail.com</email>
</author>
<published>2018-06-30T12:32:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=f53fcc7e5b250118830615a90cc1675032ffd2aa'/>
<id>urn:sha1:f53fcc7e5b250118830615a90cc1675032ffd2aa</id>
<content type='text'>
Add a decode=True option during call to dockerAPI in order
to build container against recent docker swarm.

Closes-Bug: #1779460
Change-Id: I48f041e7ed9dd5a5f410b4eaa081f6f013119d17
</content>
</entry>
<entry>
<title>Fix image push for python3</title>
<updated>2018-05-16T13:17:46+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>michal.nasiadka@nokia.com</email>
</author>
<published>2018-05-16T08:24:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=4c91f67662171989f1297113db9cc131a3e05dc6'/>
<id>urn:sha1:4c91f67662171989f1297113db9cc131a3e05dc6</id>
<content type='text'>
Rework push_image function to use docker client push function with decode=True, to decode automatically to dict.

Change-Id: I28d38e968c3809a1074347271e49dc07dc861f11
Closes-Bug: 1771514
</content>
</entry>
<entry>
<title>Add network_mode for image building</title>
<updated>2018-04-20T06:28:05+00:00</updated>
<author>
<name>Alex Schultz</name>
<email>aschultz@redhat.com</email>
</author>
<published>2018-04-19T22:49:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=00bdb6d01f9492f40f9091df7905f751b54c98bf'/>
<id>urn:sha1:00bdb6d01f9492f40f9091df7905f751b54c98bf</id>
<content type='text'>
Add the ability to specify a different network_mode when running the
image builds. Under the covers the default is to use bridge networking
but if that is unavailable or a user would like to specify a different
networking  method they can now do so using the [DEFAULT]\network_mode
configuration.

Change-Id: I1d2398273b57ca4d52bbfacbc896ffecc58bc54b
</content>
</entry>
<entry>
<title>Remove the unsupported 'insecure_registry' for &gt;=docker 3.0.0</title>
<updated>2018-02-03T02:58:12+00:00</updated>
<author>
<name>Jianghua Wang</name>
<email>jianghua.wang@citrix.com</email>
</author>
<published>2018-02-01T10:19:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=ad80bfd0693f61df5bf46a4ba2dbb0a87d3fe6f9'/>
<id>urn:sha1:ad80bfd0693f61df5bf46a4ba2dbb0a87d3fe6f9</id>
<content type='text'>
The argument of 'insecure_registry' for image push has been removed
by this commit (in docker 3.0.0):
https://github.com/docker/docker-py/commit/b180b8770a265e33099bd6da76c3e556a1028491

Actually this argument was marked as deprecated and unfunctional
before this removing.

This commit is to remove this parameter at invoking the push() function
when docker version &gt;= 3.0.0.

Change-Id: Ifa7d304d08a4073dcb1dff751d5a443c112cd377
Closes-Bug: #1746703
</content>
</entry>
</feed>
