Francois Andrieu
fb76ca2a90
logview: fix '-l' (list) option
2024-02-19 19:01:07 +01:00
Kevin Fenzi
f9eac86c72
batcave01: ansible-core now switches back to python-3.9
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-13 14:15:25 -08:00
Kevin Fenzi
dce1e12f63
ansible: ansible is using python3.11 now, so adjust these scripts too
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-17 16:53:55 -07:00
Kevin Fenzi
3e73c99574
public-db-copy: correct datanommer db name
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-04-03 13:19:39 -07:00
Kevin Fenzi
af2ddc228c
db-datanommer02: switch backups to 02 and copy public db from there too
...
We switched a while ago to db-datanommer02 which is a timescaledb from
the old db-datanommer01. However, backups were not working right until
recently. Now that they are, switch backups to backup 02 instead of 01
and also copy that one public. This should allow us to retire
db-datanommer01 entirely now.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-03-30 11:23:14 -07:00
Kevin Fenzi
3a73ef0d6d
ansible-core is now using python3.9
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-11-16 14:15:02 -08:00
Frank Ch. Eigler
1225279614
ansible-playbook-check-diff: rewrite as find|xargs one-liner
...
Taking advantage of xargs's -P option to limit concurrency
while executing all the ansible-playbook --check jobs ensures
that batcave01 is not overstressed during these checks.
2022-09-14 18:18:40 +00:00
Aurélien Bompard
82bead6642
Allow specifiying the username in scripts/generate-oidc-token
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-07-15 19:12:17 +02:00
Pedro Moura
9c8f04057f
Add tahrir to the public-db-copy script
...
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2022-06-11 18:46:58 +00:00
Kevin Fenzi
c679788f00
logview: 2to3 it and make sure it is using python3.8
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-23 13:04:17 -07:00
Kevin Fenzi
b77fdc9637
inventory / staging: switch staging default to mtu of 9000
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-15 13:14:03 -07:00
Andrew Heath
4e1394f7b2
Updated script per 10509 to remove fas-clientsetc
2022-05-04 18:12:06 +00:00
Kevin Fenzi
40f6b8fef9
list-vms-per-host: switch to python3.8 to aline with ansible-core
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-04-04 17:20:01 -07:00
Francois Andrieu
0bfc8b728d
logview: add header, extract play run date from path for easier filtering with -d option
2021-01-05 23:34:01 +01:00
Francois Andrieu
5e91005e93
logview: migrate optparse to argparse, add additional date filtering capabilities, and some pep8 fixes
2021-01-05 23:34:01 +01:00
Francois Andrieu
80f3f3b574
logview: playbooks stats, tabular display, improve date filtering and some more
...
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2021-01-05 23:34:01 +01:00
Francois Andrieu
6d1d72ee20
logview: reformat output
...
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2021-01-05 23:34:01 +01:00
Francois Andrieu
71c8cedc00
logview: add an option to list all playbook ever run
...
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2021-01-05 23:34:01 +01:00
Francois Andrieu
84f9b4aed3
logview: hosts filtering
...
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2021-01-05 23:34:01 +01:00
Francois Andrieu
aca152fe74
logview: add log_path parameter
...
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2021-01-05 23:34:01 +01:00
Francois Andrieu
a221e0db50
logview: add gzip compression on logfiles
...
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2021-01-05 23:34:01 +01:00
Bernhard M. Wiedemann
d0ea0551a9
Port generate-oidc-token to python3
...
because python2 is already end-of-life
Signed-off-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
2020-08-05 13:02:26 +00:00
Francois Andrieu
777637f7a6
logview: minor pep8 fixups
...
Signed-off-by: Francois Andrieu <naolwen@gmail.com>
2020-07-16 18:29:34 +00:00
Francois Andrieu
3696752d08
logview: use dateutil for date parsing
...
Signed-off-by: Francois Andrieu <naolwen@gmail.com>
2020-07-16 18:29:34 +00:00
Kevin Fenzi
b7786f17ed
scripts / auth-keys-from-fas: run 2to3 and move to python3
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-07-12 14:17:54 -07:00
Francois Andrieu
84b859b342
scripts/logview: Few fixups for python3 compatibility
...
Signed-off-by: Francois Andrieu <naolwen@gmail.com>
2020-07-09 17:28:42 +02:00
Kevin Fenzi
d5babb1721
scripts/logview: 2to3 port to python3
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-07-01 18:34:59 -07:00
Kevin Fenzi
7984b46eb7
The great phx2 pruning run (1st cut).
...
Since we no longer have any machines in phx2, I have tried to remove
them from ansible. Note that there are still some places where we need
to remove them still: nagios, dhcp, named were not touched, and in cases
where it wasn't pretty clear what a conditional was doing I left it to
be cleaned up later.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-14 14:14:31 -07:00
Pierre-Yves Chibon
e83dcc26fa
scripts/users-from-fas: import the print_function from __future__ for when we need to be py2 compatible
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-09 23:19:08 +02:00
Pierre-Yves Chibon
491ee01d35
First pass at porting scripts/users-from-fas to python3
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-09 23:17:38 +02:00
Pierre-Yves Chibon
af81ba7546
vhost-info: run black over the code to make it more consistent and modern
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-08 21:54:38 +02:00
Pierre-Yves Chibon
fe1d44e412
vhost-info: Add some code to help debugging in the future
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-08 21:53:46 +02:00
Pierre-Yves Chibon
fac20163c8
vhost-info: specify a default verbosity to make it work
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-08 21:53:46 +02:00
Pierre-Yves Chibon
518d72347c
Start porting vhost-info to python3
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-06 21:20:07 +02:00
Kevin Fenzi
b02b5c479b
vhost-info: fix python2/3 path
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-06 11:39:51 -07:00
Kevin Fenzi
0c119e4a45
vhost-info: take a wild stab at porting to python3
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-06 11:36:55 -07:00
Clement Verna
4bba45fd49
vhost-info: fix the indentation after adding 4 spaces.
...
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:27 +02:00
Clement Verna
ea3b536786
vhost-info: use 4 spaces indentation.
...
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:27 +02:00
Kevin Fenzi
6900b2d1d4
vhost-info: adjust for ansible python api changes
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:27 +02:00
Brendan Early
60b360e9e1
fix hosts_with_var_set script
2020-04-24 21:34:26 +02:00
Kevin Fenzi
c04b160037
koji db: set things to copy backup from 02 and not 01 now.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Patrick Uiterwijk
ce762afe70
Fix host sorting
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2019-04-18 20:28:07 +02:00
Clement Verna
14b34ce6bd
freezelist: support Python3
...
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-18 19:44:11 +02:00
Kevin Fenzi
f0c596c427
Try and make a public anitya dump with the right tables.
2018-10-08 17:41:07 +00:00
Kevin Fenzi
b2ff9078f2
Clean up non openshift anitya in favor of openshift version.
2018-10-06 00:11:10 +00:00
Kevin Fenzi
2d7ac321c7
a few tagger stragglers
2018-10-03 17:56:00 +00:00
Randy Barlow
096edb164a
Add markers to highlight where to begin and end copy/pasta on oidc script.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-03 21:18:34 +00:00
Randy Barlow
b5cf0d7844
Correctly format the expiration time and issue time.
...
Additionally:
- Require at least one scope to be provided.
- Print out a more descriptive usage of the SQL.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-03 21:11:01 +00:00
Randy Barlow
4b7005471c
Add a script to help generate OIDC tokens.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-03 20:48:00 +00:00
Tim Flink
44eed62fad
using db-qa02.qa for public resultsdb dumps
2018-01-15 14:31:45 +00:00