Commit ce43e34
committed
Log boot.py exceptions
If boot.py fails with an exception, log it to syslog. In case the
exception is failing to remove the hostname file, it just means the
node isn't marked for reinstallation, so in this case log severity is
INFO. In case some other exception occurs, it's probably a more
serious error, and in that case the severity is ERR.1 parent ced836c commit ce43e34
1 file changed
+16
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
10 | 17 | | |
11 | 18 | | |
12 | 19 | | |
13 | 20 | | |
14 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
15 | 27 | | |
16 | 28 | | |
17 | 29 | | |
| |||
25 | 37 | | |
26 | 38 | | |
27 | 39 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
0 commit comments