)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1000034,"name":"sterni","email":"sternenseemann@systemli.org","username":"sterni"},"change_message_id":"6a256e3c10a2c6f276dcfbb60f7b955c1c6e7313","unresolved":true,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When Keycloak and oauth2_proxy are restarted simultaneously, the"},{"line_number":10,"context_line":"latter might try to come up (repeatedly!) before Keycloak can serve it"},{"line_number":11,"context_line":"properly."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This leads to systemd considering the unit failed."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"2bac5ae7_cca0cc15","line":11,"updated":"2022-05-27 16:16:16.000000000","message":"Is it a matter of keycloak being not properly up when considered up by systemd or the service being started to early? \n\nI guess we could consider setting BindsTo\u003d either way","commit_id":"bfddfb55a4b9b41f8e175d94c61019d94b03b52c"},{"author":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"change_message_id":"cf19a1d6ce8b8c84083f24c0aefc75fd270ebce2","unresolved":true,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When Keycloak and oauth2_proxy are restarted simultaneously, the"},{"line_number":10,"context_line":"latter might try to come up (repeatedly!) before Keycloak can serve it"},{"line_number":11,"context_line":"properly."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This leads to systemd considering the unit failed."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"2c35c1d5_a2fd71d3","line":11,"in_reply_to":"2bac5ae7_cca0cc15","updated":"2022-05-27 16:34:00.000000000","message":"\u003e Is it a matter of keycloak being not properly up when considered\n\nYep. Systemd says it\u0027s running, but in reality the weird architecture of Keycloak is loading a gajillion JARs at runtime before being able to actually do anything.\n\nWe already have After\u003d and Wants\u003d, I\u0027m not sure what BindsTo\u003d would give us in addition. Restarting oauth2_proxy if Keycloak is restarted? I don\u0027t think that gives us anything.","commit_id":"bfddfb55a4b9b41f8e175d94c61019d94b03b52c"},{"author":{"_account_id":1000034,"name":"sterni","email":"sternenseemann@systemli.org","username":"sterni"},"change_message_id":"e7ab52a4b53dc95ef4608cac1043004d6b0a599f","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When Keycloak and oauth2_proxy are restarted simultaneously, the"},{"line_number":10,"context_line":"latter might try to come up (repeatedly!) before Keycloak can serve it"},{"line_number":11,"context_line":"properly."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This leads to systemd considering the unit failed."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"8721ad04_5cbc5492","line":11,"in_reply_to":"2c35c1d5_a2fd71d3","updated":"2022-05-27 16:35:12.000000000","message":"Ack.\n\nSeems like the right solution would be for keycloak to become a notify type service to tell systemd when it\u0027s actually ready.","commit_id":"bfddfb55a4b9b41f8e175d94c61019d94b03b52c"}]}
