Merge lp:~canonical-platform-qa/ubuntu-test-cases/server-preseed into lp:ubuntu-test-cases/server

Proposed by Max Brustkern on 2016-01-12
Status: Merged
Merged at revision: 103
Proposed branch: lp:~canonical-platform-qa/ubuntu-test-cases/server-preseed
Merge into: lp:ubuntu-test-cases/server
Diff against target: 237 lines (+64/-0)
16 files modified
preseeds/default.preseed (+4/-0)
preseeds/dns-server.preseed (+4/-0)
preseeds/lamp-reboot.preseed (+4/-0)
preseeds/lamp.preseed (+4/-0)
preseeds/lvm.preseed (+4/-0)
preseeds/mail-server.preseed (+4/-0)
preseeds/minimal-virtual.preseed (+4/-0)
preseeds/multi-lvm.preseed (+4/-0)
preseeds/openssh-server.preseed (+4/-0)
preseeds/postgresql-server.preseed (+4/-0)
preseeds/print-server.preseed (+4/-0)
preseeds/raid1.preseed (+4/-0)
preseeds/samba-server.preseed (+4/-0)
preseeds/templates/base (+4/-0)
preseeds/tomcat-server.preseed (+4/-0)
preseeds/virtual-host.preseed (+4/-0)
To merge this branch: bzr merge lp:~canonical-platform-qa/ubuntu-test-cases/server-preseed
Reviewer Review Type Date Requested Status
Scott Moser 2016-01-12 Approve on 2016-01-19
Jean-Baptiste Lallement (community) Approve on 2016-01-12
Review via email: mp+282346@code.launchpad.net

Description of the Change

This adds unmount active to the preseeds to work around recent install troubles.

To post a comment you must log in.
Jean-Baptiste Lallement (jibel) wrote :

LGTM. Thanks!

review: Approve
Scott Moser (smoser) wrote :

Why would there be mounted partitions during an install?
Can you give a pointer to what was failing?
I'm just trying to understand what changed that caused this.

Scott Moser (smoser) wrote :

further searching shows likely that the bug is http://pad.lv/1533243 .
The fix here would indicate that the other google hit for 'unmount_active' is fixed (http://pad.lv/1355845). If that is so, can we mark that bug as fixed?

Also, any reason to not '--fixes lp:1533243' on this MP?

Scott Moser (smoser) wrote :

Well, if this actually *does* fix the problem, then I think it is fine to pull it until bug 1533243 is fixed. I'd like a 'FIXME: remove after bug 1533243 fixed' style comment in the preseeds.

And then also, if it does fix the problem, then we should close bug 1355845 as fix-released.

Max Brustkern (nuclearbob) wrote :

I think bug 1355845 is fixed now. I'm not sure about bug 1533243. The same preseed worked a few months ago, and has been working for years. If someone wants to say, "yes, this is how it works now," then I think we can mark bug 1533243 as won't fix, and use the new preseed as the solution to the problem. Either way, I don't think updating the test preseeds actually fixes 1533243, it just fixes a utah bug I hadn't filed yet because we're still working through a couple other preseed problems there.

104. By Max Brustkern on 2016-01-19

Added workaround note

Scott Moser (smoser) :
review: Approve
Scott Moser (smoser) wrote :

So... My belief at this point is that in fact partman/unmount_active either
a.) is not preseedable
b.) does not do what we thought it did

My current understanding is that the tests were failing after installation was done and when d-i was trying to unmount filesystems. Because of a backgrounded task spawned by 'apt-get update'(described in bug 1527710) that unmount would fail.

The changes here actually did not do anything, and evidence shows that.
We continued to see the same errors after this change was merged.

Max Brustkern (nuclearbob) wrote :

