talos icon indicating copy to clipboard operation
talos copied to clipboard

Keep printing maintenance mode message

Open Daxcor69 opened this issue 3 years ago • 0 comments

The console window via impi for my system wasn't big enough to read the following message:

 4.119547] [talos] next renewal in 11h59m59.799719126s
[    4.121079] [talos] task loadConfig (1/1): this machine is reachable at:
[    4.123059] [talos] task loadConfig (1/1):  10.5.0.2
[    4.124498] [talos] task loadConfig (1/1): server certificate fingerprint:
[    4.126525] [talos] task loadConfig (1/1):  8ALKeVwM8/hr/YktgK6aCSVnDnbfhQK7BtvOEQIopwI=
[    4.128853] [talos] task loadConfig (1/1): 
[    4.130120] [talos] task loadConfig (1/1): upload configuration using talosctl:
[    4.132201] [talos] task loadConfig (1/1):  talosctl apply-config --insecure --nodes 10.5.0.2 --file <config.yaml>
[    4.135174] [talos] task loadConfig (1/1): or apply configuration using talosctl interactive installer:
[    4.137863] [talos] task loadConfig (1/1):  talosctl apply-config --insecure --nodes 10.5.0.2 --mode=interactive
[    4.140782] [talos] task loadConfig (1/1): optionally with node fingerprint check:
[    4.143023] [talos] task loadConfig (1/1):  talosctl apply-config --insecure --nodes 10.5.0.2 --cert-fingerprint '8ALKeVwM8/hr/YktgK6aCSVnDnbfhQK7BtvOEQIopwI=' --file <config.yaml>
[    4.478693] [talos] created route {"component": "controller-runtime", "controller": "network.RouteSpecController", "destination": "default", "gateway": "10.5.0.1", "table": "main", "link": "eth0"}
[    4.862728] [talos] adjusting time (slew) by 164.501445ms via 119.28.206.193, state TIME_OK, status STA_PLL | STA_NANO {"component": "controller-runtime", "controller": "time.SyncController"}```

It scrolled by so fast that all I saw was

[    4.143023] [talos] task loadConfig (1/1):  talosctl apply-config --insecure --nodes 10.5.0.2 --cert-fingerprint '8ALKeVwM8/hr/YktgK6aCSVnDnbfhQK7BtvOEQIopwI=' --file <config.yaml>
[    4.478693] [talos] created route {"component": "controller-runtime", "controller": "network.RouteSpecController", "destination": "default", "gateway": "10.5.0.1", "table": "main", "link": "eth0"}
[    4.862728] [talos] adjusting time (slew) by 164.501445ms via 119.28.206.193, state TIME_OK, status STA_PLL | STA_NANO {"component": "controller-runtime", "controller": "time.SyncController"}```

Then it just stayed there forever. I thought the installation failed. So I tried again and again with the same results. I think having a message in capitals like "YOU ARE IN MAINTANCE MODE APPLY CONFIG NOW" repeated would be really helpful. I think you could do away with the time sync message. I really don't see the value is repeating that over and over again at this phase of the install. I know it should have been obvious but for frustrated noobs, you can easily miss the clues.

Daxcor69 avatar May 22 '22 14:05 Daxcor69