Actions
Bug #41378
closedceph-ansible fails to auto-install the apt module, breaks tests
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
This doesn't happen all the time, and I've not been able to replicate. At the very least we should export the environment variable in APT systems so that there is no need to require a "front end".
TASK [ceph-common : configure ceph debian development repository] ************** task path: /tmp/tox.fKXrNZj3r4/xenial-filestore-single_type_dmcrypt/tmp/ceph-ansible/roles/ceph-common/tasks/installs/debian_dev_repository.yml:8 fatal: [mon0]: FAILED! => { "changed": false } MSG: Failed to auto-install python-apt. Error was: 'debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline E: Sub-process /usr/bin/dpkg returned an error code (2)' changed: [osd0] => { "changed": true, "repo": "deb [trusted=yes] https://4.chacra.ceph.com/r/ceph/mimic/be7c9ce20937e8c0c1da11e231668191e42443ce/ubuntu/xenial/flavors/default/ xenial main\n", "state": "present" }
The environment variable should go into the tox.ini where other environment variables are set:
DEBIAN_FRONTEND=noninteractive
Updated by Alfredo Deza over 4 years ago
- Status changed from New to Fix Under Review
master PR https://github.com/ceph/ceph/pull/29804
nautilus PR https://github.com/ceph/ceph/pull/29899
mimic PR https://github.com/ceph/ceph/pull/29900
luminous PR https://github.com/ceph/ceph/pull/29901
Updated by Alfredo Deza over 4 years ago
- Status changed from Fix Under Review to Resolved
Updated by Alfredo Deza over 4 years ago
- Status changed from Resolved to New
This is still failing, will have to try another fix for this one as the environment variable is not doing anything
Updated by Alfredo Deza over 4 years ago
- Status changed from New to Fix Under Review
master PR https://github.com/ceph/ceph/pull/30115
Updated by Alfredo Deza over 4 years ago
- Status changed from Fix Under Review to Resolved
Actions