*** diablo_rojo has joined #storyboard | 00:02 | |
*** tosky has quit IRC | 00:23 | |
*** misaac has quit IRC | 00:35 | |
*** jaosorior has quit IRC | 01:20 | |
*** jamesmcarthur has joined #storyboard | 01:23 | |
*** jaosorior has joined #storyboard | 01:32 | |
*** jamesmcarthur has quit IRC | 01:49 | |
*** whoami-rajat has joined #storyboard | 02:02 | |
*** jamesmcarthur has joined #storyboard | 02:25 | |
*** jamesmcarthur has quit IRC | 03:25 | |
*** jamesmcarthur has joined #storyboard | 03:28 | |
*** jamesmcarthur has quit IRC | 03:36 | |
*** sarwatfatimam has quit IRC | 03:37 | |
*** jamesmcarthur has joined #storyboard | 03:40 | |
*** jamesmcarthur has quit IRC | 03:45 | |
*** udesale has joined #storyboard | 03:54 | |
*** jamesmcarthur has joined #storyboard | 04:07 | |
*** jamesmcarthur has quit IRC | 04:23 | |
*** misaac has joined #storyboard | 04:47 | |
*** misaac has quit IRC | 04:51 | |
*** kshitija has joined #storyboard | 06:18 | |
*** kshitija has quit IRC | 06:29 | |
*** kshitija has joined #storyboard | 06:34 | |
*** misaac has joined #storyboard | 06:58 | |
*** misaac has quit IRC | 06:58 | |
*** misaac has joined #storyboard | 07:00 | |
*** jtomasek has joined #storyboard | 07:25 | |
*** tosky has joined #storyboard | 08:39 | |
*** dtantsur|afk is now known as dtantsur | 08:46 | |
*** jpich has joined #storyboard | 08:53 | |
*** tbarron has quit IRC | 09:30 | |
*** kshitija has quit IRC | 09:50 | |
*** shruti10 has joined #storyboard | 09:58 | |
*** kshitija has joined #storyboard | 10:04 | |
*** kshitija[m] has joined #storyboard | 10:05 | |
*** kshitija has quit IRC | 10:20 | |
*** cmoura has joined #storyboard | 10:28 | |
cmoura | Hello everyone, I'm Camila and participate in Outreachy, I discovered a bug that I can solve, so, I want to contribute with the StoryBoard :) | 11:13 |
---|---|---|
*** udesale has quit IRC | 11:29 | |
cmoura | so, I have questions, Can myself create a Task from a Story? and do the Task? | 11:35 |
*** jamesmcarthur has joined #storyboard | 11:44 | |
*** malani_ has joined #storyboard | 12:04 | |
*** diablo_rojo_ has joined #storyboard | 12:30 | |
*** gouthamr has quit IRC | 12:30 | |
*** diablo_rojo has quit IRC | 12:30 | |
*** openstackgerrit has quit IRC | 12:30 | |
*** gouthamr has joined #storyboard | 12:33 | |
*** jamesmcarthur has quit IRC | 12:34 | |
*** jamesmcarthur has joined #storyboard | 12:34 | |
*** aashna has joined #storyboard | 12:38 | |
aashna | hey I'm an outreachy applicant! Can someone help me out with how to get started? | 12:38 |
*** jamesmcarthur has quit IRC | 12:52 | |
*** jamesmcarthur has joined #storyboard | 12:57 | |
*** ivy has joined #storyboard | 13:19 | |
*** ivy has quit IRC | 13:20 | |
*** ivy has joined #storyboard | 13:21 | |
*** ivy has quit IRC | 13:33 | |
*** jamesmcarthur has quit IRC | 13:35 | |
*** dtantsur is now known as dtantsur|afk | 13:38 | |
*** jamesmcarthur has joined #storyboard | 13:39 | |
*** jamesmcarthur has quit IRC | 13:40 | |
*** jamesmcarthur has joined #storyboard | 13:40 | |
*** hadiajalil has joined #storyboard | 14:01 | |
hadiajalil | Hello. This is Hadia. | 14:02 |
*** mkarray has joined #storyboard | 14:12 | |
*** hadiajalil has quit IRC | 14:33 | |
*** hadiajalil has joined #storyboard | 14:48 | |
*** hadiajalil has quit IRC | 15:10 | |
*** jamesmcarthur has quit IRC | 15:11 | |
*** jamesmcarthur has joined #storyboard | 15:11 | |
*** jamesmcarthur has quit IRC | 15:15 | |
*** jamesmcarthur has joined #storyboard | 15:27 | |
*** malani_ has quit IRC | 15:28 | |
*** jamesmcarthur has quit IRC | 15:30 | |
*** ivy has joined #storyboard | 15:32 | |
ivy | In my last commit, some of the test on zuul return failure. So, I checked the linting job which catches bugs in the syntax of the change on zuul. But everytime I make a correction and commit, some new error comes up. | 15:33 |
ivy | I decided to set up and do the test locally, so I can correct all errors before pushing the correct code. | 15:33 |
ivy | I ran pep8, ('tox -e pep8') locally, corrected all errors and it worked. Also ran, 'tox -e py35' and 'tox -ecover' for over 2hrs now but it nothing's happening, no output. It appears to be stuck. | 15:33 |
ivy | Then I ran 'tox -e py27' which displayed an error. After correcting this error, I ran the command again and just like the the last two commands, there are no results. | 15:33 |
ivy | Any ideas how I can get these to work? | 15:34 |
*** jamesmcarthur has joined #storyboard | 15:39 | |
clarkb | ivy: it is possible there is missing database setup | 15:59 |
clarkb | SotK and diablo_rojo_phon probably know if you need to bootstrap the unittest environment | 15:59 |
clarkb | I have a meeting now but can check afterwards if you are able to stick around (not sure if that works for your timezone) | 15:59 |
clarkb | cmoura: yes you should feel free to start interacting with the systems in that way | 16:00 |
ivy | No problem. I'll be around | 16:01 |
ivy | :) | 16:01 |
clarkb | ivy: looks like doc/source/contributing.rst says you do need to set up the database and looks like tools/install_test_backend.sh may do that for you | 16:04 |
ivy | okay. I'll try that | 16:05 |
*** kshitija has joined #storyboard | 16:50 | |
*** mkarray has quit IRC | 17:09 | |
*** mkarray has joined #storyboard | 17:10 | |
*** jpich has quit IRC | 17:17 | |
*** mkarray has quit IRC | 17:20 | |
*** ivy has quit IRC | 17:25 | |
fungi | diablo_rojo_phon: 633365 is passing tests now (the verified -1 was for a timeout on a coverage job), and has some other approvals lined up behind it already | 17:39 |
*** openstackgerrit has joined #storyboard | 17:39 | |
openstackgerrit | Merged openstack-infra/storyboard master: Add an interface specifying the API for storage backends https://review.openstack.org/633364 | 17:39 |
*** kshitija has quit IRC | 17:41 | |
fungi | 633417 has a similar timeout on the py27 unit test job | 17:42 |
*** ivy has joined #storyboard | 17:43 | |
*** cdent has joined #storyboard | 17:46 | |
cdent | diablo_rojo_ (or anyone else): Is it okay for a project to start using storyboard prior to migrating anything? Or is migration destructive of stuff that is already there? | 17:48 |
fungi | cdent: all "migration" does is (incrementally) import bugs and their comments and bugtasks from lp into sb and prepopulate users so it can retain references to comment authors | 17:51 |
fungi | the only tricky part with starting to use it for a project early is that our lp bug updating automation is keyed on the same use-storyboard flag in projects.yaml which also causes our project management orchestration to create the projects and project groups in sb | 17:53 |
cdent | fungi: I think that's all already kind of broken for placement now that it is it's own official thing, but keeps its (old) bugs under nova | 17:53 |
fungi | got it | 17:54 |
cdent | the emerging plan is that we'll simply start fresh on storyboard | 17:54 |
cdent | because there's a rather small number of placement-tagged bugs under nova | 17:54 |
fungi | we do also have an lp bugtag filter we can use to import nova bugs with the placement tag (for example) and create tasks for openstack/placement in storyboard | 17:54 |
cdent | but I didn't want us to get into some weird state where if we did need to import we couldn't ... | 17:55 |
cdent | this is all somewhat complicated by being in a ptl limbo for a few more days | 17:56 |
fungi | if you expect those bugs to continue to get comments and state changes though, importing them may be premature. the migration tool will incrementally pull in new bugs and comments which don't exist in sb after the previous run, but it's somewhat lacking in ability to spot and apply changes in bugtask status | 17:56 |
*** malani has joined #storyboard | 17:57 | |
fungi | but yeah, if you want to add use-storyboard:true and hold off importing bugs from lp, i think that's fine as long as you're okay with placement bugs in lp not getting comments from gerrit when changes reference them | 17:58 |
fungi | just make a comment to that effect in the change which switches it over | 17:58 |
cdent | I think that's the emerging consensus, so yeah, I'll go with that. Thanks for helping come up withe clear strategy | 17:59 |
cdent | biab | 17:59 |
fungi | you bet | 18:01 |
*** kshitija has joined #storyboard | 18:04 | |
*** mkarray has joined #storyboard | 18:24 | |
ivy | clarkb: I have setup the database with tools/install_test_backend.sh, but the commands still dont work | 18:49 |
clarkb | ivy: they are not returning any response? | 18:52 |
ivy | They return a list of installed packages. Then stop after these 2 lines, * | 18:55 |
ivy | py35 run-test-pre: PYTHONHASHSEED='3639152057' | 18:55 |
ivy | py35 runtests: commands[0] | stestr run | 18:55 |
ivy | * | 18:55 |
clarkb | does `ps -elf | grep stestr` show an stestr process running? | 18:56 |
clarkb | I believe that stestr is supposed to output test names as they run. fungi diablo_rojo_phon are you able to confirm that? | 18:56 |
ivy | yes it does shows the stestr process running | 19:00 |
clarkb | hrm | 19:12 |
clarkb | (sorry I'm in another meeting now so will be slow for a bit) | 19:12 |
ivy | Not a problem | 19:14 |
ivy | thanks for helping out. I have to sign off for today. Will continue working on it tomorrow. | 19:14 |
*** gouthamr has quit IRC | 19:20 | |
*** gouthamr_ has joined #storyboard | 19:20 | |
*** mordred has joined #storyboard | 19:23 | |
mordred | SotK: I'm looking at https://review.openstack.org/#/c/634603 and the python side changes - I have 2 questions | 19:23 |
mordred | SotK: can you point me to where the auth bit comes for the auth parameter here: https://review.openstack.org/#/c/634603/4/src/app/util/service/upload.js ? | 19:24 |
mordred | SotK: and what calls get_upload_url here: https://review.openstack.org/#/c/633365/2/storyboard/api/v1/storage/swift_impl.py | 19:25 |
mordred | SotK: (I'm having trouble stiching together the web user going through the fileupload process, to the webclient requesting an endpoint to upload to, to the file being uploaded | 19:26 |
*** talmaqui has joined #storyboard | 19:32 | |
SotK | mordred: the next patch in the webclient series makes a request to /attachments/upload_url (which calls get_upload_url and is added in the next patch in the api series) here: https://review.openstack.org/#/c/633840/7/src/app/stories/controller/story_detail_controller.js@856 | 20:05 |
mordred | SotK: ah. gotcha. thanks! | 20:10 |
mordred | SotK: so - I'm going to try to make things more complicated here - but I'll leave it all in review ... I think returning the auth_token in the headers is potentially dangerous because it could actually be used by the recipient to take any action on the entire openstack cloud. instead, we can use the tempurl middleware (we've got code that already uses it that can be leveraged) to have get_upload_url | 20:12 |
mordred | create a "tempurl" which is a time-bound url that can be passed back from get_upload_url and the user can post to it and it will only allow posting to the container in question | 20:12 |
mordred | I'll add both comments as well as either some sample code or links to it | 20:12 |
mordred | (the structure you have looks great overall and I think will make using tempurl really nice) | 20:12 |
mordred | fungi: ^^ fyi | 20:13 |
fungi | thanks mordred! | 20:15 |
SotK | that makes sense, I was assuming things being configured to have short-lived tokens and an account which can't do much | 20:15 |
SotK | I hadn't considered the implications if someone decided to use credentials with access to the whole cloud though, using a tempurl sounds like a much more sensible solution | 20:15 |
*** jamesmcarthur has quit IRC | 20:15 | |
mordred | SotK: indeed. if it was used with an account that was only used for swift and nothing else it would be fine | 20:15 |
fungi | yeah, it's a good point though that even if the account permissions are limited, they could still be used to do more than just upload to the supplied url | 20:16 |
*** jamesmcarthur has joined #storyboard | 20:16 | |
mordred | SotK: I've been meaning to do something sensibly reusable with the tempurl code for a while - so this will be the motivation to get around to doing that | 20:16 |
fungi | even if it's merely to upload more things to urls we didn't tell them were okay | 20:16 |
mordred | fungi: like delete all of the containers and attachments | 20:16 |
mordred | fungi: or replace their contents with porn | 20:16 |
fungi | well, there are swift acls which can be used to limit the scope of commands they're allowed, but yes | 20:16 |
fungi | so we could probably keep them from deleting things or making container global changes, but we are at least giving them free license to upload to any urls this way | 20:17 |
mordred | fungi: that only works, aiui, if you're using swift auth and not using keystone | 20:18 |
fungi | right. is this keystone auth? | 20:18 |
mordred | as people using swifts via keystoen in openstack clouds, we donm't have that ability | 20:18 |
mordred | it should be for infra | 20:18 |
mordred | supporting swiftauth for people who donmt' have an openstack cloud and are using standalone swift, then those acls will work | 20:18 |
mordred | but for us, our clouds are all via keystone | 20:18 |
fungi | got it | 20:19 |
mordred | fungi: it's all abundantly complex and clear as mud isn't it? | 20:19 |
fungi | so if we want to perform local testing of this, we probably want at least keystone in addition to swift | 20:19 |
mordred | yeah. it would likely be easiest to make a devstack job configured to basically only be running keystone and swift for functional testing | 20:20 |
*** jamesmcarthur has quit IRC | 20:20 | |
SotK | I've only tested it with standalone swift, but if the swiftclient docs are trustworthy I *think* it should "just work" when configured for keystone auth instead | 20:25 |
SotK | mordred: on a related note, I saw some discussion of swiftclient vs openstack sdk, do you have an opinion on that? | 20:25 |
mordred | I do! I don't believe python-*client should ever be used for any purpose. :) BUT ... I have not tested openstacksdk with standalone swift yet, so I am witholding having a strong opinion on that | 20:26 |
mordred | (don't let my status as PTL of openstacksdk imply any sort of bias here of course) | 20:27 |
mordred | ;) | 20:27 |
SotK | :) | 20:30 |
malani | Hi @SotK @fungi @diablo_rojo! I am Saurav Malani, 4th-year B.Tech student at IIIT-Hyderabad, India. I am an Outreachy-19 aspirant. I am particularly interested in the cloud-related project. So, I was looking into the project list of OpenStack and out of the listed projects, I found the project idea "StoryBoard Database Query Optimizations" to be interesting & it also aligns with my future goals. I understood the project idea broadly, but | 20:32 |
malani | with the available information, I didn't really understand the how part i.e. how are we going to optimize the database query in the existing database. So, can you please share some more details in this context? I have a little background in kubernetes, cloud technology. Previously, I have submitted a patch in Kubernetes Python-client link: https://github.com/kubernetes/kubernetes/pull/70684. | 20:32 |
diablo_rojo_ | malani, basically you will need to look at how the queries are being done currently and research ways to make them more efficient. | 20:34 |
SotK | mordred: presumably I should be able to add a "cloud" to the config file which just points at the swift auth url and causes magic to happen when used? | 20:35 |
*** diablo_rojo_ has quit IRC | 20:35 | |
*** kshitija has quit IRC | 20:36 | |
*** diablo_rojo has joined #storyboard | 20:36 | |
malani | diablo_rojo_ okay... so can you please guide me on how and where to get started? And, it would be really great if you assign me some beginner bug, to enhance my understanding of the project. | 20:38 |
mordred | SotK: yes - presumably that should work. but we shoudl try it out | 20:40 |
* SotK will do so | 20:41 | |
mordred | SotK: and - in fact, if/when we get it sorted out and show it working, we should maybe set up a functional test job for sdk that runs against a standalone swift | 20:41 |
mordred | just to make sure | 20:41 |
*** gouthamr_ is now known as gouthamr | 20:42 | |
*** cdent has quit IRC | 21:05 | |
*** jamesmcarthur has joined #storyboard | 21:11 | |
*** zbr|out has quit IRC | 21:27 | |
*** whoami-rajat has quit IRC | 21:41 | |
*** jtomasek has quit IRC | 21:43 | |
*** misaac has quit IRC | 21:57 | |
*** misaac has joined #storyboard | 21:57 | |
fungi | we do have all the building blocks already, i think | 22:02 |
diablo_rojo | malani, the beauty of open source is that you get to choose what you work on :) We have starter tasks tagged with 'low-hanging-fruit' | 22:11 |
diablo_rojo | https://storyboard.openstack.org/#!/story/list?status=active&project_group_id=57&tags=low-hanging-fruit | 22:12 |
*** misaac has quit IRC | 22:31 | |
*** jamesmcarthur has quit IRC | 22:49 | |
*** jamesmcarthur has joined #storyboard | 23:02 | |
*** jamesmcarthur has quit IRC | 23:09 | |
*** cmoura has quit IRC | 23:11 | |
*** cmoura has joined #storyboard | 23:11 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!