Repository navigation
Commit 4e9eb89
authored
Run the deploy job on a systemd node (#40)
Provisioning failed once it reached the application layer:
System has not been booted with systemd as init system (PID 1).
Can't operate. Failed to connect to bus: Host is down
cloudmon deploys through systemd -- 15 unit templates, 68 systemd tasks and 14
daemon_reload calls -- so the node needs a real init. Switch the nodeset to the
new zuul-debian-systemd label, which runs systemd as PID 1.
With systemd present, let it own containerd and dockerd instead of starting
them with nohup; hand-started daemons would collide with the units the
cloudmon roles enable. The daemon settings now come from /etc/docker/daemon.json
seeded by the pod spec. Diagnostics read the journal instead of the log files
the manual start used to write.
Verified on a probe pod on the cluster: PID 1 is systemd, is-system-running
reports running, daemon-reload succeeds, and a unit written at runtime can be
enabled and started.1 parent 658e724 commit 4e9eb89
2 files changed
Lines changed: 23 additions & 41 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
137 | 119 | | |
138 | 120 | | |
139 | 121 | | |
| |||
158 | 140 | | |
159 | 141 | | |
160 | 142 | | |
161 | | - | |
| 143 | + | |
162 | 144 | | |
163 | 145 | | |
164 | 146 | | |
165 | 147 | | |
166 | 148 | | |
167 | 149 | | |
168 | | - | |
| 150 | + | |
169 | 151 | | |
170 | 152 | | |
171 | 153 | | |
| |||
175 | 157 | | |
176 | 158 | | |
177 | 159 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
182 | 164 | | |
183 | 165 | | |
184 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments