Monday, 2021-06-07

archanaserverHi @vkmc, good morning o/06:26
archanaservermy blog post update:07:40
archanaserverintroduction blog: https://archanaserver.in/2021-06-05-outreachy-introduce-yourself/07:40
archanaserverweek 2 blog: https://archanaserver.in/2021-06-07-week-02-outreachy-internship-with-openstack/07:40
vkmcarchanaserver, o/11:26
vkmcjust reviewed your patch11:26
vkmchttps://review.opendev.org/c/openstack/python-manilaclient/+/78901811:26
vkmcyou are getting closer11:26
archanaserverfollowed your review and added the @ddt decorator, when i do so i'm getting this error again http://paste.openstack.org/show/806370/ even though i fixed the string issue that i face on friday13:28
vkmcok13:35
vkmclet's see what's wrong13:35
archanaserveryes sure13:40
vkmcok so, a quick view shows you are not creating the fake share group13:50
vkmcshare_group_to_delete is a string13:51
vkmcyou need to create the fake share group and pass that string as the name13:51
vkmcyou have two ways to do so13:58
vkmcfor example, for the share_types test13:58
vkmchttps://github.com/openstack/python-manilaclient/blob/master/manilaclient/tests/unit/v2/test_shell.py#L3453-L347113:58
vkmc        fake_share_types = [13:58
vkmc            share_types.ShareType('fake', {'id': type_id}, True)13:58
vkmc            for type_id in type_ids13:58
vkmc        ]13:58
vkmcthat for loop is calling share_types13:58
vkmcwhich is the class being imported in https://github.com/openstack/python-manilaclient/blob/master/manilaclient/tests/unit/v2/test_shell.py#L4313:59
vkmcand creating the fake using the type_id provided as param13:59
vkmcone option, is that you import the share_groups class and create the fakes in that fashion13:59
vkmcthe other option14:00
vkmcis that you create a single object, as we were doing originally14:00
vkmchttps://github.com/openstack/python-manilaclient/blob/master/manilaclient/tests/unit/v2/test_shell.py#L95314:01
vkmclike this14:01
vkmcyou can do either of those14:01
*** kafilat has joined #openstack-outreachy14:29
kafilatHi vkmc, I've reviewed Ashley's patch14:29
kafilatI have a question about Manila cli14:29
vkmchi kafilat!14:29
vkmcnicely done14:30
vkmcsure, what's up?14:30
kafilatWhat is "tenant-name" "tenant-id" etc14:30
vkmcproject-name, project-id14:31
vkmcis the legacy name14:31
kafilathttp://paste.openstack.org/show/806423/14:33
kafilatOh okay14:33
kafilatDo I need to specify it each time to use the cli?14:35
vkmcyou can define the environment variables with that information14:35
vkmcif you are using devstack14:35
vkmcyou can source the openrc file and that should be enough14:36
vkmc(in other words, execute "source openrc admin admin" in your devstack folder14:36
vkmc)14:36
vkmclet me know if that works14:36
kafilatOkay. I'm going to try that14:36
kafilatThanks!14:36
vkmccool!14:38
vkmcanytime14:38
archanaserverHi Vicky, thank you. Will work on the fix after the bug squash meeting :) and will let you know the result14:49
vkmccool!14:57
vkmcarchanaserver, thanks for joining the bug squash and thanks for accepting to work on that bug!16:09
archanaserverit's my pleasure to take part in bug squash :)16:12
archanaserveram i going to work on that bug parallelly with the fix i'm working on right now?16:14
archanaserveralso thank you for mentioning me there16:16
archanaserver:)16:16
kafilatThanks vkmc, it worked!17:07
archanaserverwhat is this line mean here https://github.com/openstack/python-manilaclient/blob/master/manilaclient/v2/shell.py#L5521-L552418:52
archanaserverwhat this is doing?18:52
*** kafilat has quit IRC19:47

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