Saturday, 2019-03-16

*** diablo_rojo has quit IRC02:27
*** whoami-rajat has joined #storyboard02:43
*** scherbatsky has joined #storyboard03:49
openstackgerritRiju Khatri proposed openstack-infra/storyboard-webclient master: Show all stories created and allows them to filter according to status  https://review.openstack.org/64237003:55
*** scherbatsky has quit IRC05:20
*** scherbatsky has joined #storyboard05:50
*** scherbatsky has quit IRC09:35
*** jtomasek has joined #storyboard09:36
*** jtomasek has quit IRC09:38
*** ankita-2798 has joined #storyboard11:07
*** ankita-2798 has quit IRC11: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 lol11: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 in11:34
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Thanks in advance :)11:34
*** zbr has quit IRC13:04
*** scherbatsky has joined #storyboard13:10
fungiRou_: 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 wrong13:33
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Okay13: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 errors13: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 project13: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 database13: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 IRC13:48
*** scherbatsky has joined #storyboard13:56
Rou_[Radwa Khattab (radwasm), Rou's Workspace] https://files.sameroom.io/nAXkadjcZ4fwrZSGnrnIyKXdZiC59w6SUEREWXQs24o/1.png13:57
Rou_[Radwa Khattab (radwasm), Rou's Workspace] https://files.sameroom.io/dN1kQwLiq2eqpnvHMHSMkd3-birUZnnNbwTiTv5An1E/2.png13:57
Rou_[Radwa Khattab (radwasm), Rou's Workspace] https://files.sameroom.io/cSjuZjdiPnTin38Bz7l_qA3YKiR6Lwid1aWwixgXaxg/3.png13: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 IRC15:32
*** gouthamr_ has quit IRC15:34
*** gouthamr has joined #storyboard15:38
*** kshitija[m] has joined #storyboard15:43
*** jamesmcarthur has joined #storyboard16:44
*** ivy_ has joined #storyboard16:53
*** ivy_ is now known as ivy16:55
*** jamesmcarthur has quit IRC17:49
*** KhyatiD has joined #storyboard18:31
*** ankita-2798 has joined #storyboard18:55
*** KhyatiD has quit IRC19:06
*** zbr has joined #storyboard19:49
*** Rou has joined #storyboard20:03
fungiRou_: 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 fine20:05
fungiRou_: 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 images20:08
fungiRou_: but the error in this case seems to be authentication-related20:08
fungiparticularly the "Access denied for user 'root@localhost'" reported by pymysql20:09
fungiodds are it's an incorrect password for the "root" account in mysql20:14
fungiRou_: 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 mysql20:16
fungibut i think the packages on ubuntu bionic don't actually prompt you and so you're going to need to set a password after installation20:16
fungido something like `sudo -H mysqladmin -u root password my_db_password` to set one20:19
fungidiablo_rojo_phon: that's ^ probably worth noting for the contributor doc update you were planning20:20
Rou_[Radwa Khattab (radwasm), Rou's Workspace] https://files.sameroom.io/nMhl-CyFZl191INUyYbL2WL4TqeMH17cG85MtxIhn1Y/-.txt20:26
Rou_[Radwa Khattab (radwasm), Rou's Workspace] when I wrote this comamnd, it didn't ask me for any password20:27
Rou_[Radwa Khattab (radwasm), Rou's Workspace] which is odd20: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 now20:27
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I'm not sure if it really changed or not, but I think so20:28
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I will try the other comamnd u mentioned20: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
fungiyes, you would push a change for https://git.openstack.org/cgit/openstack-infra/storyboard/tree/doc/source/install/development.rst20: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
fungiit'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 LTS20:33
*** jamesmcarthur has joined #storyboard20: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 it20:34
fungithe preformatted text box you see in the rendered form of the document is caused by an indented block of text following a ::20:35
fungisee http://docutils.sourceforge.net/docs/user/rst/quickstart.html#preformatting-code-samples for details on the :: operator20:37
*** jamesmcarthur has quit IRC20:41
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I used the command you mentioned20:42
Rou_[Radwa Khattab (radwasm), Rou's Workspace] and wrote my password isntead20: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_x4MzYEf4Kv45d820:42
fungiand you have the same password in the connection string in your storyboard.conf?20:43
Rou_[Radwa Khattab (radwasm), Rou's Workspace] yup20:44
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I'll recheck now20:45
Rou_[Radwa Khattab (radwasm), Rou's Workspace] yess20:45
Rou_[Radwa Khattab (radwasm), Rou's Workspace] storyboard.conf is the file in etc folder in storyboard20:46
Rou_[Radwa Khattab (radwasm), Rou's Workspace] un-commented ofc.20:46
fungiyeah, 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
fungisee if rerunning the mysqladmin command for root@ localhost works like `sudo -H mysqladmin -u root@localhost password my_db_password` to set one20: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 #storyboard20:57
fungii 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 around21: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
fungiunfortunately 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 that21:02
Rou_[Radwa Khattab (radwasm), Rou's Workspace] You have your point21:03
fungiyou might try using ubuntu 16.04 lts since i think that's what the installation/development document seems to be based on21: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 okay21: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 tomorrow21:04
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Thanks for the help :)21:04
fungito run our production storyboard instance we use ubuntu 16.04 lts currently21:04
fungii *personally* run debian on my machines, but i haven't tried installing storyboard on it21:04
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Okay, I will mostly install LTS 16.04 tomorrow, then21:05
Rou_[Radwa Khattab (radwasm), Rou's Workspace] BTW21:06
Rou_[Radwa Khattab (radwasm), Rou's Workspace] the link you sent me for the documentation21: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 first21:07
fungiif 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 #321:07
fungithat should get you started with a completely fresh database and mysql config21:08
fungi*i think*21:08
Rou_[Radwa Khattab (radwasm), Rou's Workspace] I will try it21:08
fungiRou_: 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.html21:10
*** Haunted330 has joined #storyboard21:11
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Okay, great21:11
Rou_[Radwa Khattab (radwasm), Rou's Workspace] Thanks again :)21:11
fungimy pleasure!21:11
Haunted330This 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.18621:13
*** Haunted330 was kicked by ChanServ (Banned: spamming is off-topic in this channel)21:13
fungiit was just a spammer21:13
*** jamesmcarthur has quit IRC21:14
*** jamesmcarthur has joined #storyboard21:20
*** scherbatsky has quit IRC21:40
*** ivy has quit IRC21:42
*** jamesmcarthur has quit IRC21:47
*** whoami-rajat has quit IRC21:53
*** jamesmcarthur has joined #storyboard21:58
*** jamesmcarthur has quit IRC22:34
openstackgerritAnkita Bansal proposed openstack-infra/storyboard-webclient master: Tasks should have a dialog to update multiple values.  https://review.openstack.org/64372022:49
ankita-2798SotK: 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 IRC23:22
*** ankita-2798 has joined #storyboard23:30
*** ankita-2798 has quit IRC23:35

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