Updating legacy Docker to Docker CE fails due to docker not running

Bug #1852066 reported by Mark Goddard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Mark Goddard
Rocky
Fix Released
Medium
Mark Goddard
Stein
Fix Released
Medium
Mark Goddard
Train
Fix Released
Medium
Mark Goddard
Ussuri
Fix Released
Medium
Mark Goddard

Bug Description

# Steps to reproduce

* Install legacy Docker (1.12.0) using kolla-ansible bootstrap-servers with the Rocky release or earlier.
* Update to Docker CE, using kolla-ansible bootstrap-servers with the Stein release or later

# Expected results

Docker upgraded to CE (19.03.4), and started.

# Actual results

Package is upgraded, but docker is stopped. This prevents the 'Wait for Docker to start' task from completing, since Docker will not start.

This was tested and working previously, perhaps something changed with the Docker package.

OS: CentOS 7.6
Docker CE: 19.03.4

Mark Goddard (mgoddard)
Changed in kolla-ansible:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.opendev.org/693682

Changed in kolla-ansible:
assignee: nobody → Mark Goddard (mgoddard)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/693682
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=82e58a7a5a66a2b4094f7f0bccf316f846f3243b
Submitter: Zuul
Branch: master

commit 82e58a7a5a66a2b4094f7f0bccf316f846f3243b
Author: Mark Goddard <email address hidden>
Date: Mon Nov 11 11:13:37 2019 +0000

    Start Docker after upgrade

    If you do the following:

    * Install legacy Docker (1.12.0) using kolla-ansible bootstrap-servers
      with the Rocky release or earlier.
    * Update to Docker CE, using kolla-ansible bootstrap-servers with the
      Stein release or later

    The package is upgraded, but docker is stopped. This prevents the 'Wait
    for Docker to start' task from completing, since Docker will not start.
    Seen on CentOS 7.6, Docker CE 19.03.4.

    This was tested and working previously, perhaps something changed with
    the Docker package.

    This change fixes the issue by starting and enabling Docker after the
    upgrade.

    Change-Id: If6e9c91f3e8d0ec366eea7ca506c6d10dbf11c3a
    Closes-Bug: #1852066

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/694547

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/694548

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/694549

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/stein)

Reviewed: https://review.opendev.org/694548
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=83e0d00404075a6d8cf70c564b91972fb9268dbf
Submitter: Zuul
Branch: stable/stein

commit 83e0d00404075a6d8cf70c564b91972fb9268dbf
Author: Mark Goddard <email address hidden>
Date: Mon Nov 11 11:13:37 2019 +0000

    Start Docker after upgrade

    If you do the following:

    * Install legacy Docker (1.12.0) using kolla-ansible bootstrap-servers
      with the Rocky release or earlier.
    * Update to Docker CE, using kolla-ansible bootstrap-servers with the
      Stein release or later

    The package is upgraded, but docker is stopped. This prevents the 'Wait
    for Docker to start' task from completing, since Docker will not start.
    Seen on CentOS 7.6, Docker CE 19.03.4.

    This was tested and working previously, perhaps something changed with
    the Docker package.

    This change fixes the issue by starting and enabling Docker after the
    upgrade.

    Change-Id: If6e9c91f3e8d0ec366eea7ca506c6d10dbf11c3a
    Closes-Bug: #1852066
    (cherry picked from commit 82e58a7a5a66a2b4094f7f0bccf316f846f3243b)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/train)

Reviewed: https://review.opendev.org/694547
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=dea3e12a87d01733291047282fe770a21ab69373
Submitter: Zuul
Branch: stable/train

commit dea3e12a87d01733291047282fe770a21ab69373
Author: Mark Goddard <email address hidden>
Date: Mon Nov 11 11:13:37 2019 +0000

    Start Docker after upgrade

    If you do the following:

    * Install legacy Docker (1.12.0) using kolla-ansible bootstrap-servers
      with the Rocky release or earlier.
    * Update to Docker CE, using kolla-ansible bootstrap-servers with the
      Stein release or later

    The package is upgraded, but docker is stopped. This prevents the 'Wait
    for Docker to start' task from completing, since Docker will not start.
    Seen on CentOS 7.6, Docker CE 19.03.4.

    This was tested and working previously, perhaps something changed with
    the Docker package.

    This change fixes the issue by starting and enabling Docker after the
    upgrade.

    Change-Id: If6e9c91f3e8d0ec366eea7ca506c6d10dbf11c3a
    Closes-Bug: #1852066
    (cherry picked from commit 82e58a7a5a66a2b4094f7f0bccf316f846f3243b)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/rocky)

Reviewed: https://review.opendev.org/694549
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=220f87a53e40bae18b4604f244842a59345d2e7b
Submitter: Zuul
Branch: stable/rocky

commit 220f87a53e40bae18b4604f244842a59345d2e7b
Author: Mark Goddard <email address hidden>
Date: Mon Nov 11 11:13:37 2019 +0000

    Start Docker after upgrade

    If you do the following:

    * Install legacy Docker (1.12.0) using kolla-ansible bootstrap-servers
      with the Rocky release or earlier.
    * Update to Docker CE, using kolla-ansible bootstrap-servers with the
      Stein release or later

    The package is upgraded, but docker is stopped. This prevents the 'Wait
    for Docker to start' task from completing, since Docker will not start.
    Seen on CentOS 7.6, Docker CE 19.03.4.

    This was tested and working previously, perhaps something changed with
    the Docker package.

    This change fixes the issue by starting and enabling Docker after the
    upgrade.

    Change-Id: If6e9c91f3e8d0ec366eea7ca506c6d10dbf11c3a
    Closes-Bug: #1852066
    (cherry picked from commit 82e58a7a5a66a2b4094f7f0bccf316f846f3243b)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 9.0.0.0rc2

This issue was fixed in the openstack/kolla-ansible 9.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 7.2.0

This issue was fixed in the openstack/kolla-ansible 7.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 8.1.0

This issue was fixed in the openstack/kolla-ansible 8.1.0 release.

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.