Monday, 2019-04-01

*** erlon has quit IRC00:20
*** irclogbot_2 has quit IRC02:19
*** lpetrut has joined #openstack-manila03:50
*** lpetrut has quit IRC04:19
*** ianychoi has quit IRC05:23
*** ianychoi has joined #openstack-manila05:24
*** whoami-rajat has joined #openstack-manila05:31
*** kopecmartin|off is now known as kopecmartin06:30
*** lpetrut has joined #openstack-manila06:57
*** pcaruana has joined #openstack-manila06:58
*** pcaruana has quit IRC07:02
*** pcaruana has joined #openstack-manila07:02
*** tosky has joined #openstack-manila07:13
*** carthaca has joined #openstack-manila07:15
*** e0ne has joined #openstack-manila07:40
*** e0ne has quit IRC08:11
*** e0ne has joined #openstack-manila08:16
*** a-pugachev has joined #openstack-manila08:33
*** e0ne has quit IRC08:50
*** e0ne has joined #openstack-manila08:59
*** e0ne has quit IRC09:16
*** e0ne has joined #openstack-manila09:35
*** a-pugachev has quit IRC10:18
*** a-pugachev has joined #openstack-manila10:20
*** e0ne has quit IRC10:45
*** carlos_silva has joined #openstack-manila10:57
*** e0ne has joined #openstack-manila11:03
*** e0ne has quit IRC11:10
*** erlon has joined #openstack-manila11:13
*** erlon has quit IRC11:39
*** dviroel_ has joined #openstack-manila11:41
*** erlon has joined #openstack-manila11:46
*** a-pugachev has quit IRC11:53
*** a-pugachev has joined #openstack-manila11:58
*** e0ne has joined #openstack-manila12:11
openstackgerritTom Barron proposed openstack/manila-tempest-plugin master: Add devstack plugin to ease integration tests      Instead of requiring users to install the plugin manually, add a devstack plugin that can be enabled in order to perform the installation.      This change should allow us to remove the tempest plugin ins  https://review.openstack.org/64871612:14
openstackgerritTom Barron proposed openstack/manila master: [tests] run all dsvm jobs with python3  https://review.openstack.org/64603712:14
*** enriquetaso has joined #openstack-manila12:35
*** thgcorrea has joined #openstack-manila12:37
*** e0ne has quit IRC12:38
*** jmlowe has quit IRC12:55
*** whoami-rajat has quit IRC13:00
*** a-pugachev has quit IRC13:02
*** whoami-rajat has joined #openstack-manila13:05
*** lseki has joined #openstack-manila13:24
*** irclogbot_1 has joined #openstack-manila13:26
openstackgerritTom Barron proposed openstack/manila-tempest-plugin master: DNM  https://review.openstack.org/64871613:32
*** eharney has joined #openstack-manila13:39
*** jmlowe has joined #openstack-manila13:55
*** erlon has quit IRC14:00
*** mrhillsman_wkend is now known as mrhillsman14:04
*** e0ne has joined #openstack-manila14:06
*** nirg22 has joined #openstack-manila14:30
nirg22hi! how should I except a manila InvalidInput exception inside a tempest scenario test ?14:31
nirg22https://github.com/openstack/manila/blob/d877b61c5e37ff012341194b8349af6f38155e5d/manila/share/api.py#L195314:31
openstackgerritNir Gilboa proposed openstack/manila-tempest-plugin master: Scenario test: Create/shrink share and write data  https://review.openstack.org/53161514:36
tbarronnirg22: do you mean *expect* a manila InvalidInput exception inside a tempest scenario test?14:39
tbarronnirg22: you said 'except a manila Invalid...'14:40
tbarronnirg22: if so, then you can use assertRaises ...14:40
tbarronnirg22: there should be examples under manila_tempest_tests/api/ in some of the negative tests14:41
nirg22tbarron: actually I would like to try/except it :)14:41
tbarronnirg22: e.g. manila_tempest_tests/tests/api/test_revert_to_snapshot_negative.py14:41
nirg22tbarron: and this particular exception is not present in tempest exceptions, that's why I'm unsure14:41
nirg22tbarron: you see the context and gouthamr suggestion on the review I just suggested above14:43
nirg22tbarron: *can see14:43
tbarronnirg22: well, you can certaily try/except, can you mirror the manila exception in manila_tempest_tests/share_exceptions.py as a tempest exception?14:46
tbarronnirg22: i'm not 100% on that, but maybe that's the way we do it14:46
nirg22tbarron: ok thanks I'll try that14:47
*** a-pugachev has joined #openstack-manila14:51
*** nirg22 has quit IRC15:00
*** lpetrut has quit IRC15:04
*** e0ne has quit IRC15:24
*** e0ne has joined #openstack-manila15:44
*** e0ne has quit IRC15:47
*** a-pugachev has quit IRC16:10
*** kopecmartin is now known as kopecmartin|off16:30
*** erlon has joined #openstack-manila16:32
*** e0ne has joined #openstack-manila16:45
tbarronping bswartz ganso xyang Is there any reason for the basic index and show share server apis to be admin only?16:47
tbarronbswartz: ganso xyang they have been that way since day zero:  git show 66fd6ab621bafaef58ea7f59ccd8eb9abc4698f216:47
gansotbarron: yes, users shouldn't know about share servers16:47
tbarronbswartz: ganso xyang but this breaks horizon share network16:47
gansotbarron: breaks how?16:48
tbarronbswartz: ganso xyang you click on a share network and16:48
tbarronbswartz: ganso xyang it comes up with "Unable to show share network details" if16:48
tbarronbswartz: ganso xyang if you are a regular "demo" user16:49
gansotbarron: I believe something broke it then, it was working last time I used horizon16:49
tbarronbswartz: ganso xyang and the horizon log shows it's trying to retrieve that share servers associated with that share network16:49
gansotbarron: share networks don't show any share server information other than the ID. I am not sure if the share server ID gets filtered out when the request context is not admin16:50
gansotbarron: but even so, being a demo tenant shouldn't break it. Is it failing in the DB layer because it does not have permissions to invoke share server get DB methods?16:51
tbarronganso: vkmc pointed me to https://bugs.launchpad.net/manila-ui/+bug/170239616:51
openstackLaunchpad bug 1702396 in manila-ui "Non-admin user can't get the share network details" [Medium,Triaged] - Assigned to Victoria Martinez de la Cruz (vkmc)16:51
gansotbarron: it could be all those check_context decorators that we added to the DB layer16:51
tbarronganso: it fails at policy validation and if I add a policy rule to allow listing share servers then it works16:52
gansotbarron: policies are at the API level16:52
tbarronganso: yes16:52
tbarronganso: I don't think it's as DB issue16:52
gansotbarron: if the share networks API policy allows share networks to be listed by non-admin, where is the other policy check that is preventing the API code from obtaining share servers?16:53
tbarronganso: that bug was reported July 2017 and we just got it reported downstream for OSP13 (queens)16:53
gansotbarron: yea last time I used horizon was around mitaka~pike16:53
gansotbarron: oops, ocata~pike16:53
tbarronganso: share *networks* can be but share *servers* cannnot and horizon calls both when you click on a share network16:54
gansotbarron: oh so horizon is invoking the APIs16:54
gansotbarron: IMO it shouldn't be16:54
gansotbarron: there are 2 types of views for share networks16:54
gansotbarron: one is the project view, which should only show share network information (perhaps also share_server_id (or filtered out), as I mentioned above))16:55
tbarronvkmc: ganso xyang bswartz so we could say the bug is in horizon and it should not attempt to get the share net info16:55
tbarrons/share net/share server/16:55
tbarronshare server info16:55
gansotbarron: the other is the share network admin view, when you go to admin section... there we could show share server details along with share networks, although no reason to do that because we also have the share server tab16:55
gansotbarron: yes, I believe the bug is in horizon16:56
tbarronganso: i see, thanks!16:56
*** erlon has quit IRC17:10
openstackgerritTom Barron proposed openstack/manila-tempest-plugin master: DNM  https://review.openstack.org/64871617:33
*** e0ne has quit IRC17:35
*** zigo has quit IRC17:37
*** gouthamr has left #openstack-manila17:38
*** gouthamr has joined #openstack-manila17:38
*** e0ne has joined #openstack-manila17:57
openstackgerritTom Barron proposed openstack/manila-tempest-plugin master: DNM  https://review.openstack.org/64871618:17
*** gouthamr has left #openstack-manila18:21
*** gouthamr has joined #openstack-manila18:21
gansotbarron, gouthamr: have you ever had a problem with the generic driver and python-manilaclient, where the generic driver invokes nova to create an instance, it fails saying I don't have supplied credentials?18:23
gouthamrganso: no, the driver uses the nova client created within manila, and service credentials configured in manila.conf18:23
gansogouthamr: hmmm perhaps my manila.conf is incorrect. Thought it was a problem with the context, will check, thanks!18:24
gouthamrganso: yw!18:24
*** e0ne has quit IRC18:28
*** erlon has joined #openstack-manila18:59
*** eharney has quit IRC19:09
*** erlon has quit IRC19:11
*** erlon_ has joined #openstack-manila19:11
*** jmlowe has quit IRC19:22
*** e0ne has joined #openstack-manila19:27
*** thgcorrea has quit IRC19:56
*** jmlowe has joined #openstack-manila20:26
*** whoami-rajat has quit IRC20:30
openstackgerritTom Barron proposed openstack/manila-ui master: Show share network details to non-admin  https://review.openstack.org/64918420:32
openstackgerritTom Barron proposed openstack/manila-tempest-plugin master: Add devstack plugin to ease integration tests  https://review.openstack.org/64871620:37
openstackgerritTom Barron proposed openstack/manila master: [tests] run all dsvm jobs with python3  https://review.openstack.org/64603720:39
openstackgerritTom Barron proposed openstack/manila-ui master: Don't show host field in project tables  https://review.openstack.org/59177920:41
*** a-pugachev has joined #openstack-manila20:57
*** a-pugachev has quit IRC20:58
*** e0ne has quit IRC21:03
*** erlon_ has quit IRC21:05
*** pcaruana has quit IRC21:17
openstackgerritTom Barron proposed openstack/manila-ui master: Don't show host field in project tables  https://review.openstack.org/59177921:34
*** a-pugachev has joined #openstack-manila21:45
*** mrhillsman is now known as mrhillsman_afk21:46
*** eharney has joined #openstack-manila21:52
*** a-pugachev has quit IRC21:53
*** eharney has quit IRC22:04
*** carlos_silva has quit IRC22:16
*** tosky has quit IRC23:28
*** openstackgerrit has quit IRC23:56

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!