FOSDEM / infrastructure

Infrastructure used during the conference
Other
54 stars 22 forks source link

ansible deploy fail after power supply metrics comit #210

Open markvdb opened 5 years ago

markvdb commented 5 years ago

Hello,

This one seems to have made ansible deploy fail? Can you have a look into that?

Mark

TASK [power_supply : Install timer/service unit] ************************************************************************************************************************
changed: [control.local] => (item=power_supply_metrics.timer)
changed: [control.local] => (item=power_supply_metrics.service)

TASK [power_supply : Setup service/timer] *******************************************************************************************************************************
failed: [control.local] (item=power_supply_metrics.service) => {"changed": false, "item": "power_supply_metrics.service", "msg": "Unable to start service power_supply_metrics.service: Job for power_supply_metrics.service failed because the control process exited with error code.\nSee \"systemctl status power_supply_metrics.service\" and \"journalctl -xe\" for details.\n"}
changed: [control.local] => (item=power_supply_metrics.timer)

RUNNING HANDLER [laptop : restart systemd-logind] ***********************************************************************************************************************
    to retry, use: --limit @/home/mark/idee_project/fosdem/infrastructure/ansible/playbooks/site.retry

PLAY RECAP **************************************************************************************************************************************************************
control.local              : ok=36   changed=23   unreachable=0    failed=1   
SuperQ commented 5 years ago

Sure, I'll take a look.

SuperQ commented 5 years ago

It looks like there's something wrong with the power supply script.

Can you run journalctl -u power_supply_metrics.service?

Also running /usr/local/bin/power_supply_metrics.sh might help see if there's an error.

markvdb commented 5 years ago

Sorry, can't right now. I'm actually setting this up for production. Running without it...

Op vr 12 apr. 2019 om 17:16 schreef Ben Kochie notifications@github.com:

It looks like there's something wrong with the power supply script.

Can you run journalctl -u power_supply_metrics.service?

Also running /usr/local/bin/power_supply_metrics.sh might help see if there's an error.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

-- Mark Van den Borre Hogestraat 16 3000 Leuven, België +32 486 961726