)]}'
{"playbooks/roles/mirror-update/files/publish-mirror-logs":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"07a355f9bfe9cb29f0ae6c5a020317818552e01f","unresolved":false,"context_lines":[{"line_number":18,"context_line":"K5START\u003d\"k5start -t -f /etc/logs.keytab service/logs-mirror --\""},{"line_number":19,"context_line":"RSYNC\u003d\"rsync -avz --no-perms --no-owner --no-group\""},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"$K5START $RSYNC /var/log/rsync-mirrors $DEST"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"# NOTE(ianw) : r/w volume as this is infrequently accessed; thus no"},{"line_number":24,"context_line":"# replications and no \"vos release\" etc required."}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"9fb8cfa7_75c44b0f","line":21,"updated":"2019-07-03 09:06:37.000000000","message":"I strongly considered directly logging to the AFS mirror volume.\n\nWe\u0027d need to update the extant logging methods (which is currently as simple as a \u003e from cron) to get tokens; or otherwise move the logging inside the jobs and then add the current AFS users into a new group with permission to write to the logs; etc.  Moreso, we\u0027d have to figure out how to make logrotate do similar.  I\u0027m not sure if we might hit issues there too with things being owned by root and trying to chown on the AFS volume, etc etc.  Not something I think we want to spend time on.\n\nAlso, when in a pressure situation of the mirrors being down and trying to resync things (certainly has happened) we also introduce more steps having to deal with writing to the log volume.\n\nGiven the intent of this is that people who submit changes to our logging scripts can see the results, or check on why their mirror of interest may not be updating correctly, a simple periodic sync to the R/W volume seems the KISS approach here.","commit_id":"ebe14f2ca41befcdf4f6e7c682823fc6c1c9618a"}]}
