HCL-TECH-SOFTWARE / connections-automation

Deployment and upgrade automation scripts for HCL Connections 7.0 based on Ansible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

problem with docker repo & docker-ce-cli installation

MagnaFrisia90 opened this issue · comments

The V23 binariers were added to https://download.docker.com/linux/centos/7/x86_64/stable/Packages/ on 2.2.2023 which now causes problems when running docker-ce-* installations due package manager picking latest release V23 instead of V20.10.:

  • name: Install docker-ce-cli {{ __docker_version }}
    package:
    name: docker-ce-cli-{{ __docker_version }}
    state: present
    allow_downgrade: yes
    when:
    • ansible_os_family == "RedHat"

Leads into

TASK [docker-install : Install docker-ce-cli 20.10.12] *******************************************************************************************
fatal: [solcon15.solvito.cloud]: FAILED! => {"changed": false, "changes": {"installed": ["docker-ce-cli-20.10.12"]}, "msg": "Repository 'docker-ce-edge' is missing name in configuration, using id\n\n\nTransaction check error:\n file /usr/libexec/docker/cli-plugins/docker-buildx from install of docker-ce-cli-1:20.10.12-3.el7.x86_64 conflicts with file from package docker-buildx-plugin-0:0.10.2-1.el7.x86_64\n\nError Summary\n-------------\n\n", "rc": 1, "results": ["Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: ftp.uni-bayreuth.de\nResolving Dependencies\n--> Running transaction check\n---> Package docker-ce-cli.x86_64 1:20.10.12-3.el7 will be a downgrade\n---> Package docker-ce-cli.x86_64 1:23.0.0-1.el7 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nDowngrading:\n docker-ce-cli x86_64 1:20.10.12-3.el7 docker-ce-stable 30 M\n\nTransaction Summary\n================================================================================\nDowngrade 1 Package\n\nTotal size: 30 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\n"]}

grafik

I still do not understand how the dockerx plugin is installed using the playbooks. I could only find refrences to "docker-ce" & "docker-ce-cli" in "install_docker_centos_redhat.yml"

Docker install scripts are not maintained as Kubernetes deprecated Docker as a container runtime after v1.20.

Docker images for the component pack deployment are stored in the HCL Harbor repository and containerd is used as CRI runtime. Click here for more details on how to setup component pack for HCL Connections.