Bootstrap-servers add incorrect Docker repo for Ubuntu 18.04

Bug #1791355 reported by Randy
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
High
Unassigned
Rocky
Fix Released
High
Unassigned
Stein
Fix Released
High
Unassigned

Bug Description

When running bootstrap-servers on Ubuntu Bionic Beaver 18.04 on an amd64 architecture, /kolla-ansible/ansible/roles/baremetal/defaults/main.yaml attempts to install docker-engine=1.12.* from https://apt.dockerproject.org. This version and repot do not have support for Ubuntu 18.04.

The downloads for DockerCE on Ubuntu 18.04 are on https://download.docker.com/linux/ubuntu. The full instructruction are located here. https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1

This also moves from docker-engine to docker.

Resolving this plus a few other issues with some kolla containers, that I will report have resulted in a successful install of Rocky, using kolla-ansible top of tree.

Revision history for this message
Chason Chan (chen-xing) wrote :
Changed in kolla-ansible:
assignee: nobody → Chason Chan (chen-xing)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (master)

Change abandoned by Chason Chan (<email address hidden>) on branch: master
Review: https://review.openstack.org/601975
Reason: OK, abandon this one.

Revision history for this message
Silvan Kaiser (2-silvan) wrote : Re: Bootstrap-servers add incorrect Docker repo for Ubuntu 18.08

Is there a known workaround that allows Ubuntu 18.04 installations despite this issue?

Revision history for this message
Randy (randymartini) wrote :

You can install docker before running bootstrap servers and then remove the docker install step from /kolla-ansible/ansible/roles/baremetal/defaults/main.yaml. You could also update the docker install step to install docker on 18.04.

The steps for installing Docker on 18.04 and other distributions is at https://download.docker.com/linux/ubuntu

Revision history for this message
Silvan Kaiser (2-silvan) wrote :

Thanks for the hint!

Actually one has to remove the install step from kolla-ansible/ansible/roles/baremetal/defaults/main.yml . Kolla only installs docker if it is not present but always installs the broken docker apt source which prevents apt updates/installations after the addition of the apt.dockerproject.org apt source.

Silvan Kaiser (2-silvan)
summary: - Bootstrap-servers add incorrect Docker repo for Ubuntu 18.08
+ Bootstrap-servers add incorrect Docker repo for Ubuntu 18.04
Revision history for this message
light (light-res) wrote :

I get the same problem
The kolla-ansible script change my apt-docker repo automatically
How can i prevent that ?

Thanks

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

We should install 'docker.io' from Ubuntu repository instead of external one ;D

Revision history for this message
Mark Goddard (mgoddard) wrote :

We now install Docker CE using the new repos - fixed in Stein and Rocky.

Changed in kolla-ansible:
status: In Progress → Fix Released
importance: Undecided → High
Revision history for this message
Chason Chan (chen-xing) wrote :
Changed in kolla-ansible:
assignee: Chason Chan (chen-xing) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.