Sunday, 2015-12-20

*** david-lyle has joined #openstack-zaqar00:01
*** davideagnello has quit IRC01:14
*** davideagnello has joined #openstack-zaqar04:07
*** JAHoagie has joined #openstack-zaqar07:52
*** JAHoagie has quit IRC08:08
*** akanksha_ has joined #openstack-zaqar10:35
*** akanksha_ has quit IRC12:57
*** david-lyle has quit IRC17:58
*** openstackgerrit has quit IRC18:47
*** openstackgerrit has joined #openstack-zaqar18:47
*** david-lyle has joined #openstack-zaqar18:59
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Add support for subscription create v2  https://review.openstack.org/24939520:53
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Add support for subscription create v2  https://review.openstack.org/24939521:00
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Add support for subscription show v2  https://review.openstack.org/25824521:00
*** mdnadeem has joined #openstack-zaqar21:30
Eva-iflwang: hey, configuration tables autogeneration tool doesn't work with Zaqar correctly - it misses many configuration options. We will need to make some refactorings to Zaqar to fix this. I know 100% working solution, but it will be hard. There's surely an easier way exists, but I need to clear some things with doc team.21:33
flwangwhat's the problem?21:34
flwangwhat do you mean 'We will need to make some refactorings to Zaqar to fix this'?21:34
*** mdnadeem has quit IRC21:36
Eva-iflwang: the tool can't find all configuration options. As I know the tool imports all modules from the project, options are getting registered in cfg.CONF, then from all options in cfg.CONF the tool generates flagmappings file used to generate tables.21:37
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Add support for subscription create v2  https://review.openstack.org/24939521:38
Eva-iflwang: and Zaqar registers options lazily, so importing module from Zaqar doesn't fill up cfg.CONF21:38
Eva-iflwang: many options21:39
Eva-iflwang: for example, here https://github.com/openstack/zaqar/blob/master/zaqar/bootstrap.py#L5721:39
Eva-iflwang: if I move registering these options out of the class to the module(like here: https://github.com/openstack/zaqar/blob/master/zaqar/bootstrap.py#L44), the tool registers the options.21:41
flwangEva-i: ah, i see. my idea is just doc the hacking way in our developer docs and don't change any zaqar code21:41
flwangthat's my suggestion21:46
Eva-iflwang: ok, that would mean I should create tables manually. I think while I'm working on config-ref text, I'll be asking Docs team about easy solution. Maybe there's just one tiny patch needed for Zaqar to make everything working. I'll tell you if I find this solution, ok?21:51
flwanghmm... again, i don't want to change zaqar code for doc21:52
flwanglet me clarify21:52
Eva-iflwang: okay...21:52
flwang1. Change the zaqar code locally21:53
flwang2. generate the table21:53
flwang3. document the process/change in our developer docs21:53
flwangis that ok?21:53
Eva-iflwang: oh, it's a nice idea. Totally okay.21:55
flwangcool21:56
Eva-iflwang: also I wanted to ask: many things in existing config-ref in Zaqar repo are now outdated. Would you like me to fresh things up instead of simple conversion? Can I also add some important things which, I think, are missing in config-ref?22:02
flwangsure, go ahead for anything you think it's right22:05
flwangand we can review it before merge, right? ;)22:06
Eva-iflwang: yeah, of course. It's just though it would be easier to review if I upload patch set with simple conversion first, and next patch set with freshing things up and improvements. But it's more work for me and personally I want to upload first patch set already with improvements.22:11
Eva-i*I just thought22:11
flwangjust do the right thing and let the reviewer know22:18
*** Eva-i has quit IRC22:57
*** Eva-i has joined #openstack-zaqar23:10

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