Friday, 2021-04-16

*** zbr has quit IRC06:56
*** zbr has joined #softwarefactory06:59
*** jpena|off is now known as jpena07:30
*** harrymichal has joined #softwarefactory07:34
*** harrymichal has quit IRC07:39
*** harrymichal has joined #softwarefactory07:39
*** harrymichal_ has joined #softwarefactory07:41
*** harrymichal has quit IRC07:44
*** harrymichal_ is now known as harrymichal07:44
*** harrymichal has quit IRC08:22
*** harrymichal has joined #softwarefactory08:22
*** apevec has joined #softwarefactory08:24
*** travier has joined #softwarefactory08:40
travierHi there. I have some questions related to https://github.com/containers/toolbox/issues/714. We're looking into adding Fedora CoreOS as a host for testing the containers/toolbox project. I gathered that everything is running on OpenStack and apparently we can pass userdata to test instances: https://zuul-ci.org/docs/nodepool/openstack.html#attr-providers.[openstack].pools.labels.userdata. Could this userdata be customized per test job triggered on Zuul08:50
travier or does it has to be fixed? Do we have to use Ansible for test jobs scripting or can we use shell scripts or something else? Thanks!08:50
*** harrymichal has quit IRC08:59
*** harrymichal has joined #softwarefactory08:59
*** harrymichal has quit IRC09:17
*** harrymichal has joined #softwarefactory09:17
*** harrymichal has quit IRC09:19
*** harrymichal has joined #softwarefactory09:19
*** jpena is now known as jpena|lunch11:32
*** jpena|lunch is now known as jpena12:30
lyrtravier: not a specialist here. But maybe you could create a job using ansible "raw" task to use pure shell13:10
travierlyr: thanks, that's a good point13:13
lyrtravier: you'ld have to manage stuff like fetching the logs youself though, it's usually done for you if your job's parent is "base", or you include the proper sf_logs something role13:14
travierlyr: I'm not that familiar with Ansible so I'm not sure I understand. Wouldn't stdout/err be captured by default?13:17
lyrIt's about zuul13:17
lyrWhen the job is running you'll see the streamed logs13:18
lyrBut once finished, the logs are meant to be copied, so you can see them later on13:18
lyrIt's done by ansible13:19
lyrMaybe asking on #zuul would be a good idea13:20
lyrtristanC: I'm trying to login, without "allowed_organization" it works, with it I've a Authorization failure: Organization not allowed , whatever I try to input in allowed_organization. cauth's debug log doesn't say me anything14:28
tristanClyr: does your github app is configured to fetch user's organization?14:34
lyrI tried to tweak the app's org permissions without success14:36
lyrI see no 5xx in the api logs to give me a hints about that14:37
tristanClyr: according to https://softwarefactory-project.io/cgit/software-factory/cauth/tree/cauth/auth/github.py , you should first see `Attempting basic auth against github server`, and then `Failed to get organizations` or `Organization %s are not allowed`14:38
tristanClyr: check the log in /var/log/http/error_log and /var/log/cauth14:39
lyrhere's the cauth https://paste.garrigue.re/?3f228b276994e589#9eafHcHDK38jRWfpcNGt2ompZbRcdGfvwdeeeezgNWtJ14:39
tristanC`Organization set() ` seems to indicate the app didn't get your user organizations14:40
tristanClyr: in github settings, you can revoke the app, then when you log again you should be see the app requesting for your orgs14:42
lyrtristanC: ok, it works14:46
lyrtristanC not sure what I changed exactly14:46
lyrtristanC I updated the app permission to add Organization Members read only14:47
lyrtristanC: I did that before without success but I guess I had to validate the change on the org side14:50
*** apevec has quit IRC16:30
*** jpena is now known as jpena|off16:31
*** ajitha has joined #softwarefactory17:40
*** ajitha has quit IRC19:43
*** harrymichal has quit IRC21:19
*** harrymichal has joined #softwarefactory21:19
*** sduthil has quit IRC22:21
*** harrymichal has quit IRC23:00

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!