Do not install Docker

Bug #1668532 reported by Alexander Rubtsov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Medium
Fuel QA Team
Mitaka
Won't Fix
Medium
MOS Maintenance

Bug Description

MOS: 9.2

As Docker containers are not used anymore in MOS 9.2 it would make sense to prevent Docker packages to be installed to the Fuel master node at all in order to secure the node and simplify the further maintenance process

[root@fuel ~]# ps aux | grep docker
root 30710 0.0 0.0 112648 968 pts/0 S+ 08:45 0:00 grep --color=auto docker

--- Actual result ---
[root@fuel ~]# service docker status
Redirecting to /bin/systemctl status docker.service
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

[root@fuel ~]# rpm -qa | grep "docker"
docker-selinux-1.10.3-46.el7.centos.14.x86_64
docker-common-1.10.3-46.el7.centos.14.x86_64
docker-1.10.3-46.el7.centos.14.x86_64

--- Expected result ---
[root@fuel ~]# service docker status
Redirecting to /bin/systemctl status docker.service
● docker.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

[root@fuel ~]# rpm -qa | grep "docker"
[root@fuel ~]#

Revision history for this message
Alexander Rubtsov (arubtsov) wrote :

sla1 for 9.0-updates

tags: added: customer-found sla1
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

We don't use docker so we shouldn't install it the first place. However we cannot delete in during update because some customers are use it. So let's stop installing it in new versions and not backport the fix.

Changed in fuel:
importance: Undecided → High
milestone: none → 10.1
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
status: New → Confirmed
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Let's remove docker installation for 9.x updates too.

summary: - Removing Docker packages
+ Do not install Docker
Revision history for this message
Alexander Rubtsov (arubtsov) wrote :

sla2 for 9.0-updates

Changed in fuel:
importance: High → Medium
tags: added: sla2
removed: sla1
Revision history for this message
Georgy Kibardin (gkibardin) wrote :

Invalid for 9.x
We use 9.0 ISO which already contains docker and upgrade it.

Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Georgy Kibardin (gkibardin)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

Fix proposed to branch: master
Review: https://review.openstack.org/444793

Revision history for this message
Georgy Kibardin (gkibardin) wrote :

In order to get rid of docker in 9x we need to change update scripts so that it deletes docker package.

Revision history for this message
Valeriy Saharov (vsakharov) wrote :

It will be good to see the backport of this commit from master to the stable/mitaka branch, because our customer is using 9.x isos. This changes should not affect other customers, because during the upgrading procedure bootstrap_admin_node.sh don't use.

Revision history for this message
Georgy Kibardin (gkibardin) wrote :

It is not a backport, Docker is already on 9.0 ISO. In order to get rid of it we need to add line to update scripts to remove the package.

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

I think that Valeriy is talking about E/// builds.

But what is the point behind docker deletion? Does docker bring something bad to the installation or breaks something for the customers?

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

BTW, something is wrong with this bug's nominations. Georgy pushed a patch for master branch, but there is no such kind of milestone in bug's nominations.

Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

This solution is neither acceptable nor desirable, at least for the following reasons:

 * Docker is still being actively used in 9.x for cloud validation
 * It hasn't been properly deprecated with a wide announcement in 8.0
 * There is a probability that it's needed for 3rd-party tools
 * It doesn't fit the Maintenance Policy (functional changes not fixing issues are prohibited)

Keeping in mind all the above and that disadvantages of the docker removal outweigh its possible advantages, I'm going to close this report as Won't Fix in the 9.x series.

Revision history for this message
Georgy Kibardin (gkibardin) wrote :

Before getting rid of Docker on the master node we need to do something with tests which expect docker on master node. Probably these test must install it before run.

Changed in fuel:
assignee: Georgy Kibardin (gkibardin) → Fuel QA Team (fuel-qa)
status: In Progress → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-main (master)

Change abandoned by Andreas Jaeger (<email address hidden>) on branch: master
Review: https://review.opendev.org/444793
Reason: This repo is retired now, no further work will get merged.

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.