openstackgerrit | Mark Sturdevant proposed openstack/manila: GPFS KNFS fix deny access to succeed when possible https://review.openstack.org/413762 | 00:04 |
---|---|---|
*** mtanino has quit IRC | 00:25 | |
*** dmellado has quit IRC | 00:29 | |
*** jcsp_ has joined #openstack-manila | 00:42 | |
*** xinyanzhang has quit IRC | 00:45 | |
*** jcsp has quit IRC | 00:45 | |
*** draynium has quit IRC | 00:45 | |
*** draynium has joined #openstack-manila | 00:46 | |
*** tuanluong has joined #openstack-manila | 00:56 | |
*** scottda has quit IRC | 00:57 | |
openstackgerrit | Tom Barron proposed openstack/manila: WIP - Remove NovaNetworkPlugin https://review.openstack.org/410450 | 01:00 |
*** dmellado has joined #openstack-manila | 01:03 | |
*** tinwood_holiday has quit IRC | 01:06 | |
*** scottda has joined #openstack-manila | 01:07 | |
*** tinwood has joined #openstack-manila | 01:07 | |
*** chatter has joined #openstack-manila | 01:08 | |
chatter | hey guys | 01:08 |
chatter | allah is doing | 01:09 |
chatter | sun is not doing allah is doing | 01:09 |
chatter | to accept islam say that i bear witness that there is no deity worthy of worship except allah and muhammad peace be upon him is his slave and messenger | 01:09 |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila: NetApp cDOT: Add Intra-vserver migration support https://review.openstack.org/413783 | 01:09 |
*** mtanino has joined #openstack-manila | 01:16 | |
*** chatter has quit IRC | 01:19 | |
*** dmellado has quit IRC | 01:21 | |
*** dmellado has joined #openstack-manila | 01:30 | |
*** catintheroof has quit IRC | 01:42 | |
*** xinyanzhang has joined #openstack-manila | 01:42 | |
*** wlhc has joined #openstack-manila | 01:47 | |
*** eharney has quit IRC | 02:22 | |
openstackgerrit | Zhenyu Zheng proposed openstack/manila: WIP use glance client https://review.openstack.org/413860 | 02:24 |
openstackgerrit | Zhenyu Zheng proposed openstack/manila: WIP use glance client https://review.openstack.org/413860 | 02:28 |
openstackgerrit | Zhenyu Zheng proposed openstack/manila: Replace assertDictMatch with assertDictEqual method in tests https://review.openstack.org/413867 | 02:42 |
openstackgerrit | Zhenyu Zheng proposed openstack/manila: Replace assertDictMatch with assertDictEqual method in tests https://review.openstack.org/413867 | 02:44 |
*** wlhc has quit IRC | 02:44 | |
*** wlhc has joined #openstack-manila | 02:45 | |
openstackgerrit | ZhaoBo proposed openstack/manila: Replace assertDictMatch with assertDictEqual method in tests https://review.openstack.org/413867 | 02:53 |
*** wlhc has quit IRC | 02:53 | |
*** wlhc has joined #openstack-manila | 02:53 | |
openstackgerrit | zhongjun proposed openstack/manila: Enable IPv6 in manila(network plugins and drivers) https://review.openstack.org/406776 | 03:06 |
*** mtanino has quit IRC | 03:10 | |
openstackgerrit | Tina Tang proposed openstack/manila: [Unity driver] VLAN enhancement https://review.openstack.org/410037 | 03:16 |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila: NetApp cDOT: Add Intra-vserver migration support https://review.openstack.org/413783 | 03:21 |
openstackgerrit | zhongjun proposed openstack/python-manilaclient: Add share_type filter to pool_list https://review.openstack.org/368528 | 03:37 |
*** gouthamr has quit IRC | 03:47 | |
openstackgerrit | wlhc proposed openstack/manila: Fix extend size return error,manila image base centos7 https://review.openstack.org/411631 | 03:52 |
openstackgerrit | ZhaoBo proposed openstack/manila: Remove the assertDictMatch in tests https://review.openstack.org/413901 | 04:01 |
*** tuanluong has quit IRC | 04:23 | |
*** senk has joined #openstack-manila | 05:01 | |
openstackgerrit | wlhc proposed openstack/manila: Fix extend size return error,manila image base centos7 https://review.openstack.org/411631 | 05:06 |
*** senk has quit IRC | 05:57 | |
*** pcaruana has joined #openstack-manila | 06:17 | |
*** tuanluong has joined #openstack-manila | 06:21 | |
*** lpetrut has joined #openstack-manila | 06:36 | |
*** senk has joined #openstack-manila | 06:37 | |
*** openstackgerrit has quit IRC | 06:48 | |
*** a-pugachev has joined #openstack-manila | 07:14 | |
*** lpetrut has quit IRC | 07:38 | |
*** openstackgerrit has joined #openstack-manila | 07:42 | |
openstackgerrit | Digvijay Ukirde proposed openstack/manila: Add support for manage/unmanage in GPFS driver https://review.openstack.org/374705 | 07:42 |
openstackgerrit | Digvijay Ukirde proposed openstack/manila: Add support for manage/unmanage in GPFS driver https://review.openstack.org/374705 | 07:46 |
*** openstackgerrit has quit IRC | 07:48 | |
*** gregsfortytwo has quit IRC | 08:20 | |
*** gregsfortytwo has joined #openstack-manila | 08:22 | |
*** a-pugachev has quit IRC | 08:32 | |
*** rraja has joined #openstack-manila | 08:33 | |
*** lpetrut has joined #openstack-manila | 08:40 | |
*** lpetrut has quit IRC | 08:54 | |
*** lpetrut has joined #openstack-manila | 08:54 | |
*** lpetrut has quit IRC | 09:08 | |
*** wlhc has quit IRC | 09:11 | |
*** breitz has quit IRC | 09:22 | |
*** breitz has joined #openstack-manila | 09:23 | |
*** ganso has joined #openstack-manila | 09:53 | |
*** a-pugachev has joined #openstack-manila | 10:09 | |
*** alyson_ has joined #openstack-manila | 10:11 | |
*** lpetrut has joined #openstack-manila | 10:27 | |
*** a-pugachev has quit IRC | 10:30 | |
*** a-pugachev has joined #openstack-manila | 10:31 | |
*** a-pugachev has quit IRC | 10:43 | |
*** a-pugachev has joined #openstack-manila | 10:45 | |
*** openstackgerrit has joined #openstack-manila | 11:25 | |
openstackgerrit | Tom Barron proposed openstack/manila: WIP - Remove NovaNetworkPlugin https://review.openstack.org/410450 | 11:25 |
openstackgerrit | Merged openstack/manila: GPFS KNFS: Do not reuse ssh prefix in loop https://review.openstack.org/413239 | 11:27 |
openstackgerrit | Pony Chou proposed openstack/manila: Add QNAP Manila Driver https://review.openstack.org/394703 | 11:30 |
*** ociuhandu has quit IRC | 11:33 | |
openstackgerrit | Valeriy Ponomaryov proposed openstack/manila: Manila Share Groups https://review.openstack.org/335093 | 11:33 |
openstackgerrit | Ivan Berezovskiy proposed openstack/puppet-manila: Pin reno version to reno>=0.1.1,!=2.0.0 https://review.openstack.org/414050 | 11:35 |
openstackgerrit | Valeriy Ponomaryov proposed openstack/manila: [DNM] Test 4.0 https://review.openstack.org/413737 | 11:38 |
openstackgerrit | Valeriy Ponomaryov proposed openstack/manila: Manila Share Groups https://review.openstack.org/335093 | 11:39 |
openstackgerrit | Valeriy Ponomaryov proposed openstack/manila: [DNM] Test 4.0 https://review.openstack.org/413737 | 11:40 |
openstackgerrit | Valeriy Ponomaryov proposed openstack/manila: Manila Share Groups https://review.openstack.org/335093 | 11:43 |
openstackgerrit | Valeriy Ponomaryov proposed openstack/manila: [DNM] Test 4.0 https://review.openstack.org/413737 | 11:44 |
*** jcsp_ has quit IRC | 11:47 | |
*** dsariel has joined #openstack-manila | 12:01 | |
*** tuanluong has quit IRC | 12:05 | |
openstackgerrit | Valeriy Ponomaryov proposed openstack/python-manilaclient: [DNM] Test share group client changes https://review.openstack.org/412587 | 12:14 |
*** porrua has joined #openstack-manila | 12:14 | |
openstackgerrit | Valeriy Ponomaryov proposed openstack/manila: Rename consistency group modules to share groups https://review.openstack.org/409864 | 12:15 |
openstackgerrit | Valeriy Ponomaryov proposed openstack/manila: Manila Share Groups https://review.openstack.org/335093 | 12:15 |
openstackgerrit | Valeriy Ponomaryov proposed openstack/manila: [DNM] Test 4.0 https://review.openstack.org/413737 | 12:15 |
*** ociuhandu has joined #openstack-manila | 12:20 | |
*** furlongm_ has quit IRC | 12:23 | |
*** furlongm has joined #openstack-manila | 12:23 | |
*** furlongm has quit IRC | 12:25 | |
*** furlongm has joined #openstack-manila | 12:26 | |
*** JoseMello has joined #openstack-manila | 12:52 | |
*** gouthamr has joined #openstack-manila | 13:00 | |
*** gouthamr has quit IRC | 13:19 | |
*** gouthamr has joined #openstack-manila | 13:20 | |
openstackgerrit | wlhc proposed openstack/manila: Fix extend size return error,manila image base centos7 https://review.openstack.org/411631 | 13:21 |
*** chlong has joined #openstack-manila | 13:23 | |
*** JoseMello_ has joined #openstack-manila | 13:25 | |
*** JoseMello has quit IRC | 13:26 | |
*** JoseMello_ is now known as JoseMello | 13:26 | |
openstackgerrit | wlhc proposed openstack/manila: Fix extend size return error,manila image base centos7 https://review.openstack.org/411631 | 13:37 |
*** tommylikehu_ has joined #openstack-manila | 13:39 | |
*** tommylikehu_ has quit IRC | 13:41 | |
*** tommylikehu_ has joined #openstack-manila | 13:41 | |
ganso | bswartz: ping | 14:25 |
openstackgerrit | Valeriy Ponomaryov proposed openstack/manila: Manila Share Groups https://review.openstack.org/335093 | 14:29 |
openstackgerrit | Valeriy Ponomaryov proposed openstack/manila: [DNM] Test 4.0 https://review.openstack.org/413737 | 14:29 |
*** eharney has joined #openstack-manila | 14:30 | |
bswartz | ganso: pong | 14:33 |
ganso | bswartz: Hi Ben. Isn't driver features and refactors included in the driver proposal deadline? | 14:33 |
ganso | bswartz: *Aren't | 14:33 |
bswartz | ganso: huge factors are | 14:34 |
bswartz | simply adding new features or doing small refactors can be done up to the FPF | 14:34 |
ganso | bswartz: oh so the deadline for any new driver feature is the FPF (2 weeks prior to FF) ? | 14:35 |
bswartz | yes | 14:35 |
ganso | bswartz: ok, thanks! | 14:36 |
bswartz | the only reason we called out refactor patches is because some vendors have made giant refactor patches (like 10K lines) to their drivers and it was as hard to review as a whole new driver | 14:36 |
*** eharney has quit IRC | 14:37 | |
ganso | bswartz: for some reason I had clear as day that the deadline was Dec 19th, my team and I prioritized the development of features to meet this deadline | 14:38 |
ganso | gouthamr: sorry for the -2 ^ | 14:38 |
tommylikehu_ | any topic for today's irc meeting? | 14:41 |
tommylikehu_ | bswartz:) | 14:41 |
bswartz | yeah let me fix the agenda | 14:41 |
bswartz | okay I reset the meeting agenda | 14:43 |
bswartz | add any new topics between (1) and (2) | 14:43 |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila: Fix Migration test variable injection in CI https://review.openstack.org/414180 | 14:43 |
bswartz | we'll need to discuss if we want to meet next week -- it's probably vacation for many of us | 14:44 |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila: Fix Migration test variable injection in CI https://review.openstack.org/414180 | 14:44 |
*** a-pugachev has quit IRC | 14:49 | |
tommylikehu_ | bswartz: thanks I don't have any topic this time. when will you be back from holiday? | 14:49 |
*** cknight has joined #openstack-manila | 14:50 | |
*** eharney has joined #openstack-manila | 14:50 | |
tommylikehu_ | hey cknight could you spend some time on this patch? https://review.openstack.org/#/c/308212/ | 14:52 |
cknight | tommylikehu: I can look at it. | 14:53 |
*** a-pugachev has joined #openstack-manila | 14:54 | |
tommylikehu_ | cknight: thanks | 14:54 |
tommylikehu_ | hey gouthamr | 14:54 |
gouthamr | tommylikehu_: hey.. | 14:54 |
tommylikehu_ | what do you mean by test *all* resource for this patch:https://review.openstack.org/#/c/308212/ | 14:54 |
cknight | ganso: Did you get a chance to try the create_share_from_snapshot_support patch? It's green and has a +2, and the client patch is also up. | 14:54 |
gouthamr | tommylikehu_: you need to add some rows into all the models that we have... | 14:55 |
ganso | cknight: not yet | 14:55 |
bswartz | tommylikehu_: most people in the US will have next week off, and probably Jan 2 as well | 14:55 |
tommylikehu_ | bswartz: so only ganso, gouthamr, vponomaryov would be available by then? | 14:57 |
bswartz | gouthamr should be out too (he's US-based) | 14:58 |
bswartz | I know vponomaryov will be on vacation | 14:58 |
tommylikehu_ | gouthamr: I think there is no need to test all the models there | 14:58 |
tommylikehu_ | bswartz: wow | 14:58 |
gouthamr | tommylikehu_: it's going to be slow, all of us will be on vacation afaik | 14:58 |
ganso | tommylikehu_: I will be on vacation too | 14:59 |
tommylikehu_ | gouthamr, bswartz, ganso : fine, I can review these myself. | 14:59 |
bswartz | okay it looks like we know about the meeting next week then... | 15:00 |
tommylikehu_ | yes | 15:00 |
bswartz | we can cover it during announcements | 15:00 |
bswartz | as soon as freezer ends we'll start up | 15:00 |
gouthamr | tommylikehu_: there is, see comments from tbarron and ganso.. the test coverage is low now.. only shares and share instances are covered; how about snapshots, networks, share servers, consistency-groups, quotas - at least these models must have tests... | 15:00 |
ganso | gouthamr: +1 | 15:00 |
tommylikehu_ | gouthamr: ganso, ok ~ | 15:01 |
gouthamr | tommylikehu_: share types, services, export locations, access rules as well; | 15:02 |
*** xyang_ has joined #openstack-manila | 15:03 | |
*** mtanino has joined #openstack-manila | 15:03 | |
tommylikehu_ | gouthamr, ganso we are using different testcases testing one logic :) | 15:04 |
gouthamr | tommylikehu_: yep, we're trying to protect the foreign key relationships | 15:05 |
openstackgerrit | Emilien Macchi proposed openstack/puppet-manila: acceptance: stop testing nfs-ganesha backend https://review.openstack.org/414189 | 15:09 |
*** senk has quit IRC | 15:11 | |
openstackgerrit | Emilien Macchi proposed openstack/puppet-manila: Pin reno version to reno>=0.1.1,!=2.0.0 https://review.openstack.org/414050 | 15:13 |
*** akerr has joined #openstack-manila | 15:20 | |
openstackgerrit | Pony Chou proposed openstack/manila: Add QNAP Manila Driver https://review.openstack.org/394703 | 15:31 |
*** a-pugachev has quit IRC | 15:32 | |
*** mtan_____ has joined #openstack-manila | 15:34 | |
*** mtanino has quit IRC | 15:35 | |
*** a-pugachev has joined #openstack-manila | 15:35 | |
openstackgerrit | wlhc proposed openstack/manila: Fix extend size return error,manila image base centos7 https://review.openstack.org/411631 | 15:43 |
*** tommylikehu_ has quit IRC | 15:43 | |
openstackgerrit | Tom Barron proposed openstack/manila: WIP - Remove NovaNetworkPlugin https://review.openstack.org/410450 | 15:44 |
*** dsariel has quit IRC | 15:45 | |
bswartz | ganso: ping | 16:01 |
ganso | bswartz: pong | 16:02 |
gouthamr | ganso: hey, so previously this "resync" (or recovery, i forget which one) behavior was tied to the access-deny API | 16:02 |
gouthamr | ganso: i disagree with that, but i understand that it was done so because we didn't have per-access-rule states.. . | 16:02 |
gouthamr | ganso: i think this needs an API | 16:02 |
gouthamr | of its own | 16:02 |
bswartz | what? | 16:02 |
gouthamr | however, i am still unconvinced who cares about such an api | 16:02 |
ganso | bswartz, gouthamr: we have agreed before that having an API to fix things is very ugly | 16:02 |
markstur | for testint | 16:02 |
markstur | testing | 16:02 |
bswartz | gouthamr: please no new API | 16:02 |
ganso | bswartz, gouthamr: so we need to detect the error scenario, to trigger the resync only in this case | 16:03 |
gouthamr | bswartz ganso: i'm agreeing with you, but i refuse to understand why we should hide this into an existing API | 16:03 |
bswartz | all that we need IMO is for managers to look at the share access rule states on startup and to go fix anything that's in progress | 16:03 |
gouthamr | bswartz ganso: there's nothing stopping the driver to process "access-rules" and ensure resyncs on every update-access call | 16:04 |
bswartz | that's part of the ensure_share discussion we haven't had yet | 16:04 |
bswartz | gouthamr: +1 | 16:04 |
ganso | gouthamr: drivers don't look at "access_rules" in every case | 16:05 |
ganso | gouthamr: we have approved that behavior | 16:05 |
ganso | gouthamr: so we are kinda guilty here | 16:05 |
bswartz | ganso: only in the limited case where we know the old access rules were in sync and we're simply adding or deleting 1 rule | 16:05 |
ganso | bswartz: but according to the new spec, we only have this case now | 16:06 |
ganso | bswartz: that's not limited | 16:06 |
ganso | bswartz: I believe it is the norm | 16:06 |
gouthamr | ganso: "denying" rules will not be in access-rules, but "applying" will | 16:07 |
bswartz | ganso: any time you add rules faster than the backend can apply them we end up batching multiple rules in one update | 16:07 |
ganso | bswartz: still, we use the add_rules and delete_rules variables, in that case, the driver will not look at the "access_rules" variable, so it cannot correct itself | 16:07 |
gouthamr | ganso: i.e, "access-rules" will contain all rules that must exist on the backend; "add_rules" will contain "applying" rules and "delete_rules" will contain "denying" riules | 16:08 |
gouthamr | rules* | 16:08 |
gouthamr | ganso: the add_rules and delete_rules parameters are for the benefit of iirc 1 driver | 16:08 |
tbarron | ganso: are you arguing for a flag that says "do a full refresh" so the driver will do that rather than just applying the delta | 16:08 |
ganso | gouthamr: what if it successively cannot apply/deny a rule? drivers don't maintain history of attempts, and they don't look at rule 'state' to know if they were in error before | 16:09 |
gouthamr | ganso: drivers that can sync rules atomically must ignore add_rules | 16:09 |
ganso | tbarron: we have that "flag" implemented, we signal it through empty add_rules and delete_rules lists | 16:09 |
ganso | gouthamr: yes, those drivers will not have problems | 16:09 |
ganso | gouthamr: and it is a lot more than 1 driver | 16:09 |
ganso | gouthamr: initially it was just ceph | 16:10 |
ganso | gouthamr: but several drivers followed that path later | 16:10 |
gouthamr | ganso: hmmm.. then that must be some misunderstanding of the documentation | 16:10 |
markstur | Most drivers only do the resync if there add and deletes are both [] | 16:11 |
ganso | markstur: exactly | 16:11 |
gouthamr | :( | 16:11 |
ganso | my idea of solution is: let's detect when error's occurred and trigger resync on the drivers | 16:11 |
markstur | It could be an optimization, but also I think it just was a way to use the old code and introduce less new risk | 16:11 |
markstur | but that leaves the resync code untest I think in many cases | 16:12 |
tbarron | ganso: I understand how we know to do the bswartz resync use case, but how would we detect your circumstance? | 16:12 |
*** tommylikehu_ has joined #openstack-manila | 16:12 | |
openstackgerrit | Valeriy Ponomaryov proposed openstack/manila: [Tempest] Add functional tests for share groups feature https://review.openstack.org/355264 | 16:12 |
ganso | previously we had a mess of resyncs triggered without proper reason (currently it is like that), let's forget that | 16:13 |
ganso | so if a rule is in error | 16:13 |
*** xinyanzhang has quit IRC | 16:13 | |
ganso | and we try to deny it, and it fails again | 16:13 |
ganso | let's trigger the resync within the same request | 16:13 |
ganso | applying or denying rules that fail end up in error, which the user will try to deny | 16:14 |
gouthamr | ganso: a deny should never fail | 16:14 |
markstur | a deny can fail | 16:14 |
gouthamr | how? | 16:14 |
ganso | gouthamr: drivers already handle the deny case where a rule does not exist, they don't raise exceptions | 16:14 |
markstur | Connection problem to the backend | 16:14 |
ganso | gouthamr: but if it actually fails denying, it will fail | 16:14 |
*** JoseMello has quit IRC | 16:14 | |
markstur | If the backend says that access might exist but I can't delete it or verify it right now | 16:15 |
gouthamr | okay, so then it works as expected - we set the rule to error and the user retries | 16:15 |
ganso | gouthamr: the user will naturally try to deny the rule | 16:15 |
ganso | gouthamr: if deny fails, we have a problem | 16:15 |
gouthamr | user can retry denying until the deny gets through, or call an administrator... where had the driver lost its "sync" of access rules here? | 16:16 |
tbarron | ganso: why would a refresh succeed when the denies are consistently failing? | 16:16 |
ganso | tbarron: because the problem could prevent new rules from being applied | 16:16 |
ganso | tbarron: so the new rules would transition to error | 16:17 |
ganso | tbarron: they are in manila DB, but they are not in the backend | 16:17 |
*** tommylikehu_ has quit IRC | 16:17 | |
*** nkrinner_afk has quit IRC | 16:17 | |
ganso | tbarron: so the resync would wipe all the rules and tell the backend the correct rules | 16:18 |
tbarron | ganso: so I like the idea of the driver having the smarts to ask for a resync/refresh rather than the manager assuming that because two denies failed in a row it should force a refresh/resync | 16:18 |
gouthamr | ganso: o.O | 16:18 |
gouthamr | ganso: wipe out all rules sounds drastic | 16:18 |
ganso | tbarron: except that the driver may not know where to ask for a resync, that would be a new behavior we would need to introduce | 16:18 |
tbarron | ganso: drivers that need that should ask for it, not make a rule for everyone | 16:18 |
tbarron | ganso: yes, it would be new, but I worry about the manager using that heuristic inappropriately | 16:19 |
ganso | tbarron: currently it is using it inappropriately | 16:19 |
ganso | gouthamr: and we are currently wiping all the rules every time we add 2 rules very fast | 16:19 |
ganso | gouthamr: which is incorrect trigger | 16:20 |
ganso | tbarron: a specific exception would be nice | 16:20 |
ganso | tbarron: and would be a minimal amount of work | 16:20 |
gouthamr | ganso: we'll do it even if it means a lot of work, but i'm still unconvinced about this problem. existing drivers ignoring access_rules sounds like bad reading of the intent of update_access... by ensuring that we're sending the right information in add_rules and delete_rules, we're ensuring the right behavior on those backends that have to genuinely ignore access_rules | 16:22 |
*** senk has joined #openstack-manila | 16:23 | |
gouthamr | ganso: i'd like to see a vendor driver complaining that their backend is getting out of sync with the manila database, can we then consider the changes you're proposing? | 16:24 |
*** cknight1 has joined #openstack-manila | 16:25 | |
gouthamr | ganso: add_rules and delete_rules are essentially "allow_access" and "deny_access" - with the magic that the driver can use the "access_rules" parameter to perform resyncs at will | 16:26 |
gouthamr | ganso: for those backends that can't atomically commit a bunch of rules ^ | 16:26 |
*** cknight has quit IRC | 16:26 | |
tbarron | yeah, that's kinda where I was going to go - arguing against my "request a resync" - the info is already there, so the driver doesn't need to say "please make me resync", it can just do it. | 16:27 |
ganso | gouthamr: ok, I have yet to see the type of problems that may arise after the new spec implementation, I know there is some confidence in sending the correct information in add_rules and delete_rules, and the mechanism is handling the concurrency now much better than it previously was when we had the old approach. One of my backends does not run into this | 16:27 |
ganso | problem, although the other may, and I have yet to test that with the new spec implementation, but in that case, as you said, I can fix the problem by doing the resync myself by looking at the "access_rules" var. | 16:27 |
bswartz | I'm still following this discussion | 16:27 |
gouthamr | tbarron: +1 - if the driver can raise an "ResyncMe" exception, it knows it is out of sync, so it can use the access_rules parameter | 16:28 |
tbarron | gouthamr: +1 | 16:28 |
bswartz | I think maybe part of the confusion is that the implementation is evolving and some people are thinking about the old implementation and some people are thinking about the new one? | 16:28 |
ganso | gouthamr: but in that case it could at the access_rules itself instead of raising that exception | 16:28 |
ganso | tbarron: we just found out that the exception is unecessary | 16:28 |
tbarron | that leaves us with the restart share service case, where a genuine resync would be triggered by sending empty add and delete rules lists | 16:28 |
tbarron | ganso: +1 | 16:29 |
ganso | tbarron: from the spec: On restarting the share-manager service, the ‘recovery’ step for access rules will be updated. All rules in ‘applying’ state will be reverted to ‘queued_to_apply’ before requesting the driver to sync access rules for a given share instance. | 16:29 |
tbarron | ganso: that sound right to me | 16:30 |
ganso | gouthamr: what if reseting it back to applying leads to error because the service got stopped right after it applied in the backend, but not yet set to active in manila DB? | 16:30 |
gouthamr | ganso: why would it lead to an error? | 16:31 |
gouthamr | ganso: incomplete rule addition on the back end? | 16:31 |
ganso | gouthamr: either that or ShareAccessExists | 16:31 |
gouthamr | ganso: ShareAccessExists should never be raised by a backend | 16:32 |
ganso | gouthamr: the backend can swallow a ShareAccessExists | 16:32 |
gouthamr | ganso: according to manila ShareAccessExists has already been checked at teh API | 16:32 |
tbarron | backends should ignore add for rule that is already there or delete for rule that isn't there | 16:32 |
ganso | gouthamr: this is not at the API, this is when manager is restarted | 16:32 |
gouthamr | ganso: yep.. don't raise ShareAccessExists -> that's a manila API exception. the manager will not expect that | 16:33 |
ganso | gouthamr: anyway, we have yet to see if it causes problems for a certain vendor | 16:33 |
tbarron | ? | 16:33 |
tbarron | something inherent in a backend or just a bug? | 16:34 |
gouthamr | ganso: i'll update the driver docstring... | 16:34 |
ganso | tbarron: probably a scenario not covered by a vendor | 16:34 |
gouthamr | ShareAccessExists? not sure... | 16:34 |
ganso | gouthamr: no, other problems | 16:34 |
ganso | gouthamr, tbarron: I mean, I presume most problems may arise from drivers failing while facing some inconsistency between what their being asked to do and what is on their backend. But as you said, they already have "access_rules", so they should know what to do with the data and fix themselves | 16:36 |
ganso | gouthamr: Could you please update the docstring with this guideline? | 16:36 |
gouthamr | ganso vponomaryov tbarron bswartz markstur xyang_ toabctl: Can I please haz +2/+W on this: https://review.openstack.org/#/c/414180/ -> it's a CI bug that i don't want to push 24 hours for :( | 16:36 |
gouthamr | ^ i'd like to report migration tests on teh netapp CI | 16:36 |
markstur | gouthamr: So don't tell vponomaryov? Is that what you are saying? | 16:37 |
bswartz | gouthamr: you're going to run afoul of the 24 hour rule | 16:37 |
bswartz | oh I see you addressed that | 16:37 |
*** senk has quit IRC | 16:37 | |
gouthamr | :P #notmysanta | 16:38 |
ganso | lol | 16:39 |
bswartz | gouthamr: this is a perfect example of a misuse of a trivial fix | 16:39 |
gouthamr | ganso: sure thing.. i can fix the docstring | 16:39 |
bswartz | trivial fixes are truly trivial | 16:39 |
bswartz | this actually fixes a bug | 16:39 |
gouthamr | bswartz: but it is a TrivialFix, our tests don't assume multi-backend, but our CI scripts do | 16:40 |
gouthamr | bswartz: so there's no bug in the project... | 16:40 |
ganso | gouthamr: thanks | 16:40 |
bswartz | gouthamr: then it's a small RFE | 16:40 |
gouthamr | :D | 16:40 |
bswartz | at this point in the release you don't need a LP bug for every change | 16:41 |
gouthamr | bswartz: "launchpad is too limited for that" | 16:41 |
markstur | gouthamr: If it is so trivial, then how did it break 3rd-party CI? | 16:41 |
tbarron | gouthamr: run_host_assisted_migration_tests will be set to True by default for all drivers with this change, right? | 16:41 |
bswartz | just don't abuse trivial fix when you don't feel like doing the paperwork | 16:41 |
vponomaryov | gouthamr: tbarron is right, you change logic there | 16:41 |
vponomaryov | gouthamr: so, you fix yuors and force some other CI fail and add its own fix too | 16:42 |
gouthamr | tbarron: good catch. I didn't see that option was defaulting to True.. i might need ganso's help to fix that | 16:42 |
gouthamr | vponomaryov: see why i asked you for review | 16:42 |
ganso | humm indeed we should not break the existing CI, although the patch proposes the behavior we want to have | 16:43 |
ganso | that is showing which CI's are running single-backend and do not have host-assisted-migration tests disabled explicitely | 16:44 |
ganso | because, back then that wouldn't make sense | 16:44 |
tbarron | ganso: glad you added that last sentence :D | 16:44 |
ganso | gouthamr: our only solution would to change the default to False, which would cause third-party CI's to have their migration tests automatically disabled, whereas they were running before | 16:45 |
ganso | gouthamr: would *be | 16:45 |
ganso | gouthamr: I don't fully agree with that solution | 16:46 |
vponomaryov | ganso: how many words when the fix is simple ) | 16:46 |
gouthamr | ganso: we've already enabled this flag on the first party drivers where necessary? | 16:46 |
vponomaryov | gouthamr: just add "new" logic, that you will enable explicitly | 16:46 |
ganso | gouthamr: I don't think so, it is running automatically because of previous condition | 16:46 |
gouthamr | vponomaryov ganso: okay, i get it - it'll default to False but we'll enable it for all first-party drivers - and disable it for the dummy driver? | 16:48 |
markstur | trivial? | 16:48 |
ganso | markstur, vponomaryov: proper solution will be non-trivial | 16:48 |
gouthamr | yeah, sorry. i'll do the paperwork | 16:49 |
vponomaryov | markstur: the most complicated trivial fix among all trivial fixes ) | 16:49 |
markstur | vponomaryov: Some day we'll look back and say "remember that trivial fix gouthamr started back in 2016..." | 16:52 |
* gouthamr goodtimes | 16:53 | |
markstur | lol | 16:53 |
gouthamr | vponomaryov: if we have variables for many of those test skips, why do we use iniset to $TEMPEST_CONFIG again? https://github.com/openstack/manila/blob/master/contrib/ci/post_test_hook.sh#L159 | 16:56 |
vponomaryov | gouthamr: again? | 16:57 |
vponomaryov | it is set only once | 16:57 |
gouthamr | vponomaryov: oh.. i see the pattern.. need to fix a couple of inconsistencies | 17:03 |
*** senk has joined #openstack-manila | 17:15 | |
*** porrua has quit IRC | 17:18 | |
*** tommylikehu_ has joined #openstack-manila | 17:25 | |
*** xyang_ has quit IRC | 17:27 | |
openstackgerrit | Pony Chou proposed openstack/manila: Add QNAP Manila Driver https://review.openstack.org/394703 | 17:46 |
*** ociuhandu has quit IRC | 17:48 | |
*** senk has quit IRC | 17:56 | |
*** akerr has quit IRC | 17:57 | |
*** porrua has joined #openstack-manila | 17:59 | |
*** lpetrut has quit IRC | 18:13 | |
ganso | has anyone experienced: "PasteAppNotFound: Could not load paste app 'osapi_share' from /etc/manila/api-paste.ini" upon updating to latest version of manila? | 18:14 |
openstackgerrit | Akira KAMIO proposed openstack/manila: Fix nfs server service name for rhel, suse https://review.openstack.org/407846 | 18:20 |
*** ociuhandu has joined #openstack-manila | 18:23 | |
*** xyang_ has joined #openstack-manila | 18:30 | |
*** xyang_ has quit IRC | 18:31 | |
*** lpetrut has joined #openstack-manila | 18:33 | |
*** senk has joined #openstack-manila | 18:35 | |
openstackgerrit | Akira KAMIO proposed openstack/manila: Fix nfs server service name for rhel, suse https://review.openstack.org/407846 | 18:40 |
*** a-pugachev has quit IRC | 18:42 | |
*** xyang_ has joined #openstack-manila | 18:44 | |
*** lpetrut has quit IRC | 18:46 | |
openstackgerrit | Akira KAMIO proposed openstack/manila: Fix nfs server service name for rhel, suse https://review.openstack.org/407846 | 18:52 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/manila: Updated from global requirements https://review.openstack.org/414286 | 19:03 |
*** lpetrut has joined #openstack-manila | 19:06 | |
*** cknight1 has quit IRC | 19:15 | |
openstackgerrit | Valeriy Ponomaryov proposed openstack/python-manilaclient: [DNM] Test share group client changes https://review.openstack.org/412587 | 19:20 |
*** senk has quit IRC | 19:23 | |
*** assassin has quit IRC | 19:50 | |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila: Fix test variable injection in CI https://review.openstack.org/414323 | 20:14 |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila: Fix test variable injection in CI https://review.openstack.org/414180 | 20:15 |
*** xyang1 has joined #openstack-manila | 20:15 | |
openstackgerrit | Merged openstack/puppet-manila: acceptance: stop testing nfs-ganesha backend https://review.openstack.org/414189 | 20:25 |
openstackgerrit | Merged openstack/puppet-manila: Pin reno version to reno>=0.1.1,!=2.0.0 https://review.openstack.org/414050 | 20:26 |
*** porrua has quit IRC | 20:34 | |
*** rraja has quit IRC | 20:40 | |
*** rraja has joined #openstack-manila | 20:43 | |
*** rraja has quit IRC | 20:44 | |
*** mtan_____ has quit IRC | 21:09 | |
*** cknight has joined #openstack-manila | 21:36 | |
*** eharney has quit IRC | 21:42 | |
*** gouthamr has quit IRC | 21:46 | |
*** cknight has quit IRC | 22:00 | |
*** alyson_ has quit IRC | 22:06 | |
*** ganso has quit IRC | 22:23 | |
*** chlong has quit IRC | 22:34 | |
*** chlong has joined #openstack-manila | 22:41 | |
*** furlongm has quit IRC | 22:45 | |
*** tommylikehu_ has quit IRC | 22:46 | |
*** tommylikehu_ has joined #openstack-manila | 22:46 | |
*** tommylikehu_ has quit IRC | 22:48 | |
*** tommylikehu_ has joined #openstack-manila | 22:48 | |
*** tommylikehu_ has quit IRC | 22:52 | |
*** tommylikehu_ has joined #openstack-manila | 23:05 | |
*** tommylikehu_ has quit IRC | 23:08 | |
*** xyang1 has quit IRC | 23:25 | |
*** cknight has joined #openstack-manila | 23:29 | |
*** lpetrut has quit IRC | 23:31 | |
*** gouthamr has joined #openstack-manila | 23:50 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!