Tuesday, 2021-06-01

*** archanaserver has joined #openstack-outreachy06:27
vkmcarchanaserver, o.08:22
vkmco/*08:22
archanaserverHi08:24
vkmcarchanaserver, when possible, share me a tmate08:24
vkmcarchanaserver, and we can tweak the local.conf file and run stack08:24
archanaserveryes, sharing you in a minute08:24
archanaserverssh session: ssh GjFMNBcEDhQByvHNeTvnBgkmS@sgp1.tmate.io08:27
vkmcgreat08:27
vkmcI'm in08:27
archanaservercool08:27
vkmcso, $HOME should be your home08:29
vkmcnot /opt/stack08:29
archanaserveroh okie so we can chnage it08:29
vkmcok, so you created a stack user08:30
archanaserverah yes08:31
vkmchow you created the stack user?08:31
archanaserverif followed this https://superuser.openstack.org/articles/openstack-developer-beginner-setup/08:31
vkmcoki08:31
archanaserverthis is wrong?08:32
vkmcso...08:33
vkmcit's not wrong08:33
vkmcit should work08:34
vkmcbut it's not what we do in our ci08:34
vkmcthe farthest you are from what we do in our ci, the hardest for you to debug things08:34
vkmcif that makes sense08:34
archanaserverokay08:34
archanaserveryes08:34
vkmclost connection08:36
vkmccould you open up a new tmate?08:36
archanaserveryes08:36
archanaserverssh session: ssh hYERBxwN3RQhYya2D69fnJAFF@sgp1.tmate.io08:36
vkmcok done08:43
vkmcso... removed the previous created stack user08:43
archanaserverya great, i just learned new thing :)08:43
vkmcyou have two ways on adding users to linux, in general... useradd and adduser08:45
vkmc(I know, why we name things like that)08:45
vkmcuseradd is a low level utility that requires some tweaking, adduser is the higher level tool that have some "defaults"08:45
archanaserveroh okie got it08:46
vkmchaving those defaults set is convenient for this case08:46
vkmcthen added the user to the sudoers08:46
vkmcwith usermod command08:46
vkmcnow we have the home folder for stack in /home/stack08:46
vkmcdevstack in the home folder of the user stack08:46
vkmcand all the repos will live under /opt/stack08:47
archanaserveryes okay08:47
vkmcok, now we will tweak the local.conf08:47
vkmcso we include the manila section08:47
vkmcand we will add the patch that fixes the ovn issue08:48
archanaserveryes sure08:48
vkmcoh, and we comment out swift08:48
vkmcsince we won't need it right now08:48
vkmcswift is the object storage service08:48
archanaserverthe patch we added yesterday right?08:48
archanaserveroh oki08:48
vkmcyes08:50
vkmcoki08:55
vkmccommented out as well the network config08:55
vkmcdevstack should pick it up08:55
vkmcfrom the networking config08:55
archanaserveroh great then, i though we need to add this manually08:55
vkmcmaybe we need to set that value08:58
vkmcbut08:58
vkmclet's try a run now08:58
archanaserverokie08:58
archanaserveri'll be back in 2 minute, mumma calling09:05
vkmcno worries09:06
vkmcthis will take itme09:06
archanaserveryess (back now)09:11
archanaserverwe have an error here09:22
vkmcyes09:23
vkmchttps://bugs.launchpad.net/devstack/+bug/188519809:23
opendevmeetLaunchpad bug 1885198 in devstack "table `broute' is incompatible, use 'nft' tool" [Low,Triaged]09:23
archanaserveri saw something similar on stackoverflow, when i faced previously this error09:24
vkmcyep09:27
vkmcapplied workaround09:28
vkmcthere should be a fix already there by now09:28
vkmcwondering why is taking so long09:28
archanaserveryes i saw the same solution there too09:28
archanaserver:(  seriously, i want to start working on project side but this thing is not getting fixed.09:31
vkmcwe will get to it09:34
archanaserveryes yes09:34
vkmcI have to commute, but will be back09:46
vkmcsoon ish09:46
archanaserverokie09:47
vkmcarchanaserver, back10:30
archanaserverok :)10:32
archanaserverit's still installing10:33
vkmcyes, I just saw that10:33
vkmchas it been in that point for too much?10:40
archanaserveryep10:40
vkmcok, it's moving forward now10:44
archanaserveryes cloning another component now10:45
vkmcbtw, second time you run this10:49
vkmcis quicker10:49
vkmcbecause you don't have to clone anything10:49
archanaserverbut before this, you run ./clean.sh right? this remove all the devstack files (please correct me if this is wrong)10:51
vkmcno10:52
vkmcthat is when things doesn't work :)10:53
vkmcif not, you should be fine with stack.sh and unstack.sh10:53
archanaserveroh, got it10:54
archanaservermight be this is due to internet connection?10:57
vkmcmight be10:59
archanaserverso, it's so slow today from my side10:59
vkmcit's ok, no worry too much about it11:00
vkmcyou can do other things in the meantime11:00
archanaserverokie11:01
vkmcanother way to contribute, is by doing code reviewing11:07
archanaserverhow can i do this?11:08
archanaserveris there any resources? so that i can start doing it11:09
vkmchttps://docs.openstack.org/contributors/code-and-documentation/using-gerrit.html#reviewing-changes11:10
vkmcyes :)11:10
vkmcit's a great way to build up knowledge11:10
vkmcsince you read other people's code and other's people reviews11:10
vkmcthat helps you practice best solution design and coding practices11:11
vkmca nice place to start, for instances, is the python-manilaclient11:11
vkmcsince it's quite clean code11:11
vkmchttps://review.opendev.org/q/project:openstack/python-manilaclient+status:open11:11
archanaserverwow this is amazing11:11
archanaservergoing through the links now11:11
vkmc++11:16
archanaserveri think we have issue here with cinder api11:39
vkmcyeah11:40
vkmcso, question11:40
vkmcwhat are the vm specs?11:40
vkmccores, mem, hd11:40
archanaserveroh its hd11:41
archanaserverUploaded file: https://uploads.kiwiirc.com/files/bad05a1e617e2988b7c5b950617f9b46/Screenshot%202021-06-01%20at%205.13.39%20PM.png11:43
archanaserverare you talking about this?11:44
vkmcyeah11:45
vkmcso specs are fine... maybe inet is not helping today11:45
vkmcbecause I could start the service manually with no problems11:46
archanaserveroh okie11:46
vkmcalso, I run devstack on another environment of mine11:46
vkmcand finished with no issues11:46
vkmcI wonder if the slow connection is causing this11:47
archanaserveroh might be this is the issue, let me check if there is another internet connection speed working fine11:48
vkmcsorry it's being so frustrating11:48
archanaserveri'm really sorry :(11:50
vkmcwe will get to it though11:50
vkmccommute again11:51
archanaserverokay11:51
vkmcif you have a connection that might work better11:52
vkmcconnect to that one11:52
vkmcand re run stack.sh11:52
vkmc:)11:52
vkmcI'll join in a bit11:52
archanaserverokay sure11:52
*** archanaserver38 has joined #openstack-outreachy11:57
*** archanaserver38 has quit IRC11:57
*** archanaserver55 has joined #openstack-outreachy11:58
*** archanaserver55 has quit IRC11:58
*** archanaserver51 has joined #openstack-outreachy12:00
*** archanaserver51 has quit IRC12:00
*** archanaserver has quit IRC12:02
*** archanaserver has joined #openstack-outreachy12:06
archanaserverhi vkmc12:07
archanaserver(i was disconnected due to n/w issue)12:08
archanaserveroh no ;(12:20
archanaserveragain same issue (but this time internet connection is working fine) :(12:21
archanaserveris this due to ram?12:25
vkmcback13:37
vkmcarchanaserver, how is it going?13:37
archanaserverthrows the same error "c-api did not start"13:38
archanaserverbut this time internet connection is working fine13:38
archanaserverso i have googled this and find that this might be issue with RAM, is that?13:38
vkmcarchanaserver, also possible13:44
vkmc4 gigs should be fine though13:44
vkmcmy vms have 8 gigs13:44
vkmccan you add 2 more gigs just in case/13:45
archanaserveryes sure13:45
archanaserverUploaded file: https://uploads.kiwiirc.com/files/7dc59b5f6632f379acac6316ef94ade8/Screenshot%202021-06-01%20at%207.22.02%20PM.png13:52
vkmcso base memory is 8gigs13:52
vkmcwe don't want to kill your laptop either13:52
vkmc6144mb is 6gigs13:53
archanaserverand there is no option to modify it13:53
vkmcis it running?13:53
vkmcif you, you need to stop the vm13:53
archanaserverit's in saved state mode13:54
archanaserveroh okay13:54
archanaserverssh session: ssh J5zLPxywG2Q4PhyaASFDsFEdd@sgp1.tmate.io14:06
archanaserverwhat is the stack user pswrd?14:07
archanaserverand here is the ssh link14:07
archanaserveri just changed the base memory with 6 gigs14:08
archanaserverhi there vkmc14:08
archanaserver?14:08
vkmcarchanaserver14:09
vkmccool!14:09
archanaserveryes, hope this time it work14:10
vkmcok, I kickstart it14:11
vkmcok?14:11
archanaserveryes14:11
vkmcjust in case... ./unstack14:12
archanaserveroh yes14:12
*** gouthamr_ has joined #openstack-outreachy14:35
archanaservervkmc we have another error here, something like Socket (openvswift/ovnnb_db.sock) not found14:40
vkmcI see14:41
*** gouthamr has joined #openstack-outreachy14:46
archanaserveris this the issue with my system or vm?15:00
vkmcyeah... not sure why though15:00
vkmcas mentioned, I deployed a fresh env just fine15:00
archanaserveroh ok15:01
vkmcif we cannot make it work, we will get you an env we have you can use15:06
archanaserverokay15:07
*** gouthamr_ has quit IRC15:12
*** gouthamr has quit IRC15:13
*** gouthamr has joined #openstack-outreachy15:14
*** gouthamr is now known as identify15:18
vkmcidentify, xD15:19
identify:|15:19
*** gouthamr has joined #openstack-outreachy15:19
vkmcI know who you are15:19
identifythis city deserves a better hero15:20
*** identify has quit IRC15:20
gouthamri am me :P15:23
vkmc:D15:26
vkmcarchanaserver, called from some extra pair of eyes15:35
vkmcs/from/for/g15:35
archanaserverya okay15:35
gouthamrhello!15:36
archanaserverhi gouthamr :)15:37
gouthamrso you had failures without those "enable_service" lines?15:38
archanaserveroh yes without those too15:38
gouthamrokay, lemme check something quick15:39
archanaserverya sure15:39
vkmcgouthamr, failures are with the basic local.conf file15:39
vkmcI added the enable_service lines for neutron15:40
vkmcin last run15:40
vkmcbut we don't need them15:40
vkmcwe are in a branch with the ovn fixes15:40
gouthamrah15:40
gouthamrthe ovn fix is an optimization per the author15:41
gouthamrhttps://review.opendev.org/c/openstack/devstack/+/79108515:41
gouthamrthis one ^15:41
gouthamrhttps://review.opendev.org/c/openstack/devstack/+/791282/1 is required by the looks of it15:42
gouthamrgot disconnected from the tmate session15:43
gouthamrvkmc: do you mind me popping out https://review.opendev.org/c/openstack/devstack/+/791085?15:44
*** archanaserver63 has joined #openstack-outreachy15:44
*** archanaserver63 has quit IRC15:45
gouthamrnevermind it isn't there15:45
*** archanaserver16 has joined #openstack-outreachy15:46
*** archanaserver16 has quit IRC15:46
gouthamrwas trying to get to the failure log15:49
gouthamrdo we have a net;split? :P15:49
vkmcgouthamr, under /opt/stack/data15:49
gouthamrthanks vkmc15:49
*** archanaserver has quit IRC15:49
vkmcI have a bad connection myself15:49
vkmcnot sure about archana15:49
gouthamrah, no opt/stack/data folder15:50
*** archanaserver has joined #openstack-outreachy15:50
vkmchmm15:51
gouthamrdo you mind me re-running?15:52
vkmcI cannot back to the tmate15:52
vkmcbut there is some folder in which we store logs under /opt/stack15:52
vkmcgo ahead15:52
vkmcjust want to fix this for archana so she has her env already15:52
gouthamr++15:56
archanaservergouthamr vkmc we have the same last run error here :/16:16
vkmcyep, we are debugging that for you16:16
vkmc:)16:16
archanaserveroh okie :)16:17
gouthamrhey, was on a call with carloss; just done16:34
gouthamrarchanaserver: what vkmc said :)16:35
vkmclost connection to the server, so if you can share the tmate16:37
vkmcI'll appreciate16:37
vkmc:D16:37
archanaserveroh16:37
archanaserveryes sure16:37
archanaserverssh session: ssh J5zLPxywG2Q4PhyaASFDsFEdd@sgp1.tmate.io16:39
archanaserverthis is the ssh link16:40
vkmccool, thanks16:41
archanaserverok, you are in16:41
vkmcyes16:41
gouthamrokay why is devstack looking for OVN stuff in OVS_RUNDIR16:41
vkmcgouthamr, no idea16:41
vkmcgouthamr, should we stick to master?16:41
gouthamrthis isn't master?16:41
vkmcyes, that is master16:42
vkmccool16:42
vkmc:)16:42
vkmcok so, no idea why it's getting to that state16:42
gouthamrhttps://github.com/openstack/devstack/blob/8ea11c2947753f988979330ecc5fab2a6362881c/lib/neutron_plugins/ovn_agent#L393-L39616:42
gouthamrthey're symlinking the two directories16:42
vkmcmaybe what we can do16:45
vkmcis to get to the commit in which they enable ovn by default16:45
vkmcand run devstack on a previous commit16:45
vkmcmanila code will be up to date16:45
vkmcand archana can work on master16:45
vkmchttps://github.com/openstack/devstack/commit/e38a39ad404637ca1649cea072883aa0a4592c4f16:46
vkmcthis is the hash16:46
gouthamryeah, that could work16:46
gouthamryou see the symlink working, but, something after erases the symlink16:47
gouthamrand the folders diverge16:47
gouthamroh hold on16:47
gouthamryeah this is messed up a bit16:49
gouthamr"sudo ln -s /var/run/openvswitch /var/run/ovn" happens, but it doesn't exist anymore16:49
vkmcyeah... seems they don't implemented the cleanup16:49
vkmcor something like that16:50
gouthamrinstead they have a weirder symlink for "openvswitch" inside the ovn folder16:50
gouthamryeah - this could have been a weird cleanup error too - that's possible16:51
vkmccan we recreate that symlink?16:52
vkmcor...16:54
vkmcrerun stack without that change :)16:54
gouthamryeah, that's a bug16:54
gouthamrcleaning and attempting something16:56
gouthamrthis is a bug with restacking ofcourse16:56
gouthamrvkmc: i'll fire off a devstack in parallel in vexxhost16:56
vkmc++16:58
gouthamrone last attempt on archana's machine17:00
gouthamrarchanaserver: since this channel is publicly logged, we should kill this tmate session asap17:01
archanaserveryes sure17:01
gouthamrarchanaserver: lets see what this run results in17:01
gouthamrarchanaserver: can i get your public ssh key17:02
archanaserveryes wait17:03
archanaserverUploaded file: https://uploads.kiwiirc.com/files/bd508cc8d9b0d0c0da44ce79333dd390/pasted.txt17:13
archanaservergouthamr: here it is (sorry for late responding, my system just start working so slow)17:16
gouthamrarchanaserver: no problem..17:19
gouthamrthanks for sending that over!17:19
archanaserverokie :)17:19
gouthamrwe now hit this issue: https://bugs.launchpad.net/devstack/+bug/193036017:35
opendevmeetLaunchpad bug 1930360 in devstack "devstack installation fails for neutron- ovn_agent on master branch" [High,In progress]17:35
gouthamrcleaning and rerunning17:35
gouthamr...17:58
archanaserveryes, sorry was not around.18:00
archanaserverit works, right?18:10
gouthamryep!18:12
gouthamrarchanaserver: you have a devstack now :)18:12
gouthamrfeel free to play around, break things18:12
archanaserverwow :)18:13
gouthamrarchanaserver: the other devstack (shared creds with you privately) is up and ready too18:21
*** archanaserver has quit IRC18:21
gouthamrprobably bed time :)18:21

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!