Skip to content

Commit 9ec6330

Browse files
authored
Merge pull request #159 from stackhpc/upstream/wallaby-2022-09-05
Synchronise wallaby with upstream
2 parents 589ca95 + b64e717 commit 9ec6330

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

kolla/image/build.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,9 +332,14 @@ def push_image(self, image):
332332

333333
# Since docker 3.0.0, the argument of 'insecure_registry' is removed.
334334
# To be compatible, set 'insecure_registry=True' for old releases.
335-
dc_running_ver = StrictVersion(docker.version)
336-
if dc_running_ver < StrictVersion('3.0.0'):
337-
kwargs['insecure_registry'] = True
335+
# NOTE(frickler): The version check will fail for docker >= 6.0, but
336+
# in that case we know that the workaround isn't needed.
337+
try:
338+
dc_running_ver = StrictVersion(docker.version)
339+
if dc_running_ver < StrictVersion('3.0.0'):
340+
kwargs['insecure_registry'] = True
341+
except TypeError:
342+
pass
338343

339344
for response in self.dc.push(image.canonical_name, **kwargs):
340345
if 'stream' in response:

kolla/template/repos.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ debian:
6363
influxdb: "deb https://repos.influxdata.com/debian bullseye stable"
6464
logstash: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
6565
kibana: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
66-
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian bullseye main"
66+
mariadb: "deb https://dlm.mariadb.com/repo/mariadb-server/10.5/repo/debian bullseye main"
6767
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/debian bullseye main"
6868
td-agent: "deb http://packages.treasuredata.com/4/debian/bullseye bullseye contrib"
6969

@@ -74,7 +74,7 @@ debian-aarch64:
7474
influxdb: "deb https://repos.influxdata.com/debian bullseye stable"
7575
logstash: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
7676
kibana: "deb [arch=amd64] https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
77-
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian bullseye main"
77+
mariadb: "deb https://dlm.mariadb.com/repo/mariadb-server/10.5/repo/debian bullseye main"
7878
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/debian bullseye main"
7979
td-agent: "deb http://packages.treasuredata.com/4/debian/bullseye bullseye contrib"
8080

@@ -85,7 +85,7 @@ ubuntu:
8585
influxdb: "deb https://repos.influxdata.com/ubuntu focal stable"
8686
logstash: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
8787
kibana: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
88-
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/ubuntu focal main"
88+
mariadb: "deb https://dlm.mariadb.com/repo/mariadb-server/10.3/repo/ubuntu focal main"
8989
qdrouterd: "deb http://ppa.launchpad.net/qpid/released/ubuntu/ focal main"
9090
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal main"
9191
td-agent: "deb http://packages.treasuredata.com/4/ubuntu/focal/ focal contrib"
@@ -96,7 +96,7 @@ ubuntu-aarch64:
9696
grafana: "deb https://packages.grafana.com/oss/deb stable main"
9797
influxdb: "deb https://repos.influxdata.com/ubuntu focal stable"
9898
logstash: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
99-
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/ubuntu focal main"
99+
mariadb: "deb https://dlm.mariadb.com/repo/mariadb-server/10.3/repo/ubuntu focal main"
100100
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal main"
101101
td-agent: "deb http://packages.treasuredata.com/4/ubuntu/focal/ focal contrib"
102102

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes problems when running with docker-py >=6.
5+
`LP#1988121 <https://launchpad.net/bugs/1988121>`__

0 commit comments

Comments
 (0)