Ian Johnson
7cc528ac6d
bin/console-conf-wrapper: start snapd console-conf routine after user interacts
...
After the user has pressed enter to being using console-conf, we should invoke
the snapd routine for console-conf, which currently does the following:
* Unconditionally delays refreshes for 20 minutes from when first invoked.
* Blocks waiting for all pending refreshes to complete, including if those
involve a reboot.
This is the first step towards a more integrated user story where console-conf
is a part of the first-boot process, and at least will minimize user confusion
where console-conf proceeds asking about network configuration and then just
hangs when snapd starts a refresh as soon as network is available.
The snap routine console-conf-start command was merged to snapd with
https://github.com/snapcore/snapd/pull/9418 and will be first available in snapd
2.48.
Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2020-10-27 15:09:49 -05:00
Michael Hudson-Doyle
2b141380e8
Merge pull request #857 from xnox/fix-serial-crash
...
welcome: fix crash on serial ip addresses
2020-10-21 11:46:19 +13:00
Dimitri John Ledkov
a8a8656818
welcome: fix crash on serial ip addresses
...
LP: #1900707
2020-10-20 14:52:48 +01:00
Dimitri John Ledkov
42b4aec401
Merge pull request #856 from xnox/bump-probert
...
Bump probert to fixed json output commit
2020-10-20 12:56:58 +01:00
Dimitri John Ledkov
89df170814
Bump probert to fixed json output commit
2020-10-20 12:50:19 +01:00
Michael Hudson-Doyle
be02b57791
have dependencies/reverse_dependencies consider the relationship between dasd and disk
2020-10-16 12:29:10 +13:00
Michael Hudson-Doyle
426e55e13f
normalize subiquity/controllers/__init__.py
2020-10-12 14:11:02 +13:00
Michael Hudson-Doyle
68f23ffb5a
Merge pull request #853 from mwhudson/network-prep
...
prepare network code for upcoming client server split
2020-10-12 13:31:32 +13:00
Michael Hudson-Doyle
93b8998af6
split NetworkController into non-ui and ui-focused classes
2020-10-12 12:05:56 +13:00
Michael Hudson-Doyle
d6f3f83622
run network answers in run_answers
2020-10-12 11:58:08 +13:00
Michael Hudson-Doyle
287b4492e8
start to factor out bits of networkcontroller that touch the view
2020-10-12 11:47:48 +13:00
Michael Hudson-Doyle
798a9da563
have answers code wait for nic creation/deletion to take effect
...
the UI will not be quite so synchronous in the client/server world
2020-10-12 11:25:50 +13:00
Michael Hudson-Doyle
8dc31a3c6b
change network answers processing to not reference model directly
2020-10-12 11:22:08 +13:00
Michael Hudson-Doyle
f89b9e692a
asyncioify "fine grained action" handling a bit
2020-10-12 11:16:38 +13:00
Michael Hudson-Doyle
399e711b28
Merge pull request #852 from mwhudson/more-journal
...
feed progress view via journal
2020-10-09 14:55:59 +13:00
Michael Hudson-Doyle
4364a7ad1a
feed progress view via journal
...
this means curtin events go through the journal twice, but that has to happen
when client and server get split
2020-10-09 14:48:38 +13:00
Michael Hudson-Doyle
b3fade946a
Merge pull request #851 from mwhudson/installprogress-tweak
...
Installprogress tweak
2020-10-09 14:45:33 +13:00
Michael Hudson-Doyle
ac120fe784
Merge pull request #850 from mwhudson/more-install-states
...
introduce a couple more installstates
2020-10-09 14:45:19 +13:00
Michael Hudson-Doyle
780cfe1e7c
very minor installprogress refactoring
2020-10-09 13:55:45 +13:00
Michael Hudson-Doyle
7303d68847
introduce a couple more installstates
2020-10-09 13:39:09 +13:00
Michael Hudson-Doyle
f7c3f04887
Merge pull request #849 from mwhudson/state-management
...
refactor startup and state management a bit
2020-10-09 13:30:50 +13:00
Michael Hudson-Doyle
673ade7f2a
make core interface a little simpler
2020-10-09 13:12:09 +13:00
Michael Hudson-Doyle
c03f6580fd
move more code that should never have been so generic
2020-10-09 13:08:15 +13:00
Michael Hudson-Doyle
2bf981ebb8
move "last-screen" handling out of generic code
2020-10-09 13:07:04 +13:00
Michael Hudson-Doyle
7d22e299bd
do not call setup_autoinstall as part of __init__
2020-10-09 13:00:14 +13:00
Michael Hudson-Doyle
cac81ccd99
update POTFILES.in
2020-10-09 10:49:54 +13:00
Michael Hudson-Doyle
9a8ef486d8
Merge pull request #848 from mwhudson/better-server-subproc-handling
...
handle automatically run server processes in dry-run mode better
2020-10-06 22:25:39 +13:00
Michael Hudson-Doyle
83f03089aa
handle automatically run server processes in dry-run mode better
...
otherwise, when we start adding server restarts to the mix, it is easy to
end up with multiple server processes running
2020-10-06 17:21:51 +13:00
Michael Hudson-Doyle
ed46be6681
Merge pull request #847 from mwhudson/add-missing-init-files
...
add missing __init__.py to subiquity/server
2020-09-30 11:44:39 +13:00
Michael Hudson-Doyle
31cf346cb2
add missing __init__.py to subiquity/server
2020-09-30 11:37:19 +13:00
Michael Hudson-Doyle
0ae3dde133
Merge pull request #845 from mwhudson/serialization-fixes
...
make serialization errors clearer and fix a type issue in NetDevInfo
2020-09-25 14:44:16 +12:00
Michael Hudson-Doyle
5f0f353069
Merge pull request #846 from mwhudson/yaaaaaargl
...
pin yarl at 1.5.1 to avoid some grotty test failures
2020-09-25 14:40:20 +12:00
Michael Hudson-Doyle
a25ef1b933
make a certain kind of test failure clearer
2020-09-25 14:33:53 +12:00
Michael Hudson-Doyle
15ae0bf234
make NetDevInfo.is_connected a bool, as it is supposed to be
2020-09-25 14:33:53 +12:00
Michael Hudson-Doyle
e8b73a7ca7
include path to problem when serialization fails
2020-09-25 14:33:53 +12:00
Michael Hudson-Doyle
7bb993a99f
pin yarl at 1.5.1 to avoid some grotty test failures
2020-09-25 14:32:49 +12:00
Michael Hudson-Doyle
f37f2b08aa
Merge pull request #843 from mwhudson/dead-code
...
remove some dead code
2020-09-23 16:08:01 +12:00
Michael Hudson-Doyle
8dc97707fe
Merge pull request #841 from mwhudson/skip-confirm
...
handling skipping controllers and confirmation in client/server comms
2020-09-23 16:07:48 +12:00
Michael Hudson-Doyle
c383bf9b2e
Merge pull request #839 from mwhudson/server-snap
...
add subiquity-server to snap
2020-09-23 16:07:28 +12:00
Michael Hudson-Doyle
49f767449a
remove some dead code
2020-09-23 15:44:20 +12:00
Michael Hudson-Doyle
61be9f3fef
Merge pull request #842 from mwhudson/answers-tweak
...
do not run answers for view that is skipped
2020-09-23 15:44:00 +12:00
Michael Hudson-Doyle
e3d6bf9562
do not run answers for view that is skipped
2020-09-23 15:38:43 +12:00
Michael Hudson-Doyle
379b981ce4
Merge pull request #840 from mwhudson/restart-client-on-server-update
...
restart the client if the server is updated
2020-09-23 15:02:04 +12:00
Michael Hudson-Doyle
a78cd1a021
handle skipping controllers and confirmation in client/server calls
2020-09-23 14:56:36 +12:00
Michael Hudson-Doyle
9cb66cdc71
refactor how we tell when to show confirmation a bit
2020-09-23 14:56:36 +12:00
Michael Hudson-Doyle
59364a737e
add (trivial) server controller base class
2020-09-23 14:56:27 +12:00
Michael Hudson-Doyle
22836200f1
restart the client if the server is updated
2020-09-23 13:59:11 +12:00
Michael Hudson-Doyle
c0f0e3caaa
add subiquity-server to snap
2020-09-23 13:29:01 +12:00
Michael Hudson-Doyle
87d193b0ec
Merge pull request #838 from mwhudson/middleware
...
handle server errors nicely
2020-09-23 13:28:00 +12:00
Michael Hudson-Doyle
6647d88c14
generate the error report for a request failure in the server
...
this requires a bit of plumbing for the client to be able to show an error report
that has just been created in another process
2020-09-23 11:02:02 +12:00