Page MenuHomeDevCentral

Eglide Salt minion doesn't respond
Closed, ResolvedPublic

Description

There are several SSH keys and sudo capabilities change to submit to Eglide,
but the minion is down and so it can't receive the changes.

Currently, that means only @Sandlayth has root access to Eglide.

Eglide
$ systemctl status salt-minion
● salt-minion.service - The Salt Minion
   Loaded: loaded (/lib/systemd/system/salt-minion.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2017-10-27 17:58:10 UTC; 15h ago

  Process: 15509 ExecStart=/usr/bin/salt-minion (code=exited, status=42)
 Main PID: 15509 (code=exited, status=42)

Event Timeline

@Sandlayth I don't currently have an access to Eglide, so you can do one of the following things:

1. Restart the Salt minion

Enquiry in /var/log/minion

Ensure it can communicate with Ysul through a salt-call state.highstate test=True

2. Deploy manually the following sudo change

I can help if I've recover a root access to Eglide, but I cycled my SSH keys in 6d1bf7462ef5, so I haven't currently.

D1067 contains a roles/core/sudo/files/ops file to put in /etc/suoders.d

As the ops group doesn't exist, you can add on a temporary basis this line too:

%wheel ALL = (ALL) NOPASSWD: ALL

3. Add my SSH keys to root accounts

As root@ access hasn't been disabled yet, you can also add my new keys to /root/.ssh/authorized_keys.

I'll then take care of (1).

3 and 1 done. I'm watching the minion log to check it's well resolved

Root cause was a PKI rekeying issue:

21:52 <Dereckson> Salt uses keys to authenticate master and minion too (not for SSH, it uses its own transport protocol, but the same kind of keys)
21:52 <Dereckson> Ysul is the master, it's the server pushing the configuration
21:52 <Dereckson> Eglide is one of the minion, which receives it
21:53 <Dereckson> Eglide had in /etc/salt/minion the OLD fingerprint of the Ysul Salt master

The minion has been restarted.

It has to apply the following configuration states:

1Script started on Sat Oct 28 22:51:14 2017
2
3$ salt eglide state.highstate test=True
4
5eglide:
6----------
7 ID: rc
8 Function: file.managed
9 Name: /etc/rc.local
10 Result: None
11 Comment: The file /etc/rc.local is set to be changed
12 Started: 22:51:59.725702
13 Duration: 119.781 ms
14 Changes:
15 ----------
16 diff:
17 ---
18 +++
19 @@ -6,7 +6,15 @@
20 # Project: Nasqueron
21 # Created: 2016-06-15
22 # License: Trivial work, not eligible to copyright
23 +# Source file: roles/core/rc/files/rc.local.sh
24 # -------------------------------------------------------------
25 +#
26 +# <auto-generated>
27 +# This file is managed by our rOPS SaltStack repository.
28 +#
29 +# Changes to this file may cause incorrect behavior
30 +# and will be lost if the state is redeployed.
31 +# </auto-generated>
32
33 # -------------------------------------------------------------
34 # IPv6
35----------
36 ID: hostname
37 Function: file.managed
38 Name: /etc/hostname
39 Result: True
40 Comment: The file /etc/hostname is in the correct state
41 Started: 22:51:59.846583
42 Duration: 14.561 ms
43 Changes:
44----------
45 ID: after_hostname_change
46 Function: cmd.run
47 Name: hostname `cat /etc/hostname`
48 Result: True
49 Comment: State was not run because none of the onchanges reqs changed
50 Changes:
51----------
52 ID: after_hostname_change_debian
53 Function: cmd.run
54 Name: invoke-rc.d hostname.sh start
55 Result: True
56 Comment: State was not run because none of the onchanges reqs changed
57 Changes:
58----------
59 ID: motd
60 Function: file.managed
61 Name: /etc/motd.tail
62 Result: True
63 Comment: The file /etc/motd.tail is in the correct state
64 Started: 22:51:59.885402
65 Duration: 22.311 ms
66 Changes:
67----------
68 ID: get_rid_of_scaleway_motd
69 Function: file.absent
70 Name: /etc/update-motd.d/50-scw
71 Result: True
72 Comment: File /etc/update-motd.d/50-scw is not present
73 Started: 22:51:59.908762
74 Duration: 3.648 ms
75 Changes:
76----------
77 ID: /usr/local/bin/motd
78 Function: file.managed
79 Result: True
80 Comment: The file /usr/local/bin/motd is in the correct state
81 Started: 22:51:59.913455
82 Duration: 22.521 ms
83 Changes:
84----------
85 ID: /etc/rsyslog.d/50-default.conf
86 Function: file.managed
87 Result: None
88 Comment: The file /etc/rsyslog.d/50-default.conf is set to be changed
89 Started: 22:51:59.937025
90 Duration: 62.682 ms
91 Changes:
92 ----------
93 diff:
94 ---
95 +++
96 @@ -1,6 +1,18 @@
97 -# Default rules for rsyslog.
98 +# -------------------------------------------------------------
99 +# Default rules for rsyslog
100 +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
101 +# Project: Nasqueron
102 +# Created: 2016-09-11
103 +# License: Trivial work, not eligible to copyright
104 +# Source file: roles/core/rsyslog/files/default.conf
105 +# -------------------------------------------------------------
106 #
107 -# For more information see rsyslog.conf(5) and /etc/rsyslog.conf
108 +# <auto-generated>
109 +# This file is managed by our rOPS SaltStack repository.
110 +#
111 +# Changes to this file may cause incorrect behavior
112 +# and will be lost if the state is redeployed.
113 +# </auto-generated>
114
115 #
116 # First some standard log files. Log by facility.
117----------
118 ID: salt_roles
119 Function: grains.list_present
120 Name: roles
121 Result: True
122 Comment: Value ['shellserver'] is already in grain roles
123 Started: 22:52:00.003257
124 Duration: 4.017 ms
125 Changes:
126----------
127 ID: /etc/ssh/sshd_config
128 Function: file.managed
129 Result: None
130 Comment: The file /etc/ssh/sshd_config is set to be changed
131 Started: 22:52:00.008320
132 Duration: 74.917 ms
133 Changes:
134 ----------
135 diff:
136 ---
137 +++
138 @@ -19,7 +19,7 @@
139 AuthorizedKeysFile .ssh/authorized_keys
140
141 # Nasqueron servers authentication should only occur through SSH keys
142 -# but PAM can offer extrea capabilities if needed like OTP.
143 +# but PAM can offer extra capabilities if needed like OTP.
144 PasswordAuthentication no
145 ChallengeResponseAuthentication no
146 UsePAM yes
147----------
148 ID: pam_disable_nologin
149 Function: file.comment
150 Name: /etc/pam.d/sshd
151 Result: True
152 Comment: Pattern already commented
153 Started: 22:52:00.084290
154 Duration: 18.781 ms
155 Changes:
156----------
157 ID: letsencrypt_software
158 Function: pkg.installed
159 Name: certbot
160 Result: True
161 Comment: Package certbot is already installed
162 Started: 22:52:04.211938
163 Duration: 3222.454 ms
164 Changes:
165----------
166 ID: /var/letsencrypt-auto
167 Function: file.directory
168 Result: True
169 Comment: The directory /var/letsencrypt-auto is in the correct state
170 Started: 22:52:07.435625
171 Duration: 5.213 ms
172 Changes:
173----------
174 ID: /etc/letsencrypt/cli.ini
175 Function: file.managed
176 Result: None
177 Comment: The file /etc/letsencrypt/cli.ini is set to be changed
178 Started: 22:52:07.442007
179 Duration: 59.906 ms
180 Changes:
181 ----------
182 diff:
183 ---
184 +++
185 @@ -4,7 +4,7 @@
186 # Project: Nasqueron
187 # Created: 2017-04-27
188 # License: Trivial work, not eligible to copyright
189 -# Source file: roles/core/letsencrypt-renew/files/letsencrypt.timer
190 +# Source file: roles/webserver-core/letsencrypt/files/letsencrypt.timer
191 # -------------------------------------------------------------
192 #
193 # <auto-generated>
194----------
195 ID: /usr/local/sbin/letsencrypt-renewal
196 Function: file.managed
197 Result: None
198 Comment: The file /usr/local/sbin/letsencrypt-renewal is set to be changed
199 Started: 22:52:07.503036
200 Duration: 57.455 ms
201 Changes:
202 ----------
203 diff:
204 ---
205 +++
206 @@ -6,7 +6,7 @@
207 # Project: Nasqueron
208 # Created: 2016-08-24
209 # License: Trivial work, not eligible to copyright
210 -# Source file: roles/core/letsencrypt-renew/files/letsencrypt-renewal.sh
211 +# Source file: roles/webserver-core/letsencrypt/files/letsencrypt-renewal.sh
212 # -------------------------------------------------------------
213 #
214 # <auto-generated>
215----------
216 ID: letsencrypt_renew_unit
217 Function: file.managed
218 Name: /etc/systemd/system/letsencrypt-renew.service
219 Result: None
220 Comment: The file /etc/systemd/system/letsencrypt-renew.service is set to be changed
221 Started: 22:52:07.561631
222 Duration: 57.911 ms
223 Changes:
224 ----------
225 diff:
226 ---
227 +++
228 @@ -4,7 +4,7 @@
229 # Project: Nasqueron
230 # Created: 2016-08-24
231 # License: Trivial work, not eligible to copyright
232 -# Source file: roles/core/letsencrypt-renew/files/letsencrypt.service
233 +# Source file: roles/webserver-core/letsencrypt/files/letsencrypt.service
234 # -------------------------------------------------------------
235 #
236 # <auto-generated>
237----------
238 ID: letsencrypt_renew_unit
239 Function: module.run
240 Name: service.force_reload
241 Result: None
242 Comment: Module function service.force_reload is set to execute
243 Started: 22:52:07.636780
244 Duration: 3.156 ms
245 Changes:
246----------
247 ID: letsencrypt_renew_enable
248 Function: service.enabled
249 Name: letsencrypt-renew
250 Result: True
251 Comment: Service letsencrypt-renew is already enabled, and is in the desired state
252 Started: 22:52:07.652771
253 Duration: 211.974 ms
254 Changes:
255----------
256 ID: certificate_www.eglide.org
257 Function: cmd.run
258 Name: certbot certonly -d www.eglide.org
259 Result: True
260 Comment: unless execution succeeded
261 Started: 22:52:07.866035
262 Duration: 42.106 ms
263 Changes:
264----------
265 ID: certificate_robot.paysannerebelle.com
266 Function: cmd.run
267 Name: certbot certonly -d robot.paysannerebelle.com
268 Result: True
269 Comment: unless execution succeeded
270 Started: 22:52:07.909419
271 Duration: 38.908 ms
272 Changes:
273----------
274 ID: /usr/bin/list-nginx-vhosts-conf
275 Function: file.managed
276 Result: None
277 Comment: The file /usr/bin/list-nginx-vhosts-conf is set to be changed
278 Started: 22:52:07.949658
279 Duration: 23.278 ms
280 Changes:
281----------
282 ID: fedai
283 Function: user.absent
284 Result: True
285 Comment: User fedai is not present
286 Started: 22:52:07.979020
287 Duration: 3.898 ms
288 Changes:
289----------
290 ID: amjtest
291 Function: user.absent
292 Result: True
293 Comment: User amjtest is not present
294 Started: 22:52:07.984031
295 Duration: 3.622 ms
296 Changes:
297----------
298 ID: kalix
299 Function: user.absent
300 Result: True
301 Comment: User kalix is not present
302 Started: 22:52:07.988732
303 Duration: 3.744 ms
304 Changes:
305----------
306 ID: akoe
307 Function: user.absent
308 Result: True
309 Comment: User akoe is not present
310 Started: 22:52:07.993513
311 Duration: 3.628 ms
312 Changes:
313----------
314 ID: tarik
315 Function: user.absent
316 Result: True
317 Comment: User tarik is not present
318 Started: 22:52:07.998218
319 Duration: 3.671 ms
320 Changes:
321----------
322 ID: erol
323 Function: user.present
324 Result: True
325 Comment: User erol is present and up to date
326 Started: 22:52:08.003007
327 Duration: 9.988 ms
328 Changes:
329----------
330 ID: shark
331 Function: user.present
332 Result: True
333 Comment: User shark is present and up to date
334 Started: 22:52:08.014039
335 Duration: 9.117 ms
336 Changes:
337----------
338 ID: dereckson
339 Function: user.present
340 Result: True
341 Comment: User dereckson is present and up to date
342 Started: 22:52:08.024204
343 Duration: 9.301 ms
344 Changes:
345----------
346 ID: rix
347 Function: user.present
348 Result: True
349 Comment: User rix is present and up to date
350 Started: 22:52:08.034593
351 Duration: 9.143 ms
352 Changes:
353----------
354 ID: chan
355 Function: user.present
356 Result: True
357 Comment: User chan is present and up to date
358 Started: 22:52:08.044783
359 Duration: 9.202 ms
360 Changes:
361----------
362 ID: hlp
363 Function: user.present
364 Result: True
365 Comment: User hlp is present and up to date
366 Started: 22:52:08.055037
367 Duration: 9.189 ms
368 Changes:
369----------
370 ID: sandlayth
371 Function: user.present
372 Result: True
373 Comment: User sandlayth is present and up to date
374 Started: 22:52:08.065278
375 Duration: 9.233 ms
376 Changes:
377----------
378 ID: harshcrop
379 Function: user.present
380 Result: True
381 Comment: User harshcrop is present and up to date
382 Started: 22:52:08.075578
383 Duration: 9.294 ms
384 Changes:
385----------
386 ID: ariel
387 Function: user.present
388 Result: True
389 Comment: User ariel is present and up to date
390 Started: 22:52:08.085928
391 Duration: 9.736 ms
392 Changes:
393----------
394 ID: khmerboy
395 Function: user.present
396 Result: True
397 Comment: User khmerboy is present and up to date
398 Started: 22:52:08.096855
399 Duration: 9.332 ms
400 Changes:
401----------
402 ID: xray
403 Function: user.present
404 Result: True
405 Comment: User xray is present and up to date
406 Started: 22:52:08.107238
407 Duration: 9.202 ms
408 Changes:
409----------
410 ID: c2c
411 Function: user.present
412 Result: True
413 Comment: User c2c is present and up to date
414 Started: 22:52:08.117487
415 Duration: 9.133 ms
416 Changes:
417----------
418 ID: thrx
419 Function: user.present
420 Result: True
421 Comment: User thrx is present and up to date
422 Started: 22:52:08.127671
423 Duration: 9.429 ms
424 Changes:
425----------
426 ID: kumkum
427 Function: user.present
428 Result: True
429 Comment: User kumkum is present and up to date
430 Started: 22:52:08.138145
431 Duration: 9.143 ms
432 Changes:
433----------
434 ID: ringa
435 Function: user.present
436 Result: True
437 Comment: User ringa is present and up to date
438 Started: 22:52:08.148337
439 Duration: 9.131 ms
440 Changes:
441----------
442 ID: kazuya
443 Function: user.present
444 Result: True
445 Comment: User kazuya is present and up to date
446 Started: 22:52:08.158551
447 Duration: 9.073 ms
448 Changes:
449----------
450 ID: tomjerr
451 Function: user.present
452 Result: True
453 Comment: User tomjerr is present and up to date
454 Started: 22:52:08.168683
455 Duration: 9.105 ms
456 Changes:
457----------
458 ID: amj
459 Function: user.present
460 Result: True
461 Comment: User amj is present and up to date
462 Started: 22:52:08.178879
463 Duration: 9.024 ms
464 Changes:
465----------
466 ID: rashk0
467 Function: user.present
468 Result: True
469 Comment: User rashk0 is present and up to date
470 Started: 22:52:08.189135
471 Duration: 9.104 ms
472 Changes:
473----------
474 ID: xcombelle
475 Function: user.present
476 Result: True
477 Comment: User xcombelle is present and up to date
478 Started: 22:52:08.199289
479 Duration: 9.176 ms
480 Changes:
481----------
482 ID: pkuz
483 Function: user.present
484 Result: True
485 Comment: User pkuz is present and up to date
486 Started: 22:52:08.209511
487 Duration: 9.316 ms
488 Changes:
489----------
490 ID: axe
491 Function: user.present
492 Result: True
493 Comment: User axe is present and up to date
494 Started: 22:52:08.219873
495 Duration: 9.243 ms
496 Changes:
497----------
498 ID: rama
499 Function: user.present
500 Result: True
501 Comment: User rama is present and up to date
502 Started: 22:52:08.230170
503 Duration: 9.176 ms
504 Changes:
505----------
506 ID: shell
507 Function: group.present
508 Result: True
509 Comment: Group shell is present and up to date
510 Started: 22:52:08.242814
511 Duration: 3.789 ms
512 Changes:
513----------
514 ID: group_nasqueron-irc
515 Function: group.present
516 Name: nasqueron-irc
517 Result: True
518 Comment: Group nasqueron-irc is present and up to date
519 Started: 22:52:08.247667
520 Duration: 3.633 ms
521 Changes:
522----------
523 ID: group_chaton-dev
524 Function: group.present
525 Name: chaton-dev
526 Result: True
527 Comment: Group chaton-dev is present and up to date
528 Started: 22:52:08.252494
529 Duration: 3.641 ms
530 Changes:
531----------
532 ID: group_deployment
533 Function: group.present
534 Name: deployment
535 Result: True
536 Comment: Group deployment is present and up to date
537 Started: 22:52:08.257199
538 Duration: 3.64 ms
539 Changes:
540----------
541 ID: rename_root_group_to_wheel
542 Function: cmd.run
543 Name: sed -i 's/root:x:0:/wheel:x:0:/' /etc/group
544 Result: None
545 Comment: Command "sed -i 's/root:x:0:/wheel:x:0:/' /etc/group" would have been executed
546 Started: 22:52:08.261957
547 Duration: 3.899 ms
548 Changes:
549----------
550 ID: wheel
551 Function: group.present
552 Result: True
553 Comment: Group wheel is present and up to date
554 Started: 22:52:08.266941
555 Duration: 3.577 ms
556 Changes:
557----------
558 ID: sshkey_erol
559 Function: ssh_auth.present
560 Result: True
561 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/erol are already present
562 Started: 22:52:08.276397
563 Duration: 46.58 ms
564 Changes:
565----------
566 ID: sshkey_shark
567 Function: ssh_auth.present
568 Result: True
569 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/shark are already present
570 Started: 22:52:08.324028
571 Duration: 42.143 ms
572 Changes:
573----------
574 ID: sshkey_dereckson
575 Function: ssh_auth.present
576 Result: None
577 Comment: Set to update: AAAAC3NzaC1lZDI1NTE5AAAAIGV4p25jLQQHLgKH1SawoNLKuxkfyHuERRDUN9QZ7i5m
578 Started: 22:52:08.367220
579 Duration: 62.656 ms
580 Changes:
581----------
582 ID: sshkey_rix
583 Function: ssh_auth.present
584 Result: True
585 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/rix are already present
586 Started: 22:52:08.430926
587 Duration: 43.376 ms
588 Changes:
589----------
590 ID: sshkey_chan
591 Function: ssh_auth.present
592 Result: True
593 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/chan are already present
594 Started: 22:52:08.475344
595 Duration: 43.507 ms
596 Changes:
597----------
598 ID: sshkey_hlp
599 Function: ssh_auth.present
600 Result: True
601 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/hlp are already present
602 Started: 22:52:08.519937
603 Duration: 42.48 ms
604 Changes:
605----------
606 ID: sshkey_sandlayth
607 Function: ssh_auth.present
608 Result: True
609 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/sandlayth are already present
610 Started: 22:52:08.563480
611 Duration: 42.608 ms
612 Changes:
613----------
614 ID: sshkey_harshcrop
615 Function: ssh_auth.present
616 Result: True
617 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/harshcrop are already present
618 Started: 22:52:08.607131
619 Duration: 43.148 ms
620 Changes:
621----------
622 ID: sshkey_ariel
623 Function: ssh_auth.present
624 Result: True
625 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/ariel are already present
626 Started: 22:52:08.651327
627 Duration: 43.521 ms
628 Changes:
629----------
630 ID: sshkey_khmerboy
631 Function: ssh_auth.present
632 Result: True
633 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/khmerboy are already present
634 Started: 22:52:08.695899
635 Duration: 42.444 ms
636 Changes:
637----------
638 ID: sshkey_xray
639 Function: ssh_auth.present
640 Result: True
641 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/xray are already present
642 Started: 22:52:08.739393
643 Duration: 42.84 ms
644 Changes:
645----------
646 ID: sshkey_c2c
647 Function: ssh_auth.present
648 Result: True
649 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/c2c are already present
650 Started: 22:52:08.783313
651 Duration: 42.513 ms
652 Changes:
653----------
654 ID: sshkey_thrx
655 Function: ssh_auth.present
656 Result: True
657 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/thrx are already present
658 Started: 22:52:08.826872
659 Duration: 43.754 ms
660 Changes:
661----------
662 ID: sshkey_kumkum
663 Function: ssh_auth.present
664 Result: None
665 Comment: Set to add: AAAAC3NzaC1lZDI1NTE5AAAAIJnCIiESqqsGOhaS16jwboLplQIP0FwKMhk0oRF7EP55
666 Started: 22:52:08.871766
667 Duration: 42.43 ms
668 Changes:
669----------
670 ID: sshkey_ringa
671 Function: ssh_auth.present
672 Result: True
673 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/ringa are already present
674 Started: 22:52:08.915255
675 Duration: 43.678 ms
676 Changes:
677----------
678 ID: sshkey_kazuya
679 Function: ssh_auth.present
680 Result: True
681 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/kazuya are already present
682 Started: 22:52:08.959976
683 Duration: 44.413 ms
684 Changes:
685----------
686 ID: sshkey_tomjerr
687 Function: ssh_auth.present
688 Result: True
689 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/tomjerr are already present
690 Started: 22:52:09.005440
691 Duration: 44.927 ms
692 Changes:
693----------
694 ID: sshkey_amj
695 Function: ssh_auth.present
696 Result: True
697 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/amj are already present
698 Started: 22:52:09.051490
699 Duration: 64.743 ms
700 Changes:
701----------
702 ID: sshkey_rashk0
703 Function: ssh_auth.present
704 Result: True
705 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/rashk0 are already present
706 Started: 22:52:09.117278
707 Duration: 45.229 ms
708 Changes:
709----------
710 ID: sshkey_xcombelle
711 Function: ssh_auth.present
712 Result: True
713 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/xcombelle are already present
714 Started: 22:52:09.163571
715 Duration: 44.043 ms
716 Changes:
717----------
718 ID: sshkey_pkuz
719 Function: ssh_auth.present
720 Result: True
721 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/pkuz are already present
722 Started: 22:52:09.208661
723 Duration: 44.901 ms
724 Changes:
725----------
726 ID: sshkey_axe
727 Function: ssh_auth.present
728 Result: True
729 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/axe are already present
730 Started: 22:52:09.254648
731 Duration: 44.433 ms
732 Changes:
733----------
734 ID: sshkey_rama
735 Function: ssh_auth.present
736 Result: True
737 Comment: All host keys in file salt://roles/shellserver/users/files/ssh_keys/rama are already present
738 Started: 22:52:09.300136
739 Duration: 43.785 ms
740 Changes:
741----------
742 ID: builder_account
743 Function: user.present
744 Name: builder
745 Result: True
746 Comment: User builder is present and up to date
747 Started: 22:52:09.344997
748 Duration: 9.658 ms
749 Changes:
750----------
751 ID: builder_sudo_capabilities_file
752 Function: file.managed
753 Name: /etc/sudoers.d/builder
754 Result: True
755 Comment: The file /etc/sudoers.d/builder is in the correct state
756 Started: 22:52:09.355735
757 Duration: 72.39 ms
758 Changes:
759----------
760 ID: shells
761 Function: pkg.installed
762 Result: True
763 Comment: All specified packages are already installed
764 Started: 22:52:09.429244
765 Duration: 71.224 ms
766 Changes:
767----------
768 ID: editors
769 Function: pkg.installed
770 Result: True
771 Comment: All specified packages are already installed
772 Started: 22:52:09.501572
773 Duration: 78.281 ms
774 Changes:
775----------
776 ID: utilities
777 Function: pkg.installed
778 Result: True
779 Comment: All specified packages are already installed
780 Started: 22:52:09.580907
781 Duration: 72.712 ms
782 Changes:
783----------
784 ID: utilities_www
785 Function: pkg.installed
786 Result: None
787 Comment: The following packages would be installed/updated: w3m, links
788 Started: 22:52:09.654664
789 Duration: 135.957 ms
790 Changes:
791----------
792 ID: dev
793 Function: pkg.installed
794 Result: None
795 Comment: The following packages would be installed/updated: jq
796 Started: 22:52:09.791734
797 Duration: 139.217 ms
798 Changes:
799----------
800 ID: dev_popular_libs
801 Function: pkg.installed
802 Result: True
803 Comment: All specified packages are already installed
804 Started: 22:52:09.932077
805 Duration: 68.558 ms
806 Changes:
807----------
808 ID: languages_removed
809 Function: pkg.removed
810 Result: True
811 Comment: All specified packages are already absent
812 Started: 22:52:10.001778
813 Duration: 134.573 ms
814 Changes:
815----------
816 ID: languages
817 Function: pkg.installed
818 Result: True
819 Comment: All specified packages are already installed
820 Started: 22:52:10.137416
821 Duration: 70.405 ms
822 Changes:
823----------
824 ID: languages_libs
825 Function: pkg.installed
826 Result: None
827 Comment: The following packages would be installed/updated: php7.1-mysqli, php7.1-filter, composer, php7.1-pdo_sqlite, php7.1-mbstring, php7.1-xsl, php7.1-zlib, php7.1-dom, php7.1-gd, php7.1-xmlwriter, php7.1-session, php7.1-simplexml, php7.1-wddx, php7.1-intl, php7.1-soap, php7.1-hash, php-pear, php7.1-pdo_mysql, php7.1-pcntl, php7.1-openssl, php7.1-xml, php-codesniffer, php7.1-bcmath
828 Started: 22:52:10.208863
829 Duration: 140.788 ms
830 Changes:
831----------
832 ID: spelling
833 Function: pkg.installed
834 Result: None
835 Comment: The following packages would be installed/updated: aspell-en
836 Started: 22:52:10.350702
837 Duration: 135.398 ms
838 Changes:
839----------
840 ID: irc_clients
841 Function: pkg.installed
842 Result: True
843 Comment: All specified packages are already installed
844 Started: 22:52:10.487148
845 Duration: 71.501 ms
846 Changes:
847----------
848 ID: irc_bouncers
849 Function: pkg.installed
850 Result: True
851 Comment: All specified packages are already installed
852 Started: 22:52:10.559769
853 Duration: 67.818 ms
854 Changes:
855----------
856 ID: eggdrop_installer
857 Function: file.managed
858 Name: /usr/local/bin/install-eggdrop
859 Result: True
860 Comment: The file /usr/local/bin/install-eggdrop is in the correct state
861 Started: 22:52:10.628766
862 Duration: 22.227 ms
863 Changes:
864----------
865 ID: irc_misc
866 Function: pkg.installed
867 Result: True
868 Comment: All specified packages are already installed
869 Started: 22:52:10.652124
870 Duration: 71.507 ms
871 Changes:
872----------
873 ID: oidentd_config
874 Function: file.managed
875 Name: /etc/oidentd.conf
876 Result: True
877 Comment: The file /etc/oidentd.conf is in the correct state
878 Started: 22:52:10.724700
879 Duration: 22.159 ms
880 Changes:
881----------
882 ID: nginx
883 Function: pkg.installed
884 Result: True
885 Comment: Package nginx is already installed
886 Started: 22:52:10.747900
887 Duration: 67.292 ms
888 Changes:
889----------
890 ID: nginx
891 Function: service.running
892 Result: True
893 Comment: The service nginx is already running
894 Started: 22:52:10.825867
895 Duration: 220.91 ms
896 Changes:
897----------
898 ID: letsencrypt
899 Function: pkg.installed
900 Name: certbot
901 Result: True
902 Comment: Package certbot is already installed
903 Started: 22:52:11.048160
904 Duration: 70.205 ms
905 Changes:
906----------
907 ID: /var/www/html
908 Function: file.recurse
909 Result: None
910 Comment: #### removed ####
911 /var/www/html/index.nginx-debian.html
912 Started: 22:52:11.119475
913 Duration: 3895.715 ms
914 Changes:
915----------
916 ID: /var/wwwroot/paysannerebelle.com/robot/
917 Function: file.directory
918 Result: True
919 Comment: The directory /var/wwwroot/paysannerebelle.com/robot is in the correct state
920 Started: 22:52:15.016241
921 Duration: 5.251 ms
922 Changes:
923----------
924 ID: /var/log/www/eglide.org
925 Function: file.directory
926 Result: True
927 Comment: The directory /var/log/www/eglide.org is in the correct state
928 Started: 22:52:15.022644
929 Duration: 4.942 ms
930 Changes:
931----------
932 ID: /var/log/www/paysannerebelle.com
933 Function: file.directory
934 Result: True
935 Comment: The directory /var/log/www/paysannerebelle.com is in the correct state
936 Started: 22:52:15.028622
937 Duration: 5.4 ms
938 Changes:
939----------
940 ID: /etc/vhosts
941 Function: file.managed
942 Result: True
943 Comment: The file /etc/vhosts is in the correct state
944 Started: 22:52:15.035086
945 Duration: 22.512 ms
946 Changes:
947----------
948 ID: /usr/local/bin/vhosts
949 Function: file.managed
950 Result: None
951 Comment: The file /usr/local/bin/vhosts is set to be changed
952 Started: 22:52:15.058664
953 Duration: 60.612 ms
954 Changes:
955 ----------
956 diff:
957 ---
958 +++
959 @@ -6,7 +6,7 @@
960 # Project: Eglide
961 # Created: 2017-01-10
962 # License: Trivial work, not eligible to copyright
963 -# Source file: roles/shellserver/vhosts/files/vhosts
964 +# Source file: roles/shellserver/vhosts/files/vhosts.sh
965 # -------------------------------------------------------------
966 #
967 # <auto-generated>
968----------
969 ID: nginx_config_files
970 Function: file.recurse
971 Name: /etc/nginx
972 Result: True
973 Comment: The directory /etc/nginx is in the correct state
974 Started: 22:52:15.120380
975 Duration: 448.756 ms
976 Changes:
977----------
978 ID: nginx_config_files
979 Function: cmd.run
980 Name: nginx -s reload
981 Result: True
982 Comment: State was not run because none of the onchanges reqs changed
983 Changes:
984----------
985 ID: /var/log/www
986 Function: file.directory
987 Result: True
988 Comment: The directory /var/log/www is in the correct state
989 Started: 22:52:15.581168
990 Duration: 5.145 ms
991 Changes:
992----------
993 ID: unknown_domain_files
994 Function: file.recurse
995 Name: /var/wwwroot/unknown_domains
996 Result: True
997 Comment: The directory /var/wwwroot/unknown_domains is in the correct state
998 Started: 22:52:15.587370
999 Duration: 298.784 ms
1000 Changes:
1001----------
1002 ID: odderon_account
1003 Function: user.present
1004 Name: odderon
1005 Result: True
1006 Comment: User odderon is present and up to date
1007 Started: 22:52:15.887204
1008 Duration: 9.66 ms
1009 Changes:
1010----------
1011 ID: odderon_sudo_capabilities_file
1012 Function: file.managed
1013 Name: /etc/sudoers.d/odderon
1014 Result: True
1015 Comment: The file /etc/sudoers.d/odderon is in the correct state
1016 Started: 22:52:15.897932
1017 Duration: 82.478 ms
1018 Changes:
1019----------
1020 ID: darkbot_repo
1021 Function: file.directory
1022 Name: /opt/darkbot
1023 Result: True
1024 Comment: The directory /opt/darkbot is in the correct state
1025 Started: 22:52:15.981562
1026 Duration: 5.2 ms
1027 Changes:
1028----------
1029 ID: darkbot_repo
1030 Function: git.latest
1031 Name: https://devcentral.nasqueron.org/source/darkbot.git
1032 Result: True
1033 Comment: unless execution succeeded
1034 Started: 22:52:16.034377
1035 Duration: 907.926 ms
1036 Changes:
1037----------
1038 ID: darkbot_build
1039 Function: cmd.script
1040 Result: True
1041 Comment: unless execution succeeded
1042 Started: 22:52:16.964161
1043 Duration: 1795.527 ms
1044 Changes:
1045----------
1046 ID: odderon_unit
1047 Function: file.managed
1048 Name: /etc/systemd/system/odderon.service
1049 Result: True
1050 Comment: The file /etc/systemd/system/odderon.service is in the correct state
1051 Started: 22:52:18.761010
1052 Duration: 29.92 ms
1053 Changes:
1054----------
1055 ID: odderon_unit
1056 Function: module.run
1057 Name: service.force_reload
1058 Result: True
1059 Comment: State was not run because none of the onchanges reqs changed
1060 Changes:
1061----------
1062 ID: odderon_running
1063 Function: service.running
1064 Name: odderon
1065 Result: True
1066 Comment: The service odderon is already running
1067 Started: 22:52:18.821810
1068 Duration: 268.725 ms
1069 Changes:
1070
1071Summary for eglide
1072-------------
1073Succeeded: 116 (unchanged=17, changed=7)
1074Failed: 0
1075-------------
1076Total states run: 116
1077Total run time: 14.953 s
1078
1079Script done on Sat Oct 28 22:52:23 2017

dereckson lowered the priority of this task from Unbreak Now! to High.Oct 28 2017, 23:56

Working now, some cleaning needed.

dereckson closed this task as Resolved.EditedOct 29 2017, 15:41

Eglide highstate is correct, excepted for the PHP libraries and a former bug to the Let's encrypt timer we can solve independently.

Tasks T1289 and T1290 have been created for that.