Wednesday, 2016-07-20

*** persia has quit IRC04:05
*** persia has joined #storyboard04:08
*** yarkot- has quit IRC04:25
*** yarkot1 has joined #storyboard04:40
*** alexismonville has joined #storyboard05:25
*** fay has joined #storyboard07:14
*** fay is now known as Guest4747807:14
*** matthewbodkin has joined #storyboard08:00
*** alexismonville has quit IRC09:36
*** markus_z has joined #storyboard10:14
*** Guest47478 is now known as faybrocklebank10:15
markus_zanteaya: How do I attach files to a user story in storyboard? When doing bug triage, we often ask people to attach their (sometimes very large) logs.10:17
persiaI don't believe SB has anything like librarian at this point.10:21
SotKindeed, currently the best way to do that is to upload the log/file somewhere else and link to it in either the description or a comment10:21
persiaThere was talk of maybe providing a front-end for swift, and then one of the deployers wanted that to be Ceph, and then I don't remember any followup discussion.10:22
markus_zLinking it would be fine, I was concerned if the linked content stays alive long enough. We have a lifetime of 18 months bug reports. Would be bad if we cannot access the files anymore after 6 months or so.10:24
markus_zanteaya: I consider this as blocking too: https://storyboard.openstack.org/#!/story/200067910:40
markus_zOK, now I feel stupid ... can anyone explain to me how I find all stories I created?10:48
Zaramarkus_z: it should be on the dashboard, under 'stories created by me' on the right10:48
markus_zZara: ah, yeah, I'm stupid ... thanks!10:49
Zaraahaha, np :) you're not stupid!10:49
markus_zmy first instinct was to query the overall story list by "author: Markus" or similar10:49
pedroalvarezgerrit-like10:50
markus_zyes10:51
markus_zThere is "story status: active" show per default, I thought that's the general syntax10:52
markus_zs/show/shown10:53
* markus_z 's typo rate goes up today...10:54
SotKyeah, the filter/search bar is kind of confusing as it is10:54
* SotK would like to fix it sometime, but its not high on my priority list atm10:54
markus_zyeah, first things first10:55
markus_zto be honest, I expect that more people will go and check the source code of SB after the transition happens.10:56
Zarayyyyup10:56
Zaraanother sort of catch-22-- we need resources to fix lots of things; we won't be in a situation where we can get more resources until we fix lots of things10:57
markus_ztrue10:58
Zaraso hopefully the second set of things turns out not to be tooooo big!10:58
Zarapeople with resourcing power have pretty much said 'I will give you resources when it goes through the tc', they don't want to move before that.10:59
Zarait's great fun! =D10:59
markus_zI see the point, nobody has resources lying around and waiting for stuff10:59
Zarayeah, so they want a clear commitment if they're going to magic some up.11:02
*** faybrocklebank has quit IRC11:06
Zaramarkus_z: how often do people need longer logs, ooi? I wonder if the lifetime issue means we need a deadline for implementing it rather than treating it as a blocker, if we know of a third party service that will be stable for a set amount of time.11:10
markus_zThat's typically the case for almost every new reported bug which looks genuine. The repro people write in the description often don't tell the full truth.11:13
Zaraheh11:13
markus_zI'm thinking about your idea of using 3rd party service as mitigation11:14
* persia has often dreamed of only accepting bug reports written as executable code that returns true/false depending on whether the bug was successfully reproduced11:14
Zarapersia: different config might cause problems there :P11:14
persia(the problem being that this is a strategy that quickly leads to having zero users of one's softwre)11:14
Zarathat too :)11:15
persiaZara: Then the test should change the config :)  (but, yes)11:15
markus_zyeah, it's a balance act11:15
Zarayup11:15
markus_zwe already have paste.openstack.org which could mitigate the issue, but I don't know it's retention policy11:17
markus_zs/it's/its11:17
Zarame neither. I don't think infra have a dedicated filestore service, though that'd be my preferred option.11:18
persiaThere are some filestores used to back some infra things (e.g. mirrors, logstash, etc.), but I suspect this would better as a separate allocation, rather than being more of the same.11:20
persiaAlso, for authentication management reasons, it probably makes sense to have some gateway that takes openid-authenticated requests to store data and then stores it with some more trusted key.11:21
Zarawell right now I'm thinking about things that would work shorter term that people could link to, to give us time to implement it in storyboard itself, as I don't expect it to be trivial.11:22
Zaraand it's one of the group of things I suspect will be easier with more resources11:22
persiaYes.  There was discussion of using the wiki at some time in the far past, but that's not a sensible option currently.11:23
Zaraso any third party store that can keep a file for a bit and let people link to that file seems like it might work, but it needs to be safe to use.11:23
persiaYes.11:24
persiaFor complex values of "safe": yesterday there was an image URL posted in this channel that, when visited, loaded another thumbnail image which was an animation of someone making a rude gesture.11:25
persiaI suspect that the specific rude image selected was based on browser signature tracking or some such, but also am uncertain that somewhere that could do that should be considered "safe", as all sorts of people look at bug reports, and some may be offended by some content on the internet.11:26
Zarapersia: for now I'm just thinking of viruses. longer term I'd worry about things that could affect a smaller subset of people, but longer term I'd want it implemented in storyboard itself,11:31
Zarawhich would counter that11:31
persiaMakes sense.11:32
Zararight, going back to looking at the python client12:01
Zaragoing to try POSTing a story and to narrow down if it's a milestones-specific issue or me not knowing runes12:02
*** fay has joined #storyboard12:14
*** fay is now known as faybrocklebank12:14
matthewbodkinPlease can I have some docs so that I can set up my own instance12:52
SotKmatthewbodkin: http://docs.openstack.org/infra/storyboard/install/development.html12:53
SotKif anything in there isn't clear, please let us know :)12:53
matthewbodkinokay thanks :)12:54
betherlymatthewbodkin: as SotK says, please do say if anything doesn't work or doesn't make sense as we want to make those docs as clear and easy to follow as possible for future developers on the project :)12:56
Zarayes, and welcome matthewbodkin! :)12:56
betherlywoot! welcome to the crazy wonderfulness of Storyboard :D12:57
SotKyes, welcome!12:58
Zaraa reminder that we have the illustrious storyboard meeting at 16:00 UTC!13:22
Zarain #openstack-meeting13:23
Zaraif people would like to put things on the agenda, the wiki is here: https://wiki.openstack.org/wiki/Meetings/StoryBoard13:23
ZaraI daresay it's dreadfully out of date13:23
SotK15:00 UTC :)13:25
Zaralol13:26
Zaragah, it's because it's 16:00 here13:26
Zarawell it's evidently too warm for my brain13:26
Zaraeating penguin was mistake13:39
Zaracan type with two fingers, other fingers are chocolate now13:39
Zarasend help13:39
Zarasink discovered; all systems resuming normal operation13:40
matthewbodkinWhat is the IP address of the database used by the main storyboard server?13:56
matthewbodkinit's far too warm too hot to function13:57
Zarahaha, it is! what are you trying to do?13:57
Zara(your machine itself will have an IP, and then the storyboard instance should be served on a specific port, but I might be leaping ahead since I'm not sure where you're up to)13:58
Zaraso if you say the step that you're up to in the docs, that's easier for us to help with. oh, and if you want to post any strange error messages, http://paste.openstack.org/ is the best place14:04
Zaramatthewbodkin ^14:04
matthewbodkinokay, I've not had any yet14:05
matthewbodkinI'm on step 5 btw14:05
Zaraahh, right14:05
Zaraso, I'm guesing you want to know what to change the 'connection' line to in etc/storyboard.conf?14:07
*** markus_z has quit IRC14:07
matthewbodkinyep that's the one14:07
Zaraokay, it's fine to leave the 127.0.0.1 as it is, there14:08
Zarasince the database is on the same machine14:09
Zarathat your api will be on14:09
Zarayou'd change it in a situation where you had a database on a separate machine, but you're using one VM for everything14:09
matthewbodkinokay that's fine then thank you14:10
Zara\o/ you'll need to change `pass` in that line to match your password14:10
Zara(fairly sure it's the one you created in step 3)14:11
Zaraeverything else in that line should be fine as-is for your setup :)14:12
*** alexismonville has joined #storyboard14:16
anteayain regards to markus' question about attaching files, I would suggest the files go into paste and the story/task/comment include a url to the paste14:28
anteayaif paste has a line limit, I would like to know what it is14:28
anteayaas SotK suggested to him14:29
anteayapaste run by openstack has an expectation of being available as long as openstack is around14:29
SotKdo the pastes have an expiry date?14:29
anteayano14:34
SotKexcellent14:34
anteayaand I don't think we need to worry about security or authentication regarding log files14:34
anteayaI have no belief that using launchpad validates any authenticity or security regarding log files14:34
anteayamy understanding is that one simply needs to be able to read the log file, which paste has been used for in the past quiet successfully14:35
anteayafungi: do correct me if I am wrong14:35
anteayafungi: story in question https://storyboard.openstack.org/#!/story/200067914:36
persiaanteaya: The main reason for authentication for posting to LP is to reduce spam: if you're logged in to LP, you can store a file in librarian.  I don't think paste.o.o has authentication, but I also don't think it is a big spam target currently.14:37
anteayait is not14:38
anteayapurposely14:38
persiaIn other projects, I've seen the pastebin become authenticated-only, but that requires another order of magnitude or two from the size of the openstack community.14:38
anteayawe told bots to not index it14:38
anteayaokay, I didn't know other projects have authenticated paste14:38
anteayawe don't index our paste or ehterpads specifically to make it unattractive to spammers14:39
persiaNot indexing helps.  I won't go into the attacks I've seen that resulted in authenticated pastes: it's just something that may happen in the future, but even if it does, I don't think that is a huge barrier to entry from a SB perspective.14:39
persia(at least in terms of feature-parity to LP, which does require authentication to upload files)14:40
anteayawell as Zara pointed out we are looking for the shortest path to migration14:40
anteayasince we hold the belief that once migration has been decided upon hopefully companies will make resouces avaiable14:41
anteayaand if the new resources decide that authenticated paste is critical for them, I will not stand in their way14:41
anteayauntil that time however I do believe we have the functionality markus seeks in current tooling14:42
anteayaif not with the exact same workflow14:42
persiaYes, I believe it not to be a blocker, and I think unauthenticated paste is *better* than authenticated paste for this purpose.14:42
anteayawonderful14:43
anteayaI have to change locations, back in a few minutes14:44
matthewbodkinGetting an error message when trying to do step 6, it's saying permission denied14:51
Zaramatthewbodkin: ahh, you probably want `sudo` at the start of that command14:51
Zaraas that means that you're running it as a superuser, someone with admin permission to modify the things installed on the machine14:52
matthewbodkinokay that worked thanks again14:52
Zara\o/14:52
ZaraI'll see if I can find you some background reading on that14:53
Zaraaha, this page is a nice resource about permissions in unix more generally: http://linuxcommand.org/lts0070.php14:54
Zara(it includes a note on sudo further down)14:54
fungicatching up, and yes paste.o.o _was_ a big spam target up until we added a robots.txt file telling search engines not to index any of it. spammers seem to have zero interest in sites that don't show up in search engine results14:55
anteayafungi: thanks14:57
fungiand also, we could come up with no good reason for pastes to show up in search engines anyway because they generally lack useful context and so tend to add to search result noise rather than signal14:57
anteayaagreed on the noise bit14:57
Zarayeah, I can see the use in the site itself showing up in search (so people know it exists) but not any pastes. and even then, word of mouth seems to work pretty well14:58
anteayafungi: the last question was regarding the life of a paste14:58
anteayafungi: I believe an individual paste will exist as long as openstack is a thing14:58
fungiyep, we've only ever removed pastes on request15:00
anteayafungi: thank you15:00
fungiillegal content, accidentally disclosed a password, whatever15:00
anteayagreat15:00
matthewbodkinAnother error... "ERROR: toxini file 'tox.ini' not found"15:04
anteayait is looking for a file named tox.ini15:04
anteayado you have any instructions on how to create one or do you have one in your code?15:04
matthewbodkinI was just carrying out step 715:07
matthewbodkinI could create one yes, I thought this was just the simple matter of copy and paste15:07
anteayaokay well I don't know these instructions15:08
SotKhm, where are you running the command?15:08
anteayaI was simply interpreting the error message15:09
matthewbodkinI know thanks anteaya :)15:10
matthewbodkinjust in the vm everything else seems fine15:11
anteayamatthewbodkin: welcome15:12
Zaramatthewbodkin: which directory? (eg: what do you get if you run `pwd`?)15:12
anteayamatthewbodkin: execute 'pwd' and paste the output15:12
anteayalike Zara says15:12
SotK(it expects to be run in the place you cloned the storyboard repo to)15:12
matthewbodkinI've done it now I think, you were right I was looking around in the directories and never went back into the correct one15:15
matthewbodkinI was in /home/ubuntu before15:19
matthewbodkinshould be in /home/ubuntu/storyboard?15:20
Zarayes, that should work :)15:20
Zaraglad you figured it out!15:20
Zaramatthewbodkin: oh yeah, please beware that when you move onto installing the webclient, you should install it in /home/ubuntu (so that it ends up being /home/ubuntu/storyboard-webclient)15:31
Zarathat caught me out when I set it up the first time15:31
Zaraas I put it in home/ubuntu/storyboard and it didn't go too well.15:31
ZaraI should have mentioned that earlier, sorry, just remembered15:31
Zaraoh and also I spent ages not knowing if it had worked when I got the api working, so feel free to say 'finished that; did it work?' if you reach the end of the api steps and are unsure.15:35
matthewbodkin'finished that; did it work?'15:38
Zarahehe15:38
Zaraokay, gimme a sec, I'll paste what mine does15:38
Zaraoh, and also, I think the ip of your VM (the one you used to ssh in) plus `:8080` should give you a 404 error in your browser15:39
Zaraif it works15:39
*** dmsimard is now known as dmsimard|afk15:39
Zaraso I have: http://paste.openstack.org/show/538854/15:39
Zarain my terminal15:40
Zaraand in my browser, if I go to: http://172.16.20.111:8080/ , I get a '404, the resource could not be found'15:40
Zara(and then my terminal shows that someone tried to GET the page and got a 404)15:42
*** carl_baldwin has joined #storyboard15:43
matthewbodkinhm I don't have any of that15:44
Zarahm, okay, what do you get when you run: tox -e venv "storyboard-api --config-file ./etc/storyboard.conf"15:44
Zara?15:44
Zarayou can make a new paste here: http://paste.openstack.org/ , or just click the 'new' button in the top-right of my paste15:46
anteaya<-- offline for nova meeting15:47
matthewbodkinhttp://paste.openstack.org/show/538858/15:49
Zarathanks!15:49
* Zara takes a look15:49
Zarahm, that's odd, I don't remember encountering that but it's been a while since I made an instance from scratch; could you paste the whole log so it includes the command that you ran?15:51
matthewbodkinhttp://paste.openstack.org/show/538859/15:52
SotKif you ran the first command tox with sudo you'll need to run all subsequent ones in that directory with it too15:53
Zarawhat happens with `sudo tox -e venv "storyboard-api --config-file ./etc/storyboard.conf"` ?15:56
matthewbodkinhttp://paste.openstack.org/show/538862/15:59
Zaraseems like that's working15:59
Zarapossibly taking a while to install them.16:00
matthewbodkinAhhh I thought so but I'd sat there for a solid few minuted and nothing happened16:00
matthewbodkinminutes*16:00
Zaraokay, I *think* it's working and not saying much, and I vaguely remember thinking my storyboard was broken for hours when it wasn't because of that.16:02
Zarathough maybe that was a later thing16:02
Zaramemory laaane16:02
matthewbodkinGuess I'll just have to wait16:03
Zarayeah, I'll see if I can dig up notes on how long it took16:03
matthewbodkinAaannd http://paste.openstack.org/show/538864/16:05
Zaraoooh, that is exciting!16:06
ZaraI have absolutely no idea what's going on there!16:06
Zaraany ideas, anyone?16:06
matthewbodkinOh dear hahahaha16:06
Zarait's looking for something that doesn't exist; I don't yet know why16:06
Zarawhatever 'u' is there?16:07
matthewbodkinI've started over numerous times so it's not like I've skipped a step16:07
Zarait's more likely the docs are missing something, though it's always worth double-checking so thanks for being thorough16:08
Zaratime to search the internets for the error...16:10
Zarahm, i can find a similar error in sahara which suggested someone's config file was off, could you paste the [database] section? (you might want to message me that instead of posting it here, since it contains a password)16:14
Zarain practice it's not a very useful password to anybody but hey16:14
Zarasince anyone not on the same network would not be able to get to the machine16:14
ZaraI *think* the api isn't finding the database stuff.16:16
Zaratotally scientific diagnosis16:17
*** jtomasek has quit IRC16:38
*** matthewbodkin has quit IRC16:57
Zarawe have discovered that the docs do not cause the installation of mysql16:59
ZaraI'll probably hold off patching it so that matthew can try that to learn how patch submission works, unless anyone thinks those docs will be needed urgently17:02
*** jtomasek has joined #storyboard17:31
*** dmsimard|afk is now known as dmsimard18:26
anteayaI think having a new user patch the docs is an excellent workflow21:12
*** alexismonville has quit IRC22:00
*** alexismonville has joined #storyboard22:02

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!