*** lifeless has quit IRC | 00:46 | |
*** lifeless has joined #storyboard | 00:47 | |
*** fay_ has joined #storyboard | 07:01 | |
pedroalvarez | hey Zara! I see you have been trying to use Ansible's StoryBoard role | 08:26 |
---|---|---|
pedroalvarez | any luck? | 08:26 |
pedroalvarez | I was in the process of improving it to make it more robust.. | 08:27 |
Zara | pedroalvarez: hi! :D I got stuck at the `ansible-playbook -i hosts instance-config.yml` step; it said it couldn't find the inventory file | 09:03 |
Zara | I'll try to get the exact error up now | 09:03 |
*** jtomasek_ has joined #storyboard | 09:04 | |
*** openstackgerrit has quit IRC | 09:04 | |
*** openstackgerrit has joined #storyboard | 09:04 | |
Zara | ERROR: Unable to find an inventory file, specify one with -i ? | 09:05 |
Zara | I tried in a few different places in case I was running it from the wrong directory, but it gave an error everywhere I tried it | 09:06 |
Zara | the readme mentions tweaking vars.yml , but not how, so idk if I need to change something in there | 09:06 |
Zara | anyway, more importantly, how was your holiday? :D | 09:15 |
pedroalvarez | yeah, I may have to improve docs and more things.. :S | 09:20 |
pedroalvarez | is this something you need to use soon? | 09:20 |
pedroalvarez | the trip was great, I needed it :) | 09:20 |
Zara | pedroalvarez: I'd like to use it (I'm trying to put together a quick operators guide) but I can also try with puppet so it's not urgetn. | 09:21 |
Zara | *urgent | 09:21 |
Zara | yay! \o/ | 09:21 |
Zara | glad it was good | 09:21 |
*** jtomasek has quit IRC | 09:22 | |
pedroalvarez | I'll continue the cleanup I was doing, and improve docs as part of it | 09:22 |
*** jtomasek_ is now known as jtomasek | 09:35 | |
Zara | \o/ | 11:43 |
Zara | thank you | 11:43 |
Zara | aw, my new vm was so new it didn't have git on it | 11:44 |
*** ttx has quit IRC | 11:56 | |
openstackgerrit | Adam Coldrick proposed openstack-infra/storyboard: Allow lists of boards and worklists to be paged https://review.openstack.org/309481 | 12:03 |
SotK | now not broken and leaky! | 12:04 |
Zara | :D | 12:04 |
persia | SotK: Am I reading that correctly that it now does two SQL queries for every call, one to get the small set being returned, and one to get the full count? | 12:06 |
*** ttx has joined #storyboard | 12:07 | |
SotK | yep, I think that it will emit two queries whichever way I do it if I'm paginating using sql (rather than manually paging the result) though | 12:09 |
* SotK can squash the two function calls into one, I just based it off how its done elsewhere | 12:10 | |
persia | I'm mostly curious about the performance. | 12:11 |
persia | If I was handcrafting SQL, I would probably done a subquery (so "select ... numboards as (select ...) ..."), but that might not actually be better, depending on how the DB works. | 12:12 |
persia | On the other hand, if it is done this way in other places, and there's no indication that reducing the number of round trips from the API server to the DB server matters, then I'm just being silly. | 12:13 |
* persia vaguely suspects that the expected latency between browser and API server far exceeds expected latency between API server and DB server to such a degree that these sorts of optimisations are useless, after thinking about it a bit | 12:14 | |
* SotK expects that too | 12:15 | |
SotK | if it turns out to cause significant trouble, we can go through and turn it into subqueries everywhere | 12:15 |
persia | Probably worth real investigation before doing that: just because the DBAs who set up the DBs I used to use optimised for that sort of subquery doesn't mean that the DBs being used for SB today are optimised for the same things. | 12:16 |
openstackgerrit | Adam Coldrick proposed openstack-infra/storyboard: Improve the worklist filtering functionality https://review.openstack.org/310287 | 12:28 |
openstackgerrit | Adam Coldrick proposed openstack-infra/storyboard: Improve the board filtering functionality https://review.openstack.org/310301 | 12:40 |
*** jseutter_ has joined #storyboard | 12:49 | |
*** jseutter__ has quit IRC | 12:50 | |
krotscheck | Did anyone do an npm mirror check on storyboard-webclient? | 13:34 |
krotscheck | http://lists.openstack.org/pipermail/openstack-dev/2016-May/094719.html | 13:34 |
Zara | oops, don't think so, can check now (thanks for bringing it to our attention; missed the email) | 13:37 |
Zara | could be exciting if it deletes everything and I have no way to install it again =D | 13:38 |
persia | deleting .npmrc should fix your environment if it breaks from that | 13:38 |
Zara | things are installing now... so far just warnings... I think we have a lot of out-of-date things | 13:42 |
*** anteaya has joined #storyboard | 13:58 | |
Zara | seems to have worked fine, warnings but no errors | 13:58 |
Zara | yup, all is well. | 14:02 |
*** fay_ has quit IRC | 14:03 | |
*** fay_ has joined #storyboard | 14:08 | |
* Zara hopes she hasn't done anything weird trying to deploy a storyboard instance via puppet | 14:09 | |
Zara | it made users for infra people, so now I'm nervous xD | 14:10 |
Zara | finished catalogue run after about 20 mins | 14:24 |
Zara | I can see 5 worker processes... not much else | 14:24 |
SotK | is apache running? | 14:26 |
Zara | looking at logs now, I think that's what failed | 14:26 |
Zara | * The apache2 configtest failed. | 14:26 |
Zara | sounds like a hint... | 14:26 |
Zara | grr, after fixing some things, still getting: | 15:03 |
Zara | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message | 15:03 |
Zara | Action 'start' failed. | 15:03 |
pedroalvarez | hm... | 15:04 |
pedroalvarez | rings a bell | 15:04 |
Zara | wonder where the apache error log lives | 15:04 |
pedroalvarez | /var/log/apache | 15:05 |
SotK | /var/log/apache | 15:05 |
SotK | snap | 15:05 |
pedroalvarez | 3 seconds? snap? | 15:05 |
pedroalvarez | boo | 15:05 |
SotK | huh, its was 1 second difference for me | 15:05 |
pedroalvarez | 2 seconds of lag? boo | 15:05 |
pedroalvarez | :) | 15:06 |
persia | Zara: also check the output of `host 127.0.0.1` | 15:06 |
persia | If that is not a FQDN, something deeper in the config us complicating things. | 15:06 |
Zara | I get 1.0.0.127.in-addr.arpa domain name pointer localhost. | 15:07 |
Zara | thanks, pedroalvarez, SotK | 15:07 |
pedroalvarez | I think the solution is to add "127.0.0.1 `hostname`" in /etc/hosts | 15:07 |
pedroalvarez | but also it looks like that msg is only a warning, and not the real error | 15:08 |
Zara | yeah | 15:09 |
persia | It should only be a warning, and, yes, that us one way to solve the issue. | 15:09 |
Zara | I think the real error is an ssl cert issue | 15:09 |
Zara | based on the apache error log | 15:09 |
persia | Another is to have the Apache config bind to a non-local address. | 15:09 |
*** fay_ has quit IRC | 15:11 | |
*** fay_ has joined #storyboard | 15:11 | |
krotscheck | Zara: Awesome, thanks for the update. | 15:41 |
krotscheck | Zara The ServerName is a red herring. Shell into your node and try to manually run 'service apache2 start' - it should give you a sane err message. If not, try apachectl configtest | 15:42 |
krotscheck | Ah yes. | 15:43 |
krotscheck | Cert issue. | 15:43 |
Zara | np :) yeah.. the purpose was to see if I could fill out a quickstart guide for people wanting to spinup a storyboard instance quickly, but puppet is fiddly and it's near the end of the day... yay, software. | 15:49 |
*** jtomasek has quit IRC | 16:03 | |
Zara | too warm in this room; I'm falling asleep | 16:04 |
* Zara records abject failure in https://storyboard.openstack.org/#!/story/2000535 | 16:08 | |
Zara | at least that now records points of failure for both ansible and puppet install, from someone who's new to both | 16:10 |
* pedroalvarez stars the story | 16:13 | |
Zara | heading home soon; too sleepy | 16:24 |
* persia wonders why 304565 isn't landing | 16:26 | |
Zara | the previous patch needs to merge first | 16:27 |
Zara | (I asked for a commit message amendment to that one.) | 16:27 |
Zara | sometimes I review more than commit messages, honest | 16:27 |
Zara | (that is https://review.openstack.org/#/c/304562/) | 16:28 |
Zara | haven't got to much review today, unfortunately; has been a puppet day | 16:29 |
Zara | I'll try to look at boards pagination tomorrow... and maybe even the task-tracker spec! and and and all the filtering things and... yeah. | 16:29 |
persia | Aha! The ordering/stacking bits always confuse me. | 16:31 |
persia | Thanks for the explanation | 16:31 |
Zara | np, my understanding is that anything in the 'related changes' list below a patch needs to be merged before the patch can be. (and things end up laid out like that when commits aren't atomic, so it functions as a patch series, though ymmv for that) | 16:35 |
*** jseutter_ has quit IRC | 16:35 | |
Zara | I'm heading home, anyway, 'night! :D | 16:37 |
*** jseutter has joined #storyboard | 17:59 | |
*** openstackgerrit has quit IRC | 18:18 | |
*** openstackgerrit has joined #storyboard | 18:18 | |
*** jtomasek has joined #storyboard | 18:26 | |
*** jseutter has quit IRC | 22:50 | |
*** thrace has quit IRC | 23:23 | |
*** thrace has joined #storyboard | 23:25 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!