*** diablo_rojo has quit IRC | 02:27 | |
*** whoami-rajat has joined #storyboard | 02:43 | |
*** scherbatsky has joined #storyboard | 03:49 | |
openstackgerrit | Riju Khatri proposed openstack-infra/storyboard-webclient master: Show all stories created and allows them to filter according to status https://review.openstack.org/642370 | 03:55 |
---|---|---|
*** scherbatsky has quit IRC | 05:20 | |
*** scherbatsky has joined #storyboard | 05:50 | |
*** scherbatsky has quit IRC | 09:35 | |
*** jtomasek has joined #storyboard | 09:36 | |
*** jtomasek has quit IRC | 09:38 | |
*** ankita-2798 has joined #storyboard | 11:07 | |
*** ankita-2798 has quit IRC | 11:11 | |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] Hello again =@ | 11:32 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] I was drowning in errors yesterday that I was up till 3 am solving but then, well, there is another error that I think you can help me in more than stackoverflow and the internet lol | 11:33 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] Whenever you're free, send anything so I can tell you where I am now and what I am stuck in | 11:34 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] Thanks in advance :) | 11:34 |
*** zbr has quit IRC | 13:04 | |
*** scherbatsky has joined #storyboard | 13:10 | |
fungi | Rou_: just feel free to mention what errors you're encountering and people will see them the next time they're at their computers. that way at least if someone's around when you're not they can still look into it and help figure out what's wrong | 13:33 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] Okay | 13:34 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] I'll first say what I did so far, 'cuz it may differ in the reason behind my errors | 13:34 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] I'm using Ubuntu LTS 18 on Virtual Box, while using Windows 10 pro as my main OS. I tried making dual boot for Win10 and Linux, but, it didn't work out for many reasons I don't recall now. | 13:45 |
Rou_ | Anyway, I am following the steps in this link https://docs.openstack.org/infra/storyboard/install/development.html?fbclid=IwAR31je9AU5zDOcI6ev55kNgZY2NDqOTE81pAuEH7PhUibH0HCAaFmIBLFwc to build the project | 13:45 |
Rou_ | I downloaded build-essentials, python3-dev, python3-pip, MySQL-5.7, cloned the repo. | 13:45 |
Rou_ | But then when I wrote the command to DROP the database, I got errors, like access denied or other things I don't recall now, actually. I found a solution to use "sudo mysql --user=root mysql" to enter a mode where I write MySQL commands/queries immediately, so I wrote "DROP ..." and worked. I re-made the database. Copied the conf. file. | 13:45 |
Rou_ | Then in ./etc/storyboard.conf file, I edited the line in oauth to be "valid_oauth_clients=http://storyboard.openstack.org, localhost, <my ipv4 address>" (I got the ipv4 address from Ubuntu settings) | 13:45 |
Rou_ | and this in database | 13:45 |
Rou_ | "connection=mysql+pymysql://root:<mysql pass>@127.0.0.1:3306/storybaord....." | 13:45 |
Rou_ | But below this line says I should replace "127.0.0.1" with my IP address, though it is not said in the link. Should I replace it or not? | 13:45 |
Rou_ | After so, I downloaded tox and got my last error so far when upgrading the DB schema. I will screenshot it. | 13:45 |
*** scherbatsky has quit IRC | 13:48 | |
*** scherbatsky has joined #storyboard | 13:56 | |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] https://files.sameroom.io/nAXkadjcZ4fwrZSGnrnIyKXdZiC59w6SUEREWXQs24o/1.png | 13:57 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] https://files.sameroom.io/dN1kQwLiq2eqpnvHMHSMkd3-birUZnnNbwTiTv5An1E/2.png | 13:57 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] https://files.sameroom.io/cSjuZjdiPnTin38Bz7l_qA3YKiR6Lwid1aWwixgXaxg/3.png | 13:58 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] And another thing, I shall have all the database tables and data after fixing this error and udpating the schema, right? 'cuz right now it is empty, ofc. | 14:54 |
*** kshitija[m] has quit IRC | 15:32 | |
*** gouthamr_ has quit IRC | 15:34 | |
*** gouthamr has joined #storyboard | 15:38 | |
*** kshitija[m] has joined #storyboard | 15:43 | |
*** jamesmcarthur has joined #storyboard | 16:44 | |
*** ivy_ has joined #storyboard | 16:53 | |
*** ivy_ is now known as ivy | 16:55 | |
*** jamesmcarthur has quit IRC | 17:49 | |
*** KhyatiD has joined #storyboard | 18:31 | |
*** ankita-2798 has joined #storyboard | 18:55 | |
*** KhyatiD has quit IRC | 19:06 | |
*** zbr has joined #storyboard | 19:49 | |
*** Rou has joined #storyboard | 20:03 | |
fungi | Rou_: if the storyboard api daemon is running on the same machine as the mysql service then leaving 127.0.0.1 as the address in the connection string should work fine | 20:05 |
fungi | Rou_: in the future, you might try pasting the output from your terminal somewhere like http://paste.openstack.org/ and sharing it that way instead of using a series of screen capture images | 20:08 |
fungi | Rou_: but the error in this case seems to be authentication-related | 20:08 |
fungi | particularly the "Access denied for user 'root@localhost'" reported by pymysql | 20:09 |
fungi | odds are it's an incorrect password for the "root" account in mysql | 20:14 |
fungi | Rou_: it looks like the instructions you're following assume that `sudo apt install mysql-server-5.7` is going to prompt you to set an initial password for the "root" account in mysql | 20:16 |
fungi | but i think the packages on ubuntu bionic don't actually prompt you and so you're going to need to set a password after installation | 20:16 |
fungi | do something like `sudo -H mysqladmin -u root password my_db_password` to set one | 20:19 |
fungi | diablo_rojo_phon: that's ^ probably worth noting for the contributor doc update you were planning | 20:20 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] https://files.sameroom.io/nMhl-CyFZl191INUyYbL2WL4TqeMH17cG85MtxIhn1Y/-.txt | 20:26 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] when I wrote this comamnd, it didn't ask me for any password | 20:27 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] which is odd | 20:27 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] I tried looking how to change mysql server password, and I followed the instructions, so supposedly, I made the password "root" for now | 20:27 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] I'm not sure if it really changed or not, but I think so | 20:28 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] I will try the other comamnd u mentioned | 20:29 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] Can I edit the document? | 20:30 |
Rou_ | To mention what you told me for Ubuntu users if it indeed worked with me? | 20:30 |
fungi | yes, you would push a change for https://git.openstack.org/cgit/openstack-infra/storyboard/tree/doc/source/install/development.rst | 20:31 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] fungi: Out of topic, how do make the command looks like this, not like other text, but in a box and with another color? | 20:32 |
fungi | it's not so much for ubuntu users as users of ubuntu bionic specifically (the package in ubuntu xenial did prompt to set a root password) | 20:32 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] what is ubuntu bionic and xenial? | 20:33 |
fungi | "bionic badger" is the release codename for ubuntu 18.04 LTS | 20:33 |
*** jamesmcarthur has joined #storyboard | 20:33 | |
fungi | "xenial xerus" is the release codename for ubuntu 16.04 LTS (the previous LTS release) | 20:34 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] got it | 20:34 |
fungi | the preformatted text box you see in the rendered form of the document is caused by an indented block of text following a :: | 20:35 |
fungi | see http://docutils.sourceforge.net/docs/user/rst/quickstart.html#preformatting-code-samples for details on the :: operator | 20:37 |
*** jamesmcarthur has quit IRC | 20:41 | |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] I used the command you mentioned | 20:42 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] and wrote my password isntead | 20:42 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] and still, when I tried to update the schema, I got this http://paste.openstack.org/show/747933/?fbclid=IwAR29-Uawi05GR0GAxAN8GFy3vdQ_iKmfesMCfouoO-tA_x4MzYEf4Kv45d8 | 20:42 |
fungi | and you have the same password in the connection string in your storyboard.conf? | 20:43 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] yup | 20:44 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] I'll recheck now | 20:45 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] yess | 20:45 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] storyboard.conf is the file in etc folder in storyboard | 20:46 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] un-commented ofc. | 20:46 |
fungi | yeah, i wonder if there's somehow a different password set for root@localhost separate from root@% | 20:48 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] How can I know? | 20:49 |
fungi | see if rerunning the mysqladmin command for root@ localhost works like `sudo -H mysqladmin -u root@localhost password my_db_password` to set one | 20:49 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] "access denied for user" | 20:51 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] http://paste.openstack.org/show/747934/ | 20:52 |
*** jamesmcarthur has joined #storyboard | 20:57 | |
fungi | i think clarkb used ubuntu 18.04 when he was working through updates to https://docs.openstack.org/infra/storyboard/contributing.html so it's possible he might have a suggestion when he's around | 21:00 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] is there a better version of Ubuntu I can use if this one will make further problems in anything? | 21:01 |
fungi | unfortunately remotely walking you through troubleshooting mysql auth configuration is far from easy. you said you "tried looking how to change mysql server password, and I followed the instructions" but i have no idea what else it is you might have set when doing that | 21:02 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] You have your point | 21:03 |
fungi | you might try using ubuntu 16.04 lts since i think that's what the installation/development document seems to be based on | 21:03 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] what version of linux do you use? | 21:03 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] aha okay | 21:03 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] I will try some more to fix this, but if I failed to do so, I will install LTS 16.04 tomorrow | 21:04 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] Thanks for the help :) | 21:04 |
fungi | to run our production storyboard instance we use ubuntu 16.04 lts currently | 21:04 |
fungi | i *personally* run debian on my machines, but i haven't tried installing storyboard on it | 21:04 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] Okay, I will mostly install LTS 16.04 tomorrow, then | 21:05 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] BTW | 21:06 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] the link you sent me for the documentation | 21:06 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] how exactly can I change anything and make a pull request or something? | 21:06 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] I would suggest you mention using LTS 16.04 for Ubuntu users preferably, at first | 21:07 |
fungi | if you're looking to salvage your current environment, you could `sudo apt purge mysql-server-5.7` followed by `sudo apt install mysql-server-5.7` and then `sudo -H mysqladmin -u root@localhost password my_db_password` to set the password, and after that redo the bits in step #3 | 21:07 |
fungi | that should get you started with a completely fresh database and mysql config | 21:08 |
fungi | *i think* | 21:08 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] I will try it | 21:08 |
fungi | Rou_: to update the documentation in that repository, it's done the same as updating the code to storyboard itself. we have a contributor guide for openstack which covers the development and code review workflow (as well as lots of other useful stuff) https://docs.openstack.org/contributors/code-and-documentation/index.html | 21:10 |
*** Haunted330 has joined #storyboard | 21:11 | |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] Okay, great | 21:11 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] Thanks again :) | 21:11 |
fungi | my pleasure! | 21:11 |
Haunted330 | This channel is closed. You are going to have to leave. | 21:11 |
Rou_ | [Radwa Khattab (radwasm), Rou's Workspace] ? | 21:12 |
*** ChanServ sets mode: +b *!*@gateway/web/cgi-irc/kiwiirc.com/ip.99.53.112.186 | 21:13 | |
*** Haunted330 was kicked by ChanServ (Banned: spamming is off-topic in this channel) | 21:13 | |
fungi | it was just a spammer | 21:13 |
*** jamesmcarthur has quit IRC | 21:14 | |
*** jamesmcarthur has joined #storyboard | 21:20 | |
*** scherbatsky has quit IRC | 21:40 | |
*** ivy has quit IRC | 21:42 | |
*** jamesmcarthur has quit IRC | 21:47 | |
*** whoami-rajat has quit IRC | 21:53 | |
*** jamesmcarthur has joined #storyboard | 21:58 | |
*** jamesmcarthur has quit IRC | 22:34 | |
openstackgerrit | Ankita Bansal proposed openstack-infra/storyboard-webclient master: Tasks should have a dialog to update multiple values. https://review.openstack.org/643720 | 22:49 |
ankita-2798 | SotK: Hope you are doing good, Adam. I have proposed some changes to the previous PRs and also updated some new code for review. Sorry to disturb you time and again for the review. | 22:55 |
*** ankita-2798 has quit IRC | 23:22 | |
*** ankita-2798 has joined #storyboard | 23:30 | |
*** ankita-2798 has quit IRC | 23:35 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!