Monday, 2019-03-18

*** jamesmcarthur has joined #storyboard00:58
*** jamesmcarthur has quit IRC01:45
*** jamesmcarthur has joined #storyboard01:55
*** jamesmcarthur has quit IRC02:06
*** jamesmcarthur_ has joined #storyboard02:06
*** irclogbot_3 has quit IRC02:23
*** scherbatsky has joined #storyboard02:42
*** jamesmcarthur_ has quit IRC02:59
*** whoami-rajat has joined #storyboard03:46
*** scherbatsky has quit IRC03:48
*** udesale has joined #storyboard04:08
*** Smera has joined #storyboard05:23
*** jtomasek has joined #storyboard07:12
*** Smera_ has joined #storyboard07:24
*** Smera_ has quit IRC07:25
*** Smera has quit IRC07:26
*** Smera has joined #storyboard07:30
*** Smera_ has joined #storyboard07:36
*** Smera_ has quit IRC07:37
*** Smera has quit IRC07:38
*** Smera has joined #storyboard07:41
*** Smera_ has joined #storyboard07:43
*** Smera has quit IRC07:46
*** Smera__ has joined #storyboard07:46
*** Smera_ has quit IRC07:48
*** Smera_ has joined #storyboard07:49
*** Smera__ has quit IRC07:52
*** Smera_ has quit IRC07:58
*** tosky has joined #storyboard08:05
*** tosky has quit IRC08:07
*** shuayb_ has joined #storyboard08:12
*** shuayb__ has joined #storyboard08:21
*** shuayb_ has quit IRC08:24
*** tosky has joined #storyboard08:24
shuayb__Hello08:51
SotKhi!09:04
*** dtantsur|afk is now known as dtantsur09:11
*** Smera has joined #storyboard09:12
*** Smera has quit IRC09:34
*** udesale has quit IRC10:28
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Hi11:28
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Anyone online now?11:31
*** udesale has joined #storyboard11:45
*** udesale has quit IRC12:01
*** udesale has joined #storyboard12:02
*** ankita-2798 has joined #storyboard12:09
*** ankita-2798 has quit IRC12:19
*** udesale has quit IRC12:27
*** udesale has joined #storyboard12:28
*** whoami-rajat has quit IRC12:35
*** scherbatsky has joined #storyboard12:39
SotKRou_: hi :)12:58
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Hi, Adam12:58
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I need help please XD12:58
SotKsure, whats up?12:58
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I haven't gone to college for two days because of these infinite errors I'm tryna fix12:58
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I don't know if you read the conversation between me and Jeremy or not, but to sum up, I unistalled my Ubuntu LTS 18 and installed LTS 16.0412:59
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I'm following the documentation to build the project but still am stuck in the same comamnd13:00
Rou_[Radwa Khattab (radwasm), Rou's Workspace] command*13:00
SotKhuh, still hitting the same errors?13:01
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I'm trying to update the DB schema using this13:01
Rou_[Radwa Khattab (radwasm), Rou's Workspace] https://files.sameroom.io/rNZdt3TLMwGj4zbUnfoOwmqlxZMY1b9tXSFnt_Mx3K0/-.pl13:02
Rou_[Radwa Khattab (radwasm), Rou's Workspace] https://files.sameroom.io/Bce3xKsCbHlqc53lbhEfQzRtSBQeyBaZMglweN2mDiQ/-.sh13:02
Rou_[Radwa Khattab (radwasm), Rou's Workspace] but it won't work13:02
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I'll show u the output I get13:02
*** jtomasek_ has joined #storyboard13:02
Rou_[Radwa Khattab (radwasm), Rou's Workspace] http://paste.openstack.org/show/747960/13:02
*** jtomasek has quit IRC13:03
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I've been searching for fixes for a very long time, and it seems each solution I find in forums ruins another thing, so I re-fix it13:03
SotKwhat is the "connection" line like in your ./etc/storyboard.conf? (removing the password of course)13:05
*** jtomasek_ has quit IRC13:05
Rou_[Radwa Khattab (radwasm), Rou's Workspace] https://files.sameroom.io/GZxxzCg4OAjeTqOrnrMWhG-DLyi9ELq5gnfv5cVMOnA/-.m13:05
*** jtomasek has joined #storyboard13:05
Zara(I'm just passing through but I got issues with mysql on my last storyboard install; fixed eventually; see comments on: https://review.openstack.org/#/c/633354/ )13:06
* Zara disappears into the ether again13:06
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I had this same error,  not asking for a password while installing MySQL-server-5.7 on LTS 1813:07
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I used LTS 16.04 however and it asked for a password when installing mysql-server-5.713:08
*** whoami-rajat has joined #storyboard13:08
SotKwhats the output if you run `ls .tox/venv/lib/python3.5/site-packages/alembic/ddl/` in the same place you're running the tox command?13:10
Rou_[Radwa Khattab (radwasm), Rou's Workspace] https://files.sameroom.io/mPqMrWnM9WKWB836DBevB2Wy62H3QGIoDIX5mEcr3DA/-.js13:12
SotKhm, looks like alembic didn't get installed into the venv properly to me13:18
Rou_[Radwa Khattab (radwasm), Rou's Workspace] so...?13:18
SotKtry doing `tox --recreate -e venv -- storyboard-db-manage --config-file ./etc/storyboard.conf upgrade head`13:18
SotKwhich will force tox to reinstall all the dependencies13:18
Rou_[Radwa Khattab (radwasm), Rou's Workspace] venv command failed13:19
SotKwhats the error?13:22
Rou_[Radwa Khattab (radwasm), Rou's Workspace] in storyboard.conf file, the line in oauth, it should be like that, right?13:22
Rou_[Radwa Khattab (radwasm), Rou's Workspace] https://files.sameroom.io/ovXtE-9Um6xyvBtxMuPfdMO9oJuseYRnM90PvDU3Vy4/-.pl13:23
Rou_[Radwa Khattab (radwasm), Rou's Workspace] or did I get it wrong?13:23
SotKif you're running in a VM, then the local IP of the VM needs to go there if you plan to use a browser that isn't in the VM too, yeah13:24
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I will be using a browser in the VM13:25
SotKif you only plan to use a browser that is running on the same machine as storyboard, then that line doesn't actually need modifying13:25
Rou_[Radwa Khattab (radwasm), Rou's Workspace] the IP I got is from settings of ubuntu13:25
Rou_[Radwa Khattab (radwasm), Rou's Workspace] okay, I will leave it like it was before modyfing13:26
Rou_[Radwa Khattab (radwasm), Rou's Workspace] modifying*13:26
Rou_[Radwa Khattab (radwasm), Rou's Workspace] http://paste.openstack.org/show/747961/13:26
Rou_[Radwa Khattab (radwasm), Rou's Workspace] that is the output of the last command you told me to run13:27
SotKah, that error happens when you accidentally leave a space at the start of the configuration line I think13:28
Rou_[Radwa Khattab (radwasm), Rou's Workspace] succeeeeedeeeed13:30
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I needn't run this command now, right?13:30
Rou_[Radwa Khattab (radwasm), Rou's Workspace] https://files.sameroom.io/i-36OLwVcisk2Cv0pjY7AgShAYiBz1jKHVewCAw1cO4/-.sh13:30
SotKif its run successfully once you shouldn't need to run it again, unless new migrations get added13:33
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Oh God, I can't believe the problem was something as silly as that13:33
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I wanna cry13:33
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I have a question13:34
SotKtiny typos like that are always the most frustrating problems :)13:35
Rou_[Radwa Khattab (radwasm), Rou's Workspace] What exactly is the API server?13:35
Rou_The API for storyboard or what?13:35
SotKyeah, its the api for storyboard13:35
Rou_[Radwa Khattab (radwasm), Rou's Workspace] It is indeed the most frustrating13:35
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Okay13:35
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Hopefully, I will build the project in a few13:35
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Thanks a looot!13:36
SotKyou're welcome!13:36
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Is it okay that after I runt he API server and tried 127.0.0.1:8080 I get 404 Not Found?13:37
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I guess not13:37
SotKyeah that's expected13:37
Rou_[Radwa Khattab (radwasm), Rou's Workspace] why exactly?13:37
SotKthere's nothing actually served at the root of the API, so it just returns a 40413:38
SotKtry http://127.0.0.1:8080/v1/systeminfo for example13:38
SotKthat shouldn't be a 40413:38
Rou_[Radwa Khattab (radwasm), Rou's Workspace] ahaa13:39
Rou_[Radwa Khattab (radwasm), Rou's Workspace] got it13:39
SotKall of the endpoints are documented here: https://docs.openstack.org/infra/storyboard/webapi/v1.html13:39
SotKsome of those docs are a bit lacking in detail though13:39
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I think it will miss some XD13:40
Rou_I will note any edits in documents I might come across so I can update them later and make a pull request or sth13:40
Rou_[Radwa Khattab (radwasm), Rou's Workspace] FIRST THING, "Make sure there is no space at the start of the config. line" lol13:41
Rou_[Radwa Khattab (radwasm), Rou's Workspace] It will save people some torture13:41
SotKhaha, good plan :)13:51
*** mkarray has joined #storyboard14:26
openstackgerritAdam Coldrick proposed openstack-infra/storyboard master: Use one database per test class rather than per test  https://review.openstack.org/64400014:40
fungia nice low-hanging-ish task might be to put some useful context help at the root of the api14:40
SotK+114:41
mkarrayFound myself in a bit of a javascript hole, I changed a function so that it returns a promise and now all the functions that call it need to be adjusted. Problem with that is, many functions also rely on the functions that called the initial function.14:41
fungithat can be useful for people just poking around exploring the api, when calling a parent in some api path returns the list of valid subpaths, for example14:42
mkarrayIs there a nice JS way to dig myself out, or do I have to change all these functions?14:42
mkarrayAlso agree on changing the root of the api, caused some confusion for myself aswell at first14:42
fungii don't know enough about js to know whether you can make something like a promise backward-compatible with existing callers of the function, but i would hope so14:43
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Do u mean by changing the root of the api, to make the index endpoint redirect to some page or show something? I mean, using localhost:<port>/ ?14:54
*** jamesmcarthur has joined #storyboard15:02
mkarrayI understood that they wanted to put some explanation as to how to actually redirect to some useful pages, and how the endpoints work15:09
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Aha15:09
mkarrayThat way someone wouldn't think their build is broken when they see the 404 error15:09
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Got it15:09
SotKmkarray: I don't know of a way other than refactoring everything to use promises15:15
mkarray=L  I was afraid that would be the answer, into the hole I go15:16
openstackgerritAdam Coldrick proposed openstack-infra/storyboard master: Use one database per test class rather than per test  https://review.openstack.org/64400015:38
*** udesale has quit IRC16:21
*** diablo_rojo has joined #storyboard16:33
fungiSotK: do we have multiple tests within a test class which could want to lock the same tables/rows? if so, that could lead to nondeterministic failures17:24
SotKfungi: we do, but my understanding was that using https://stestr.readthedocs.io/en/latest/MANUAL.html#grouping-tests would avoid problems by effectively parallelising at the class level rather than the method level17:38
*** jamesmcarthur has quit IRC17:38
fungiahh, got it17:38
fungiyeah, seems covered then17:38
fungiso it doesn't run two tests from the same test class concurrently17:39
*** jamesmcarthur has joined #storyboard17:39
SotKindeed17:40
*** jtomasek has quit IRC18:18
*** jtomasek has joined #storyboard18:19
*** dtantsur is now known as dtantsur|afk18:23
*** shuayb__ has quit IRC18:32
*** gmann is now known as gmann_afk18:34
*** jamesmcarthur has quit IRC18:41
openstackgerritAnkita Bansal proposed openstack-infra/storyboard master: Project Group UI should permit removing project group even if it is not empty.  https://review.openstack.org/64226618:51
*** ankita-2798 has joined #storyboard18:53
mkarrayIs there anywhere I can look to determine what types are unique in terms of Objects? The API docs don't seem to have this informationex) email is unique but full_name isn't18:54
*** jamesmcarthur has joined #storyboard18:56
*** gmann_afk is now known as gmann18:56
*** jamesmcarthur has quit IRC19:00
*** jamesmcarthur has joined #storyboard19:18
*** jamesmcarthur has quit IRC19:19
*** jamesmcarthur has joined #storyboard19:23
*** ankita-2798 has quit IRC19:24
*** mkarray has quit IRC19:28
*** mkarray has joined #storyboard19:40
*** scherbatsky has quit IRC19:51
*** whoami-rajat has quit IRC19:55
*** mkarray has quit IRC19:55
*** ankita-2798 has joined #storyboard19:56
*** ankita-2798 has quit IRC19:57
*** ankita-2798 has joined #storyboard19:58
*** jamesmcarthur has quit IRC20:00
*** jamesmcarthur has joined #storyboard20:09
*** jamesmcarthur has quit IRC20:10
*** jamesmcarthur has joined #storyboard20:10
*** irclogbot_3 has joined #storyboard20:13
*** irclogbot_3 has quit IRC20:25
*** irclogbot_3 has joined #storyboard20:27
*** ankita-2798 has quit IRC21:00
openstackgerritMalek Karray proposed openstack-infra/storyboard-webclient master: Converting a search query into a browse  https://review.openstack.org/64442421:17
*** irclogbot_3 has quit IRC21:26
*** irclogbot_3 has joined #storyboard21:28
*** jtomasek has quit IRC22:05
*** ankita-2798 has joined #storyboard22:33
*** ankita-2798 has quit IRC22:38
*** tosky has quit IRC23:48
*** jamesmcarthur has quit IRC23:51

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