*** catintheroof has joined #openstack-manila | 00:11 | |
*** mtan_____ has joined #openstack-manila | 00:28 | |
*** mtanino has quit IRC | 00:29 | |
openstackgerrit | Rodrigo Barbieri proposed openstack/manila: Add mountable snapshots support https://review.openstack.org/345526 | 00:35 |
---|---|---|
*** lgreg has quit IRC | 01:01 | |
*** catintheroof has quit IRC | 01:09 | |
*** cknight has joined #openstack-manila | 01:31 | |
*** mtan_____ has quit IRC | 01:57 | |
*** ganso has quit IRC | 02:04 | |
openstackgerrit | zhongjun proposed openstack/python-manilaclient: Add the ability to check tenant quota detail https://review.openstack.org/368567 | 02:13 |
*** gcb has joined #openstack-manila | 02:36 | |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila: [DNM] Debug Data helper bulk access changes https://review.openstack.org/421028 | 02:44 |
openstackgerrit | Clinton Knight proposed openstack/manila: Implement share revert to snapshot https://review.openstack.org/340502 | 03:04 |
*** gouthamr has quit IRC | 03:12 | |
openstackgerrit | Clinton Knight proposed openstack/python-manilaclient: Support share revert to snapshot in Manila client https://review.openstack.org/340556 | 03:18 |
*** cknight has quit IRC | 03:26 | |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila: [DNM] Debug Data helper bulk access changes https://review.openstack.org/421028 | 04:06 |
openstackgerrit | Merged openstack/manila: Add MapR-FS native driver https://review.openstack.org/350035 | 04:33 |
*** houming has joined #openstack-manila | 05:17 | |
*** houming has quit IRC | 05:20 | |
*** houming has joined #openstack-manila | 05:21 | |
openstackgerrit | Sharat Sharma proposed openstack/manila-ui: Changed the home-page of manila-ui https://review.openstack.org/381096 | 05:38 |
*** nkrinner_afk is now known as nkrinner | 06:14 | |
*** jcsp has quit IRC | 06:16 | |
*** houming has quit IRC | 06:53 | |
*** lpetrut has joined #openstack-manila | 06:58 | |
*** houming has joined #openstack-manila | 07:00 | |
*** dsariel has joined #openstack-manila | 07:05 | |
*** houming has quit IRC | 07:06 | |
*** houming has joined #openstack-manila | 07:07 | |
*** tuanluong has joined #openstack-manila | 07:09 | |
openstackgerrit | Pony Chou proposed openstack/manila: Add QNAP Manila Driver https://review.openstack.org/394703 | 07:15 |
*** jprovazn has joined #openstack-manila | 07:22 | |
*** jprovazn has quit IRC | 07:22 | |
*** jprovazn has joined #openstack-manila | 07:23 | |
*** lpetrut has quit IRC | 07:46 | |
*** a-pugachev has joined #openstack-manila | 07:50 | |
*** lpetrut has joined #openstack-manila | 07:53 | |
*** a-pugachev has quit IRC | 07:57 | |
*** dmellado has quit IRC | 08:02 | |
*** dmellado has joined #openstack-manila | 08:04 | |
openstackgerrit | Ha Van Tu proposed openstack/manila: [api-ref] Refactor share metadata documentation https://review.openstack.org/421118 | 08:07 |
openstackgerrit | zhongjun proposed openstack/manila: Add manila-manage db purge command https://review.openstack.org/308212 | 08:20 |
openstackgerrit | Ha Van Tu proposed openstack/manila: [api-ref] Refactor share migration documentation https://review.openstack.org/421129 | 08:28 |
*** tuanluong has quit IRC | 09:03 | |
*** tuanluong has joined #openstack-manila | 09:04 | |
*** a-pugachev has joined #openstack-manila | 09:18 | |
openstackgerrit | zhongjun proposed openstack/manila: Fix metadata's soft-delete error when deleting shares https://review.openstack.org/421170 | 09:28 |
tommylikehu | ping vponomaryov | 09:36 |
*** ganso has joined #openstack-manila | 09:51 | |
tommylikehu | vponomaryov, I think the main cause of the bug you mentioned in the comment is another bug about share deletion, check here : https://review.openstack.org/#/c/308212/ | 09:56 |
*** yumiriam has joined #openstack-manila | 09:57 | |
openstackgerrit | Rodrigo Barbieri proposed openstack/python-manilaclient: Implement Share Migration Ocata improvements https://review.openstack.org/406306 | 09:58 |
openstackgerrit | Rodrigo Barbieri proposed openstack/manila: Mountable snapshots scenario tests https://review.openstack.org/412001 | 10:00 |
openstackgerrit | Rodrigo Barbieri proposed openstack/manila: Add mountable snapshots support to HNAS driver https://review.openstack.org/411474 | 10:00 |
*** alyson_ has joined #openstack-manila | 10:05 | |
openstackgerrit | Tina Tang proposed openstack/manila: [Unity driver] VLAN enhancement https://review.openstack.org/410037 | 10:22 |
*** zengyingzhe has quit IRC | 10:30 | |
*** zengyingzhe has joined #openstack-manila | 10:30 | |
openstackgerrit | Ramana Raja proposed openstack/manila: WIP: Refactor and rename CephFSNativeDriver https://review.openstack.org/421201 | 10:34 |
openstackgerrit | Merged openstack/manila-image-elements: Suppress some bashate warnings https://review.openstack.org/420911 | 10:35 |
*** tommylikehu has quit IRC | 10:40 | |
openstackgerrit | Merged openstack/manila-image-elements: Enables end user to pick share protocol https://review.openstack.org/400411 | 10:40 |
openstackgerrit | Rodrigo Barbieri proposed openstack/python-manilaclient: Implement Share Migration Ocata improvements https://review.openstack.org/406306 | 10:47 |
*** tommylikehu has joined #openstack-manila | 10:48 | |
*** lpetrut has quit IRC | 11:06 | |
openstackgerrit | Merged openstack/manila: tests: remove useless variables in db_utils methods https://review.openstack.org/420887 | 11:08 |
*** ociuhandu has quit IRC | 11:23 | |
*** houming has quit IRC | 11:28 | |
*** houming has joined #openstack-manila | 11:35 | |
openstackgerrit | Lucio Seki proposed openstack/manila: Mountable snapshots scenario tests https://review.openstack.org/412001 | 11:36 |
openstackgerrit | Alyson proposed openstack/python-manilaclient: Add mountable snapshots support to manila client https://review.openstack.org/345625 | 11:40 |
*** JoseMello has joined #openstack-manila | 11:43 | |
openstackgerrit | Valeriy Ponomaryov proposed openstack/python-manilaclient: Add share group support to Manila client https://review.openstack.org/335120 | 11:43 |
openstackgerrit | Valeriy Ponomaryov proposed openstack/manila: Rename consistency group modules to share groups https://review.openstack.org/409864 | 11:44 |
openstackgerrit | Valeriy Ponomaryov proposed openstack/manila: Manila Share Groups https://review.openstack.org/335093 | 11:54 |
openstackgerrit | Valeriy Ponomaryov proposed openstack/manila: [Tempest] Add functional tests for share groups feature https://review.openstack.org/355264 | 11:55 |
*** rraja has joined #openstack-manila | 11:55 | |
*** tuanluong has quit IRC | 11:59 | |
*** cdelatte has joined #openstack-manila | 11:59 | |
*** timcl has joined #openstack-manila | 11:59 | |
*** rraja has quit IRC | 12:00 | |
*** lpetrut has joined #openstack-manila | 12:10 | |
openstackgerrit | TommyLike proposed openstack/manila: Fix metadata's soft-delete error when deleting shares https://review.openstack.org/421170 | 12:26 |
*** mkoderer has quit IRC | 12:26 | |
*** dsariel has quit IRC | 12:30 | |
*** catintheroof has joined #openstack-manila | 12:32 | |
*** gouthamr has joined #openstack-manila | 12:48 | |
*** houming has quit IRC | 12:48 | |
ganso | gouthamr: ping | 12:51 |
gouthamr | ganso: pong | 12:51 |
ganso | gouthamr: Hi Goutham, good morning | 12:51 |
gouthamr | ganso: Hey Rodrigo... 'Morning! | 12:52 |
ganso | gouthamr: I am still a bit confused by https://review.openstack.org/#/c/413783/4/manila/share/drivers/netapp/dataontap/cluster_mode/lib_base.py@1790 | 12:52 |
ganso | gouthamr: if the volume does not exist, I guess migration shouldn't even start, correct? | 12:53 |
gouthamr | ganso: a non-existent volume move operation. _get_volume_move_status only raises an error if the move job on the backend doesn't exist, i.e, possibly already canceled | 12:54 |
ganso | gouthamr: oh I get it now, already cancelled | 12:54 |
ganso | gouthamr: thanks | 12:55 |
gouthamr | ganso: np! thanks for reviewing. | 12:55 |
ganso | gouthamr: btw, I am very confused about non-disruptive vs nondisruptive | 12:55 |
ganso | gouthamr: english is not my native language so I am unsure, but I saw you comment my patches before correcting non-disruptive to nondisruptive | 12:56 |
ganso | gouthamr: so I am confused | 12:56 |
gouthamr | ganso: nondisruptive isn't a word.. we made it one word because it's easier for a CLI user.. | 12:56 |
gouthamr | ganso: i corrected it in documentation where you were referring to the option perhaps.. | 12:57 |
ganso | gouthamr: hum I do not agree with that, does not make that much easier for the CLI user, we have preserve-metadata, preserve-snapshot, etc | 12:58 |
*** gcb has quit IRC | 12:58 | |
ganso | gouthamr: http://www.netapp.com/us/communities/tech-ontap/tot-ndo-1308.aspx | 12:59 |
ganso | gouthamr: so people use "nondisruptive" as a word | 12:59 |
gouthamr | ganso: sigh, you point me to the absolute source of truth and logic | 13:00 |
ganso | gouthamr: also "nondisruptively" | 13:00 |
*** rraja has joined #openstack-manila | 13:00 | |
ganso | gouthamr: it is not the absolute source of truth, but it is funny it is from NetApp :P | 13:00 |
gouthamr | ganso: lol.. tech writers invent words.. i'll change it if there's anything else to change in that patch | 13:02 |
*** dustins has joined #openstack-manila | 13:09 | |
*** eharney has joined #openstack-manila | 13:10 | |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila: NetApp cDOT: Add Intra-vserver migration support https://review.openstack.org/413783 | 13:14 |
openstackgerrit | Merged openstack/manila-ui: Changed the home-page of manila-ui https://review.openstack.org/381096 | 13:17 |
*** ianychoi has quit IRC | 13:18 | |
ganso | I am going to review your patch later today, it is next in my queue | 13:22 |
ganso | gouthamr: ^ | 13:22 |
gouthamr | ganso: access_rules? migration? both? :P | 13:22 |
ganso | gouthamr: access rules | 13:22 |
ganso | migration looks fine | 13:22 |
ganso | gouthamr: btw, I would like to take a look at CI results migrating snapshots | 13:23 |
gouthamr | ganso: ah, np.. yes.. the latter depends on your ocata improvements patch | 13:23 |
ganso | gouthamr: but we don't have tests that do this | 13:23 |
vponomaryov | vkmc, tbarron, markstur, ganso: https://bugs.launchpad.net/manila-image-elements/+bug/1657121 | 13:24 |
openstack | Launchpad bug 1657121 in manila-image-elements "Default set of protocols is expected to be nfs + cifs, but it is only nfs" [Critical,New] | 13:24 |
vkmc | vponomaryov, fixing that, thanks for the quick report | 13:24 |
*** dsariel has joined #openstack-manila | 13:25 | |
gouthamr | ganso: my CI isn't smart enough to process gerrit dependencies yet, i.e, lacks a "DependantPipelineManager" - Yogesh's writing some tests around your ocata improvements patch and running them against cDOT, he'll post test results on the patch.. | 13:26 |
ganso | gouthamr: thanks! | 13:26 |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila: Refactor Access Rules APIs https://review.openstack.org/369668 | 13:47 |
openstackgerrit | TommyLike proposed openstack/manila: Fix metadata's soft-delete error when deleting shares https://review.openstack.org/421170 | 13:55 |
*** tommylikehu_ has joined #openstack-manila | 13:58 | |
*** ianychoi has joined #openstack-manila | 14:13 | |
*** ociuhandu has joined #openstack-manila | 14:16 | |
*** gcb has joined #openstack-manila | 14:36 | |
*** porrua has joined #openstack-manila | 14:40 | |
*** dustins has quit IRC | 14:47 | |
bswartz | ganso tbarron markstur vkmc: ping re https://review.openstack.org/#/c/400411/ | 14:48 |
bswartz | guys ^ this change seems to have broken our generic driver jobs | 14:48 |
vkmc | bswartz, yes, vponomaryov reported the bug, I'm fixing it | 14:48 |
bswartz | according to vponomaryov it was previously possible to support NFS and CIFS at the same time, but after this change it is not | 14:49 |
bswartz | vkmc: this is somewhat urgent so I'm wondering if you plan to have a fix today or if we should temporarily revert your whole change? | 14:49 |
vkmc | bswartz, I'm planning to have a fix now | 14:49 |
bswartz | vkmc: like in the next few minutes? in an hour? | 14:50 |
vkmc | bswartz, like in the next few minutes | 14:50 |
bswartz | awesome ty | 14:50 |
vkmc | anytime | 14:50 |
tommylikehu | ping gouthamr | 14:51 |
gouthamr | tommylikehu: pong | 14:51 |
tommylikehu | hey gouthamr I would like to have a short talk with about your comments here | 14:52 |
tommylikehu | https://review.openstack.org/#/c/421170/2/manila/db/sqlalchemy/api.py | 14:52 |
tommylikehu | I would like to keep the deletion logic in share_delete method rather than the share_instance_deletion method | 14:52 |
gouthamr | tommylikehu: hmmm, then you'd rewrite share_delete to accept the same session | 14:53 |
gouthamr | tommylikehu: i don't see any value for doing that though.. | 14:53 |
tommylikehu | it's a basic crud action for share | 14:54 |
tommylikehu | gouthamr: one session could fail because we use session.begin inside another | 14:57 |
gouthamr | tommylikehu: yes, you'd like to bind the deletion to the same session, viz, include the line to delete metadata in the share_instance_delete method.. | 14:58 |
gouthamr | tommylikehu: the only place we use share_delete is in the share create API *if* we can't create on the database for some reason.. i don't see what can fail there though.. | 14:59 |
tommylikehu | gouthamr, oh so we just back to your first comment | 14:59 |
*** JoseMello has quit IRC | 15:05 | |
*** cknight has joined #openstack-manila | 15:05 | |
openstackgerrit | TommyLike proposed openstack/manila: Add manila-manage db purge command https://review.openstack.org/308212 | 15:13 |
*** pcaruana has quit IRC | 15:15 | |
*** nkrinner is now known as nkrinner_afk | 15:17 | |
openstackgerrit | Victoria Martinez de la Cruz proposed openstack/manila-image-elements: Changes default behaviour for image creation script https://review.openstack.org/421317 | 15:22 |
vkmc | vponomaryov, bswartz, tbarron ^ | 15:23 |
vponomaryov | tommylikehu: please, look at comment here -> https://review.openstack.org/#/c/308212/21/manila/db/sqlalchemy/api.py | 15:24 |
vponomaryov | tommylikehu: even if it was not failing with one of tables, it would be huge list of messages using old approach | 15:25 |
vponomaryov | tommylikehu: but it would be useful to log amount of deleted records per each DB table | 15:25 |
vponomaryov | tommylikehu: post-factum | 15:25 |
vponomaryov | tommylikehu: when they really got deleted | 15:25 |
tommylikehu | vponomaryov: thanks | 15:25 |
*** gcb has quit IRC | 15:26 | |
*** xyang_ has joined #openstack-manila | 15:27 | |
vponomaryov | tommylikehu: also what have you decided with gouthamr about https://review.openstack.org/#/c/421170/ ? | 15:28 |
openstackgerrit | TommyLike proposed openstack/manila: Fix metadata's soft-delete error when deleting shares https://review.openstack.org/421170 | 15:28 |
vponomaryov | tommylikehu: it is depenency for "purge feature" , de-facto | 15:28 |
tommylikehu | vponomaryov to delete the share metadata at the share_instance_delete method | 15:29 |
tommylikehu | I would like to add the dependecy at the commit message | 15:30 |
openstackgerrit | Clinton Knight proposed openstack/manila: Implement share revert to snapshot https://review.openstack.org/340502 | 15:31 |
*** akerr has joined #openstack-manila | 15:32 | |
ganso | tommylikehu: dependency of what? | 15:40 |
vponomaryov | ganso: https://review.openstack.org/#/c/308212 depends on https://review.openstack.org/#/c/421170 | 15:40 |
tommylikehu | the purge db feature patch is dependented on the bug fix one 421770 | 15:40 |
ganso | tommylikehu: use a "Depends-on:" or rebase on top | 15:41 |
tommylikehu | ganso: thanks, adding it | 15:42 |
ganso | vponomaryov, tbarron, bswartz, gouthamr: shall we get the gate fix merged? https://review.openstack.org/#/c/421317 | 15:42 |
*** david-lyle has joined #openstack-manila | 15:42 | |
*** xyang_ has quit IRC | 15:42 | |
vponomaryov | vkmc: do you like "default" approach? | 15:43 |
vponomaryov | that you propose? | 15:43 |
vponomaryov | I would like to see something more explicit | 15:43 |
vponomaryov | like "nfs_cifs" | 15:44 |
vponomaryov | or "cifs_nfs" | 15:44 |
vponomaryov | supporting both | 15:44 |
vponomaryov | for ease of usage | 15:44 |
vponomaryov | ganso: ^ | 15:44 |
ganso | vponomaryov: I am fine with "default" | 15:44 |
*** dustins has joined #openstack-manila | 15:45 | |
vponomaryov | ganso: come on, you just don't care )) | 15:46 |
vponomaryov | ganso: have you ever built service image using our manila-image-elements? )) | 15:46 |
vponomaryov | I would say "the more explicitness we have there the better" | 15:47 |
ganso | vponomaryov: the default is documented | 15:49 |
ganso | vponomaryov: user will use the same command, and produce the same result | 15:49 |
ganso | vponomaryov: I believe you are suggesting to change the internal variable value | 15:49 |
vponomaryov | ganso: the one that will be used with tox config | 15:50 |
vponomaryov | to reduce the need to read docs | 15:50 |
ganso | vponomaryov: go ahead and -1 the patch then | 15:53 |
openstackgerrit | TommyLike proposed openstack/manila: Fix metadata's soft-delete error when deleting shares https://review.openstack.org/421170 | 15:53 |
*** xyang_ has joined #openstack-manila | 15:55 | |
*** david-lyle has quit IRC | 15:55 | |
bswartz | ganso: sorry I was AFK, looking now | 15:59 |
bswartz | I'm happy with it if vponomaryov is -- I agree that "default" is less clear than "nfs+cifs" | 16:01 |
vponomaryov | bswartz: I will not be a blocker not having allies here )) | 16:02 |
*** akerr has quit IRC | 16:02 | |
*** rraja has quit IRC | 16:03 | |
bswartz | vponomaryov I'm your ally! | 16:03 |
tbarron | vponomaryov: vkmc ganso bswartz I would like to be able to say 'nfs cifs' or 'zfs nfs' or any combination but current approach looks fine to unblock | 16:03 |
bswartz | who is opposed to nfs+cifs instead of default? vkmc? | 16:04 |
vponomaryov | tbarron: it should be small change | 16:04 |
*** tommylikehu_ has quit IRC | 16:04 | |
vponomaryov | tbarron: to find substitution | 16:04 |
ganso | tbarron: you can, but you need to define 2 env_vars | 16:05 |
vponomaryov | tbarron: and, looks like, it was better to have old approach | 16:05 |
vponomaryov | tbarron: env var per protocol | 16:05 |
*** ociuhandu has quit IRC | 16:05 | |
ganso | tbarron: like, MANILA_SHARE_PROTO="custom" and OPTIONAL_ELEMENTS="manila-zfs manila-cifs manila-nfs" | 16:06 |
ganso | vponomaryov: also, it seems elif is trying to concatenate but it does not actually work | 16:06 |
openstackgerrit | TommyLike proposed openstack/manila: Add manila-manage db purge command https://review.openstack.org/308212 | 16:06 |
ganso | vponomaryov: since it will always enter 1 elif, not more than one | 16:06 |
tbarron | sorry, not paying that much attention, we're in real-time meeting elsewhere. If this patch unblocks why not go with it and then refine in another patch? | 16:07 |
ganso | tbarron: yea, we could go with it and fix logic in another patch, I'm in for unblocking now | 16:07 |
vponomaryov | ok | 16:07 |
*** david-lyle has joined #openstack-manila | 16:07 | |
ganso | gouthamr pulled the trigger | 16:08 |
ganso | gouthamr: xD | 16:08 |
*** absubram has joined #openstack-manila | 16:09 | |
gouthamr | smokin' gun | 16:11 |
*** bswartz has quit IRC | 16:13 | |
openstackgerrit | Merged openstack/manila-image-elements: Changes default behaviour for image creation script https://review.openstack.org/421317 | 16:14 |
markstur | So we don't have a good syntax for building w/ more than one protocol support other than the special default one | 16:15 |
markstur | I'd say that is OK for now, until someone needs it. | 16:15 |
markstur | I don't much like using "contains" and strings like cifs_nfs anyway. | 16:16 |
*** breitz has joined #openstack-manila | 16:17 | |
*** xinyanzhang has quit IRC | 16:19 | |
*** xinyanzhang has joined #openstack-manila | 16:19 | |
markstur | Oh maybe that script already works with -s nfs -s cifs | 16:20 |
markstur | nope | 16:20 |
vponomaryov | markstur: so grown up and sooooo too optimistic )) | 16:24 |
*** carthaca_ has joined #openstack-manila | 16:30 | |
*** bswartz has joined #openstack-manila | 16:31 | |
*** dustins has quit IRC | 16:34 | |
*** dustins_ has joined #openstack-manila | 16:34 | |
markstur | Did he just call me old? | 16:34 |
markstur | It's the dementia that makes me optimistic. :) | 16:35 |
gouthamr | ganso: take note, markstur might want to join us after this | 16:36 |
markstur | LOL. Did someone say "allies"? | 16:36 |
vponomaryov | gouthamr: join club of hating vponomaryov? ) | 16:36 |
markstur | </oppression> | 16:36 |
ganso | gouthamr: lol indeed, markstur is welcome to be a member of the club | 16:37 |
gouthamr | vponomaryov: lol :D hate is a strong word | 16:37 |
vponomaryov | gouthamr: strong "enough" ? ) | 16:37 |
gouthamr | vponomaryov: yeah, we're going to get you to buy in ATL | 16:38 |
markstur | I've always been a big fan of vponomaryov, but if I'm drafted by another team, then what can I do | 16:38 |
vponomaryov | markstur: every epoch ends sometime | 16:38 |
markstur | it's his philosophical wisdom that I just can't argue with | 16:40 |
vponomaryov | and control shot in the head: "every epoch ends sometime", so appreciate every minute you live in it | 16:42 |
vponomaryov | liek you do with manila project ^_^ | 16:42 |
vponomaryov | tommylikehu: here? | 16:43 |
vponomaryov | one small comment left in https://review.openstack.org/#/c/308212 to be addressed so we could merge it | 16:43 |
markstur | that first part was kind of dark. I'm gonna try to forget that and do the "appreciate every minute..." thing today | 16:43 |
vponomaryov | gouthamr: are you ok with https://review.openstack.org/#/c/421170/5 ? | 16:45 |
vkmc | sorry, I'm having some connection issues | 16:47 |
vkmc | so... I was planning to look for a way to enable users to pick more than one proto | 16:48 |
vkmc | using the nfs_cifs approach seemed not to be a good idea for now | 16:48 |
vkmc | since it doesn't scale very well | 16:49 |
*** dustins_ has quit IRC | 16:52 | |
*** dustins has joined #openstack-manila | 16:52 | |
markstur | vkmc: Not sure there is a best style to follow. With help being the only other flag it could just be cmd [-h] [opts...], but if you want to allow for more options you'd either keep the variable opts (protocols) at the end or I guess choose between along multiple -s or probably -s nfs,cifs,zfs. At least the comma thing is what the "mount" command does so it aligns with something | 16:54 |
markstur | s/along/allowing/ | 16:55 |
vponomaryov | gouthamr: do you have any preference merging one of your following changes first - https://review.openstack.org/#/c/419163 and https://review.openstack.org/#/c/369668 ? | 16:55 |
vkmc | markstur, yes, I was looking into that :) I was looking for a more fancy way of doing it since the checks for arrays in bash can get very complex with just a few combinations | 16:56 |
markstur | I'd use getopt | 16:57 |
gouthamr | vponomaryov: https://review.openstack.org/#/c/369668 can go in first | 17:03 |
markstur | vkmc: and you would just be concatenating onto OPTIONAL_ELEMENTS so you could do that in your current loop or with getopt. You'd just need to change the default to be set when needed instead of set and overwritten. | 17:04 |
vponomaryov | gouthamr: ok | 17:05 |
markstur | vkmc: but still it is speculative if no one needs it yet and could be simply cmd [-h] [OPTIONAL_ELEMENTS] | 17:05 |
markstur | someone out there probably has future plans for more opts tho or has strong feelings about command flags | 17:05 |
*** a-pugachev has quit IRC | 17:17 | |
*** yumiriam has quit IRC | 17:18 | |
*** yumiriam has joined #openstack-manila | 17:18 | |
ganso | bswartz, vponomaryov, gouthamr, xyang_, markstur, tbarron: Could you please review https://review.openstack.org/#/c/406305/ and https://review.openstack.org/#/c/345526/ when you have some review time? Thanks in advance | 17:23 |
ganso | cknight: ^ | 17:24 |
*** porrua has quit IRC | 17:30 | |
*** lpetrut has quit IRC | 17:34 | |
*** ociuhandu has joined #openstack-manila | 17:37 | |
ganso | bswartz: ping | 17:37 |
openstackgerrit | Alyson proposed openstack/python-manilaclient: Add mountable snapshots support to manila client https://review.openstack.org/345625 | 17:38 |
bswartz | ganso: I am reviewing that one, but my context keeps getting swapped | 17:45 |
bswartz | ganso: that change has been on the top of my list since last week | 17:46 |
ganso | bswartz: you're the PTL, you have context.is_admin :P (bad joke) | 17:46 |
ganso | bswartz: anyway, I have a question to ask | 17:48 |
bswartz | ok | 17:48 |
*** ociuhandu has quit IRC | 17:49 | |
ganso | bswartz: so, today we migrate shares with "manila migration-start share_x ubuntu@host2#pool2" < driver-assisted-options > | 17:49 |
ganso | bswartz: I tested something yesterday, I did "manila migration-start share_x ubuntu@host2#pool1 < driver-assisted-options > | 17:50 |
ganso | bswartz: pool1 does not exist in host2 | 17:50 |
ganso | bswartz: the current behavior is that it gets to the scheduler, the scheduler gets a bit confused, but it ultimately says that the share cannot be migrated to ubuntu@host2#pool1 | 17:50 |
bswartz | that sounds good,except for the confused part | 17:51 |
ganso | bswartz: the API layer validates up to ubuntu@host2 part... but to know which pools are members of each host, it needs to talk to the scheduler | 17:51 |
bswartz | it should be straightforward for the scheduler to determine that the destination is nonexistent | 17:51 |
bswartz | okay I see | 17:51 |
bswartz | well do you think it would be better if the api knew which pools existed? | 17:52 |
bswartz | or were you proposing some improvement on the scheduler side? | 17:52 |
ganso | bswartz: so unless I am missing something and all other existing methods are doing this ineficiently, we would need to send a synchronous RPC to the scheduler | 17:52 |
ganso | bswartz: in order to provide a response in the API layer | 17:52 |
ganso | bswartz: because, currently, it passes all API layer validations and sends the request to the scheduler, which becomes async and does not post results, the user will have to check for migration_error | 17:53 |
bswartz | ganso: I don't think there are any other cases of the API service looking at a pool name | 17:53 |
bswartz | so what "other existing methods" are you referring to? | 17:53 |
ganso | bswartz: but sending a synchronous RPC is bad for this case, it is ok for "manila pool-list" because it does only that | 17:53 |
ganso | bswartz: pool-list is an existing method | 17:54 |
bswartz | but that doesn't take a pool name input does it? | 17:54 |
ganso | bswartz: no it lists all pools | 17:54 |
bswartz | right | 17:54 |
bswartz | so there's no other case where the API input validation needs to validate a pool name | 17:55 |
bswartz | and API input validation is supposed to be fast | 17:55 |
ganso | bswartz: I am not aware of | 17:55 |
*** absubram has quit IRC | 17:55 | |
ganso | bswartz: yes | 17:55 |
bswartz | so ideally the api service would have a fast way of looking up valid pool names | 17:55 |
bswartz | remind me how we validate host names | 17:56 |
ganso | bswartz: so, option 1) we remain async and do not communicate to the user the seemingly obvious incorrect pool error. Or 2) we make a synchronous call which is bad | 17:56 |
ganso | bswartz: host names are saved in the database | 17:56 |
ganso | bswartz: pool names are not | 17:56 |
bswartz | how hard would it be to change that? | 17:56 |
ganso | bswartz: change to what? | 17:56 |
bswartz | to also make pool names stored in the database similar to host names | 17:57 |
bswartz | because that's my first instinct | 17:57 |
ganso | bswartz: cannot be done in ocata | 17:57 |
bswartz | follow an existing pattern that works well | 17:57 |
ganso | bswartz: we would need to design how to store and keep it updated | 17:57 |
bswartz | which table exactly? | 17:57 |
ganso | bswartz: we would need to figure out which table | 17:58 |
ganso | bswartz: or create one | 17:58 |
bswartz | I mean which table are we pulling the host names out of | 17:58 |
bswartz | is there only one? | 17:58 |
ganso | bswartz: services | 17:58 |
bswartz | yeah that's what I feared | 17:59 |
ganso | bswartz: services cannot be mapped to pools 1:1 | 17:59 |
bswartz | well no ofc now | 17:59 |
ganso | bswartz: so we can't just add a column | 17:59 |
bswartz | we could add a subtable though | 17:59 |
*** timcl has quit IRC | 18:00 | |
bswartz | mainly it's a question of how to keep the table up to date, because pools can technically appear and disappear without warning | 18:00 |
ganso | bswartz: yes | 18:00 |
ganso | bswartz: the scheduler would need to keep it updated on every update_stats call | 18:00 |
*** porrua has joined #openstack-manila | 18:00 | |
ganso | bswartz: which is how it keeps track of pools | 18:01 |
bswartz | that's not the only choice | 18:01 |
bswartz | the managers could be forced to do it | 18:01 |
*** timcl has joined #openstack-manila | 18:01 | |
ganso | bswartz: yea there are other specific points in the code that invoke update_stats besides the periodic_task | 18:02 |
vponomaryov | ganso: what is wrong about doing synchronius call to scheduler? | 18:02 |
*** lpetrut has joined #openstack-manila | 18:02 | |
vponomaryov | ganso: from your point of view? | 18:02 |
ganso | bswartz: but I still think the update_stats method would be a valid place to update it | 18:02 |
bswartz | ganso: well my specific thought was that the managers could be responsible for updating the pools table directly | 18:03 |
ganso | vponomaryov: it may take a while, services may not be in the same node, or have a long rabbit queue, be unresponsive, and the API layer will take longer to respond, and worse of all: does not scale well | 18:03 |
gouthamr | what's wrong with it failing in the scheduler? | 18:03 |
bswartz | gouthamr: that's probably what we'll have to do in ocata | 18:03 |
vponomaryov | ganso: not convinced | 18:04 |
bswartz | but it's suboptimal | 18:04 |
ganso | gouthamr: it does not communicate the error properly to the user | 18:04 |
ganso | gouthamr: we do not have user messages yet | 18:04 |
vponomaryov | it is good enough in scope of current architecture | 18:04 |
bswartz | optimal is that the information exists in the DB and the api can validate requests without making any RPC call | 18:04 |
gouthamr | ganso: by user you mean administrator, who can see the logs? | 18:04 |
ganso | vponomaryov: API should be fast, and in a HA environment it has enough variables slowing it down | 18:05 |
gouthamr | bswartz: +1 i agree it's optimal.. | 18:05 |
gouthamr | but i don't want to slow down the API that we sped up for the very purpose | 18:05 |
vponomaryov | ganso: HA has no diff compared to non-HA setup in current case | 18:05 |
ganso | gouthamr: yes. We are already doing that for "no valid host found" errors, but in that case the input parameter is valid | 18:05 |
gouthamr | it was a synchronous call before it was a cast.. | 18:05 |
vponomaryov | ganso: we are talkign about "migration" API | 18:06 |
gouthamr | there's a lot of validation taht we can do in the API if we can get the scheduler info | 18:06 |
vponomaryov | ganso: I, as a user of this API, expect it to be slow enough anyway | 18:06 |
gouthamr | takes screenshot ^ | 18:06 |
ganso | gouthamr: lol | 18:07 |
vponomaryov | gouthamr: you will use it on court? )) | 18:07 |
*** absubram has joined #openstack-manila | 18:07 | |
ganso | vponomaryov: it is mainly API semantics | 18:07 |
ganso | vponomaryov: anything that involves RPC can take up to 60 seconds | 18:07 |
ganso | vponomaryov: ^ synchronous RPCs | 18:07 |
gouthamr | vponomaryov: nope, it's a good laugh for the boring times http://imgur.com/a/VtJR8 :D | 18:08 |
vponomaryov | ganso: it is not worse than common DB call | 18:08 |
ganso | vponomaryov: APIs that perform validation should be instantenous | 18:08 |
ganso | vponomaryov: DB call already slows things down | 18:09 |
vponomaryov | ganso: DB call is expensive operation too, compared to common python operational time | 18:09 |
ganso | vponomaryov: but the API is already doing loads of DB calls | 18:10 |
ganso | vponomaryov: it cannot be worse than a RPC | 18:11 |
vponomaryov | ganso: that is why call of scheduler is not problem here | 18:11 |
gouthamr | vponomaryov ganso: any more concerns right away with https://review.openstack.org/#/c/369668 ? I can push up a patch before a slightly long meeting | 18:11 |
*** ociuhandu has joined #openstack-manila | 18:11 | |
ganso | gouthamr: haven't finished yet, but you can push | 18:11 |
gouthamr | sure. thanks for reviewing ganso, vponomaryov | 18:13 |
*** ociuhandu has quit IRC | 18:15 | |
*** xinyanzhang has quit IRC | 18:18 | |
*** xinyanzhang has joined #openstack-manila | 18:18 | |
*** kambiz has quit IRC | 18:28 | |
openstackgerrit | Merged openstack/manila: Fix metadata's soft-delete error when deleting shares https://review.openstack.org/421170 | 18:29 |
*** xyang_ has quit IRC | 18:31 | |
*** david-lyle has quit IRC | 18:47 | |
openstackgerrit | Rodrigo Barbieri proposed openstack/manila: Implement Revert-to-snapshot in HNAS Driver https://review.openstack.org/411923 | 18:48 |
*** porrua has quit IRC | 18:57 | |
*** porrua has joined #openstack-manila | 18:58 | |
*** yumiriam has quit IRC | 19:00 | |
*** xyang_ has joined #openstack-manila | 19:01 | |
*** tommylikehu has quit IRC | 19:40 | |
*** dsariel has quit IRC | 19:49 | |
*** david-lyle has joined #openstack-manila | 19:50 | |
*** timcl has quit IRC | 19:55 | |
openstackgerrit | Clinton Knight proposed openstack/manila: Implement share revert to snapshot https://review.openstack.org/340502 | 20:07 |
*** timcl has joined #openstack-manila | 20:13 | |
*** xyang_ has quit IRC | 20:18 | |
*** xyang_ has joined #openstack-manila | 20:20 | |
*** dsariel has joined #openstack-manila | 20:23 | |
*** absubram has quit IRC | 20:23 | |
*** mtanino has joined #openstack-manila | 20:28 | |
*** jprovazn has quit IRC | 20:31 | |
*** lpetrut has quit IRC | 20:47 | |
*** lpetrut has joined #openstack-manila | 20:49 | |
*** absubram has joined #openstack-manila | 20:54 | |
*** porrua has quit IRC | 21:00 | |
*** alyson_ has quit IRC | 21:07 | |
*** absubram has quit IRC | 21:11 | |
*** lpetrut has quit IRC | 21:13 | |
*** ganso has quit IRC | 21:14 | |
*** cdelatte has quit IRC | 21:17 | |
*** xyang_ has quit IRC | 21:18 | |
*** xyang_ has joined #openstack-manila | 21:19 | |
*** xyang_ has quit IRC | 21:36 | |
*** xyang_ has joined #openstack-manila | 21:37 | |
*** xyang_ has quit IRC | 21:38 | |
*** xyang_ has joined #openstack-manila | 21:39 | |
*** xyang_ has quit IRC | 21:40 | |
*** timcl has quit IRC | 21:49 | |
*** timcl has joined #openstack-manila | 21:50 | |
*** cknight has quit IRC | 21:52 | |
*** gouthamr has quit IRC | 22:01 | |
*** harlowja has quit IRC | 22:01 | |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila: NetApp cDOT: Add Intra-vserver migration support https://review.openstack.org/413783 | 22:10 |
*** dustins has quit IRC | 22:10 | |
openstackgerrit | Rodrigo Barbieri proposed openstack/manila: Implement Revert-to-snapshot in HNAS Driver https://review.openstack.org/411923 | 22:17 |
*** catintheroof has quit IRC | 22:20 | |
*** xyang_ has joined #openstack-manila | 22:35 | |
*** xyang_ has quit IRC | 22:36 | |
*** david-lyle has quit IRC | 22:51 | |
*** xyang_ has joined #openstack-manila | 22:57 | |
*** xyang_ has quit IRC | 22:59 | |
openstackgerrit | Helen Walsh proposed openstack/manila: VMAX manila plugin - Support for VMAX in Manila https://review.openstack.org/404859 | 23:00 |
*** tommylikehu_ has joined #openstack-manila | 23:11 | |
*** tommylikehu_ has quit IRC | 23:11 | |
*** tommylik_ has joined #openstack-manila | 23:11 | |
*** tommylik_ has quit IRC | 23:12 | |
*** xyang_ has joined #openstack-manila | 23:24 | |
*** xyang_ has quit IRC | 23:26 | |
*** gouthamr has joined #openstack-manila | 23:27 | |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila: Refactor Access Rules APIs https://review.openstack.org/369668 | 23:51 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!