*** dviroel is now known as dviroel|out | 00:07 | |
yukti | o/ carloss a slight nudge in the right direction with that issue would be helpful | 09:35 |
---|---|---|
vkmc | yukti, o/ | 09:48 |
vkmc | yukti, can you provide more context? | 09:48 |
vkmc | yukti, most contributors are off sat and sun (weekend) so probably carloss won't come back til monday | 09:49 |
vkmc | I happen to be around, so maybe I can help | 09:49 |
yukti | yes | 09:50 |
yukti | o/ thank you so much that will be so helpful | 09:50 |
yukti | https://bugs.launchpad.net/python-manilaclient/+bug/1967312 | 09:50 |
vkmc | oh nice, I filed this one | 09:51 |
vkmc | yukti, do you have your launchpad account and your openstack contributor account already set? | 09:51 |
yukti | Yes! | 09:51 |
vkmc | yukti, perfect, so you can go ahead and assign it to you | 09:52 |
yukti | and how does that work? | 09:52 |
yukti | s-yukti is my username on launchpad | 09:53 |
vkmc | oki, there is a field that says "assigned to" | 09:53 |
vkmc | click the pencil near "unassigned" | 09:53 |
vkmc | and then you can click on "assign me" | 09:53 |
vkmc | and that should be it | 09:53 |
yukti | okay so i dont think i have the rights to do so | 09:53 |
vkmc | how is that? | 09:54 |
vkmc | are you logged in? | 09:54 |
yukti | yes, i am logged in but cant see the pencil | 09:55 |
yukti | like on github you need to have certain rights to assign issues so i think its something like that | 09:55 |
vkmc | what happens when you hover in "unassigned"? | 09:55 |
yukti | thats a plain text feild for me | 09:56 |
vkmc | and on the right of the plain text? | 09:56 |
vkmc | you are probably logged off | 09:56 |
vkmc | on the top right of the screen, do you see "log in/register"? | 09:57 |
yukti | No, i think it's because im not in the OpenStack team | 09:57 |
yukti | i requested to join it | 09:57 |
vkmc | yukti, ok, first time I come across this | 09:58 |
vkmc | yukti, which guide did you follow to register your accounts? | 09:58 |
vkmc | I just assigned you | 09:59 |
vkmc | but definitely something we need to figure out | 09:59 |
vkmc | I'll ping infra team on Monday | 09:59 |
vkmc | now, do you have an environment set up? | 09:59 |
yukti | So, I used ubuntu one for openInfra i believe https://id.openinfra.dev/yukti.sharma | 10:00 |
vkmc | it should be the same | 10:02 |
vkmc | but nevermind | 10:02 |
yukti | I didn't follow any guide though. Are there any such guides | 10:03 |
yukti | i'll check them to verify if something went wrong | 10:03 |
yukti | yes i ran the devstack set up script yesterday successfully | 10:03 |
vkmc | of course https://docs.openstack.org/contributors/code-and-documentation/quick-start.html#set-up-accounts-and-configure-environment | 10:03 |
vkmc | you can find docs for most of the things in the contributor portal | 10:04 |
vkmc | yukti, perfect! | 10:04 |
vkmc | did you enable manila there? | 10:04 |
yukti | i think that script enabled it | 10:04 |
vkmc | probably 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 |
vkmc | and you can do so in the local.conf conf file | 10:05 |
yukti | yes, maari helped me set the conf file correctly | 10:05 |
vkmc | super, so you have manila there for sure | 10:05 |
vkmc | great, so the next step would be to follow the contribution process | 10:06 |
vkmc | under /opt/stack/python-manilaclient you have the code for the issue that you are assigned to work | 10:06 |
vkmc | the reporter (in this case, myself) indicated in the bug description where the issue is | 10:06 |
vkmc | so it would be nice to add a fix for it, and a unit test | 10:07 |
yukti | so, i'm afraid my question could be bad. but since I have the repository cloned inside the vm | 10:08 |
yukti | how do i make changes to it | 10:08 |
yukti | Yes I was the highlighted snippet of where the issue exists | 10:09 |
vkmc | wanna 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 |
vkmc | yukti, you simply navigate to the directory and change the code files | 10:09 |
vkmc | yukti, are you familiar with git? | 10:10 |
yukti | yes, that'll be great ! | 10:10 |
yukti | Yes, I am familiar with git | 10:10 |
vkmc | perfect | 10:10 |
vkmc | so the way we work to keep things organized | 10:10 |
vkmc | is that we create separate branches | 10:10 |
vkmc | for bug fixes | 10:10 |
vkmc | so you would need to go to the repo "cd /opt/stack/python-manilaclient" | 10:10 |
yukti | yes i happen to be familiar with that as I contribute to some CNCF projects :) | 10:11 |
vkmc | create 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 |
vkmc | and then start hacking! | 10:11 |
yukti | Thank you vkmc! | 10:11 |
vkmc | yukti, super, just checking, git can be hard to get sometimes :) it was for me at least | 10:11 |
vkmc | yukti, anytime, ping me if you hit any blocker | 10:12 |
yukti | So this is what happens when I open https://review.opendev.org/ and it redirects me to UbuntuOne | 10:48 |
yukti | https://usercontent.irccloud-cdn.com/file/dRgfW5Bh/image.png | 10:49 |
yukti | o/ vkmc I don't think I've my gerrit set up correctly. | 11:20 |
yukti | It'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 problem | 11:20 |
yukti | and when i login through ubuntu one, it throws an error and just doesn't work | 11:21 |
gouthamr | yukti: what’s the error you’re seeing? | 11:27 |
yukti | it's in the message before that | 11:28 |
gouthamr | Ah ignore me, I see your screenshot | 11:28 |
gouthamr | yukti: do you see all the right info when you visit https://login.ubuntu.com/ | 11:32 |
yukti | yes I do :(( | 11:33 |
gouthamr | okay this may be a question for #openstack-infra | 11:34 |
yukti | Thanks! I'll ask them | 11:34 |
gouthamr | yep - 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 this | 11:35 |
vkmc | yukti, does that issue continues happening? | 11:59 |
yukti | yes it does, the infra people will give whats happening a look | 13:17 |
shkoh1 | gouthamr : 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 |
ckolod | gouthamr: 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 |
vkmc | shkoh1, ckolod, o/ | 19:07 |
vkmc | can you access the server under devstack control? | 19:07 |
vkmc | say, the one running in port 80 in your vm | 19:08 |
vkmc | also, where is your vm running? in your local machine? | 19:08 |
shkoh1 | o/ my vm is running on my local laptop and my port 80 is my vm | 19:13 |
shkoh1 | also I am not to familiar with devstack control | 19:13 |
shkoh1 | also I am able to connect to the port 80 horizon as well | 19:14 |
ckolod | shkoh1's Horizon on localhost:80 is also only displaying raw HTML ^ | 19:16 |
vkmc | shkoh1, ckolod, have you tried unstack.sh and stack.sh again? | 19:18 |
vkmc | and then try to access again? | 19:18 |
vkmc | if it's an environment that has been there for a while it might be unstable | 19:18 |
vkmc | btw, you are running an distro without desktop manager in the vm, right? | 19:19 |
vkmc | or you have a user interface within the vm? | 19:19 |
ckolod | vkmc my VM is just a terminal and I just portfoward into it; shkoh1's VM has a desktop manager and he's working within it | 19:20 |
ckolod | I'll try re-stacking | 19:21 |
shkoh1 | vkmc : 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 |
vkmc | ckolod, great | 19:35 |
vkmc | shkoh1, that 404 is on the dev server, no? | 19:36 |
vkmc | the one you are running with tox -e runserver -- localhost:9000? | 19:36 |
shkoh1 | yes 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 |
vkmc | shkoh1, yes, that is expected | 19:37 |
vkmc | shkoh1, and happens because of how the routing is being handled within the virtualenv | 19:37 |
vkmc | shkoh1, 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 |
vkmc | that should get you to the dashboard | 19:38 |
shkoh1 | would you like me to change those values back to true? | 19:38 |
vkmc | shkoh1, debug = True and compression_enabled = False | 19:41 |
shkoh1 | vkmc thank you very much it works now | 19:45 |
vkmc | shkoh1, \o/ | 19:45 |
vkmc | cool :) | 19:45 |
shkoh1 | when 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 |
shkoh1 | vkmc \o | 19:52 |
sdailey | vkmc: testing multiple times, whenever I start my devserver the devstack horizon's css breaks, but the devserver horizon does have css. | 19:57 |
sdailey | vkmc: 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 horizon | 19:58 |
vkmc | sdailey, did you restart apache2? | 20:00 |
vkmc | sdailey, sudo systemctl restart apache2 | 20:00 |
sdailey | vkmc: No, do you want me to try it? | 20:00 |
vkmc | sdailey, yeah | 20:01 |
sdailey | vkmc: devstack horizon is working again, although it still has no css | 20:03 |
vkmc | sdailey, yeah, for some reason that keeps breaking | 20:03 |
vkmc | is something we have to debug with the horizon folks | 20:03 |
vkmc | sdailey, is your environment the same as shkoh1 and ckolod? | 20:03 |
sdailey | basically, I've got a vm installed on my local machine, ubuntu server with devstack installed that I'm sshing into with vs code | 20:05 |
vkmc | sdailey, ok, but is the same env you are working together? | 20:06 |
vkmc | sdailey, if it's a different one and you haven't done that already, try unstack.sh and stack.sh again | 20:06 |
vkmc | if that env has been there for a while it might become a bit unstable | 20:06 |
vkmc | and therefore the broken css | 20:06 |
sdailey | vkmc: I've restacked multiple times today trying to fix this on my own | 20:07 |
sdailey | I can do it again if you think it would help | 20:08 |
vkmc | sdailey, are you doing port forwarding for the port 80? | 20:08 |
sdailey | vkmc: Yeah, ports are all set up in VB Manager. | 20:10 |
vkmc | sdailey, I'm not familiar with vb manager | 20:10 |
vkmc | so I really don't know what it is doing | 20:10 |
sdailey | Alright, well I'm able to connect fine, it's just the css that's broken | 20:11 |
sdailey | vkmc: Although, I still don't have the shares tab on the devserver horizon | 20:12 |
vkmc | sdailey, you need to copy /opt/stack/manila-ui/manila_ui/local/enabled/ to /opt/stack/horizon/openstack_dashboard/local/enabled | 20:13 |
sdailey | vkmc: I thought I already did that, but I can try it again | 20:14 |
sdailey | vkmc: Nope, still don't have share tab | 20:15 |
vkmc | sdailey, have you installed manila-ui? | 20:19 |
vkmc | sdailey, go to /opt/stack/manila-ui | 20:19 |
vkmc | sdailey, and run pip3 install -e . | 20:19 |
sdailey | vkmc: I have it installed, I can try that though | 20:20 |
sdailey | vkmc: Did it, no change | 20:21 |
vkmc | sdailey, hmm, share a tmate with me | 20:22 |
sdailey | vkmc: Read only? | 20:24 |
vkmc | sdailey, no, I'd need to write :) | 20:25 |
vkmc | send it in a pm | 20:25 |
sdailey | vkmc: https://tmate.io/t/AjZXy4SYuYJ8R2thQwEh5pLve | 20:25 |
vkmc | oki | 20:25 |
vkmc | do you have the ssh link? | 20:25 |
vkmc | got it from the browser | 20:26 |
vkmc | ok I'm in | 20:26 |
vkmc | not sure why etc is disabled, enabling it | 20:29 |
sdailey | vkmc: It was to fix a bug I was getting awhile ago. don't even remember what it was | 20:30 |
sdailey | vkmc: should I stop the devserver? I've got it running in another terminal | 20:30 |
vkmc | sdailey, probably stopped already | 20:30 |
vkmc | I just killed everything | 20:30 |
vkmc | (almost done... output is looking ok= | 20:43 |
vkmc | ) | 20:43 |
vkmc | ok, manila_ui is not being picked up | 20:54 |
vkmc | in the virtual environment | 20:54 |
vkmc | let's rebuild the virtualenv | 20:55 |
vkmc | sdailey, oki, check it now | 21:00 |
vkmc | sdailey, you should go to localhost:80 with the port forwarding | 21:00 |
vkmc | log in | 21:01 |
vkmc | and then go to localhost:9000 | 21:01 |
vkmc | which is your dev server | 21:01 |
vkmc | and that should be it | 21:01 |
sdailey | devstack horizon gives me OfflineGenerationError devserver gives me 404 | 21:02 |
vkmc | sdailey, ah yes, because I change local_settings.py and didn't restart apache2 | 21:02 |
vkmc | restart apache2 in a different shell | 21:02 |
vkmc | I see action in the dev server so you are trying to log in | 21:03 |
vkmc | and it's returning 404 because of the routing thing | 21:03 |
vkmc | oki, I need to head out now | 21:06 |
vkmc | but | 21:06 |
vkmc | after restarting apache2 | 21:06 |
vkmc | it should work :) | 21:06 |
vkmc | I'll be around tomorrow too | 21:06 |
sdailey | vkmc: Alright, devstack is working again, thanks for the help | 21:06 |
vkmc | sorry it's being frustrating guys | 21:06 |
vkmc | sdailey, cool! | 21:06 |
vkmc | exiting the tmate now | 21:06 |
vkmc | ttyt o/ | 21:06 |
sdailey | vkmc: o/ | 21:07 |
sdailey | vkmc: 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 issues | 21:13 |
vkmc | if you are having issues with the manila-ui not being picked up in the virtualenv | 21:18 |
vkmc | make sure that it was installed by going to the manila-ui repo and executing pip3 install -e . | 21:19 |
vkmc | inside the venv | 21:19 |
vkmc | you are inside the venv if you previously executed source .tox/venv/bin/activate | 21:20 |
vkmc | the prompt changes with a (venv) in the front | 21:20 |
vkmc | if that doesn't work, you can remove the venv and start over | 21:20 |
vkmc | rm -rf .tox/venv | 21:20 |
vkmc | remember that you need to log in in :80 to workaround the login in :9000 | 21:21 |
vkmc | and if everything is a mess, unstack.sh and stack.sh again | 21:22 |
shkoh1 | vkmc : 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 |
ckolod | nevermind, we got it | 21:38 |
*** tosky_ is now known as tosky | 21:52 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!