openstackgerrit | Ghanshyam proposed openstack/glance master: DNM: testing json->yaml migration failure https://review.opendev.org/c/openstack/glance/+/772912 | 00:19 |
---|---|---|
*** abhishekk has quit IRC | 00:20 | |
gmann | dansmith: 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 |
dansmith | okay | 00:20 |
*** rm_work has quit IRC | 00:37 | |
*** mgagne has quit IRC | 01:11 | |
*** mgagne has joined #openstack-glance | 01:12 | |
*** mnaser has quit IRC | 01:13 | |
*** mnaser has joined #openstack-glance | 01:16 | |
*** gyee has quit IRC | 01:22 | |
*** k_mouza has joined #openstack-glance | 01:48 | |
*** k_mouza has quit IRC | 01:53 | |
openstackgerrit | Cyril Roelandt proposed openstack/glance master: Remove unused option "owner_is_tenant" https://review.opendev.org/c/openstack/glance/+/763920 | 02:01 |
*** rm_work has joined #openstack-glance | 02:01 | |
*** supamatt has joined #openstack-glance | 02:48 | |
*** J_tt has joined #openstack-glance | 02:49 | |
J_tt | Hey 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_tt | rbd -c /etc/ceph/ceph.conf -k glance-key -p images ls). I'm trying to work out if I've missed anything | 03:00 |
*** zzzeek has quit IRC | 03:01 | |
*** zzzeek has joined #openstack-glance | 03:02 | |
*** johanssone has quit IRC | 03:24 | |
*** rcernin has quit IRC | 03:27 | |
*** nicolasbock_ has joined #openstack-glance | 03:30 | |
*** lyr6 has joined #openstack-glance | 03:31 | |
*** ianw_ has joined #openstack-glance | 03:32 | |
*** freefood_ has joined #openstack-glance | 03:33 | |
*** nicolasbock has quit IRC | 03:38 | |
*** lyr has quit IRC | 03:38 | |
*** ianw has quit IRC | 03:38 | |
*** freefood has quit IRC | 03:38 | |
*** ianw_ is now known as ianw | 03:38 | |
*** nicolasbock_ is now known as nicolasbock | 03:38 | |
*** lyr6 is now known as lyr | 03:39 | |
*** rcernin has joined #openstack-glance | 03:41 | |
*** abhishekk has joined #openstack-glance | 03:57 | |
*** ratailor has joined #openstack-glance | 04:14 | |
*** J_tt64 has joined #openstack-glance | 04:26 | |
*** J_tt64 is now known as idenity | 04:27 | |
*** J_tt has quit IRC | 04:29 | |
*** udesale has joined #openstack-glance | 04:33 | |
*** udesale_ has joined #openstack-glance | 05:35 | |
*** udesale has quit IRC | 05:38 | |
*** ianw has quit IRC | 05:59 | |
*** ianw has joined #openstack-glance | 06:01 | |
*** lbragstad has quit IRC | 06:11 | |
*** lbragstad has joined #openstack-glance | 06:16 | |
*** whoami-rajat__ has joined #openstack-glance | 06:55 | |
*** udesale_ has quit IRC | 07:08 | |
*** lbragstad has quit IRC | 07:14 | |
*** lbragstad has joined #openstack-glance | 07:14 | |
*** openstackgerrit has quit IRC | 07:23 | |
*** lpetrut has joined #openstack-glance | 07:30 | |
*** ralonsoh has joined #openstack-glance | 07:39 | |
*** johanssone has joined #openstack-glance | 07:59 | |
*** benj_ has quit IRC | 08:22 | |
*** zzzeek has quit IRC | 09:01 | |
*** rcernin has quit IRC | 09:02 | |
*** zzzeek has joined #openstack-glance | 09:03 | |
*** rcernin has joined #openstack-glance | 09:21 | |
*** rcernin has quit IRC | 10:23 | |
*** zzzeek has quit IRC | 10:30 | |
*** zzzeek has joined #openstack-glance | 10:32 | |
*** baojg has joined #openstack-glance | 10:51 | |
*** k_mouza has joined #openstack-glance | 10:53 | |
*** zzzeek has quit IRC | 10:54 | |
*** zzzeek has joined #openstack-glance | 10:55 | |
*** baojg has quit IRC | 10:58 | |
*** benj_ has joined #openstack-glance | 11:00 | |
*** k_mouza has quit IRC | 11:27 | |
*** k_mouza has joined #openstack-glance | 11:30 | |
*** rcernin has joined #openstack-glance | 11:33 | |
*** felixhuettner[m] has joined #openstack-glance | 12: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-glance | 12:32 | |
*** rcernin has quit IRC | 12:32 | |
*** ratailor has quit IRC | 12:40 | |
*** stephenfin has quit IRC | 12:54 | |
*** rm_work has quit IRC | 13:00 | |
*** mnaser has quit IRC | 13:00 | |
*** jokke has quit IRC | 13:00 | |
*** rm_work has joined #openstack-glance | 13:01 | |
*** mnaser has joined #openstack-glance | 13:01 | |
*** jokke has joined #openstack-glance | 13:01 | |
*** benj_ has quit IRC | 13:02 | |
*** zigo has quit IRC | 13:03 | |
*** sorrison has quit IRC | 13:03 | |
*** zigo has joined #openstack-glance | 13:03 | |
*** sorrison has joined #openstack-glance | 13:03 | |
*** felixhuettner[m] has quit IRC | 13:03 | |
*** benj_ has joined #openstack-glance | 13:04 | |
*** johanssone has quit IRC | 13:04 | |
*** johanssone has joined #openstack-glance | 13:05 | |
*** benj_ has quit IRC | 13:05 | |
*** benj_ has joined #openstack-glance | 13:06 | |
*** zzzeek has quit IRC | 13:29 | |
*** zzzeek has joined #openstack-glance | 13:31 | |
*** zzzeek has quit IRC | 13:52 | |
*** zzzeek has joined #openstack-glance | 13:56 | |
*** zzzeek has quit IRC | 14:02 | |
*** zzzeek has joined #openstack-glance | 14:03 | |
*** felixhuettner[m] has joined #openstack-glance | 14:15 | |
*** stephenfin has joined #openstack-glance | 14:19 | |
dansmith | gmann: have you tried to reproduce this policy thing locally? | 15:34 |
dansmith | if not, I will | 15:34 |
gmann | dansmith: hi | 15:58 |
gmann | dansmith: 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#7 | 15:59 |
dansmith | gmann: yeah | 15:59 |
dansmith | I haven't gotten it to show me those debugs locally yet | 15:59 |
dansmith | ah | 16:05 |
dansmith | gmann: I don't get those debugs running under uwsgi, but I do running in standalone (which is how that job is configured) | 16:05 |
dansmith | interesting | 16:05 |
gmann | is it? i think debug level is enabled by default | 16:06 |
dansmith | yeah, in uwsgi mode I see oslo_policy=DEBUG | 16:07 |
dansmith | but no debugs | 16:07 |
dansmith | and it also picks the nonexistent policy.yaml even with a json file in place | 16:07 |
dansmith | oh wait | 16:08 |
dansmith | I have a yaml here | 16:08 |
dansmith | okay yeah, it works locally | 16:08 |
gmann | with policy.json ? | 16:10 |
dansmith | yes | 16:10 |
gmann | k | 16:10 |
dansmith | with both it picked the yaml (which I didn't realize was there), but if I remove the yaml, it picks json | 16:10 |
dansmith | maybe 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 |
gmann | and in gate policy.json is created in pre-yaml so it should be present during policy init | 16:11 |
dansmith | yeah | 16:11 |
dansmith | gmann: I can poke at that if you want, but I don't want to step on your toes if you're pushing up other ideas | 16:14 |
gmann | and os.listdir() too | 16:14 |
dansmith | yeah | 16:14 |
gmann | dansmith: feel free to updaye | 16:14 |
gmann | update | 16:14 |
dansmith | okay | 16:14 |
gmann | this one https://review.opendev.org/c/openstack/oslo.config/+/772959 | 16:14 |
*** lpetrut has quit IRC | 16:15 | |
*** openstackgerrit has joined #openstack-glance | 16:25 | |
openstackgerrit | Dan Smith proposed openstack/glance master: DNM: testing json->yaml migration failure https://review.opendev.org/c/openstack/glance/+/772912 | 16:25 |
gmann | dansmith: this location is config option location type enum, https://review.opendev.org/c/openstack/oslo.policy/+/773143/1/oslo_policy/policy.py#384 | 16:30 |
gmann | name of var is not good | 16:30 |
gmann | os.listdir() can be done in oslo.config patch for dir it add for search in find_file() | 16:31 |
dansmith | gmann: okay I printed it there too | 16:31 |
dansmith | I unintentionally recreated the config debug patch, so it's a different commit-id | 16:32 |
gmann | that's fine | 16:32 |
gmann | in this https://review.opendev.org/c/openstack/oslo.config/+/773146/1/oslo_config/cfg.py | 16:32 |
gmann | no os.listdir here | 16:32 |
dansmith | ah right okay | 16:32 |
gmann | wait | 16:33 |
gmann | it has '/opt/stack' also in list of dir | 16:33 |
gmann | may be we can just os.listdir(/etc/glance) | 16:33 |
gmann | dansmith: ^^ | 16:34 |
dansmith | it won't hurt I don't think right? | 16:34 |
gmann | it might print lot of thing there | 16:34 |
dansmith | meh, who knows, might be useful :) | 16:34 |
gmann | these are list of dir to search ['/etc/glance', '/etc/glance', '/opt/stack/.glance', '/opt/stack', '/etc/glance', '/etc'] | 16:34 |
gmann | ok | 16:35 |
*** udesale has quit IRC | 16:43 | |
*** k_mouza has quit IRC | 18:07 | |
*** gyee has joined #openstack-glance | 18:08 | |
*** ralonsoh has quit IRC | 18:19 | |
*** jdillaman has quit IRC | 19:14 | |
openstackgerrit | Dan Smith proposed openstack/glance master: DNM: testing json->yaml migration failure https://review.opendev.org/c/openstack/glance/+/772912 | 19:43 |
*** rcernin has joined #openstack-glance | 20:09 | |
*** k_mouza has joined #openstack-glance | 20:31 | |
*** k_mouza has quit IRC | 20:38 | |
*** rcernin has quit IRC | 20:44 | |
*** rcernin has joined #openstack-glance | 21:10 | |
*** rcernin has quit IRC | 21:15 | |
*** rcernin has joined #openstack-glance | 21:27 | |
*** whoami-rajat__ has quit IRC | 22:19 | |
*** stand has quit IRC | 22:26 | |
dansmith | gmann: well, this shouldn't surprise us I guess, but... there is no policy.json in /etc/glance | 22:27 |
dansmith | oh, hmm | 22:28 |
dansmith | there is later but not at the beginning | 22:28 |
dansmith | so maybe we look early, decide not to use compat mode, and then never honor the json when it shows up later? | 22:28 |
openstackgerrit | Dan Smith proposed openstack/glance master: [goal] Deprecate the JSON formatted policy file https://review.opendev.org/c/openstack/glance/+/764074 | 22:34 |
openstackgerrit | Dan Smith proposed openstack/glance master: DNM: testing json->yaml migration failure https://review.opendev.org/c/openstack/glance/+/772912 | 22:34 |
dansmith | gmann: ^ this depends on a nova change to restart g-api* after we write the policy | 22:34 |
*** k_mouza has joined #openstack-glance | 22:38 | |
*** k_mouza has quit IRC | 22:42 | |
*** rcernin has quit IRC | 22:47 | |
*** rcernin has joined #openstack-glance | 23:04 | |
*** rcernin has quit IRC | 23:19 | |
*** zzzeek has quit IRC | 23:48 | |
*** zzzeek has joined #openstack-glance | 23:50 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!