The opendev project has been moving away from puppet and this is one of
the puppet modules that is no longer used. To simplify things for us we
are taking the extra step of retiring this repo.
Change-Id: I46ccab87f063c51dd3236757dbb0567738803fae
We don't want to delete the top-level robots.txt file - but everything
that is part of the logs hierarchy.
Change-Id: I369565a780eb749eab95e4bf8e7d8d7fd5bf0630
Currently if a log directory has a symlink it is skipped in the find;
thus the directory does not become empty and it is never removed.
Also match symlinks.
Change-Id: Id34c74d848638182819a9c81d051b83820244463
I'm not sure why, but previously we have not passed .log.gz files
through to the htmlify web-app. This means clicking on it in the
browser prompts to download the file. This is unlikley to be what
devlopers investigating logs interactively want.
Traditionally in devstack-gate there's been a bunch of renaming
log->log.txt that happens to make the files presentable [1]. With
zuulv3 native jobs this happens less and everyone has to be aware of
this behaviour (e.g. Ia7415d2fbbb320f8eddc4e46c3a055414df5f997 is a
good example of raw .log files being added). I think it is fine to
assume a .log file is text that is safe to pass through os-loganalyze.
From my reading of os-loganalyze [2], a .log.gz file would get mached
by util.use_passthrough_view and by default be filtered via a HTMLView
-- thus the file_conditions.yaml update is perhaps unnecessary, but
provided just to keep things in sync with .txt which has always been
there (I9cda9c05f42c5658d1c1dde8aa2efbc0abcc48a2)
[1] https://git.openstack.org/cgit/openstack-infra/devstack-gate/tree/functions.sh#n869
[2] https://git.openstack.org/cgit/openstack-infra/os-loganalyze/tree/os_loganalyze/view.py#n237
Change-Id: I72e4f752713e7947bd66dfe8164976f0a4e3af24
Since static.openstack.org is no longer serving a
docs-draft.openstack.org vhost, and downstream consumers of this
module are unlikely to have been doing so themselves either, stop
bothering to attempt to expire content for it.
Change-Id: I413ac425d752f4fe839648808c0df8c620bef1a5
Depends-On: Ib44df24100192f7903eb60c6fc93feeea0894b90
In recent months, log volume has picked up even more. Since we can't
increase the size of this volume any further, reduce retention from
60 days to 45 days for now.
Change-Id: I13695e665541cb604e81fcd43cf26681447224ba
In recent months, log volume has picked up considerably. Since we
can't increase the size of this volume any further, reduce retention
from 120 days to 60 days for now (manual expiration efforts indicate
90 days is roughly 100% of the filesystem size, so we need to go
lower).
Change-Id: Iedaf77303b00a0e2960cca22776969dca38ccd43
Our os-loganalyze file conditions didn't quite match up to how apache's
rewrite rules were handling things. Basically only .*console.html(.gz)?
should be htmlified, all other html files should be passed through as
is. Not doing this broke the rendering of testr results html files when
we started sending all requests through os-loganalyze for proper index
generation between swift and disk.
Fix this with an update to the rules that restricts html htmlification
to console.html.
Change-Id: If03f6e2eda733c0abe572fe7f5cdabc8dd0c7268
This will enable us to use different filters/views for various files.
By explicitly setting txt+html, we allow other formats (such as images
and tarballs) to be streamed from swift and hence downloaded.
Change-Id: I9cda9c05f42c5658d1c1dde8aa2efbc0abcc48a2