Bug 50259 - Update to UCS 4.4-2 stops when /var/lib/docker/aufs exists
Update to UCS 4.4-2 stops when /var/lib/docker/aufs exists
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Docker
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-2-errata
Assigned To: Erik Damrose
Philipp Hahn
:
: 50260 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-09-25 09:33 CEST by Erik Damrose
Modified: 2019-10-29 10:50 CET (History)
7 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.429
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019092421000927, 2019092521000201
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Damrose univentionstaff 2019-09-25 09:33:14 CEST
In https://help.univention.com/t/13088 and Ticket#2019092421000927 the update to UCS 4.4-2 fails. The docker.io package cannot be updated with the following error:

updater.log:

Fehler traten auf beim Bearbeiten von:
docker.io
^MReading package lists... 0%^M^MReading package lists... 100%^M^MReading package lists... Done
^MBuilding dependency tree... 0%^M^MBuilding dependency tree... 0%^M^MBuilding dependency tree... 50%^M^MBuilding dependency tree... 50%^M^MBui$
^MReading state information... 0%^M^MReading state information... 0%^M^MReading state information... Done
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: Failed to execute "apt-get -o DPkg::Options::=--force-confold -o DPkg::Options::=--force-overwrite -o DPkg::Options::=--force-overwrite-$
exitcode of univention-updater: 1 

In the forum it is mentioned that the existence of /var/lib/docker/aufs indicates the problem will occur during the update.
Comment 1 Nico Stöckigt univentionstaff 2019-09-25 09:49:58 CEST
*** Bug 50260 has been marked as a duplicate of this bug. ***
Comment 2 Philipp Hahn univentionstaff 2019-09-25 09:57:11 CEST
# Remove directory if they are empty:
find /var/lib/docker/aufs -empty -delete
# If the directory still exists, at least one container is still using AUFS
if [ -d /var/lib/docker/aufs]
then
   # Tell user how to convert from aufs to overlay
fi

# Work-around is to force 'overlay'f for now:
echo '{"storage-driver": "overlay"}' > /etc/docker/daemon.json


PS: overlay is also deprecated, but 'overlay2' is not yet available?
<https://docs.docker.com/storage/storagedriver/select-storage-driver/>
Comment 3 Philipp Hahn univentionstaff 2019-09-25 10:03:42 CEST
OK: 4.4/maintained/4.4-2/all/preup.sh[.gpg] for now block the update
Comment 4 Erik Damrose univentionstaff 2019-09-25 10:12:26 CEST
A fix for the issue is worked on at Bug 50261
Comment 5 Dirk Wiesenthal univentionstaff 2019-10-29 10:50:25 CET
Released updated preup.sh