55da1e3d06
This reverts commit c25e91f49632d8e187f35807f250567446bd5102. This script parses the Apache logs and writes out a local count of the 404 data to files.openstack.org, and then exports it via files.openstack.org. As part of the spec [1] we're trying to remove publishing from local volumes, in general. Since this is not widely used, there is only one link to it, it's not discoverable from the landing page of files.openstack.org (which just shows the afs directory listing), it has a very long latency making it not that useful for debugging and grepping the logs there have been no accesses in the past 2 weeks (as far back as logs go) I propose we remove it. If we want to retain this, we should publish the output alongside the docs AFS volume. That could certainly be done by distributing the docs keytab to the host and having it write out in a similar cron job. Another option could be to setup a keypair for remote login and keep that as a secret in Zuul, and do the same from a periodic job (complicated by apache logs being root only, so needs some sudo magic or similar). Or, we could figure out an altogether better, privacy respecting client analytics solution. [1] https://docs.opendev.org/opendev/infra-specs/latest/specs/retire-static.html Depends-On: https://review.opendev.org/709036 Change-Id: Iccf24a72cf82592bae8c699f9f857aa54fc74f10