Michael Hudson-Doyle
49b9b08afb
pass data about dasds from server to client
...
so the ptable ends up being correct
2021-01-15 12:17:26 +13:00
Michael Hudson-Doyle
b515055a55
Merge pull request #877 from mwhudson/lp-1908123
...
print the usual stuff to the console on s390x for a non-interactive a…
2021-01-13 08:57:34 +13:00
Michael Hudson-Doyle
5756fc4195
Merge pull request #876 from mwhudson/fix-server-restart
...
fix restarting of server process
2021-01-13 08:57:17 +13:00
Michael Hudson-Doyle
2c10573480
fix restarting of server process
2021-01-12 16:03:26 +13:00
Michael Hudson-Doyle
9ee4e68cc6
print the usual stuff to the console on s390x for a non-interactive autoinstall
2021-01-07 13:12:45 +13:00
Michael Hudson-Doyle
a3444d6f56
Merge pull request #875 from mwhudson/inject-subiquity-snap-vs-snap-preseed
...
re-run snap-preseed in inject-subiquity-snap.sh
2021-01-06 15:35:47 +13:00
Michael Hudson-Doyle
ef78e7d01c
re-run snap-preseed in inject-subiquity-snap.sh
2021-01-06 14:04:50 +13:00
Michael Hudson-Doyle
b13dabba85
Merge pull request #867 from mwhudson/disk-matching-fixes
...
check udev data directly when processing match: specs
2021-01-06 13:56:05 +13:00
Michael Hudson-Doyle
6dba0e49b6
Merge pull request #874 from mwhudson/better-failure-handling
...
Better failure handling
2020-12-18 16:37:28 +13:00
Michael Hudson-Doyle
07a85949b1
Merge pull request #873 from mwhudson/combine-install-and-application-state
...
smoosh InstallState into ApplicationState
2020-12-18 15:52:59 +13:00
Michael Hudson-Doyle
f4618cbdaa
ensure probing errors get reported properly during an autoinstall
2020-12-18 14:42:01 +13:00
Michael Hudson-Doyle
4cdfe469e7
run error commands on failure
2020-12-18 14:42:01 +13:00
Michael Hudson-Doyle
4de9668a17
handle top-level exceptions as documented
...
Also let install failures be handled at this level.
2020-12-18 14:42:01 +13:00
Michael Hudson-Doyle
c77d6b402a
document how error handling should work
2020-12-18 14:42:01 +13:00
Michael Hudson-Doyle
0ad21b7c96
smoosh InstallState into ApplicationState
...
Having these be separate was slightly confusing, particular as I need to
add an "ERROR" state that isn't necessarily due to the install step
itself failing. Now we have one enum for the overall status of the
installer and a separate field that indicates whether the client should
be in interactive or non-interactive mode (or "not-yet-known" which is
handled more or less like non-interactive mode).
2020-12-18 14:41:35 +13:00
Michael Hudson-Doyle
4798b7f9a5
Merge pull request #871 from mwhudson/exception-to-error-report
...
add a way of mapping an exception to an error report
2020-12-18 14:39:58 +13:00
Michael Hudson-Doyle
83ccaa7f1c
Merge pull request #872 from mwhudson/autoinstall-refresh-update-no
...
putting "update: no" in autoinstall for refresh section should prevent update
2020-12-18 14:39:33 +13:00
Michael Hudson-Doyle
842fe6176f
Merge pull request #869 from mwhudson/append-logs
...
append, do not overwrite logs
2020-12-18 13:43:42 +13:00
Michael Hudson-Doyle
25e107e522
Merge pull request #870 from mwhudson/reorg-syslog-ids
...
have the client unconditionally print whatever comes over one syslog id
2020-12-18 13:42:47 +13:00
Michael Hudson-Doyle
3161a1fb08
putting "update: no" in autoinstall for refresh section should prevent update
...
Crazily, the code interpreted the presence of an 'update' key as meaning
a refresh should be attempted and ignored its value.
2020-12-18 13:41:10 +13:00
Michael Hudson-Doyle
369c0f896e
have the client unconditionally print whatever comes over one syslog id
...
This makes the code to print the output from early commands a bit
simpler, and would make the output of error commands visible if anything
actually ran the error commands (coming soon to a PR near you!)
2020-12-18 12:50:37 +13:00
Michael Hudson-Doyle
2154b03d0e
add a way of mapping an exception to an error report
...
I am going to add code that generates an error report for an unhandled
exception soon and we do not want to generate two reports for one
exception...
2020-12-18 12:29:53 +13:00
Michael Hudson-Doyle
53d06961cc
append, do not overwrite logs
...
The log file names have pids in now, but when subiquity re-execs itself
to fake a snap refresh the pid doesn't change. Having the pre "refresh"
logs get overwritten does not help anything and is sometimes very
annoying.
2020-12-18 12:18:40 +13:00
Michael Hudson-Doyle
2bc274eda0
Merge pull request #864 from mwhudson/dasd-rework-2
...
fixes for FBA, unformatted, and passed-via virtio dasds
2020-12-17 09:10:06 +13:00
Michael Hudson-Doyle
33bdc89f35
add a test of vendor globbing, improve other tests a bit
2020-12-16 15:39:44 +13:00
Michael Hudson-Doyle
187b68a4ac
Merge pull request #868 from mwhudson/answers-races
...
tidy up answers handling a bit and fix a race
2020-12-16 12:56:43 +13:00
Michael Hudson-Doyle
50328edf7f
actually set up dasd object correctly :/
2020-12-16 10:24:27 +13:00
Michael Hudson-Doyle
74732158f3
calculate the capacity of an unformatted dasd by hand
2020-12-16 10:24:27 +13:00
Michael Hudson-Doyle
68254bb23c
have ptable_for_new_partition return msdos for FBA dasd and vtoc for all others
...
this has the side effect that dasds passed via virtio get vtoc partition tables
2020-12-16 10:24:27 +13:00
Michael Hudson-Doyle
a8c0c5bebd
update curtin and probert branches to commits that contain dasd goodness
2020-12-16 10:24:27 +13:00
Michael Hudson-Doyle
007dd3e5ef
tidy up answers handling a bit and fix a race
2020-12-16 10:21:32 +13:00
Michael Hudson-Doyle
43601b8d79
Merge pull request #865 from mwhudson/stop-probing-when-filesystem-configured
...
stop listening to udev events when the filesystem gets configured
2020-12-15 23:47:00 +13:00
Michael Hudson-Doyle
ac6c84a78b
check udev data directly when processing match: specs
...
also allow matching on ID_VENDOR
2020-12-09 11:39:55 +13:00
Michael Hudson-Doyle
c302c63d08
Merge pull request #866 from mwhudson/cloud-init-wait-server
...
do not wait forever for cloud-init
2020-12-09 10:27:21 +13:00
Michael Hudson-Doyle
32dbf28767
only wait 10 minutes for cloud-init status --wait to complete, not forever
...
and show a message to the user when this happens
2020-12-08 21:43:38 +13:00
Michael Hudson-Doyle
bbcf050205
move waiting for cloud-init to server, where it makes sense
2020-12-08 21:05:36 +13:00
Michael Hudson-Doyle
0f23e61c59
stop listening to udev events when the filesystem gets configured
...
Otherwise subiquity kicks off probes when there are the inevitable block
device changes during the installation, which is at best useless but
seems to occasionally cause install failures too.
2020-12-08 12:37:32 +13:00
Michael Hudson-Doyle
a8b9a42c21
Merge pull request #863 from MarcusTomlinson/main
...
Ignore .subiquity directory
2020-11-11 09:49:37 +13:00
Marcus Tomlinson
30089ba86a
Ignore .subiquity directory
2020-11-10 17:48:17 +00:00
Dimitri John Ledkov
f958015e2c
Merge pull request #855 from mwhudson/lp-1887669
...
have dependencies/reverse_dependencies consider the relationship betw…
2020-11-09 16:26:37 +00:00
Dimitri John Ledkov
0992e54fb5
Merge pull request #862 from MarcusTomlinson/main
...
Fix make install_deps and make unit/check
2020-11-09 16:25:54 +00:00
Dimitri John Ledkov
997235886d
Merge pull request #861 from mwhudson/fix-console_conf
...
trivial fixes for console_conf breakage
2020-11-09 16:22:08 +00:00
Marcus Tomlinson
927c324e0a
Fix make install_deps and make unit/check
2020-11-09 12:40:39 +00:00
Michael Hudson-Doyle
00cfee002f
trivial fixes for console_conf breakage
2020-11-06 09:54:30 +13:00
Michael Hudson-Doyle
7381df63d5
Merge pull request #859 from mwhudson/lp-1896497
...
use -report_el_torito as_mkisofs option of xorriso to find command to repack ISO
2020-11-04 15:30:26 +13:00
Michael Hudson-Doyle
e42aef6aa8
Merge pull request #854 from mwhudson/client-server-6
...
fully implement client server model
2020-11-04 15:30:17 +13:00
Michael Hudson-Doyle
6fe600987c
pin yarl to 1.5.1 when building the snap too
2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle
bc81cee393
write some documentation
2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle
449ad839aa
update integration tests
2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle
303c0d75d6
move reboot controller (the last one!) to new world
2020-11-04 10:57:22 +13:00