Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions kolla/image/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ class Status(Enum):

'centos': {
"hacluster-pcs", # Missing crmsh package
"monasca-grafana", # Too old Ruby now and not supported well
"nova-spicehtml5proxy", # Missing spicehtml5 package
"ovsdpdk", # Not supported on CentOS
"tgtd", # Not supported on CentOS 8
Expand Down Expand Up @@ -349,9 +350,14 @@ def push_image(self, image):

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

for response in self.dc.push(image.canonical_name, **kwargs):
if 'stream' in response:
Expand Down
8 changes: 4 additions & 4 deletions kolla/template/repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ debian:
influxdb: "deb https://repos.influxdata.com/debian buster stable"
logstash: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
kibana: "deb [arch=amd64] https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/debian buster main"
mariadb: "deb https://dlm.mariadb.com/repo/mariadb-server/10.3/repo/debian buster main"
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/debian buster main"
td-agent: "deb http://packages.treasuredata.com/4/debian/buster buster contrib"

Expand All @@ -66,7 +66,7 @@ debian-aarch64:
logstash: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
kibana: "deb [arch=amd64] https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
libvirt: "deb https://obs.linaro.org/repos/home:/marcin.juszkiewicz/debian-buster ./"
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/debian buster main"
mariadb: "deb https://dlm.mariadb.com/repo/mariadb-server/10.3/repo/debian buster main"
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/debian buster main"
td-agent: "deb http://packages.treasuredata.com/4/debian/buster buster contrib"

Expand All @@ -77,7 +77,7 @@ ubuntu:
influxdb: "deb https://repos.influxdata.com/ubuntu focal stable"
logstash: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
kibana: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/ubuntu focal main"
mariadb: "deb https://dlm.mariadb.com/repo/mariadb-server/10.3/repo/ubuntu focal main"
qdrouterd: "deb http://ppa.launchpad.net/qpid/released/ubuntu/ focal main"
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal main"
td-agent: "deb http://packages.treasuredata.com/4/ubuntu/focal/ focal contrib"
Expand All @@ -88,7 +88,7 @@ ubuntu-aarch64:
grafana: "deb https://packages.grafana.com/oss/deb stable main"
influxdb: "deb https://repos.influxdata.com/ubuntu focal stable"
logstash: "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main"
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/ubuntu bionic main"
mariadb: "deb https://dlm.mariadb.com/repo/mariadb-server/10.3/repo/ubuntu bionic main"
rabbitmq: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal main"
td-agent: "deb http://packages.treasuredata.com/4/ubuntu/focal/ focal contrib"

Expand Down
5 changes: 5 additions & 0 deletions releasenotes/notes/docker-6-6d77b5ff7ec1daef.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
Fixes problems when running with docker-py >=6.
`LP#1988121 <https://launchpad.net/bugs/1988121>`__