Wednesday, 2015-02-25

*** crc32 has quit IRC00:11
*** nkinder has joined #openstack-dns00:33
*** EricGonczer_ has joined #openstack-dns00:40
*** EricGonczer_ has quit IRC00:45
*** vinod1 has quit IRC00:51
*** EricGonczer_ has joined #openstack-dns00:53
*** lpmulligan has joined #openstack-dns01:08
*** openstack has joined #openstack-dns01:11
*** ChanServ sets mode: +v openstack01:11
*** kbyrne has quit IRC01:16
*** harmw has quit IRC01:16
*** harmw has joined #openstack-dns01:20
*** ekarlso has quit IRC01:35
*** timfreund has quit IRC01:35
*** dank_ has quit IRC01:35
*** andrewbogott has quit IRC01:35
*** baffle has quit IRC01:35
*** rektide_ has quit IRC01:35
*** kbyrne has joined #openstack-dns01:39
*** ekarlso has joined #openstack-dns01:39
*** andrewbogott has joined #openstack-dns01:39
*** timfreund has joined #openstack-dns01:39
*** 92AAALG4Y has joined #openstack-dns01:39
*** baffle has joined #openstack-dns01:39
*** rektide_ has joined #openstack-dns01:39
*** ekarlso has quit IRC01:40
*** timfreund has quit IRC01:40
*** kbyrne has quit IRC01:40
*** 92AAALG4Y has quit IRC01:40
*** andrewbogott has quit IRC01:40
*** baffle has quit IRC01:40
*** rektide_ has quit IRC01:40
*** kbyrne has joined #openstack-dns01:41
*** ekarlso has joined #openstack-dns01:41
*** andrewbogott has joined #openstack-dns01:41
*** timfreund has joined #openstack-dns01:41
*** 92AAALG4Y has joined #openstack-dns01:41
*** baffle has joined #openstack-dns01:41
*** rektide_ has joined #openstack-dns01:41
*** GonZoPT has quit IRC01:43
*** lpmulligan has quit IRC01:51
*** rektide__ has joined #openstack-dns01:52
*** rmoe has quit IRC01:53
*** rektide_ has quit IRC01:56
*** EricGonczer_ has quit IRC02:09
*** rmoe has joined #openstack-dns02:16
*** mwagner_lap has joined #openstack-dns02:16
*** richm has quit IRC02:42
*** crc32 has joined #openstack-dns04:37
*** crc32 has quit IRC04:44
*** crc32 has joined #openstack-dns05:50
*** crc32 has quit IRC06:20
openstackgerritOpenStack Proposal Bot proposed openstack/designate: Imported Translations from Transifex  https://review.openstack.org/15901006:29
*** ekarlso has quit IRC07:48
*** andrewbogott is now known as andrewbogott_afk08:47
*** ekarlso has joined #openstack-dns08:52
*** jordanP has joined #openstack-dns09:44
*** untriaged-bot has joined #openstack-dns11:02
untriaged-botUntriaged bugs so far:11:02
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141633711:02
openstackLaunchpad bug 1416337 in Designate "Designate server create with concurrent request is not listing all servers even after successful creation." [Undecided,Incomplete]11:02
untriaged-bothttps://bugs.launchpad.net/designate/+bug/142511711:02
openstackLaunchpad bug 1425117 in Designate "Designate does not work with postgres" [High,New]11:02
*** untriaged-bot has quit IRC11:02
*** eandersson has joined #openstack-dns11:09
*** mwagner_lap has quit IRC12:35
*** EricGonczer_ has joined #openstack-dns13:08
*** mwagner_lap has joined #openstack-dns13:23
*** EricGonczer_ has quit IRC13:24
*** richm has joined #openstack-dns14:12
*** nkinder has quit IRC14:18
dvorakI noticed that oslo.db has a use_db_reconnect flag that I can set either for the main designate db connection, or the powerdns one.  It seems like I'd want that on.  Anyone know if that's true?  It defaults to false14:37
*** csoukup has joined #openstack-dns14:52
*** paul_glass has joined #openstack-dns15:05
*** openstackgerrit has quit IRC15:08
*** openstackgerrit has joined #openstack-dns15:08
*** ChanServ sets mode: +v openstackgerrit15:08
*** nkinder has joined #openstack-dns15:08
*** vinod1 has joined #openstack-dns15:29
openstackgerritEric Larson proposed openstack/designate: Add howto for creating PTR records  https://review.openstack.org/15799515:35
paul_glasswhat is the log_config option in designate.conf?15:46
* elarson takes a look15:53
mugsieits an oslo.logging config15:54
elarsonpaul_glass: I'm going to take a guess that it is a yaml (or some other config file) that (in some round about way) uses the logging dictionary config mechanism15:54
mugsieit should point to a logging config file15:54
mugsiewill did up a sample now15:55
mugsiedig*16:00
mugsiepaul_glass: https://docs.python.org/2/howto/logging.html#logging-basic-tutorial16:01
mugsieit is actually a standared python logging config16:01
elarsonpaul_glass: here is the dictConfig doc as well https://docs.python.org/2/library/logging.config.html#module-logging.config16:02
elarsonit seems to be  config file format16:03
elarson*a config file format16:03
paul_glassmugsie/elarson: thanks16:03
*** MentalRay has joined #openstack-dns16:17
timsimGate problem? http://logs.openstack.org/95/157995/4/check/gate-designate-python27/d9978b5/console.html#_2015-02-25_15_43_16_34216:27
timsimSame thing on a docs and translations change. Looks like something weird with dnspython16:27
*** jmcbride has joined #openstack-dns16:31
*** openstackstatus has joined #openstack-dns16:42
*** ChanServ sets mode: +v openstackstatus16:42
*** rmoe has quit IRC16:43
*** jmcbride has quit IRC16:46
*** johnbelamaric has joined #openstack-dns16:47
*** untriaged-bot has joined #openstack-dns17:02
untriaged-botUntriaged bugs so far:17:02
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141633717:02
openstackLaunchpad bug 1416337 in Designate "Designate server create with concurrent request is not listing all servers even after successful creation." [Undecided,Incomplete]17:02
untriaged-bothttps://bugs.launchpad.net/designate/+bug/142511717:02
openstackLaunchpad bug 1425117 in Designate "Designate does not work with postgres" [High,New]17:02
*** jmcbride has joined #openstack-dns17:02
*** untriaged-bot has quit IRC17:02
*** rmoe has joined #openstack-dns17:03
*** EricGonczer_ has joined #openstack-dns17:06
*** EricGonc_ has joined #openstack-dns17:13
*** EricGonczer_ has quit IRC17:15
*** EricGonc_ has quit IRC17:16
*** crc32 has joined #openstack-dns17:31
openstackgerritVinod Mangalpally proposed openstack/designate: Add error state transition for creation of domains  https://review.openstack.org/15920217:37
KiallLooking into the gate issues now...17:37
timsimThanks Kiall17:37
*** mwagner_lap has quit IRC17:41
Kialldnspython has one of the worse APIs around, and eventlet had been, as a side affect, helping us out with some of the more annoying stuff.. That side effect is now gone, so we have to add a whole pile of extra imports around the place.17:42
timsimKiall: Better just write our own ;)17:43
KiallFiled https://bugs.launchpad.net/designate/+bug/1425616 for it ;)17:43
openstackLaunchpad bug 1425616 in Designate "Gate wedged after update to eventlet 0.17.1" [Critical,Triaged]17:43
*** EricGonczer_ has joined #openstack-dns17:44
openstackgerritKiall Mac Innes proposed openstack/designate: Ensure DNSPython modules are imported correctly  https://review.openstack.org/15920617:45
Kiall^ will fix the python27/coverage/pep8/etc tests.. Still have the find the right places for the actual code itself rather than just the tests..17:46
*** jordanP has quit IRC17:46
*** andrewbogott_afk is now known as andrewbogott17:48
*** EricGonczer_ has quit IRC17:52
openstackgerritKiall Mac Innes proposed openstack/designate: Ensure DNSPython modules are imported correctly  https://review.openstack.org/15920617:53
*** EricGonczer_ has joined #openstack-dns17:53
KiallI think I got them all..17:53
*** nkinder has quit IRC17:56
*** EricGonczer_ has quit IRC17:57
*** MentalRay has quit IRC18:06
Kialltimsim / vinod1 / mugsie - pep8/docs/python27/coverage all passing again.. hopefully the devstack gates pass too... Once they do we sould merge to unblock.18:18
mugsieyeah, been waiting for test results to come back18:21
Kiallmugsie: stepping out for 30 mins, can you keep an eye out and add any extra missing imports if it fails before I;m back?18:23
mugsienope18:27
mugsie:)18:27
mugsieyeah, will keep an eye18:27
*** MentalRay has joined #openstack-dns18:28
*** crc32 has quit IRC18:43
Kiallpassed :)18:48
*** crc32 has joined #openstack-dns18:50
mugsie+2'd ;)18:52
timsim+A. Thanks dnspython18:55
elarsontimsim: do you have the link to the meeting minutes for today?18:56
* elarson had a calendar bug and was in the wrong channel :(18:56
timsimelarson: http://eavesdrop.openstack.org/meetings/designate/2015/designate.2015-02-25-17.01.html18:56
timsimhttp://eavesdrop.openstack.org/meetings/designate/2015/designate.2015-02-25-17.01.log.html18:57
elarson.gracias timsim18:57
timsim.denada18:57
paul_glassI'm running latest master (889961f9) and I'm seeing that `designate-manage pool-manager-cache sync` fails to create the pool manager statuses table. This causes an exception in the pool manager: "Table 'designate_pool_manager.pool_manager_statuses' doesn't exist".18:58
paul_glassis this supposed to still work with the new memcached stuff?18:59
timsimpaul_glass: https://media.giphy.com/media/5yLgocDaiayUHB6ZlJK/giphy.gif19:00
timsimI'm sorry I've been waiting to use that all week.19:00
mugsietimsim: good use of it19:00
mugsiepaul_glass: looks like we missed a migration19:01
mugsiehum19:02
mugsieor not19:02
mugsiepaul_glass: you can use the sql backend as well if you wish19:03
KiallOh19:04
Kiallthe migrations are only needed for the sql backend19:04
Kiallwith memcache etc, no migrations are needed19:04
mugsieso sync should create it if the sqla chache backend is selected19:04
paul_glassmugsie/Kiall: I am trying to use the sqlalchemy backend19:04
KiallWell - It should give a better error ;)19:04
Kiallpaul_glass: ah .. Okay, can you paste the output of the p-m-c sync command?19:04
Kiall(into paste.openstack.org )19:05
paul_glassKiall: http://paste.openstack.org/show/182052/19:07
Kiall"DbMigrationError: The database is not under version control, but has tables. Please stamp the current version of the schema manually." .. Okay, so, that's weird.19:07
paul_glassI didn't see that before, because I had added `use_stderr = False` in my designate.conf...19:07
KiallIs the DB empty? or are you using the same DB as designate itself?19:08
paul_glassI'm using the same mysql server for designate and the cache.19:08
Kiallre "Please stamp the current version of the schema manually" - I'm 99% sure this doesn't apply to the migration lib we use.. The alternative to SQLA-migrate, alembic, uses that notion of "stamping"...19:08
paul_glassand yes, the db is empty.19:08
KiallSame mysql server is OK, but you would typically use a DB for designate itself, and a DB for the pool manager cache (or the memcache driver rjrjr+vinod1 just landed)19:09
paul_glassI had dropped the databases and re-added them. Then run designate-manage syncs.19:09
paul_glassKiall: yeah. This is what I do for testing so everything is in one place.19:09
*** EricGonczer_ has joined #openstack-dns19:10
KiallHumm.. Well, I'm not quite sure ... I *think* the p-m-c DB is set to the same thing as Designate, which looks like it might cause that.. If that's not it, then I'm not sure.. Both sets of migrations are ran in the gate and succeed there, so there's at least 1 configuration that works!19:11
paul_glassKiall: okay. I'll look into it some more. thanks!19:12
Kiallpaul_glass: try this.. drop DB's, run p-m-c first, and see where it's tables land - the designate DB, or the p-m-c db19:12
Kiallif they land in the designate DB, then that explains it.. and the bug is likely that we're running for an award in the worst error message ever category ;)19:13
mugsienever....19:14
mugsieour error messages are perfect19:14
mugsie;)19:14
timsimIt just worked fine for me on master.19:15
KiallYep, even winning awards for them ;)19:15
paul_glassKiall: yeah. They pool_manager_statuses table lands in the `designate` db. Is that a config problem on my part.19:16
paul_glass?19:16
paul_glassah, yeah it is.19:16
paul_glassls19:17
paul_glassthanks for the help!19:17
openstackgerritMerged openstack/designate: Ensure DNSPython modules are imported correctly  https://review.openstack.org/15920619:20
Kiallpaul_glass: no problem.. Can you file a bug for that? we should be able to check for and warn about that...19:21
*** jmcbride has quit IRC19:21
*** jmcbride has joined #openstack-dns19:21
*** GonZo2K has joined #openstack-dns19:26
elarsonKiall: when you add the recheck comments, are you selecting something else to rebuild things? just curious if I could have done that myself so a core reviewer doesn't have to trigger it.19:27
KiallAnyone can issue a recheck, the format is either "recheck no bug" or "recheck bug <BUG-NUM>".. The reason I rechecked is, the fix for the gate issue landed19:28
Kialla library released a fix for the gate blocker we had the other day, and it had more collaterial damage.. we just landed a fix for that damage so I rechecked the reviews which looked to be affected19:28
elarsongreat! thanks!19:29
openstackgerritMerged openstack/designate: Implement an Object.from_dict() method  https://review.openstack.org/15872519:48
openstackgerritGraham Hayes proposed openstack/designate: Inital DesignateInterfaceObject commit  https://review.openstack.org/15923619:54
openstackgerritGraham Hayes proposed openstack/designate: Inital DesignateInterfaceObject commit  https://review.openstack.org/15923619:56
openstackgerritKiall Mac Innes proposed openstack/designate: Update tests to use Object.from_dict() method  https://review.openstack.org/15885019:57
openstackgerritGraham Hayes proposed openstack/designate: Inital DesignateInterfaceObject commit  https://review.openstack.org/15923619:57
*** jmcbride has quit IRC20:00
paul_glassKiall: https://bugs.launchpad.net/designate/+bug/142566820:01
openstackLaunchpad bug 1425668 in Designate "Poor error message when using same database for designate and the pool manager cache" [Undecided,New]20:01
mugsiepaul_glass: politer than I would have been in the title :D20:02
*** EricGonczer_ has quit IRC20:05
openstackgerritVinod Mangalpally proposed openstack/designate: Modifications for Resilient Pool Manager Cache  https://review.openstack.org/15875420:10
*** mwagner_lap has joined #openstack-dns20:11
*** johnbelamaric1 has joined #openstack-dns20:12
*** johnbelamaric has quit IRC20:12
openstackgerritVinod Mangalpally proposed openstack/designate: Add error state transition for creation of domains  https://review.openstack.org/15920220:19
*** nkinder has joined #openstack-dns20:19
*** jmcbride has joined #openstack-dns20:23
*** jmcbride has quit IRC20:24
*** jmcbride has joined #openstack-dns20:24
*** johnbelamaric1 has quit IRC20:49
*** johnbelamaric has joined #openstack-dns20:50
*** MentalRay has quit IRC20:50
paul_glassrandom pool manager exception I noticed while CUD-ing a recordset: http://paste.openstack.org/show/182105/20:51
paul_glassor, that could be during a zone CUD.20:52
timsimSeems like it's during periodic recovery20:52
paul_glassI still don't know periodic recovery does.20:53
mugsieit should never happen20:53
timsimFixes zones in an error state.20:53
timsimThat's my favorite error message of ours.20:53
mugsiei am a bit confused about why a status object is comaplaining about a Domain class noit having an id20:54
* mugsie will look at code20:54
mugsieah20:56
mugsie_get_failed_domains is returning domains20:56
mugsienot status objects20:56
mugsie:/20:56
mugsiethats a bug20:56
mugsiepaul_glass: you want to log ^ ?20:57
paul_glassmugsie: sure.20:57
*** 92AAALG4Y is now known as dank_21:05
paul_glasshttps://bugs.launchpad.net/designate/+bug/142569521:08
openstackLaunchpad bug 1425695 in Designate "Unhandled exception during periodic recovery (_get_failed_domains is returning domains instead of status objects)" [Undecided,New]21:08
openstackgerritMerged openstack/designate: Imported Translations from Transifex  https://review.openstack.org/15901021:23
*** jmcbride has quit IRC21:24
*** vinod1 has quit IRC21:29
*** vinod1 has joined #openstack-dns21:32
*** MentalRay has joined #openstack-dns21:32
elarsondo folks have a way of running a single test other than tox path/to/test.py::TestSomeClass::test_function ?21:33
* elarson is guessing that :: is the right delimiter to get to the specific function 21:33
vinod1source .tox/py27/bin/activate21:34
vinod1testr run <full_test_path_name>21:35
vinod1testr list-tests shows all tests21:35
elarsoncool, that makes sense21:36
mugsieor what i do is tox -e py27 designate.tests.test_objects.test_interfaces21:38
mugsieseems to work21:38
mugsiebut not 100% sure if its a random zsh thing i wrote or not21:38
*** jmcbride has joined #openstack-dns21:42
elarsonvinod1: is there a package in the requirements.txt that provides the memecache client?22:04
*** johnbelamaric1 has joined #openstack-dns22:06
*** johnbelamaric has quit IRC22:06
* elarson thinks he just found designate/openstack/common/memorycache.py that does the trick...22:07
openstackgerritVinod Mangalpally proposed openstack/designate: Add error state transition for creation of domains  https://review.openstack.org/15920222:07
elarsonwell that threw me for a loop.22:09
elarsonmemcache doesn't mean memcached but a simple in-memory cache!22:09
timsimWait wut22:12
mugsiethere is a memcache client afaik22:13
mugsie        self.cache = memorycache.get_client(22:13
mugsie            cfg.CONF['pool_manager_cache:memcache'].memcached_servers)22:13
mugsie        self.expiration = cfg.CONF['pool_manager_cache:memcache'].expiration22:13
mugsiei think memorycache can act as a simple cache as well22:14
mugsieoh22:15
mugsie#wait22:15
mugsiedamn22:15
mugsieit fakes the whole thing22:15
mugsiedamn22:15
elarsonmugsie: yeah, I didn't see how it was connecting to a server22:16
elarsonand that memorycache isn't threadsafe either22:16
mugsie-_-22:16
elarsonit should have locks around the set/delete at the client level (IMO)22:16
mugsiei saw the config options, and went "cool" and stopped reading22:17
mugsieelarson: 100%22:17
elarsonfor example: https://github.com/ionrock/cachecontrol/blob/master/cachecontrol/cache.py22:17
mugsiethis should have been a dead give away - """Super simple fake memcache client."""22:17
mugsievinod1: you see ^22:18
elarsonthanks to the GIL doing foo['bar'] = 'baz' is threadsafe, but if you call a function all bets are off22:18
* elarson used to be a betting man ;)22:18
mugsie:)22:18
elarsonvinod1: did that get merged already? if so I'll create launchpad ticket and work to fix it22:18
mugsieit has22:19
mugsiethe driver should be a plugin22:19
* elarson feels a little silly asking vinod1 b/c he is sitting right beside me ;)22:19
elarsonmugsie: cool, I'll create ticket22:19
mugsiebeacuse the current one is fine for unit tests etc22:19
elarsonindeed it is22:20
mugsieelarson: dont feel silly - me and Kiall sit across from each other and talk in here ;)22:20
* elarson went ahead and assigned that to himself. 22:26
mugsieelarson: ++22:32
*** csoukup has quit IRC22:35
vinod1rjrjr: For memcache support in pool manager did you have a driver plugin?22:39
elarsonok, so I think I was incorrect about not using memcached22:42
elarsonif there is a server it does try to import memcache and create a client22:42
elarsonhttps://github.com/openstack/designate/blob/master/designate/openstack/common/memorycache.py#L4422:43
elarsonshould memcache be listed as an optional requirement then?22:44
elarsonpbr seems to make typical setuptools options defunct, so I'm not sure the best way to allow for pip install designate[memcached_pool_cache]22:45
elarsonhere is how I'd do it normally: https://github.com/ionrock/cachecontrol/blob/master/setup.py#L2122:46
vinod1i think so22:46
*** johnbelamaric1 has quit IRC22:46
* elarson gives it a try22:47
*** jmcbride has quit IRC22:55
*** jmcbride has joined #openstack-dns22:55
*** crc32 has quit IRC23:00
openstackgerritGraham Hayes proposed openstack/designate: Inital DesignateInterfaceObject commit  https://review.openstack.org/15923623:02
mugsie^ will fail tests, but if people want to throw an eye over it, that would be great23:02
* mugsie has just realised the time - need to leave the office23:02
*** jmcbride has quit IRC23:12
*** EricGonczer_ has joined #openstack-dns23:16
*** EricGonczer_ has quit IRC23:19
*** MentalRay has quit IRC23:25
*** MentalRay has joined #openstack-dns23:27
*** paul_glass has quit IRC23:42
*** chlong has quit IRC23:43
*** chlong_ has quit IRC23:44
*** vinod1 has quit IRC23:46
*** chlong has joined #openstack-dns23:48

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