Commit graph

76 commits

Author SHA1 Message Date
5e91005e93 logview: migrate optparse to argparse, add additional date filtering capabilities, and some pep8 fixes 2021-01-05 23:34:01 +01:00
88b07454b7 logdetail: resolve variable in task name
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2021-01-05 23:34:01 +01:00
aca152fe74 logview: add log_path parameter
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2021-01-05 23:34:01 +01:00
a221e0db50 logview: add gzip compression on logfiles
Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
2021-01-05 23:34:01 +01:00
09d9f204dd logview: replace deprecated _get_item with _get_item_label 2021-01-05 23:34:01 +01:00
Kevin Fenzi
0aba558968 callback_plugins: try and run a simple 2to3 over the logdetail plugin
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-04 15:24:09 -07:00
Kevin Fenzi
d05c1a61b9 ansible server: we enable logdetail, so call the plugin logdetail
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 11:41:55 -07:00
Pierre-Yves Chibon
14e760a144 callback: specify which configuration file to use for fedora-messaging
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-15 15:06:37 +02:00
Pierre-Yves Chibon
dab9296b8c Attempt to make self.play_context.connection JSON serializable
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-14 22:54:54 +02:00
Pierre-Yves Chibon
9c6e27ca13 Attempt to see if the error itself can give us a little more information
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-14 22:51:53 +02:00
Pierre-Yves Chibon
3f7c896509 Add print in addition to the logger (that isn't set up) in the fedora_messaging callback - take #2
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-14 22:44:30 +02:00
Pierre-Yves Chibon
8189b0f964 Add print in addition to the logger (that isn't set up) in the fedora_messaging callback
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-14 22:41:56 +02:00
Pierre-Yves Chibon
6d975e3959 Add some debugging to the logdetail callback
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-14 22:40:02 +02:00
Pierre-Yves Chibon
a87e036224 Remove the debugging code in the fedora_messaging callback
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-14 22:34:22 +02:00
Pierre-Yves Chibon
e060e7efa1 Rename the fedora_messaging callback and enable it in ansible
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-14 22:32:21 +02:00
Pierre-Yves Chibon
4ac2b91273 Add a little more debugging to the fedora_messaging callback
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-14 22:30:13 +02:00
Pierre-Yves Chibon
f6e6fab02d Add some debugging to the fedora_messaging callback for now
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-14 22:27:29 +02:00
Kevin Fenzi
4957a811f1 ansible: try and clean up callback_plugins
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-14 12:30:10 -07:00
Kevin Fenzi
ea9c6c6989 fedora_messaging_callback: This should be a } not a )
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:16 +02:00
Kevin Fenzi
7aba98780e fedora-messaging-migration: Patches from Karsten Hopp to move script calling things from fedmsg to fedora-messaging
We will need to check these services after pushing this out and confirm
that they are still emitting or hearing messages they need to.

Many thanks Karsten!
2020-04-24 21:34:16 +02:00
f17d9e3839 First round of porting callbacks to work with Ansible-2.4.0 2017-10-16 15:53:18 +00:00
Patrick Uiterwijk
38285f3b70 Cross the Ts
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-08-16 20:13:27 +00:00
Patrick Uiterwijk
a0edf8b4bc Turns out that now ansible has a callback.json, but we mean the upper json
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-08-16 20:12:30 +00:00
Kevin Fenzi
9ee59b595d This is in ansible 2.0, no need to duplicate 2016-02-09 19:58:19 +00:00
Toshio くらとみ
b7cdd67295 Rename method correctly for new API 2016-02-02 17:30:36 +00:00
Toshio くらとみ
617b679ab9 Think I've found the variablemanager now 2016-01-30 06:18:12 +00:00
Toshio くらとみ
ef791c0438 On the trail of varmanager 2016-01-30 06:07:23 +00:00
Toshio くらとみ
89eec9b7af Some more attribute fixups 2016-01-30 06:04:49 +00:00
Toshio くらとみ
242b04b4fe Some attributes have moved to other objects in v2 2016-01-30 05:57:06 +00:00
Toshio くらとみ
3e0266f612 Introspect to see what attributes are available to us 2016-01-30 05:17:55 +00:00
Toshio くらとみ
998e9cc4ec Fix setting of playbook 2016-01-30 05:15:25 +00:00
Toshio くらとみ
a9062410e5 fedmsg callback ported to v2 2016-01-30 04:54:20 +00:00
Toshio くらとみ
00856a9bac Call the superclas so that we can see that it was invoked 2016-01-30 04:42:15 +00:00
Toshio くらとみ
2f4c5bd79f logdetail callback plugin ported to ansible-2.0 and modify old logdetail plugin so it won't run automatically in 2.0 2016-01-30 04:28:19 +00:00
Toshio くらとみ
379afc6db5 Make callbacks ansible 2.0 compatible 2016-01-29 06:02:10 +00:00
Kevin Fenzi
ee510555a6 Revert "Try adding this to get 2.0 compatibility."
This reverts commit 449cc43446.
2015-12-13 19:33:59 +00:00
Kevin Fenzi
449cc43446 Try adding this to get 2.0 compatibility. 2015-12-13 19:06:32 +00:00
Ralph Bean
f6584f747f Kill that whitespace more carefully. 2015-02-02 15:52:34 +00:00
Ralph Bean
9671d2bb8c Make sure to strip any newlines off the name. 2015-02-02 15:34:48 +00:00
Stephen Smoogen
ca66b2b7ab and we make logfile names suck less. 2015-01-13 00:25:01 +00:00
Ralph Bean
3d7eb0c72b Catch and ignore fedmsg warnings about multiple initializations. 2014-06-30 14:44:52 +00:00
Kevin Fenzi
5c3d38c357 Add a profile thing for a few runs. 2014-06-23 02:05:35 +00:00
Kevin Fenzi
3947d129f2 Change all the old first_available_file to with_first_found 2014-06-12 20:15:37 +00:00
Ralph Bean
2856e06c0f This might just be fixed. 2014-05-08 21:24:47 +00:00
Ralph Bean
09b268e69c Debug fedmsg callback_plugin. 2014-05-08 21:21:35 +00:00
Kevin Fenzi
389600314b only_if is going bye bye. 2014-01-24 16:34:05 +00:00
Kevin Fenzi
5a58c171f8 Lets make this a _ to be nicer 2014-01-22 21:16:39 +00:00
Ralph Bean
474fef8661 Try to silence fedmsg for --check runs. 2014-01-22 20:48:05 +00:00
Kevin Fenzi
ffcff93ce8 Add check diff to ansible logging 2014-01-22 20:32:05 +00:00
Ralph Bean
1ed6213786 Use the correct topic. 2013-08-06 01:56:33 +00:00