Yeah, I'm seeing the same problem on some images but not others, so my best guess is some kind of race. I'm not sure how best to proceed on that. We no longer do apt changes in the late command, unlike desktop, so I'm not sure where this change needs to happen.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'preseeds/default.preseed'
2--- preseeds/default.preseed 2012-11-23 11:22:06 +0000
3+++ preseeds/default.preseed 2016-01-19 19:20:31 +0000
4@@ -241,6 +241,10 @@
5 # Wait for two seconds in grub
6 d-i grub-installer/timeout string 2
7
8+# Unmount active partitions if needed
9+# Workaround until lp#1533243 is fixed
10+d-i partman/unmount_active boolean true
11+
12 ### Package selection
13
14
15
16=== modified file 'preseeds/dns-server.preseed'
17--- preseeds/dns-server.preseed 2012-11-23 11:22:06 +0000
18+++ preseeds/dns-server.preseed 2016-01-19 19:20:31 +0000
19@@ -241,6 +241,10 @@
20 # Wait for two seconds in grub
21 d-i grub-installer/timeout string 2
22
23+# Unmount active partitions if needed
24+# Workaround until lp#1533243 is fixed
25+d-i partman/unmount_active boolean true
26+
27 ### Package selection
28
29
30
31=== modified file 'preseeds/lamp-reboot.preseed'
32--- preseeds/lamp-reboot.preseed 2012-11-23 11:22:06 +0000
33+++ preseeds/lamp-reboot.preseed 2016-01-19 19:20:31 +0000
34@@ -241,6 +241,10 @@
35 # Wait for two seconds in grub
36 d-i grub-installer/timeout string 2
37
38+# Unmount active partitions if needed
39+# Workaround until lp#1533243 is fixed
40+d-i partman/unmount_active boolean true
41+
42 ### Package selection
43
44
45
46=== modified file 'preseeds/lamp.preseed'
47--- preseeds/lamp.preseed 2012-11-23 11:22:06 +0000
48+++ preseeds/lamp.preseed 2016-01-19 19:20:31 +0000
49@@ -241,6 +241,10 @@
50 # Wait for two seconds in grub
51 d-i grub-installer/timeout string 2
52
53+# Unmount active partitions if needed
54+# Workaround until lp#1533243 is fixed
55+d-i partman/unmount_active boolean true
56+
57 ### Package selection
58
59
60
61=== modified file 'preseeds/lvm.preseed'
62--- preseeds/lvm.preseed 2012-11-23 11:22:06 +0000
63+++ preseeds/lvm.preseed 2016-01-19 19:20:31 +0000
64@@ -240,6 +240,10 @@
65 # Wait for two seconds in grub
66 d-i grub-installer/timeout string 2
67
68+# Unmount active partitions if needed
69+# Workaround until lp#1533243 is fixed
70+d-i partman/unmount_active boolean true
71+
72 ### Package selection
73
74
75
76=== modified file 'preseeds/mail-server.preseed'
77--- preseeds/mail-server.preseed 2012-11-23 11:22:06 +0000
78+++ preseeds/mail-server.preseed 2016-01-19 19:20:31 +0000
79@@ -241,6 +241,10 @@
80 # Wait for two seconds in grub
81 d-i grub-installer/timeout string 2
82
83+# Unmount active partitions if needed
84+# Workaround until lp#1533243 is fixed
85+d-i partman/unmount_active boolean true
86+
87 ### Package selection
88
89
90
91=== modified file 'preseeds/minimal-virtual.preseed'
92--- preseeds/minimal-virtual.preseed 2012-11-23 11:22:06 +0000
93+++ preseeds/minimal-virtual.preseed 2016-01-19 19:20:31 +0000
94@@ -241,6 +241,10 @@
95 # Wait for two seconds in grub
96 d-i grub-installer/timeout string 2
97
98+# Unmount active partitions if needed
99+# Workaround until lp#1533243 is fixed
100+d-i partman/unmount_active boolean true
101+
102 ### Package selection
103
104
105
106=== modified file 'preseeds/multi-lvm.preseed'
107--- preseeds/multi-lvm.preseed 2012-11-23 11:22:06 +0000
108+++ preseeds/multi-lvm.preseed 2016-01-19 19:20:31 +0000
109@@ -241,6 +241,10 @@
110 # Wait for two seconds in grub
111 d-i grub-installer/timeout string 2
112
113+# Unmount active partitions if needed
114+# Workaround until lp#1533243 is fixed
115+d-i partman/unmount_active boolean true
116+
117 ### Package selection
118
119
120
121=== modified file 'preseeds/openssh-server.preseed'
122--- preseeds/openssh-server.preseed 2012-11-23 11:22:06 +0000
123+++ preseeds/openssh-server.preseed 2016-01-19 19:20:31 +0000
124@@ -241,6 +241,10 @@
125 # Wait for two seconds in grub
126 d-i grub-installer/timeout string 2
127
128+# Unmount active partitions if needed
129+# Workaround until lp#1533243 is fixed
130+d-i partman/unmount_active boolean true
131+
132 ### Package selection
133
134
135
136=== modified file 'preseeds/postgresql-server.preseed'
137--- preseeds/postgresql-server.preseed 2012-11-23 11:22:06 +0000
138+++ preseeds/postgresql-server.preseed 2016-01-19 19:20:31 +0000
139@@ -241,6 +241,10 @@
140 # Wait for two seconds in grub
141 d-i grub-installer/timeout string 2
142
143+# Unmount active partitions if needed
144+# Workaround until lp#1533243 is fixed
145+d-i partman/unmount_active boolean true
146+
147 ### Package selection
148
149
150
151=== modified file 'preseeds/print-server.preseed'
152--- preseeds/print-server.preseed 2012-11-23 11:22:06 +0000
153+++ preseeds/print-server.preseed 2016-01-19 19:20:31 +0000
154@@ -241,6 +241,10 @@
155 # Wait for two seconds in grub
156 d-i grub-installer/timeout string 2
157
158+# Unmount active partitions if needed
159+# Workaround until lp#1533243 is fixed
160+d-i partman/unmount_active boolean true
161+
162 ### Package selection
163
164
165
166=== modified file 'preseeds/raid1.preseed'
167--- preseeds/raid1.preseed 2012-11-23 11:22:06 +0000
168+++ preseeds/raid1.preseed 2016-01-19 19:20:31 +0000
169@@ -282,6 +282,10 @@
170 # Wait for two seconds in grub
171 d-i grub-installer/timeout string 2
172
173+# Unmount active partitions if needed
174+# Workaround until lp#1533243 is fixed
175+d-i partman/unmount_active boolean true
176+
177 ### Package selection
178
179
180
181=== modified file 'preseeds/samba-server.preseed'
182--- preseeds/samba-server.preseed 2012-11-23 11:22:06 +0000
183+++ preseeds/samba-server.preseed 2016-01-19 19:20:31 +0000
184@@ -241,6 +241,10 @@
185 # Wait for two seconds in grub
186 d-i grub-installer/timeout string 2
187
188+# Unmount active partitions if needed
189+# Workaround until lp#1533243 is fixed
190+d-i partman/unmount_active boolean true
191+
192 ### Package selection
193
194
195
196=== modified file 'preseeds/templates/base'
197--- preseeds/templates/base 2012-11-23 11:22:06 +0000
198+++ preseeds/templates/base 2016-01-19 19:20:31 +0000
199@@ -221,6 +221,10 @@
200 # Wait for two seconds in grub
201 d-i grub-installer/timeout string 2
202
203+# Unmount active partitions if needed
204+# Workaround until lp#1533243 is fixed
205+d-i partman/unmount_active boolean true
206+
207 ### Package selection
208
209 {% block tasksel_first %}
210
211=== modified file 'preseeds/tomcat-server.preseed'
212--- preseeds/tomcat-server.preseed 2012-11-23 11:22:06 +0000
213+++ preseeds/tomcat-server.preseed 2016-01-19 19:20:31 +0000
214@@ -241,6 +241,10 @@
215 # Wait for two seconds in grub
216 d-i grub-installer/timeout string 2
217
218+# Unmount active partitions if needed
219+# Workaround until lp#1533243 is fixed
220+d-i partman/unmount_active boolean true
221+
222 ### Package selection
223
224
225
226=== modified file 'preseeds/virtual-host.preseed'
227--- preseeds/virtual-host.preseed 2012-11-23 11:22:06 +0000
228+++ preseeds/virtual-host.preseed 2016-01-19 19:20:31 +0000
229@@ -241,6 +241,10 @@
230 # Wait for two seconds in grub
231 d-i grub-installer/timeout string 2
232
233+# Unmount active partitions if needed
234+# Workaround until lp#1533243 is fixed
235+d-i partman/unmount_active boolean true
236+
237 ### Package selection
238
239

Subscribers

People subscribed via source and target branches