Wednesday, 2020-07-15

openstackgerritMerged openstack/manila master: Enforce policy checks getting share-type by name  https://review.opendev.org/73894100:19
vkmcgouthamr, if you are around... quick question00:50
gouthamrhey vkmc00:50
vkmcis there an advised way on how to add entries to rootwrap.d?00:50
vkmcI'm trying to add ceph client calls00:50
vkmcbut it's getting messy00:50
vkmc:)00:50
gouthamrvkmc: i haven't added one recently..00:53
gouthamrvkmc: the parameters are getting messy?00:53
vkmcyeah00:53
gouthamrvkmc: is sudo required?00:53
vkmcyes00:53
vkmcI was expecting that adding ceph only would work00:53
vkmcbut... seems that the implementation takes it as different commands00:54
vkmcceph fs snapshot ls, for instance00:54
gouthamrvkmc: i was going to ask for an example :)00:54
vkmchttp://paste.openstack.org/show/795925/00:55
gouthamrvkmc: what happens when you do "run_as_root=False"00:55
gouthamrvkmc: i mean, as a service user, i should be able to execute ceph, no?00:55
vkmc*** FileNotFoundError: [Errno 2] No such file or directory: 'ceph fs subvolume snapshot ls': 'ceph fs subvolume snapshot ls'00:56
vkmcgouthamr, that's a good question00:56
vkmcI think we need to fix devstack-plugin-ceph so the service user can run ceph00:57
vkmcright now you need to run as root00:57
vkmcit should be fixed with some groups configs maybe... let me see00:57
vkmc... or not00:59
openstackgerritMerged openstack/puppet-manila master: Add support for the interface parameter in authtoken middleware  https://review.opendev.org/74094701:00
gouthamrvkmc: if the service is being run as the manila user, that has access to their keyring and the ceph.conf, we don't need to use sudo with the ceph cli01:07
vkmcthat's what I thought01:08
gouthamrusually ceph.conf is world readable - so that's covered01:09
vkmcthis throws me off01:09
vkmchttp://paste.openstack.org/show/795926/01:09
vkmcand... running manually... http://paste.openstack.org/show/795927/01:11
vkmcI thought it was the rootwrap01:11
gouthamrmakes sense, can you remove sudo from that request and execute manually?01:12
gouthamror do you get the same error?01:12
vkmcstack@bionic:~$ ceph fs subvolume snapshot ls cephfs 80935697-9141-404a-a123-027e9ccc8db601:12
vkmc[errno 2] error connecting to the cluster01:12
gouthamrah, try with "--user manila"01:13
vkmclike this?01:13
vkmcstack@bionic:~$ ceph fs subvolume snapshot ls cephfs 80935697-9141-404a-a123-027e9ccc8db6 --user manila01:13
vkmcError EACCES: access denied: does your client key have mgr caps? See http://docs.ceph.com/docs/master/mgr/administrator/#client-authentication01:13
gouthamrooh, do we need new caps?01:13
gouthamrfor this feature?01:13
vkmcit's just listing the snapshots01:14
vkmcbut we do that using the cli instead the volume_client01:14
gouthamrlooks like we need new caps to talk to the manager vkmc01:14
gouthamrvkmc: mgr allow *01:14
gouthamrvkmc: wait, we probably aren't setting manila caps at all in devstack - could that be a bug?01:16
vkmcgouthamr, look01:16
vkmchttp://paste.openstack.org/show/795928/01:16
vkmcI'll try adding the caps mgr01:16
gouthamrvkmc: we recommend creating the manila user with the mgr caps, but, on my dsvm, the manila keyring doesn't have it01:16
vkmcand yes, it might be a bug in devstack-plugin-ceph01:16
gouthamr+101:17
gouthamrvkmc: https://github.com/openstack/devstack-plugin-ceph/blob/16f8bef33b9278547eee540fb3bb0e5a84eb2d3d/devstack/lib/ceph#L726-L72901:19
gouthamrvkmc: need mgr there01:19
vkmcgouthamr, cool, will add it01:20
vkmcseems I need to restart some service to changes to take effect01:23
vkmcso I'll continue with this tomorrow01:23
vkmcthanks gouthamr o/01:23
gouthamrgreat, you're welcome vkmc01:26
gouthamrgooodnight!01:26
openstackgerritGoutham Pacha Ravi proposed openstack/manila-tempest-plugin master: WIP: Dummy driver jobs  https://review.opendev.org/74053402:10
openstackgerritMerged openstack/manila stable/stein: Add asynchronous error info into messages when share extend error  https://review.opendev.org/73892702:26
openstackgerritGoutham Pacha Ravi proposed openstack/manila-tempest-plugin master: WIP: Dummy driver jobs  https://review.opendev.org/74053403:49
openstackgerritGoutham Pacha Ravi proposed openstack/manila-tempest-plugin master: WIP: Dummy driver jobs  https://review.opendev.org/74053404:24
openstackgerritGoutham Pacha Ravi proposed openstack/manila-tempest-plugin master: Fix usage of tenant_id in tests  https://review.opendev.org/74108304:34
*** osmanlicilegi has quit IRC06:02
*** osmanlicilegi has joined #openstack-manila06:06
openstackgerritGoutham Pacha Ravi proposed openstack/manila master: DNM: Testing config opt  https://review.opendev.org/74109706:52
openstackgerritGoutham Pacha Ravi proposed openstack/manila-tempest-plugin master: WIP: Dummy driver jobs  https://review.opendev.org/74053406:53
*** takamatsu has quit IRC06:59
*** maaritamm has joined #openstack-manila07:33
*** maaritamm has quit IRC07:45
*** tosky has joined #openstack-manila07:46
*** maaritamm has joined #openstack-manila07:50
openstackgerritMaurice Escher proposed openstack/manila master: [NetApp] update set_preferred_dc for ontapi 1.150  https://review.opendev.org/74112609:21
openstackgerritMaurice Escher proposed openstack/manila master: add share server update to manila-manage share update_host  https://review.opendev.org/73148609:37
*** maaritamm has quit IRC10:04
*** maaritamm has joined #openstack-manila10:04
*** maaritamm has quit IRC10:16
*** maaritamm has joined #openstack-manila10:35
openstackgerritLiron Kuchlani proposed openstack/manila-tempest-plugin master: Verify applying a new cephx rule after a previous failure  https://review.opendev.org/74098510:43
*** tosky has quit IRC11:05
*** tosky has joined #openstack-manila11:10
*** baojg has quit IRC12:17
*** baojg has joined #openstack-manila12:17
*** tkajinam has quit IRC12:24
*** baojg has quit IRC13:33
*** vhari has quit IRC14:46
*** baojg has joined #openstack-manila16:28
*** baojg has quit IRC16:49
*** baojg has joined #openstack-manila16:50
openstackgerritTom Barron proposed openstack/manila master: Update LVM volume extend  https://review.opendev.org/74049216:54
openstackgerritTom Barron proposed openstack/manila master: Update NFS helper restart  https://review.opendev.org/74047717:04
openstackgerritGoutham Pacha Ravi proposed openstack/manila stable/ussuri: Enforce policy checks getting share-type by name  https://review.opendev.org/74127817:26
*** tosky has quit IRC18:25
*** tosky has joined #openstack-manila18:25
*** baojg has quit IRC18:38
*** baojg has joined #openstack-manila18:39
openstackgerritGoutham Pacha Ravi proposed openstack/manila stable/queens: [DNM] Testing stable/queens CI  https://review.opendev.org/72847218:52
openstackgerritCarlos Eduardo proposed openstack/manila-specs master: Add lite spec for share server limits  https://review.opendev.org/73913619:42
*** raildo has quit IRC20:16
*** raildo has joined #openstack-manila20:16
*** raildo has quit IRC20:22
*** raildo has joined #openstack-manila20:24
*** raildo has quit IRC20:30
openstackgerritMerged openstack/manila-tempest-plugin master: Fix usage of tenant_id in tests  https://review.opendev.org/74108320:31
*** maaritamm has quit IRC20:49
openstackgerritDouglas Viroel proposed openstack/manila-specs master: Share server migration  https://review.opendev.org/73597021:25
*** logan- has quit IRC22:17
*** logan- has joined #openstack-manila22:19
*** baojg has quit IRC22:43
*** baojg has joined #openstack-manila22:44
*** tosky has quit IRC22:48
*** tkajinam has joined #openstack-manila22:55
*** tkajinam has quit IRC22:55
*** tkajinam has joined #openstack-manila22:58
*** baojg has quit IRC23:58
*** baojg has joined #openstack-manila23:59

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