Saturday, 2022-04-02

*** dviroel is now known as dviroel|out00:07
yuktio/ carloss a slight nudge in the right direction with that issue would be helpful09:35
vkmcyukti, o/09:48
vkmcyukti, can you provide more context?09:48
vkmcyukti, most contributors are off sat and sun (weekend) so probably carloss won't come back til monday 09:49
vkmcI happen to be around, so maybe I can help09:49
yuktiyes09:50
yuktio/ thank you so much that will be so helpful09:50
yuktihttps://bugs.launchpad.net/python-manilaclient/+bug/196731209:50
vkmcoh nice, I filed this one 09:51
vkmcyukti, do you have your launchpad account and your openstack contributor account already set?09:51
yuktiYes!09:51
vkmcyukti, perfect, so you can go ahead and assign it to you 09:52
yuktiand how does that work?09:52
yuktis-yukti is my username on launchpad09:53
vkmcoki, there is a field that says "assigned to" 09:53
vkmcclick the pencil near "unassigned"09:53
vkmcand then you can click on "assign me" 09:53
vkmcand that should be it09:53
yuktiokay so i dont think i have the rights to do so09:53
vkmchow is that? 09:54
vkmcare you logged in?09:54
yuktiyes, i am logged in but cant see the pencil09:55
yuktilike on github you need to have certain rights to assign issues so i think its something like that09:55
vkmcwhat happens when you hover in "unassigned"? 09:55
yuktithats a plain text feild for me09:56
vkmcand on the right of the plain text?09:56
vkmcyou are probably logged off 09:56
vkmcon the top right of the screen, do you see "log in/register"? 09:57
yuktiNo, i think it's because im not in the OpenStack team09:57
yuktii requested to join it09:57
vkmcyukti, ok, first time I come across this 09:58
vkmcyukti, which guide did you follow to register your accounts? 09:58
vkmcI just assigned you 09:59
vkmcbut definitely something we need to figure out09:59
vkmcI'll ping infra team on Monday09:59
vkmcnow, do you have an environment set up?09:59
yuktiSo, I used ubuntu one for openInfra i believe https://id.openinfra.dev/yukti.sharma10:00
vkmcit should be the same10:02
vkmcbut nevermind10:02
yuktiI didn't follow any guide though. Are there any such guides10:03
yuktii'll check them to verify if something went wrong10:03
yuktiyes i ran the devstack set up script yesterday successfully10:03
vkmcof course https://docs.openstack.org/contributors/code-and-documentation/quick-start.html#set-up-accounts-and-configure-environment10:03
vkmcyou can find docs for most of the things in the contributor portal10:04
vkmcyukti, perfect! 10:04
vkmcdid you enable manila there? 10:04
yuktii think that script enabled it10:04
vkmcprobably other folks told you, but just in case, by default devstack deploy a couple of components, manila needs to be enabled on demand 10:05
vkmcand you can do so in the local.conf conf file 10:05
yuktiyes, maari helped me set the conf file correctly10:05
vkmcsuper, so you have manila there for sure 10:05
vkmcgreat, so the next step would be to follow the contribution process10:06
vkmcunder /opt/stack/python-manilaclient you have the code for the issue that you are assigned to work 10:06
vkmcthe reporter (in this case, myself) indicated in the bug description where the issue is 10:06
vkmcso it would be nice to add a fix for it, and a unit test 10:07
yuktiso, i'm afraid my question could be bad. but since I have the repository cloned inside the vm10:08
yuktihow do i make changes to it10:08
yuktiYes I was the highlighted snippet of where the issue exists 10:09
vkmcwanna inspect contribution process guide (https://docs.opendev.org/opendev/infra-manual/latest/developers.html#development-workflow) and the code (https://github.com/openstack/python-manilaclient) and then sync up if you have questions?10:09
vkmcyukti, you simply navigate to the directory and change the code files 10:09
vkmcyukti, are you familiar with git? 10:10
yuktiyes, that'll be great !10:10
yuktiYes, I am familiar with git10:10
vkmcperfect10:10
vkmcso the way we work to keep things organized 10:10
vkmcis that we create separate branches 10:10
vkmcfor bug fixes10:10
vkmcso you would need to go to the repo "cd /opt/stack/python-manilaclient" 10:10
yuktiyes i happen to be familiar with that as I contribute to some CNCF projects :)10:11
vkmccreate a new branch for your bug "git checkout -b bug/1967312" 10:11
vkmc(notice the id is the same as the id we have in the launchpad bug)10:11
vkmcand then start hacking! 10:11
yuktiThank you vkmc!10:11
vkmcyukti, super, just checking, git can be hard to get sometimes :) it was for me at least10:11
vkmcyukti, anytime, ping me if you hit any blocker 10:12
yuktiSo this is what happens when I open https://review.opendev.org/ and it redirects me to UbuntuOne 10:48
yuktihttps://usercontent.irccloud-cdn.com/file/dRgfW5Bh/image.png10:49
yuktio/ vkmc I don't think I've my gerrit set up correctly.11:20
yuktiIt's because when I click the links that are supposed to lead me to gerrit they lead me to  https://review.opendev.org/ and it redirects me to UbuntuOne. Has any new contributor recently faced this problem11:20
yuktiand when i login through ubuntu one, it throws an error and just doesn't work11:21
gouthamryukti: what’s the error you’re seeing?11:27
yuktiit's in the message before that11:28
gouthamrAh ignore me, I see your screenshot11:28
gouthamryukti: do you see all the right info when you visit https://login.ubuntu.com/11:32
yuktiyes I do :((11:33
gouthamrokay this may be a question for #openstack-infra11:34
yuktiThanks! I'll ask them11:34
gouthamryep - they’re super helpful, let us know in case you don’t get this resolved. An option for expediency could be to create a new login and account - hopefully there’s a saner explanation to this11:35
vkmcyukti, does that issue continues happening?11:59
yuktiyes it does, the infra people will give whats happening a look 13:17
shkoh1gouthamr : Our team is working on the development site for horizon. and we are currently having trouble connecting to it. We have copied over the files from manila-ui to openstack_dashboard. we also changed the local_settings debug to false and compressed offline to false. we also ran tox localhost 9000 to run. and we are now getting 404 errorrs still. and we are getting page not found errors. any way to fix this? thank you.18:54
ckolodgouthamr: worth nothing that shkoh1 is working entirely within a VM. I was able to connect to my dev server from my host computer, though it's only loading raw HTML (same issue vkmc had when giving us a demo). I don't remember if there was a fix for that.19:04
vkmcshkoh1, ckolod, o/19:07
vkmccan you access the server under devstack control? 19:07
vkmcsay, the one running in port 80 in your vm19:08
vkmcalso, where is your vm running? in your local machine?19:08
shkoh1o/ my vm is running on my local laptop and my port 80 is my vm 19:13
shkoh1also I am not to familiar with devstack control19:13
shkoh1also I am able to connect to the port 80 horizon as well 19:14
ckolodshkoh1's Horizon on localhost:80 is also only displaying raw HTML ^19:16
vkmcshkoh1, ckolod, have you tried unstack.sh and stack.sh again? 19:18
vkmcand then try to access again?19:18
vkmcif it's an environment that has been there for a while it might be unstable 19:18
vkmcbtw, you are running an distro without desktop manager in the vm, right?19:19
vkmcor you have a user interface within the vm?19:19
ckolodvkmc my VM is just a terminal and I just portfoward into it; shkoh1's VM has a desktop manager and he's working within it19:20
ckolodI'll try re-stacking19:21
shkoh1vkmc : when debug was true and the compressed offline was true . I recieved a 404 error something you had during the friday meeting. but when I changed both to true I recieve a page does not exist. If that helps out at all. 19:34
vkmcckolod, great 19:35
vkmcshkoh1, that 404 is on the dev server, no? 19:36
vkmcthe one you are running with tox -e runserver -- localhost:9000? 19:36
shkoh1yes that 404 error was on the dev server. when I ran tox. then I changed those values to then recieve a page does not exist 19:36
vkmcshkoh1, yes, that is expected19:37
vkmcshkoh1, and happens because of how the routing is being handled within the virtualenv 19:37
vkmcshkoh1, what you need to do to fix that, is to log in first in the server under devstack control (the one listening in port 80) and then, after successfully logged in, go to the dev server (the one listening in port 9000) 19:38
vkmcthat should get you to the dashboard19:38
shkoh1would you like me to change those values back to true?19:38
vkmcshkoh1, debug = True and compression_enabled = False 19:41
shkoh1vkmc thank you very much it works now19:45
vkmcshkoh1, \o/19:45
vkmccool :) 19:45
shkoh1when in the dev server. are there supposed to be a shares tab? because so far we dont have them, and we have copied over the files.19:52
shkoh1vkmc \o19:52
sdaileyvkmc: testing multiple times, whenever I start my devserver the devstack horizon's css breaks, but the devserver horizon does have css.19:57
sdaileyvkmc: When copying over the /opt/stack/manila-ui/manila_ui/local/enabled/ to /opt/stack/horizon/openstack_dashboard/local/enabled to try and get the shares tab oh the devserver's horizon, the devserver's css breaks and I get an OfflineGenerationError on the devstack horizon19:58
vkmcsdailey, did you restart apache2? 20:00
vkmcsdailey, sudo systemctl restart apache220:00
sdaileyvkmc: No, do you want me to try it?20:00
vkmcsdailey, yeah20:01
sdaileyvkmc: devstack horizon is working again, although it still has no css20:03
vkmcsdailey, yeah, for some reason that keeps breaking 20:03
vkmcis something we have to debug with the horizon folks 20:03
vkmcsdailey, is your environment the same as shkoh1 and ckolod? 20:03
sdaileybasically, I've got a vm installed on my local machine, ubuntu server with devstack installed that I'm sshing into with vs code20:05
vkmcsdailey, ok, but is the same env you are working together? 20:06
vkmcsdailey, if it's a different one and you haven't done that already, try unstack.sh and stack.sh again 20:06
vkmcif that env has been there for a while it might become a bit unstable 20:06
vkmcand therefore the broken css20:06
sdaileyvkmc: I've restacked multiple times today trying to fix this on my own20:07
sdaileyI can do it again if you think it would help20:08
vkmcsdailey, are you doing port forwarding for the port 80? 20:08
sdaileyvkmc: Yeah, ports are all set up in VB Manager.20:10
vkmcsdailey, I'm not familiar with vb manager 20:10
vkmcso I really don't know what it is doing 20:10
sdaileyAlright, well I'm able to connect fine, it's just the css that's broken20:11
sdaileyvkmc: Although, I still don't have the shares tab on the devserver horizon20:12
vkmcsdailey, you need to copy /opt/stack/manila-ui/manila_ui/local/enabled/ to /opt/stack/horizon/openstack_dashboard/local/enabled20:13
sdaileyvkmc: I thought I already did that, but I can try it again20:14
sdaileyvkmc: Nope, still don't have share tab20:15
vkmcsdailey, have you installed manila-ui?20:19
vkmcsdailey, go to /opt/stack/manila-ui 20:19
vkmcsdailey, and run pip3 install -e .20:19
sdaileyvkmc: I have it installed, I can try that though20:20
sdaileyvkmc: Did it, no change20:21
vkmcsdailey, hmm, share a tmate with me 20:22
sdaileyvkmc: Read only?20:24
vkmcsdailey, no, I'd need to write :) 20:25
vkmcsend it in a pm 20:25
sdaileyvkmc: https://tmate.io/t/AjZXy4SYuYJ8R2thQwEh5pLve20:25
vkmcoki20:25
vkmcdo you have the ssh link?20:25
vkmcgot it from the browser 20:26
vkmcok I'm in20:26
vkmcnot sure why etc is disabled, enabling it 20:29
sdaileyvkmc: It was to fix a bug I was getting awhile ago. don't even remember what it was20:30
sdaileyvkmc: should I stop the devserver? I've got it running in another terminal20:30
vkmcsdailey, probably stopped already 20:30
vkmcI just killed everything20:30
vkmc(almost done... output is looking ok= 20:43
vkmc)20:43
vkmcok, manila_ui is not being picked up20:54
vkmcin the virtual environment20:54
vkmclet's rebuild the virtualenv20:55
vkmcsdailey, oki, check it now 21:00
vkmcsdailey, you should go to localhost:80 with the port forwarding21:00
vkmclog in21:01
vkmcand then go to localhost:9000 21:01
vkmcwhich is your dev server 21:01
vkmcand that should be it21:01
sdaileydevstack horizon gives me OfflineGenerationError devserver gives me 40421:02
vkmcsdailey, ah yes, because I change local_settings.py and didn't restart apache2 21:02
vkmcrestart apache2 in a different shell21:02
vkmcI see action in the dev server so you are trying to log in 21:03
vkmcand it's returning 404 because of the routing thing21:03
vkmcoki, I need to head out now21:06
vkmcbut21:06
vkmcafter restarting apache2 21:06
vkmcit should work :) 21:06
vkmcI'll be around tomorrow too21:06
sdaileyvkmc: Alright, devstack is working again, thanks for the help21:06
vkmcsorry it's being frustrating guys 21:06
vkmcsdailey, cool! 21:06
vkmcexiting the tmate now 21:06
vkmcttyt o/21:06
sdaileyvkmc: o/21:07
sdaileyvkmc: Real quick if you're still here, could you send me a breakdown of what you did when you get the chance? ckolod and shkoh1 are having similar issues21:13
vkmcif you are having issues with the manila-ui not being picked up in the virtualenv21:18
vkmcmake sure that it was installed by going to the manila-ui repo and executing pip3 install -e .21:19
vkmcinside the venv21:19
vkmcyou are inside the venv if you previously executed source .tox/venv/bin/activate21:20
vkmcthe prompt changes with a (venv) in the front21:20
vkmcif that doesn't work, you can remove the venv and start over21:20
vkmcrm -rf .tox/venv21:20
vkmcremember that you need to log in in :80 to workaround the login in :900021:21
vkmcand if everything is a mess, unstack.sh and stack.sh again21:22
shkoh1vkmc : sorry to bother you, but when I deleted my venv and try to enter source venv/bin/activate it says directory doesnt exist because its deleted. is there a way to bring venv back?21:36
ckolodnevermind, we got it21:38
*** tosky_ is now known as tosky21:52

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