*** persia has quit IRC | 04:05 | |
*** persia has joined #storyboard | 04:08 | |
*** yarkot- has quit IRC | 04:25 | |
*** yarkot1 has joined #storyboard | 04:40 | |
*** alexismonville has joined #storyboard | 05:25 | |
*** fay has joined #storyboard | 07:14 | |
*** fay is now known as Guest47478 | 07:14 | |
*** matthewbodkin has joined #storyboard | 08:00 | |
*** alexismonville has quit IRC | 09:36 | |
*** markus_z has joined #storyboard | 10:14 | |
*** Guest47478 is now known as faybrocklebank | 10:15 | |
markus_z | anteaya: 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 |
---|---|---|
persia | I don't believe SB has anything like librarian at this point. | 10:21 |
SotK | indeed, 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 comment | 10:21 |
persia | There 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_z | Linking 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_z | anteaya: I consider this as blocking too: https://storyboard.openstack.org/#!/story/2000679 | 10:40 |
markus_z | OK, now I feel stupid ... can anyone explain to me how I find all stories I created? | 10:48 |
Zara | markus_z: it should be on the dashboard, under 'stories created by me' on the right | 10:48 |
markus_z | Zara: ah, yeah, I'm stupid ... thanks! | 10:49 |
Zara | ahaha, np :) you're not stupid! | 10:49 |
markus_z | my first instinct was to query the overall story list by "author: Markus" or similar | 10:49 |
pedroalvarez | gerrit-like | 10:50 |
markus_z | yes | 10:51 |
markus_z | There is "story status: active" show per default, I thought that's the general syntax | 10:52 |
markus_z | s/show/shown | 10:53 |
* markus_z 's typo rate goes up today... | 10:54 | |
SotK | yeah, the filter/search bar is kind of confusing as it is | 10:54 |
* SotK would like to fix it sometime, but its not high on my priority list atm | 10:54 | |
markus_z | yeah, first things first | 10:55 |
markus_z | to be honest, I expect that more people will go and check the source code of SB after the transition happens. | 10:56 |
Zara | yyyyup | 10:56 |
Zara | another 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 things | 10:57 |
markus_z | true | 10:58 |
Zara | so hopefully the second set of things turns out not to be tooooo big! | 10:58 |
Zara | people 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 |
Zara | it's great fun! =D | 10:59 |
markus_z | I see the point, nobody has resources lying around and waiting for stuff | 10:59 |
Zara | yeah, so they want a clear commitment if they're going to magic some up. | 11:02 |
*** faybrocklebank has quit IRC | 11:06 | |
Zara | markus_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_z | That'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 |
Zara | heh | 11:13 |
markus_z | I'm thinking about your idea of using 3rd party service as mitigation | 11: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 reproduced | 11:14 | |
Zara | persia: different config might cause problems there :P | 11:14 |
persia | (the problem being that this is a strategy that quickly leads to having zero users of one's softwre) | 11:14 |
Zara | that too :) | 11:15 |
persia | Zara: Then the test should change the config :) (but, yes) | 11:15 |
markus_z | yeah, it's a balance act | 11:15 |
Zara | yup | 11:15 |
markus_z | we already have paste.openstack.org which could mitigate the issue, but I don't know it's retention policy | 11:17 |
markus_z | s/it's/its | 11:17 |
Zara | me neither. I don't think infra have a dedicated filestore service, though that'd be my preferred option. | 11:18 |
persia | There 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 |
persia | Also, 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 |
Zara | well 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 |
Zara | and it's one of the group of things I suspect will be easier with more resources | 11:22 |
persia | Yes. There was discussion of using the wiki at some time in the far past, but that's not a sensible option currently. | 11:23 |
Zara | so 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 |
persia | Yes. | 11:24 |
persia | For 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 |
persia | I 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 |
Zara | persia: 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 |
Zara | which would counter that | 11:31 |
persia | Makes sense. | 11:32 |
Zara | right, going back to looking at the python client | 12:01 |
Zara | going to try POSTing a story and to narrow down if it's a milestones-specific issue or me not knowing runes | 12:02 |
*** fay has joined #storyboard | 12:14 | |
*** fay is now known as faybrocklebank | 12:14 | |
matthewbodkin | Please can I have some docs so that I can set up my own instance | 12:52 |
SotK | matthewbodkin: http://docs.openstack.org/infra/storyboard/install/development.html | 12:53 |
SotK | if anything in there isn't clear, please let us know :) | 12:53 |
matthewbodkin | okay thanks :) | 12:54 |
betherly | matthewbodkin: 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 |
Zara | yes, and welcome matthewbodkin! :) | 12:56 |
betherly | woot! welcome to the crazy wonderfulness of Storyboard :D | 12:57 |
SotK | yes, welcome! | 12:58 |
Zara | a reminder that we have the illustrious storyboard meeting at 16:00 UTC! | 13:22 |
Zara | in #openstack-meeting | 13:23 |
Zara | if people would like to put things on the agenda, the wiki is here: https://wiki.openstack.org/wiki/Meetings/StoryBoard | 13:23 |
Zara | I daresay it's dreadfully out of date | 13:23 |
SotK | 15:00 UTC :) | 13:25 |
Zara | lol | 13:26 |
Zara | gah, it's because it's 16:00 here | 13:26 |
Zara | well it's evidently too warm for my brain | 13:26 |
Zara | eating penguin was mistake | 13:39 |
Zara | can type with two fingers, other fingers are chocolate now | 13:39 |
Zara | send help | 13:39 |
Zara | sink discovered; all systems resuming normal operation | 13:40 |
matthewbodkin | What is the IP address of the database used by the main storyboard server? | 13:56 |
matthewbodkin | it's far too warm too hot to function | 13:57 |
Zara | haha, 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 |
Zara | so 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 place | 14:04 |
Zara | matthewbodkin ^ | 14:04 |
matthewbodkin | okay, I've not had any yet | 14:05 |
matthewbodkin | I'm on step 5 btw | 14:05 |
Zara | ahh, right | 14:05 |
Zara | so, I'm guesing you want to know what to change the 'connection' line to in etc/storyboard.conf? | 14:07 |
*** markus_z has quit IRC | 14:07 | |
matthewbodkin | yep that's the one | 14:07 |
Zara | okay, it's fine to leave the 127.0.0.1 as it is, there | 14:08 |
Zara | since the database is on the same machine | 14:09 |
Zara | that your api will be on | 14:09 |
Zara | you'd change it in a situation where you had a database on a separate machine, but you're using one VM for everything | 14:09 |
matthewbodkin | okay that's fine then thank you | 14:10 |
Zara | \o/ you'll need to change `pass` in that line to match your password | 14:10 |
Zara | (fairly sure it's the one you created in step 3) | 14:11 |
Zara | everything else in that line should be fine as-is for your setup :) | 14:12 |
*** alexismonville has joined #storyboard | 14:16 | |
anteaya | in 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 paste | 14:28 |
anteaya | if paste has a line limit, I would like to know what it is | 14:28 |
anteaya | as SotK suggested to him | 14:29 |
anteaya | paste run by openstack has an expectation of being available as long as openstack is around | 14:29 |
SotK | do the pastes have an expiry date? | 14:29 |
anteaya | no | 14:34 |
SotK | excellent | 14:34 |
anteaya | and I don't think we need to worry about security or authentication regarding log files | 14:34 |
anteaya | I have no belief that using launchpad validates any authenticity or security regarding log files | 14:34 |
anteaya | my understanding is that one simply needs to be able to read the log file, which paste has been used for in the past quiet successfully | 14:35 |
anteaya | fungi: do correct me if I am wrong | 14:35 |
anteaya | fungi: story in question https://storyboard.openstack.org/#!/story/2000679 | 14:36 |
persia | anteaya: 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 |
anteaya | it is not | 14:38 |
anteaya | purposely | 14:38 |
persia | In 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 |
anteaya | we told bots to not index it | 14:38 |
anteaya | okay, I didn't know other projects have authenticated paste | 14:38 |
anteaya | we don't index our paste or ehterpads specifically to make it unattractive to spammers | 14:39 |
persia | Not 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 |
anteaya | well as Zara pointed out we are looking for the shortest path to migration | 14:40 |
anteaya | since we hold the belief that once migration has been decided upon hopefully companies will make resouces avaiable | 14:41 |
anteaya | and if the new resources decide that authenticated paste is critical for them, I will not stand in their way | 14:41 |
anteaya | until that time however I do believe we have the functionality markus seeks in current tooling | 14:42 |
anteaya | if not with the exact same workflow | 14:42 |
persia | Yes, I believe it not to be a blocker, and I think unauthenticated paste is *better* than authenticated paste for this purpose. | 14:42 |
anteaya | wonderful | 14:43 |
anteaya | I have to change locations, back in a few minutes | 14:44 |
matthewbodkin | Getting an error message when trying to do step 6, it's saying permission denied | 14:51 |
Zara | matthewbodkin: ahh, you probably want `sudo` at the start of that command | 14:51 |
Zara | as that means that you're running it as a superuser, someone with admin permission to modify the things installed on the machine | 14:52 |
matthewbodkin | okay that worked thanks again | 14:52 |
Zara | \o/ | 14:52 |
Zara | I'll see if I can find you some background reading on that | 14:53 |
Zara | aha, this page is a nice resource about permissions in unix more generally: http://linuxcommand.org/lts0070.php | 14:54 |
Zara | (it includes a note on sudo further down) | 14:54 |
fungi | catching 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 results | 14:55 |
anteaya | fungi: thanks | 14:57 |
fungi | and 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 signal | 14:57 |
anteaya | agreed on the noise bit | 14:57 |
Zara | yeah, 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 well | 14:58 |
anteaya | fungi: the last question was regarding the life of a paste | 14:58 |
anteaya | fungi: I believe an individual paste will exist as long as openstack is a thing | 14:58 |
fungi | yep, we've only ever removed pastes on request | 15:00 |
anteaya | fungi: thank you | 15:00 |
fungi | illegal content, accidentally disclosed a password, whatever | 15:00 |
anteaya | great | 15:00 |
matthewbodkin | Another error... "ERROR: toxini file 'tox.ini' not found" | 15:04 |
anteaya | it is looking for a file named tox.ini | 15:04 |
anteaya | do you have any instructions on how to create one or do you have one in your code? | 15:04 |
matthewbodkin | I was just carrying out step 7 | 15:07 |
matthewbodkin | I could create one yes, I thought this was just the simple matter of copy and paste | 15:07 |
anteaya | okay well I don't know these instructions | 15:08 |
SotK | hm, where are you running the command? | 15:08 |
anteaya | I was simply interpreting the error message | 15:09 |
matthewbodkin | I know thanks anteaya :) | 15:10 |
matthewbodkin | just in the vm everything else seems fine | 15:11 |
anteaya | matthewbodkin: welcome | 15:12 |
Zara | matthewbodkin: which directory? (eg: what do you get if you run `pwd`?) | 15:12 |
anteaya | matthewbodkin: execute 'pwd' and paste the output | 15:12 |
anteaya | like Zara says | 15:12 |
SotK | (it expects to be run in the place you cloned the storyboard repo to) | 15:12 |
matthewbodkin | I've done it now I think, you were right I was looking around in the directories and never went back into the correct one | 15:15 |
matthewbodkin | I was in /home/ubuntu before | 15:19 |
matthewbodkin | should be in /home/ubuntu/storyboard? | 15:20 |
Zara | yes, that should work :) | 15:20 |
Zara | glad you figured it out! | 15:20 |
Zara | matthewbodkin: 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 |
Zara | that caught me out when I set it up the first time | 15:31 |
Zara | as I put it in home/ubuntu/storyboard and it didn't go too well. | 15:31 |
Zara | I should have mentioned that earlier, sorry, just remembered | 15:31 |
Zara | oh 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 |
Zara | hehe | 15:38 |
Zara | okay, gimme a sec, I'll paste what mine does | 15:38 |
Zara | oh, 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 browser | 15:39 |
Zara | if it works | 15:39 |
*** dmsimard is now known as dmsimard|afk | 15:39 | |
Zara | so I have: http://paste.openstack.org/show/538854/ | 15:39 |
Zara | in my terminal | 15:40 |
Zara | and 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 #storyboard | 15:43 | |
matthewbodkin | hm I don't have any of that | 15:44 |
Zara | hm, okay, what do you get when you run: tox -e venv "storyboard-api --config-file ./etc/storyboard.conf" | 15:44 |
Zara | ? | 15:44 |
Zara | you can make a new paste here: http://paste.openstack.org/ , or just click the 'new' button in the top-right of my paste | 15:46 |
anteaya | <-- offline for nova meeting | 15:47 |
matthewbodkin | http://paste.openstack.org/show/538858/ | 15:49 |
Zara | thanks! | 15:49 |
* Zara takes a look | 15:49 | |
Zara | hm, 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 |
matthewbodkin | http://paste.openstack.org/show/538859/ | 15:52 |
SotK | if you ran the first command tox with sudo you'll need to run all subsequent ones in that directory with it too | 15:53 |
Zara | what happens with `sudo tox -e venv "storyboard-api --config-file ./etc/storyboard.conf"` ? | 15:56 |
matthewbodkin | http://paste.openstack.org/show/538862/ | 15:59 |
Zara | seems like that's working | 15:59 |
Zara | possibly taking a while to install them. | 16:00 |
matthewbodkin | Ahhh I thought so but I'd sat there for a solid few minuted and nothing happened | 16:00 |
matthewbodkin | minutes* | 16:00 |
Zara | okay, 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 |
Zara | though maybe that was a later thing | 16:02 |
Zara | memory laaane | 16:02 |
matthewbodkin | Guess I'll just have to wait | 16:03 |
Zara | yeah, I'll see if I can dig up notes on how long it took | 16:03 |
matthewbodkin | Aaannd http://paste.openstack.org/show/538864/ | 16:05 |
Zara | oooh, that is exciting! | 16:06 |
Zara | I have absolutely no idea what's going on there! | 16:06 |
Zara | any ideas, anyone? | 16:06 |
matthewbodkin | Oh dear hahahaha | 16:06 |
Zara | it's looking for something that doesn't exist; I don't yet know why | 16:06 |
Zara | whatever 'u' is there? | 16:07 |
matthewbodkin | I've started over numerous times so it's not like I've skipped a step | 16:07 |
Zara | it's more likely the docs are missing something, though it's always worth double-checking so thanks for being thorough | 16:08 |
Zara | time to search the internets for the error... | 16:10 |
Zara | hm, 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 |
Zara | in practice it's not a very useful password to anybody but hey | 16:14 |
Zara | since anyone not on the same network would not be able to get to the machine | 16:14 |
Zara | I *think* the api isn't finding the database stuff. | 16:16 |
Zara | totally scientific diagnosis | 16:17 |
*** jtomasek has quit IRC | 16:38 | |
*** matthewbodkin has quit IRC | 16:57 | |
Zara | we have discovered that the docs do not cause the installation of mysql | 16:59 |
Zara | I'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 urgently | 17:02 |
*** jtomasek has joined #storyboard | 17:31 | |
*** dmsimard|afk is now known as dmsimard | 18:26 | |
anteaya | I think having a new user patch the docs is an excellent workflow | 21:12 |
*** alexismonville has quit IRC | 22:00 | |
*** alexismonville has joined #storyboard | 22:02 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!