mnaser | does sf have a software tracker, i found a few issues so far trying a deployment | 00:36 |
---|---|---|
mnaser | s/software/bug/ | 00:36 |
mnaser | just deploying the 'reference' architecture isnt working out of the box, repoxplorer tries to deploy before elk, so the service never goes up because elk is not up | 00:37 |
mnaser | commented it out, re-ran, and now running again and waiting to see whats going on | 00:37 |
mnaser | boo.. this now "{'owner': 'nodepool', 'path': '/var/www/nodepool-log', 'group': 'apache'}" | 00:49 |
mnaser | i guess it expects apache to be on the same server | 00:49 |
mnaser | i just did a manual `yum install httpd` .. so not ideal but yeah | 00:51 |
mnaser | that'll get the group in there | 00:51 |
tristanC | mnaser: Hi! Yes SF is using taiga, you can find the backlog here: https://tree.taiga.io/project/morucci-software-factory/backlog?tags=software%20factory and report issue there: https://tree.taiga.io/project/morucci-software-factory/issues?q=&order_by=status&tags=software%20factory | 03:05 |
tristanC | mnaser: oops indeed, roles should be in order and this isn't checked at the moment, i guess the softwarefactory-project.io.yaml refarch doesn't work out of the box | 03:06 |
mnaser | tristanC: just posted two but i dont see them.. somehow | 03:08 |
tristanC | mnaser: Thanks! oh, it's because they are missing the sf tags | 03:09 |
mnaser | tristanC: woops, sorry, never used that tool before | 03:09 |
tristanC | mnaser: i'll propose a quick fix for the nodepool issue, httpd is automatically installed, but only for the nodepool-builder role, the directory only need to be created there | 03:10 |
mnaser | tristanC: yeah i think nodepool-launcher tries to chown the nodepool logs to apache so yeah | 03:10 |
mnaser | but the ordering might be a bit more of a bigger issue | 03:10 |
tristanC | mnaser: the deployment playbooks are generated here: https://softwarefactory-project.io/cgit/software-factory/sf-config/tree/sfconfig/inventory.py#n198 | 03:12 |
tristanC | so we could make sure elk is setup before repoxplorer | 03:12 |
mnaser | yes that would be a requirement | 03:13 |
mnaser | i came up with a heat template to deploy all infrastructure and populate the arch.yml file, just need to edit sfconfig.yml and kick it off | 03:13 |
mnaser | so it could be a nice solution for customers to bring up | 03:14 |
mnaser | also, the testinfra test is failing at the end | 03:14 |
mnaser | tristanC: https://softwarefactory-project.io/cgit/software-factory/sf-config/tree/testinfra/test_hypervisor-runc.py .. the curl gives a 404 but returns rc 0 | 03:15 |
mnaser | curl http://<snip>:20001; echo $? => 0 | 03:16 |
tristanC | right, the test may need to be adjusted for 404 code | 03:17 |
mnaser | just bringing up the little things i saw here and there :) | 03:17 |
sfbender | Tristan de Cacqueray created software-factory/sf-config master: nodepool: setup /var/www/nodepool-log only for builder service https://softwarefactory-project.io/r/13434 | 03:17 |
tristanC | mnaser: thanks, those are indeed real bugs we didn't see before. | 03:18 |
mnaser | tristanC: np :) | 03:18 |
mnaser | im done for today.. ill hack at it tomorrow and see how the runc thing works. it'll be useful for these quick jobs that dont require big infra | 03:19 |
mnaser | tox/linters/etc | 03:19 |
tristanC | mnaser: nice, let us know out it goes. | 03:22 |
*** nijaba has quit IRC | 06:04 | |
*** nijaba has joined #softwarefactory | 06:07 | |
mnaser | cant login as admin :< | 15:36 |
mnaser | github oauth + normal login form and the login form gives me a 500 | 15:36 |
mnaser | the traceback.. https://www.irccloud.com/pastebin/ybD0VpXq/ | 15:36 |
mnaser | thing is the form isn't posting json.. | 15:37 |
*** sshnaidm|off has quit IRC | 15:44 | |
*** sshnaidm|off has joined #softwarefactory | 15:45 | |
mnaser | tristanC: https://github.com/softwarefactory-project/cauth/blob/master/cauth/auth/password.py#L229 there needs to be a 'break' there because it will attempt all 3 even if the first passes | 16:03 |
tristanC | mnaser: the form isn't posting json indeed, that response.json() should be from managesf, could you check managesf logs please? | 16:11 |
mnaser | tristanC: where does managesf log things (but also, it shouldn't post to managesf if it finds things in the localdb?) | 16:12 |
tristanC | mnaser: iirc the cauth localdb is historical, local user are stored in managesf, logs are in /var/log/managesf | 16:13 |
tristanC | and/or journalctl -u managesf | 16:14 |
tristanC | mnaser: adding a break to the authenticate plugin loop seems correct | 16:15 |
mnaser | tristanC: it doesnt show anything wild | 16:15 |
mnaser | i think managesf auth only happens when it delegates json from an oauth source | 16:15 |
mnaser | i think the break would resolve that issue for the 'bootstrap' admin user | 16:15 |
mnaser | gonna try adding softwarefactory to the equation | 16:17 |
mnaser | err | 16:17 |
mnaser | storyboard | 16:17 |
sfbender | Tristan de Cacqueray created software-factory/cauth master: Log managesf response that can't be decoded https://softwarefactory-project.io/r/13435 | 16:20 |
tristanC | mnaser: the code may be improved, though it may cause side effect when multiple idp are enabled... | 16:21 |
tristanC | mnaser: and it should work as-is, i suspect an issue between cauth and managesf, anychange you can apply https://softwarefactory-project.io/r/13435, reload httpd and re-try loggin as admin? | 16:22 |
mnaser | tristanC: ill do that in a second, i added the break.. i pretty much just needed to login once to add myself to config repo | 16:23 |
*** tristanC has quit IRC | 16:24 | |
*** mordred has quit IRC | 16:24 | |
*** tristanC has joined #softwarefactory | 16:28 | |
*** mordred has joined #softwarefactory | 16:32 | |
*** sshnaidm|off is now known as sshnaidm | 16:37 | |
mnaser | looks like storyboard is giving 401's | 18:10 |
mnaser | i guess if you install storyboard *after* you add accounts, they won't have users in their table | 18:16 |
mnaser | i think | 18:16 |
mnaser | found it.. managesf is not restarted after deployment of storyboard | 18:25 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!