Bug 39448 - Upgrade to UCS 4.1 failed in a docker container
Upgrade to UCS 4.1 failed in a docker container
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Docker
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1
Assigned To: Felix Botner
Stefan Gohmann
: interim-2
Depends on:
Blocks: 39374
  Show dependency treegraph
 
Reported: 2015-10-01 07:08 CEST by Stefan Gohmann
Modified: 2015-11-17 12:12 CET (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
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 Stefan Gohmann univentionstaff 2015-10-01 07:08:47 CEST
While updating to UCS 4.1, docker and cgroupfs-mount are installed into a docker container:

root@c0zzduw2no-1443632741222130:/# dpkg --configure -a
Setting up cgroupfs-mount (1.1~bpo70+1.2.201509152238) ...
Mounting cgroupfs hierarchymount: permission denied
invoke-rc.d: initscript cgroupfs-mount, action "start" failed.
dpkg: error processing cgroupfs-mount (--configure):
 subprocess installed post-installation script returned error exit status 32
Errors were encountered while processing:
 cgroupfs-mount
root@c0zzduw2no-1443632741222130:/#

The test case 80_docker/55_dockerallowedimage demonstrates the issue.
Comment 1 Stefan Gohmann univentionstaff 2015-10-01 07:09:52 CEST
(In reply to Stefan Gohmann from comment #0)
> The test case 80_docker/55_dockerallowedimage demonstrates the issue.

I meant 80_docker/65_app_container_upgrade_dockerallowedimage
Comment 2 Felix Botner univentionstaff 2015-10-15 10:54:41 CEST
univention-docker-container-mode:
 * Added Conflicts to univention-docker, docker.io, cgroupfs-mount

The update worked in my tests, but the 65_app_container_upgrade_dockerallowedimage still failed.

ucs-test:
 * set self.container_id and self.installed in App.upgrade() too
   (5_app_container_upgrade_dockerallowedimage creates an App object 
   and call app.install() and app.verify, then a new App object is
   created and app.upgrade is called, before at this point self.container_id
   wasn't set and the next app.verify() failed)

But 65_app_container_upgrade_dockerallowedimage stil fails (check join status fails), see Bug #39551
Comment 3 Stefan Gohmann univentionstaff 2015-10-19 20:54:29 CEST
OK, it works now.
Comment 4 Stefan Gohmann univentionstaff 2015-11-17 12:12:36 CET
UCS 4.1 has been released:
 https://docs.software-univention.de/release-notes-4.1-0-en.html
 https://docs.software-univention.de/release-notes-4.1-0-de.html

If this error occurs again, please use "Clone This Bug".