Skip to content

Commit 9e2d347

Browse files
authored
Merge pull request #161 from stackhpc/upstream/xena-2022-09-05
Synchronise xena with upstream
2 parents 87a43ca + bf43419 commit 9e2d347

File tree

5 files changed

+23
-13
lines changed

5 files changed

+23
-13
lines changed

docker/base/mariadb-aarch64.repo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[mariadb]
2-
name = MariaDB
3-
baseurl = https://downloads.mariadb.com/MariaDB/mariadb-10.5/yum/centos8-aarch64
4-
module_hotfixes = 1
2+
name = MariaDB Server
3+
baseurl = https://dlm.mariadb.com/repo/mariadb-server/10.5/yum/rhel/8/aarch64
54
gpgcheck = 1
65
enabled = 0
6+
module_hotfixes = 1

docker/base/mariadb.repo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[mariadb]
2-
name = MariaDB
3-
baseurl = https://downloads.mariadb.com/MariaDB/mariadb-10.5/yum/centos8-amd64
4-
module_hotfixes = 1
2+
name = MariaDB Server
3+
baseurl = https://dlm.mariadb.com/repo/mariadb-server/10.5/yum/rhel/8/x86_64
54
gpgcheck = 1
65
enabled = 0
6+
module_hotfixes = 1

kolla/image/build.py

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

312312
# Since docker 3.0.0, the argument of 'insecure_registry' is removed.
313313
# To be compatible, set 'insecure_registry=True' for old releases.
314-
dc_running_ver = StrictVersion(docker.version)
315-
if dc_running_ver < StrictVersion('3.0.0'):
316-
kwargs['insecure_registry'] = True
314+
# NOTE(frickler): The version check will fail for docker >= 6.0, but
315+
# in that case we know that the workaround isn't needed.
316+
try:
317+
dc_running_ver = StrictVersion(docker.version)
318+
if dc_running_ver < StrictVersion('3.0.0'):
319+
kwargs['insecure_registry'] = True
320+
except TypeError:
321+
pass
317322

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

kolla/template/repos.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ debian:
7474
component: "main"
7575
gpg_key: "elasticsearch.asc"
7676
mariadb:
77-
url: "http://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian"
77+
url: "https://dlm.mariadb.com/repo/mariadb-server/10.5/repo/debian"
7878
suite: "bullseye"
7979
component: "main"
8080
gpg_key: "mariadb.gpg"
@@ -126,7 +126,7 @@ debian-aarch64:
126126
component: "main"
127127
gpg_key: "elasticsearch.asc"
128128
mariadb:
129-
url: "http://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian"
129+
url: "https://dlm.mariadb.com/repo/mariadb-server/10.5/repo/debian"
130130
suite: "bullseye"
131131
component: "main"
132132
gpg_key: "mariadb.gpg"
@@ -183,7 +183,7 @@ ubuntu:
183183
component: "main"
184184
gpg_key: "elasticsearch.asc"
185185
mariadb:
186-
url: "http://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/ubuntu"
186+
url: "https://dlm.mariadb.com/repo/mariadb-server/10.5/repo/ubuntu"
187187
suite: "focal"
188188
component: "main"
189189
gpg_key: "mariadb.gpg"
@@ -235,7 +235,7 @@ ubuntu-aarch64:
235235
component: "main"
236236
gpg_key: "elasticsearch.asc"
237237
mariadb:
238-
url: "http://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/ubuntu"
238+
url: "https://dlm.mariadb.com/repo/mariadb-server/10.5/repo/ubuntu"
239239
suite: "focal"
240240
component: "main"
241241
gpg_key: "mariadb.gpg"
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)