Bug 45142 - Failed docker installations due to apt lock
Failed docker installations due to apt lock
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.1-4-errata
Assigned To: Felix Botner
Dirk Wiesenthal
:
Depends on: 44015 44630 45103
Blocks: 42817
  Show dependency treegraph
 
Reported: 2017-08-07 14:58 CEST by Felix Botner
Modified: 2017-08-16 13:34 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.274
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 Felix Botner univentionstaff 2017-08-07 14:58:56 CEST
+++ This bug was initially created as a clone of Bug #45103 +++

Unfortunately, this is not enough.

We are now doing
ucr set update/check/cron/enabled=false

There is another UCRV that needs to be set.
ucr set update/check/boot/enabled=false

Please clone for 4.1-4
docker-test.software-univention.de...appbox:4.1-4
has manually set this fix. Jenkins tests are better since Friday.

+++ This bug was initially created as a clone of Bug #44630 +++

+++ This bug was initially created as a clone of Bug #44015 +++

The test cases show the following error (in this case 76_app_ports_redirect):
-----------------------------------------------------------------------------
Starting to download 3 file(s) directly
+ univention-app register dg679qmtiq --component
File: /etc/apt/apt.conf.d/55user_agent

++ univention-app get dg679qmtiq default_packages --values-only --shell
+ app_packages='telnetd proftpd'
+ univention-install -y telnetd proftpd
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
Setup script failed!
Aborting...
Going to remove dg679qmtiq (8.8.1)
-----------------------------------------------------------------------------

So, it seems the apt cache is locked.
Comment 1 Felix Botner univentionstaff 2017-08-07 15:08:09 CEST
univention-docker-container-mode.yaml errata4.1-4
Comment 2 Dirk Wiesenthal univentionstaff 2017-08-08 00:59:37 CEST
Works as expected.
YAML: OK
Comment 3 Erik Damrose univentionstaff 2017-08-16 13:34:14 CEST
<http://errata.software-univention.de/ucs/4.1/460.html>