Friday, 2022-11-04

bhitesh9vkmc, gouthamr: Hello, hope you are doing well.08:33
bhitesh9I am trying to reproduce bug (https://bugs.launchpad.net/python-manilaclient/+bug/1967312), but I am a bit confused in bug description, when you say "In the list implementation", you mean manila list?08:34
bhitesh9and kindly guide me on how to reproduce this, this is low-hanging-fruit but the whole ecosystem is a bit of overwhelming for me right now.08:35
bhitesh9What I am assuming that how can I reproduce this:08:36
bhitesh91) create shared file system08:36
bhitesh92) list the created shared file system using manila list08:36
bhitesh9Disclaimer: messed up with devstack in my VM, deleted it and created a fresh one :p08:37
bhitesh9I need community's help to report my contribution on outreachy portal, today is the last day at 4:00PM UTC. Kindly guide my way I liked this project as well I am very enthusiastic about cloud.08:40
bhitesh9Thanks in advance.08:40
bhitesh9Update regarding username:10:23
bhiteshbhitesh and bhitesh9 belong to same person10:27
bhiteshsometime a get first username and sometime a get second choice of username, just for no confusion, thanks10:28
carlosso/ bhitesh - I believe it refers to using the `is_soft_deleted` parameter while performing manila list, using a version between "2.35" and "2.68"12:00
bhiteshcarloss: kindly tell me the website where openstack folks paste their code output and share via link12:02
bhiteshcarloss: I am not able to create new share at first place it is asking for share type, stuck in a loop12:02
carlosspaste.opendev.org12:03
carlossso to reproduce, you would need to: create a shared file system, list the created shared file system with `--soft-delete` (using a version between 2.35 and 2.68)12:03
carlossto do that you'll need to modify this file in your env: https://github.com/openstack/python-manilaclient/blob/master/manilaclient/api_versions.py#L3012:04
carlossand set it to 2.68 for example12:04
carlossyes, you will need a share type - but it should be getting the default at this point12:04
carlossthe fix itself would consist of changing the type of search_opts here: https://github.com/openstack/python-manilaclient/blob/master/manilaclient/v2/shares.py#L35712:05
carlossso instead of using search_opts=None, we'll need to declare it as a dictionary12:05
bhiteshcarloss: I have some issues while creating shared file system using manila kindly check this paste link : https://paste.opendev.org/show/bxLhVOAO7ybWeOBD9pw1/12:32
carlossoh, I believe this doc is outdated12:33
carlossbhitesh: I'll get you some doc, one minute please12:33
* carloss while doing so finds a doc bug :)12:34
carlosshttps://docs.openstack.org/manila/latest/admin/shared-file-systems-share-types.html#share-type-operations12:34
carlosson the type create, manila shouldn't show up twice12:34
carlossbut this should help12:34
carlossand to load the credentials, you'll need to go to your devstack folder and run12:34
carloss`source openrc`12:35
carlossand it'll load the environment variables into your session12:35
bhiteshokay, on it12:35
bhiteshcarloss: successfully created share-type and share file system, but when using command "manila list --soft-delete" getting "ERROR: Filtering by is_soft_deleted is only available with manila API version >= 2.69"13:04
bhiteshbut I didn't changed MAX_VERSION yes13:05
bhiteshand one more question when I will change in any file I need to restart that service like "systemctl restart devstack@service_name"?13:06
carlosshmmm, the validation in the CLI is working then, one sec please13:06
carlosswhat if you try only listing shares, in the version 2.68 without the --soft-delete13:08
carloss?13:08
carlossI'm afraid you wouldn't be able to reproduce, after checking the bug report and the code for both OSC and manilaclient13:10
carloss> so instead of using search_opts=None, we'll need to declare it as a dictionary13:10
carlosswe could do this change either way though, just to reinforce that we would never run into the issue13:10
bhiteshwhen I do "manila list" getting back the file system I created.13:22
bhiteshso need to convert None into dictionary now?13:23
bhiteshI mean empty or it will be having any default value?13:24
carlossyes, converting none into a dictionary13:29
bhiteshcarloss: I will be changing file which is under /opt/stack/python-manilaclient/... and devstack is setup under ~/devstack. so how am I be able to commit those changes?13:39
carlossyou'd need to go to the python-manilaclient folder and commit the changes from there13:40
carlosshttps://docs.openstack.org/doc-contrib-guide/quickstart/first-timers.html - here's some good documentation to help13:42
bhiteshOo, I see. I didn't worked in such project where whole project is bootstrap out of multiple projects, things are getting interesting.13:43
bhiteshcarloss: I am getting some error while executing "git review -s" kindly have a look, paste link: https://paste.opendev.org/show/b1QFbZM9EiE8hvktlJA1/14:02
carlossDescription: fatal: No Contributor Agreement on file for user Hitesh Bhati <hbhatiwork@gmail.com> - this seems to be the issue bhitesh 14:03
bhiteshI generated a new ssh key and added into my opendev account14:03
carlossyou'd need to sign the individual contributor agreement14:04
carlossgetting you a link14:04
carlosshttps://docs.openstack.org/contributors/common/setup-gerrit.html#individual-contributor-license-agreement-icla14:04
bhiteshOkay now I accepted the agreement, but I was able to do the same on sandbox, that was sandbox that's why?14:08
carlossi think it was14:08
bhiteshso we need to agree on particular repo or need to do once for all?14:11
carlossdoing once will solve it for any contribution you might do in any other repo in the future :)14:12
bhiteshcarloss: I pushed my commit, kindly have a look : https://review.opendev.org/c/openstack/python-manilaclient/+/86365214:15
rotenseprobhitesh: Hi mate, i think improving the commit message will be cool. Look at the documentation here >>> https://wiki.openstack.org/wiki/GitCommitMessages14:21
bhiteshsure14:22
bhiteshrotensepro: thanks for suggestion14:25
carloss++ - code looks correct, rotensepro's suggestion is also something I'd suggest14:26
carlossalso using Closes-Bug: #1234567 tag in your commit14:27
carlosscommit message*14:27
bhiteshcarloss: can I use this review link as contribution in outreachy?14:32
carlossbhitesh: yes, you can :)14:36
bhiteshcarloss gouthamr: there is a question in outreachy final application which is "Outreachy internship project timeline", what should I gave answer to it, I didn't discussed yet and only few minutes are left?15:13
carlossiirc there was an example in the project itself15:17
carlossbhitesh: is that it?15:18
carlossin the project's intern tasks15:18
bhiteshokay15:18
*** dtantsur_ is now known as dtantsur17:56
*** dtantsur_ is now known as dtantsur18:29

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