Friday, 2021-01-29

openstackgerritGhanshyam proposed openstack/glance master: DNM: testing json->yaml migration failure  https://review.opendev.org/c/openstack/glance/+/77291200:19
*** abhishekk has quit IRC00:20
gmanndansmith: that did not find policy.json file also, issue seems config dirs where it search for the file, i added oslo.config log also to check that ^^00:20
dansmithokay00:20
*** rm_work has quit IRC00:37
*** mgagne has quit IRC01:11
*** mgagne has joined #openstack-glance01:12
*** mnaser has quit IRC01:13
*** mnaser has joined #openstack-glance01:16
*** gyee has quit IRC01:22
*** k_mouza has joined #openstack-glance01:48
*** k_mouza has quit IRC01:53
openstackgerritCyril Roelandt proposed openstack/glance master: Remove unused option "owner_is_tenant"  https://review.opendev.org/c/openstack/glance/+/76392002:01
*** rm_work has joined #openstack-glance02:01
*** supamatt has joined #openstack-glance02:48
*** J_tt has joined #openstack-glance02:49
J_ttHey all, is anyone familiar with setting up glance with ceph? I'm having an issue with creating a keyfile with the right permissions. I've followed the steps to setting up the authentication as specfied here: https://docs.ceph.com/en/latest/rbd/rbd-openstack/ but I'm getting "Operation not permitted" even when I try to do manual operations (eg:03:00
J_ttrbd -c /etc/ceph/ceph.conf -k glance-key -p images ls). I'm trying to work out if I've missed anything03:00
*** zzzeek has quit IRC03:01
*** zzzeek has joined #openstack-glance03:02
*** johanssone has quit IRC03:24
*** rcernin has quit IRC03:27
*** nicolasbock_ has joined #openstack-glance03:30
*** lyr6 has joined #openstack-glance03:31
*** ianw_ has joined #openstack-glance03:32
*** freefood_ has joined #openstack-glance03:33
*** nicolasbock has quit IRC03:38
*** lyr has quit IRC03:38
*** ianw has quit IRC03:38
*** freefood has quit IRC03:38
*** ianw_ is now known as ianw03:38
*** nicolasbock_ is now known as nicolasbock03:38
*** lyr6 is now known as lyr03:39
*** rcernin has joined #openstack-glance03:41
*** abhishekk has joined #openstack-glance03:57
*** ratailor has joined #openstack-glance04:14
*** J_tt64 has joined #openstack-glance04:26
*** J_tt64 is now known as idenity04:27
*** J_tt has quit IRC04:29
*** udesale has joined #openstack-glance04:33
*** udesale_ has joined #openstack-glance05:35
*** udesale has quit IRC05:38
*** ianw has quit IRC05:59
*** ianw has joined #openstack-glance06:01
*** lbragstad has quit IRC06:11
*** lbragstad has joined #openstack-glance06:16
*** whoami-rajat__ has joined #openstack-glance06:55
*** udesale_ has quit IRC07:08
*** lbragstad has quit IRC07:14
*** lbragstad has joined #openstack-glance07:14
*** openstackgerrit has quit IRC07:23
*** lpetrut has joined #openstack-glance07:30
*** ralonsoh has joined #openstack-glance07:39
*** johanssone has joined #openstack-glance07:59
*** benj_ has quit IRC08:22
*** zzzeek has quit IRC09:01
*** rcernin has quit IRC09:02
*** zzzeek has joined #openstack-glance09:03
*** rcernin has joined #openstack-glance09:21
*** rcernin has quit IRC10:23
*** zzzeek has quit IRC10:30
*** zzzeek has joined #openstack-glance10:32
*** baojg has joined #openstack-glance10:51
*** k_mouza has joined #openstack-glance10:53
*** zzzeek has quit IRC10:54
*** zzzeek has joined #openstack-glance10:55
*** baojg has quit IRC10:58
*** benj_ has joined #openstack-glance11:00
*** k_mouza has quit IRC11:27
*** k_mouza has joined #openstack-glance11:30
*** rcernin has joined #openstack-glance11:33
*** felixhuettner[m] has joined #openstack-glance12:25
* felixhuettner[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/gxjlHLKDxLsMjOhjKNUdonXo/message.txt >12:29
*** udesale has joined #openstack-glance12:32
*** rcernin has quit IRC12:32
*** ratailor has quit IRC12:40
*** stephenfin has quit IRC12:54
*** rm_work has quit IRC13:00
*** mnaser has quit IRC13:00
*** jokke has quit IRC13:00
*** rm_work has joined #openstack-glance13:01
*** mnaser has joined #openstack-glance13:01
*** jokke has joined #openstack-glance13:01
*** benj_ has quit IRC13:02
*** zigo has quit IRC13:03
*** sorrison has quit IRC13:03
*** zigo has joined #openstack-glance13:03
*** sorrison has joined #openstack-glance13:03
*** felixhuettner[m] has quit IRC13:03
*** benj_ has joined #openstack-glance13:04
*** johanssone has quit IRC13:04
*** johanssone has joined #openstack-glance13:05
*** benj_ has quit IRC13:05
*** benj_ has joined #openstack-glance13:06
*** zzzeek has quit IRC13:29
*** zzzeek has joined #openstack-glance13:31
*** zzzeek has quit IRC13:52
*** zzzeek has joined #openstack-glance13:56
*** zzzeek has quit IRC14:02
*** zzzeek has joined #openstack-glance14:03
*** felixhuettner[m] has joined #openstack-glance14:15
*** stephenfin has joined #openstack-glance14:19
dansmithgmann: have you tried to reproduce this policy thing locally?15:34
dansmithif not, I will15:34
gmanndansmith: hi15:58
gmanndansmith: it seems we have right dir list for search and not sure why it did not find  https://zuul.opendev.org/t/openstack/build/934a61f4929749ac901883d3d5144d4a/log/controller/logs/screen-g-api.txt#715:59
dansmithgmann: yeah15:59
dansmithI haven't gotten it to show me those debugs locally yet15:59
dansmithah16:05
dansmithgmann: I don't get those debugs running under uwsgi, but I do running in standalone (which is how that job is configured)16:05
dansmithinteresting16:05
gmannis it? i think debug level is enabled by default16:06
dansmithyeah, in uwsgi mode I see oslo_policy=DEBUG16:07
dansmithbut no debugs16:07
dansmithand it also picks the nonexistent policy.yaml even with a json file in place16:07
dansmithoh wait16:08
dansmithI have a yaml here16:08
dansmithokay yeah, it works locally16:08
gmannwith policy.json ?16:10
dansmithyes16:10
gmannk16:10
dansmithwith both it picked the yaml (which I didn't realize was there), but if I remove the yaml, it picks json16:10
dansmithmaybe your policy debug patch should print the full path it's checking and also os.path.exists() it or something to double-check the config.find_file()16:11
gmannand in gate policy.json is created in pre-yaml so it should be present during policy init16:11
dansmithyeah16:11
dansmithgmann: I can poke at that if you want, but I don't want to step on your toes if you're pushing up other ideas16:14
gmannand os.listdir() too16:14
dansmithyeah16:14
gmanndansmith: feel free to updaye16:14
gmannupdate16:14
dansmithokay16:14
gmannthis one https://review.opendev.org/c/openstack/oslo.config/+/77295916:14
*** lpetrut has quit IRC16:15
*** openstackgerrit has joined #openstack-glance16:25
openstackgerritDan Smith proposed openstack/glance master: DNM: testing json->yaml migration failure  https://review.opendev.org/c/openstack/glance/+/77291216:25
gmanndansmith: this location is config option location type enum, https://review.opendev.org/c/openstack/oslo.policy/+/773143/1/oslo_policy/policy.py#38416:30
gmannname of var is not good16:30
gmann os.listdir() can be done in oslo.config patch for dir it add for search in find_file()16:31
dansmithgmann: okay I printed it there too16:31
dansmithI unintentionally recreated the config debug patch, so it's a different commit-id16:32
gmannthat's fine16:32
gmannin this https://review.opendev.org/c/openstack/oslo.config/+/773146/1/oslo_config/cfg.py16:32
gmannno  os.listdir here16:32
dansmithah right okay16:32
gmannwait16:33
gmannit has '/opt/stack' also in list of dir16:33
gmannmay be we can just os.listdir(/etc/glance)16:33
gmanndansmith: ^^16:34
dansmithit won't hurt I don't think right?16:34
gmannit might print lot of thing there16:34
dansmithmeh, who knows, might be useful :)16:34
gmannthese are list of dir to search ['/etc/glance', '/etc/glance', '/opt/stack/.glance', '/opt/stack', '/etc/glance', '/etc']16:34
gmannok16:35
*** udesale has quit IRC16:43
*** k_mouza has quit IRC18:07
*** gyee has joined #openstack-glance18:08
*** ralonsoh has quit IRC18:19
*** jdillaman has quit IRC19:14
openstackgerritDan Smith proposed openstack/glance master: DNM: testing json->yaml migration failure  https://review.opendev.org/c/openstack/glance/+/77291219:43
*** rcernin has joined #openstack-glance20:09
*** k_mouza has joined #openstack-glance20:31
*** k_mouza has quit IRC20:38
*** rcernin has quit IRC20:44
*** rcernin has joined #openstack-glance21:10
*** rcernin has quit IRC21:15
*** rcernin has joined #openstack-glance21:27
*** whoami-rajat__ has quit IRC22:19
*** stand has quit IRC22:26
dansmithgmann: well, this shouldn't surprise us I guess, but... there is no policy.json in /etc/glance22:27
dansmithoh, hmm22:28
dansmiththere is later but not at the beginning22:28
dansmithso maybe we look early, decide not to use compat mode, and then never honor the json when it shows up later?22:28
openstackgerritDan Smith proposed openstack/glance master: [goal] Deprecate the JSON formatted policy file  https://review.opendev.org/c/openstack/glance/+/76407422:34
openstackgerritDan Smith proposed openstack/glance master: DNM: testing json->yaml migration failure  https://review.opendev.org/c/openstack/glance/+/77291222:34
dansmithgmann: ^ this depends on a nova change to restart g-api* after we write the policy22:34
*** k_mouza has joined #openstack-glance22:38
*** k_mouza has quit IRC22:42
*** rcernin has quit IRC22:47
*** rcernin has joined #openstack-glance23:04
*** rcernin has quit IRC23:19
*** zzzeek has quit IRC23:48
*** zzzeek has joined #openstack-glance23:50

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