krotscheck
2:08 devkulkarni: I've run into that- it's caused by the config-generator encountering a conf.register call more than once, once via the oslo.config.opts hook and then in oslo.config.opts.defaults.
krotscheck
2:08 At least, in that case it was.
2:08 (in my case)
2:09 The fix I had to implement was make sure the oslo.config.opts.defaults hook is in a file that in no way registers a new config.
dims_
2:09 krotscheck : there's a config parameter in their copy of log.py to
2:09 too
2:09 that was my initial suspicion
devkulkarni
2:09 krotscheck: oh okay
krotscheck
2:10 if that doesn't work... I got nothin'.
devkulkarni
2:10 krotscheck: do you have the patch/code where you implemented this handy?
krotscheck
2:10 devkulkarni: Not explicitly, but sahara had a similar problem. Lemme find it.
devkulkarni
2:10 I can try that
2:10 krotscheck: cool
2:11 dims_: *looking at log.py*
krotscheck
2:11 devkulkarni: https://review.openstack.org/#/c/287368/1..3
patchbot
2:11 krotscheck: patch 287368 - sahara - Moved CORS middleware configuration into oslo-conf... (MERGED)
krotscheck
2:11 You'll note that I had to add a new package and file.
devkulkarni
2:11 krotscheck: thanks for the patch. looking
2:12 e0ne [~e0ne@178.151.129.193] entered the room.
devkulkarni
2:13 krotscheck: ok got it. let me try that
krotscheck opts.defaults. opts.defaults hook is in a file that in no way registers a new config. /review. openstack. org/#/c/ 287368/ 1..3 178.151. 129.193] entered the room.
2:08 devkulkarni: I've run into that- it's caused by the config-generator encountering a conf.register call more than once, once via the oslo.config.opts hook and then in oslo.config.
krotscheck
2:08 At least, in that case it was.
2:08 (in my case)
2:09 The fix I had to implement was make sure the oslo.config.
dims_
2:09 krotscheck : there's a config parameter in their copy of log.py to
2:09 too
2:09 that was my initial suspicion
devkulkarni
2:09 krotscheck: oh okay
krotscheck
2:10 if that doesn't work... I got nothin'.
devkulkarni
2:10 krotscheck: do you have the patch/code where you implemented this handy?
krotscheck
2:10 devkulkarni: Not explicitly, but sahara had a similar problem. Lemme find it.
devkulkarni
2:10 I can try that
2:10 krotscheck: cool
2:11 dims_: *looking at log.py*
krotscheck
2:11 devkulkarni: https:/
patchbot
2:11 krotscheck: patch 287368 - sahara - Moved CORS middleware configuration into oslo-conf... (MERGED)
krotscheck
2:11 You'll note that I had to add a new package and file.
devkulkarni
2:11 krotscheck: thanks for the patch. looking
2:12 e0ne [~e0ne@
devkulkarni
2:13 krotscheck: ok got it. let me try that