Salt and systemd units created.
Ref T1129
Differential D864
Create Odderon systemd unit Sandlayth on Jan 25 2017, 23:16. Authored by Tags None Referenced Files
Subscribers None
Details
Salt and systemd units created. Ref T1129
Diff Detail
Event Timeline
Comment Actions Salt master $ cd /opt/nasqueron-operations $ arc patch D864 $ salt eglide state.apply roles/shellserver/odderon/ [...] eglide: ---------- ID: odderon_unit Function: file.managed Name: /etc/systemd/system/odderon.service Result: True Comment: File /etc/systemd/system/odderon.service updated Started: 10:32:37.848059 Duration: 860.07 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: odderon_unit Function: module.run Name: systemd.force_reload Result: False Comment: Module function systemd.force_reload is not available Started: 10:32:38.714582 Duration: 4031.428 ms Changes: ---------- ID: odderon_running Function: service.running Name: odderon Result: False Comment: One or more requisite failed: roles/shellserver/odderon/.service.odderon_unit Changes: [...] Comment Actions Works now when the unit file is present: Salt master $ salt eglide state.apply roles/shellserver/odderon/service eglide: ---------- ID: odderon_unit Function: file.managed Name: /etc/systemd/system/odderon.service Result: True Comment: File /etc/systemd/system/odderon.service is in the correct state Started: 10:41:51.011989 Duration: 589.945 ms Changes: ---------- ID: odderon_unit Function: module.run Name: service.force_reload Result: True Comment: State was not run because none of the onchanges reqs changed Changes: ---------- ID: odderon_running Function: service.running Name: odderon Result: True Comment: Started Service odderon Started: 10:41:54.488019 Duration: 665.829 ms Changes: ---------- odderon: True Summary for eglide ------------ Succeeded: 3 (changed=1) Failed: 0 ------------ Total states run: 3 Total run time: 1.256 s Comment Actions Eglide $ rm /etc/systemd/system/odderon.service Salt master $ salt eglide state.apply roles/shellserver/odderon/service eglide: ---------- ID: odderon_unit Function: file.managed Name: /etc/systemd/system/odderon.service Result: True Comment: File /etc/systemd/system/odderon.service updated Started: 10:44:31.869275 Duration: 600.322 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: odderon_unit Function: module.run Name: service.force_reload Result: True Comment: Module function service.force_reload executed Started: 10:44:32.475086 Duration: 94462.909 ms Changes: ---------- ret: True ---------- ID: odderon_running Function: service.running Name: odderon Result: True Comment: Service restarted Started: 10:46:07.201732 Duration: 299.625 ms Changes: ---------- odderon: True Summary for eglide ------------ Succeeded: 3 (changed=3) Failed: 0 ------------ Total states run: 3 Total run time: 95.363 s Bot successfully restarted. |