Tuesday, 2021-02-23

*** tosky has quit IRC00:38
*** carloss has quit IRC01:14
*** LinPeiWen has joined #openstack-manila02:25
openstackgerritGoutham Pacha Ravi proposed openstack/manila master: Part 1 - Add RBAC protection tests  https://review.opendev.org/c/openstack/manila/+/77704704:53
openstackgerritGoutham Pacha Ravi proposed openstack/manila master: Part 2 - Add RBAC protection tests  https://review.opendev.org/c/openstack/manila/+/77704804:53
openstackgerritGoutham Pacha Ravi proposed openstack/manila master: Remove deprecated public share policies  https://review.opendev.org/c/openstack/manila/+/76346804:54
openstackgerritGoutham Pacha Ravi proposed openstack/manila master: Remove deprecated public share policies  https://review.opendev.org/c/openstack/manila/+/76346804:55
*** LinPeiWen has quit IRC06:18
*** vishalmanchanda has joined #openstack-manila06:24
*** LinPeiWen has joined #openstack-manila06:43
*** thefuture__ has joined #openstack-manila07:08
*** hoonetorg has quit IRC07:38
*** thefuture__ has quit IRC07:55
*** tosky has joined #openstack-manila08:50
*** LinPeiWen has quit IRC09:16
*** noonedeadpunk has quit IRC09:26
*** noonedeadpunk has joined #openstack-manila09:29
*** lpetrut has joined #openstack-manila09:35
*** LinPeiWen has joined #openstack-manila10:19
*** iurygregory_ has joined #openstack-manila11:00
*** iurygregory has quit IRC11:01
*** iurygregory_ is now known as iurygregory11:06
*** carloss has joined #openstack-manila11:16
*** jv_ has quit IRC11:52
openstackgerritkiran pawar proposed openstack/manila master: Doc: Add profiler support documentation  https://review.opendev.org/c/openstack/manila/+/77709611:56
*** jv_ has joined #openstack-manila12:05
*** LinPeiWen has quit IRC12:23
*** jv_ has quit IRC12:24
openstackgerritDina Saparbaeva proposed openstack/manila-ui master: Addition of share shrinking feature to Manila-UI  https://review.opendev.org/c/openstack/manila-ui/+/76701712:33
*** vishalmanchanda has quit IRC14:33
*** jv_ has joined #openstack-manila14:58
openstackgerritGoutham Pacha Ravi proposed openstack/manila-tempest-plugin master: Refactor public share test cases  https://review.opendev.org/c/openstack/manila-tempest-plugin/+/77686915:14
*** lpetrut has quit IRC16:32
*** legochen has joined #openstack-manila16:46
legochenhi anyone here? I encounter an error in manila when contacting to NetApp backend.16:47
legochenmanila.share.drivers.netapp.dataontap.client.api.NaApiError: NetApp API failed. Reason - 15661:entry doesn't exist16:47
legochenmy manila version is from master branch, now it is 11.1 - Victoria.16:48
legochenI have another manila running in train version (python 2.x) is able to connect to my NetApp filer(the same one) without error.16:49
legochenSo, not sure how to dig the issue :(16:49
gouthamrdviroel carloss ^16:51
gouthamrlegochen: "manila.share.drivers.netapp.dataontap.client.api.NaApiError: NetApp API failed. Reason - 15661:entry doesn't exist" doesn't say all that much, do you have a full traceback from the logs?16:52
carlosshello legochen o/16:52
carlossgouthamr++16:52
gouthamrlegochen: if yes, you can paste it to https://paste.openstack.org - be sure to sanitize any information and share it here16:52
legochenhttp://paste.openstack.org/show/802937/16:53
legochenlet me give more context, I’m able to create “share type”, create “share”16:53
legochenthe error only happens when I’m going to creare “share access”16:54
legochen“share access” operations are having problem. - creation/deletion.16:54
legochenif you could guide to inject some codes to dump useful info, that would be helpful.16:57
gouthamrhmm, that does help - sounds like your ontap doesn't know the "kerberos-config-get" ZAPI16:58
legochenis that something we can disable?16:58
carlossthat sounds accurate, gouthamr16:59
carlosslegochen: which ONTAP version are you using?16:59
legochenchecking17:01
legochenNetApp Release 9.3P14: Wed Jul 10 14:38:46 UTC 201917:02
legochencarloss, which ONTAP version should I use?17:07
carlossI'm checking if that call is available to the version you're using, but to me, sounds like if the version you're using can't call the "kerberos-config-get" ZAPI, you should have a way to handle this17:11
carlossas per I was checking your version was supposed to support this call17:11
gouthamrcarloss: yeah, seems like an old zapi - perhaps the login user legochen's using doesn't have permission to call this zapi?17:13
legochenwe have granted admin permission to that login user.17:15
gouthamrlegochen: i see, admin as in vsadmin?17:17
legochenno, not vsadmin, we use cluster admin.17:18
legochenanyway, I’m going to upgrade ontab version to 9.8P1 and see….17:19
legochenit will take about 1 or 1.5 hours. will let you know the result tomorrow :)17:19
carlossalright, legochen... we will investigate this as well17:20
legochenbtw, where can I know the version mapping table between manila and ontab?17:20
carlossping us if you need something17:20
legochenontap*17:20
carlossthe NetApp driver row is up-to-date in this support matrix: https://docs.openstack.org/manila/queens/admin/share_back_ends_feature_support_mapping.html ... all of this features should be working for ONTAP 9.3 or newer17:22
legochenthem, seems my version is good.17:23
legochenthen*17:23
carlossyeah17:28
openstackgerritGoutham Pacha Ravi proposed openstack/manila master: Remove deprecated public share policies  https://review.opendev.org/c/openstack/manila/+/76346817:38
*** lpetrut has joined #openstack-manila18:34
legochencarloss and gouthamr, bad news after ontap version upgrade, the situation is still the same :(18:34
gouthamrthat's not good news..18:36
gouthamrlegochen: can you turn on api tracing in your /etc/manila/manila.conf and recapture the results, that'll help carloss debug18:36
gouthamrthe option is called "netapp_trace_flags", and is documented here: https://netapp-openstack-dev.github.io/openstack-docs/draft/appendices/section_triage-and-data-collection.html18:37
carlossyes, for sure18:37
legochenokay, only need this? method,api18:38
*** lpetrut has quit IRC18:40
openstackgerritDina Saparbaeva proposed openstack/manila-ui master: API v2.44, added 'ou' field to security service  https://review.opendev.org/c/openstack/manila-ui/+/77443818:42
*** simondodsley has joined #openstack-manila18:46
simondodsleySorry for the newbie question, but I'm running a Victoria devstack with manila enabled and debug is set to True in the manila conf file, but I'm not getting any log messages from driver. Am I missing something else to enable for logs?18:46
gouthamrlegochen: yes18:47
gouthamrsimondodsley: no, that'd be strange.. are you trying to update the "debug" option on the fly? i.e., sending a SIGHUP?18:49
legochenshare access deletion error - http://paste.openstack.org/show/802940/18:49
simondodsleyno - i'm restarting the api service18:49
legochenshare access creation error - http://paste.openstack.org/show/802941/18:49
gouthamrsimondodsley: the share service needs to be restarted18:50
legochengouthamr, I added that flags, but don’t see much difference.18:50
simondodsleyah - ok - that might be it18:50
openstackgerritDina Saparbaeva proposed openstack/manila-ui master: API v2.44, added 'ou' field to security service  https://review.opendev.org/c/openstack/manila-ui/+/77443818:50
gouthamrlegochen: you'll need to enable debug logging, you'll see the API interactions to netapp being captured18:50
legochenI have this debug = true in manila.conf18:52
gouthamrlegochen: then the log should have the api call - it might be hard to locate because of the amount of logging18:54
gouthamrlegochen: you could grep for the API that's failing: "kerberos-config-get"18:54
gouthamrlegochen: or just filter your logs with a request_id18:55
gouthamrlegochen: if you're using the manila cli, the request-id can be found when you do "manila --debug access-allow ...."18:56
legochendoes the name “manila,api” need to match /etc/manila/api-paste.ini ?18:56
gouthamrnope18:56
gouthamri suppose you mean "method,api"18:56
legochenhaha, my bad18:56
gouthamrno problem - "method,api" is an indicator to dump the request traces wrt method names in the netapp driver that we're hitting along the way along with a pretty-print of the ZAPIs used18:59
gouthamrbe sure to turn that off after your troubleshooting though - it's known to fill up logs19:00
dviroelo/19:04
dviroeli was in another meeting19:04
gouthamrmeetings all day19:05
gouthamr:|19:05
dviroel'kerberos-config-get' error looks weird, let me investigate19:05
legochengouthamr - I don’t see more logs after configured - netapp_trace_flags.  http://paste.openstack.org/show/802943/19:05
legochenis the setting looks right?19:06
legochendviroel, thank you19:11
legochenbtw, we don’t enable kerberos on netapp filer side.19:13
gouthamrlegochen: that looks correct, did you restart the manila-share service?19:41
legochenlooks like I also need to configure this19:41
legochen[logger_root]19:41
legochenlevel = DEBUG19:41
legochenhandlers = watchedfile,stderr19:41
legochenbut, don’t know why is DEBUG mode to heavy, once I enabled it, the api call will become stuck.19:42
legochenwhatever deleting or creating a share access - the state will always hang on - queued_to_deny state.19:42
legochenstrange :(19:43
legochenbtw, which version started to have - kerberos-config-get ??19:43
dviroellegochen: it is a bugfix is available only in master for now, the idea is to backport it to other releases, considering that it will work just fine. It seems that isn't working in your end, which we need to degub19:45
dviroellegochen: if your question is related to ONTAP version, so since ONTAP 8.X.19:46
*** gmann is now known as gmann_lunch19:47
legochenokay, you mean if I don’t use master and change to use Victoria, the issue should be mitigated?19:47
*** batrick has quit IRC19:47
legochendviroel, could you give me the bugfix commit? I’d like to compare my version’s code.19:49
dviroellegochen: yes, but would be great to discover the issue that you are having, since we weren't able to reproduce it here.19:50
legochenI hope it is not only happen in my environment :(19:51
legochenmaybe that’s my environment issue … I can try to use Victoria and see if the problem is still exist.19:52
legochenif this issue only happens on master, I hope we can have a troubleshooting session, I can share my screen to you.19:53
dviroellegochen: here https://review.opendev.org/c/openstack/manila/+/77217719:54
dviroellegochen:  oh, the commit is this one https://github.com/openstack/manila/commit/68ad590c3738dd024507189a531e271460c6d5d419:55
dviroellegochen: i was able to get the same error only when I provide a non-existing network interface to the kerberos-config-get command.19:58
dviroellegochen: but the code reads all network interfaces in the SVM, before triggering the kerberos-config-get19:59
legochenthe NIC you mentioned is on manila api node or on netapp filer side?20:00
dviroelin the netapp side, within the SVM that you provided in 'netapp_vserver' conf20:01
legochen    def is_kerberos_enabled(self):20:03
legochen        """Check if Kerberos in enabled in all LIFs."""20:03
legochen        return False20:03
legochenafter I let this function always return false, then looks good now20:03
legochenboth creation/deletion are good20:05
*** gmann_lunch is now known as gmann20:07
legochendviroel, do you think kerberos stuff could be optional?20:07
dviroellegochen: no, it is probably easy to treat those errors and report false, instead of offer as an option.20:10
legochenbtw, sometimes I’ll get this error after restart manila-share service http://paste.openstack.org/show/802945/20:13
legochenmanila.exception.DriverNotInitialized: Share driver 'NetAppCmodeSingleSvmShareDriver' not initialized.20:13
legochensometimes is good.20:14
legochen2021-02-23 20:15:20,135 INFO [manila.share.drivers.netapp.dataontap.client.client_cmode] /opt/openstack/venv/manila/lib/python3.7/site-packages/manila/share/drivers/netapp/dataontap/client/client_cmode.py:is_kerberos_enabled:1668 api_args20:17
legochen: {'interface-name': ‘my-server’, 'desired-attributes': {'kerberos-config-info': {'is-kerberos-enabled': None}}}20:17
legochen            LOG.info(f"api_args: {api_args}")20:18
legochen            result = self.send_request('kerberos-config-get', api_args)20:18
legochendviroel, looks like after sending this attributes to netapp server, then got exception.20:19
dviroellegochen: i see, can you share more information about your interface 'my-server'? like role type, status, etc?20:26
legochendviroel, let me ping you directly20:32
*** rajinir has quit IRC21:01
*** rajinir has joined #openstack-manila21:02
*** batrick has joined #openstack-manila21:11
openstackgerritVictoria Martinez de la Cruz proposed openstack/devstack-plugin-ceph master: Update ceph default version to octopus  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/77723221:23
legochenthank you dviroel for identifying the issue I posted above :) hope we could fix that soon. :D :D21:25
dviroellegochen: thanks21:52
openstackgerritGoutham Pacha Ravi proposed openstack/python-manilaclient master: DNM: Testing public shares policy change  https://review.opendev.org/c/openstack/python-manilaclient/+/77724922:03
*** tkajinam has joined #openstack-manila22:51
openstackgerritGoutham Pacha Ravi proposed openstack/python-manilaclient master: Change public share tests  https://review.opendev.org/c/openstack/python-manilaclient/+/77724923:07
*** tkajinam has quit IRC23:40
*** tkajinam has joined #openstack-manila23:40

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