MAAS deployment of Ubuntu 17.04 fails with custom preseed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-cert-server |
Fix Released
|
Undecided
|
Rod Smith |
Bug Description
Deployment of Ubuntu 17.04 beta via MAAS with the custom preseed fails because of a dependency on postfix that seems to have crept in somewhere. The postfix package requires manual configuration, which causes the automated MAAS deployment to fail.
Upon deploying with the standard preseed, I'm able to install canonical-
Output from the MAAS deployment logs includes the following:
Preparing to unpack .../221-
[1;24r
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K[1;
[K
Failed to open terminal.debconf: whiptail output the above errors, giving up!
Use of uninitialized value $ret in scalar chomp at /usr/share/
Use of uninitialized value $ret in split at /usr/share/
Use of uninitialized value $ret[0] in string eq at /usr/share/
dpkg: error processing archive /tmp/apt-
subprocess new pre-installation script returned error exit status 25
Later in the logs, this appears:
Errors were encountered while processing:
/tmp/apt-
W: --force-yes is deprecated, use one of the options starting with --allow instead.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Sub-process /usr/bin/dpkg returned an error code (1)
Related branches
- Jeff Lane : Approve
-
Diff: 59 lines (+12/-4)3 files modifieddebian/changelog (+6/-0)
preseed/curtin_userdata_cert (+3/-2)
preseed/curtin_userdata_custom_cert (+3/-2)
tags: | added: hwcert-server |
Changed in maas-cert-server: | |
assignee: | nobody → Rod Smith (rodsmith) |
status: | New → In Progress |
Changed in maas-cert-server: | |
status: | In Progress → Fix Committed |
Changed in maas-cert-server: | |
status: | Fix Committed → Fix Released |
A second issue is the secureid sub-script in the preseed file, which seems to be keeping something in /dev open for too long. Adding a 5-second pause to the end of the secureid sub-script fixes this problem.