Thursday, 2015-03-12

*** tundrajimmy has left #openstack-dns00:00
*** rmoe has quit IRC00:08
*** penick has joined #openstack-dns00:12
*** bandarji has quit IRC00:15
*** boris-42 has joined #openstack-dns00:15
*** penick has quit IRC00:20
*** mwagner_lap has joined #openstack-dns00:21
*** rmoe has joined #openstack-dns00:27
*** andrewbogott is now known as andrewbogott_afk00:41
*** EricGonczer_ has quit IRC00:42
*** MentalRay has joined #openstack-dns00:44
*** csoukup has quit IRC00:47
*** pk_ has quit IRC00:51
*** chlong has quit IRC00:55
*** chlong has joined #openstack-dns00:55
*** ianbrown has joined #openstack-dns01:00
*** MentalRay has quit IRC01:05
*** pk_ has joined #openstack-dns01:11
*** pk_ has quit IRC01:12
*** MentalRay has joined #openstack-dns01:24
*** EricGonczer_ has joined #openstack-dns01:26
*** stanzgy_ has joined #openstack-dns01:36
*** stanzgy has joined #openstack-dns01:36
*** EricGonczer_ has quit IRC01:41
*** andrewbogott_afk is now known as andrewbogott01:42
*** ianbrown has quit IRC01:55
*** andrewbogott is now known as andrewbogott_afk01:58
*** ianbrown has joined #openstack-dns02:00
*** richm has quit IRC02:24
*** ianbrown has quit IRC02:25
*** MentalRay has quit IRC02:45
*** MentalRay has joined #openstack-dns02:56
*** MentalRay has quit IRC03:18
*** ianbrown has joined #openstack-dns03:22
*** penick has joined #openstack-dns04:06
*** penick has quit IRC04:12
*** dvorak has quit IRC05:05
*** mikal_ has joined #openstack-dns05:09
*** mariusv has quit IRC05:09
*** mikal has quit IRC05:09
*** raginbajin has quit IRC05:09
*** mariusv has joined #openstack-dns05:09
*** mariusv has quit IRC05:09
*** mariusv has joined #openstack-dns05:09
*** raginbajin has joined #openstack-dns05:13
*** dvorak has joined #openstack-dns05:14
*** ianbrown has quit IRC05:23
*** ianbrown has joined #openstack-dns06:01
*** ianbrown has quit IRC06:32
*** ianbrown has joined #openstack-dns07:28
*** ianbrown has quit IRC07:33
*** jordanP has joined #openstack-dns08:33
*** jschwarz has joined #openstack-dns08:40
*** ianbrown has joined #openstack-dns09:11
*** ianbrown has quit IRC09:16
*** stanzgy_ has quit IRC09:26
*** stanzgy_ has joined #openstack-dns09:26
*** jordanP has quit IRC10:00
*** stanzgy has quit IRC10:19
*** stanzgy has joined #openstack-dns10:20
*** stanzgy has quit IRC10:50
*** stanzgy_ has quit IRC10:51
*** ianbrown has joined #openstack-dns11:00
*** untriaged-bot has joined #openstack-dns11:02
untriaged-botUntriaged bugs so far:11:02
untriaged-bothttps://bugs.launchpad.net/designate/+bug/142566811:02
openstackLaunchpad bug 1425668 in Designate "Poor error message when using same database for designate and the pool manager cache" [Undecided,New]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-bothttps://bugs.launchpad.net/designate/+bug/143097611:02
openstackLaunchpad bug 1430976 in Designate "Pool Manager creates/deletes can go into an infinite loop" [Undecided,New]11:02
*** untriaged-bot has quit IRC11:02
*** ianbrown has quit IRC11:05
*** EricGonczer_ has joined #openstack-dns11:12
*** mwagner_lap has quit IRC12:04
*** ianbrown has joined #openstack-dns12:05
*** EricGonczer_ has quit IRC12:13
openstackgerritEndre Karlson proposed openstack/designate: MDNS part of Secondary zones  https://review.openstack.org/13368312:26
*** ianbrown has quit IRC12:37
*** vipul has quit IRC12:48
*** vipul has joined #openstack-dns12:48
*** mwagner_lap has joined #openstack-dns12:52
*** jschwarz has quit IRC13:03
*** richm has joined #openstack-dns13:28
*** ianbrown has joined #openstack-dns13:34
*** ianbrown has quit IRC13:38
*** vinod1 has joined #openstack-dns13:56
*** EricGonczer_ has joined #openstack-dns13:59
*** paul_glass has joined #openstack-dns14:05
*** johnbelamaric has joined #openstack-dns14:07
*** MentalRay has joined #openstack-dns14:09
*** MentalRay_ has joined #openstack-dns14:12
*** MentalRay has quit IRC14:14
*** andrewbogott_afk is now known as andrewbogott14:18
*** csoukup has joined #openstack-dns14:31
*** MentalRay_ has quit IRC14:33
*** MentalRay_ has joined #openstack-dns14:36
elarsonhey guys, I had a thought and wanted to see if I'm totally crazy14:47
timsimYes you are ;)14:47
elarsonI knew it!14:47
timsimOh. I'll wait :)14:47
elarsonso anyway ;)14:48
elarsonI was thinking of using a the policy checker to add a hook when performing operations to allow specific deployments to do any org specific filtering14:49
elarsonthis happens in the central service, but I imagine it could happen anywhere14:49
elarsonthe idea being, you could add your own policy.check('vendor_$action', *args) that would look for any vendor specific policies14:50
elarsonin our case it is checking against a legacy dns system before trying to do something like create a new zone14:50
elarsonwith that in mind, is the policy checker a crazy pants place to consider this?14:51
*** johnbelamaric has quit IRC14:51
timsimIs there a decent way to inject vendor-specifc code in there? (I've never really played with that much)14:51
elarsonbtw, if the answer is "I'm not sure, I'd have to see the code", that is totally fine14:52
elarsontimsim: I'm pretty sure there is as it gets its hints from the policy.json which could change from org to org14:52
* elarson does a quick sanity check14:52
timsimI think that can just check against some rule you define, but I don't know about saying policy.check('someweirdthing') and having it go off and call some other api for example. I think it just checks the roles attached to the context object against the rules defined in policy.json?14:54
elarsontimsim: you are definitely correct that it does that, but I got the impression it supported discoverying new rules via available entry points, which leads me to believe it is possible.14:55
Kiallelarson: So, you're probably thinking of something (implementation wise) similar to Neutron: https://github.com/openstack/neutron/blob/master/neutron/policy.py14:55
Kiallcheck L229 ish14:55
elarsonfor example, if your "admin" policy checked some vendor specific directory store14:55
* elarson looks14:55
*** penick has joined #openstack-dns14:56
KiallThey define custom checks - so in your policy you can change, for example, the create_domain rule to "verdor_bla:%(tenant_id)s" etc14:56
*** penick has quit IRC14:56
Kiallthen, your class will be called with the tenant_id etc and you can do whatever you like in there14:57
elarsonKiall: so it seems I'm not *totally* crazy14:57
KiallNot totally crazy anyway ;)14:57
elarsonright, just an eccentric emacs using genius, I get it :P14:58
KiallI've not done more than glance at that code, so I know it's possible to do simple stuff.. but complex rules might be .. harder .. Not sure14:58
elarsonI'll see how it goes then14:59
timsimAnother thing to keep in mind is that anything you do before calling central.create_domain is going to be syncronous, and increase your HTTP response time14:59
KiallAnd.. I'd imagine support for it doesn't really land in designate.. Other than a config option for "verdor_policy_module" or similar that we just import, which triggeres the new check registration and so on..14:59
elarsonKiall: exactly, that is why I was looking at previously defined modules that potentially looked in pkg_resources for hints15:00
Kialltimsim: yea, if you want to make a bunch of API calls to other services etc, I can imagine things will start getting slow..15:00
KiallAh, well - we use "stevedore" all over the place for plugins rather than pkg_resources directly :)15:00
timsimAnd if those are absolutely necessary to do before you create, and they stop working, you can't create anything.15:00
*** jschwarz has joined #openstack-dns15:02
elarsontimsim: the reason to use central would be to make sure the request responds quickly. it is not necessarily there to do any filtering15:02
* elarson has struggled to completely understand the reasoning for the central server as it is a pretty big indirection at times15:02
elarsonbut that makes sense15:03
Kiallelarson: It's there since we've always planned to have multiple "APIs" - e.g. REST, miniDNS - which I originally envisioned as multiple services.. Outbound AXFR, Inbound AXFR, Dynamic DNS etc etc15:04
*** EricGonc_ has joined #openstack-dns15:05
*** EricGonczer_ has quit IRC15:06
elarsonKiall: right, it wasn't always clear how involved it should be. it sounds (as timsim and I just chatted about it) like it basically handles minimum essential concerns in order to be as responsive as possible. that aspect now makes sense to me. my thinking was it was there to help "filter" requests at some higher level. so one might add something like an external check in order to avoid sending unecessary work to the pool manager. but it15:14
elarsonis clear now the design is that pool manager is really where any *real* work should happen.15:14
*** EricGonczer_ has joined #openstack-dns15:17
*** EricGonc_ has quit IRC15:18
*** tundrajimmy has joined #openstack-dns15:46
openstackgerritMerged openstack/designate: Call central's update_status correctly  https://review.openstack.org/16275415:55
openstackgerritMerged openstack/designate: Introduce Guru Meditation Reports into Designate  https://review.openstack.org/16292815:56
*** rmoe has quit IRC16:10
zigoandrewbogott: How may I help?16:16
andrewbogottzigo: ah, I think I’m mostly unstuck at this point :)  Built Trusty packages from the -18 source packages.16:16
andrewbogottOh, but:  Are those /debian files in a git repo anywhere?16:16
zigoandrewbogott: git clone git://git.debian.org/openstack/designate.git16:17
zigoLike everything I do...16:17
andrewbogotteasy enough :)  Thanks16:17
zigoI use git-buildpackage and sbuild to build.16:17
zigoandrewbogott: If you want to use my build environment, you can fetch openstack-pkg-tools from the same git, and use "pkgos-bop".16:18
zigoI use pkgos-setup-jenkins to build my environment, though if you don't need jenkins, you can just have a look to what the script does just to get your sbuild system up and running.16:19
andrewbogottOK, noted — with any luck I’ll only ever need to build these packages once, so that may be overkill.  But we’ll see how it goes.16:19
zigoandrewbogott: Oh, and openstack-pkg-tools from the debian/experimental branch, not the unstable one (which is frozen because of Jessie's freeze).16:20
*** bandarji has joined #openstack-dns16:23
*** rmoe has joined #openstack-dns16:28
*** kragniz has left #openstack-dns16:33
openstackgerritTim Simmons proposed openstack/designate: Smarter Create/Delete in BIND9/Agent  https://review.openstack.org/16390116:55
*** mwagner_lap has quit IRC16:59
*** untriaged-bot has joined #openstack-dns17:02
untriaged-botUntriaged bugs so far:17:02
untriaged-bothttps://bugs.launchpad.net/designate/+bug/142566817:02
openstackLaunchpad bug 1425668 in Designate "Poor error message when using same database for designate and the pool manager cache" [Undecided,New]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
untriaged-bothttps://bugs.launchpad.net/designate/+bug/143097617:02
openstackLaunchpad bug 1430976 in Designate "Pool Manager creates/deletes can go into an infinite loop" [Undecided,In progress] - Assigned to Tim Simmons (tim-simmons-t)17:02
*** untriaged-bot has quit IRC17:02
andrewbogotthm… zigo, would you expect those packages to set up service scripts?  And, systemd or upstart or…?17:46
* andrewbogott looks at the source17:46
*** pk_ has joined #openstack-dns18:02
*** mwagner_lap has joined #openstack-dns18:06
*** jschwarz has quit IRC18:20
*** pk_ has quit IRC18:21
*** penick has joined #openstack-dns18:21
zigoandrewbogott: My packages support all of sysv-rc, upstart and systemd, thanks to openstack-pkg-tools generation.18:22
zigoandrewbogott: Ubuntu adopted this system as well.18:22
andrewbogottzigo: hm, ok — maybe I need to rejigger the openstack-pkg-tools version.  I don’t have any init scripts on this pass18:26
andrewbogott-18 requests version 22 of pkg-tools but Trusty ships with version 8.  Most likely that’s an issue18:27
*** pk_ has joined #openstack-dns18:33
*** pk_ has quit IRC18:33
*** vinod1 has quit IRC18:59
zigoandrewbogott: Indeed, that's an issue. Just backport the version 22 from Jessie.19:02
andrewbogottyep, done — now I’m rebuilding the designate packages to expect it (previously I had dropped the requirement to fit)19:02
andrewbogottzigo: worked!19:11
*** pk_ has joined #openstack-dns19:11
*** crc32 has joined #openstack-dns19:22
*** vinod1 has joined #openstack-dns19:23
openstackgerritMerged openstack/designate: Create DesignateAdapter and surrounding infrastructure  https://review.openstack.org/16134019:24
*** openstackgerrit has quit IRC19:40
*** openstackgerrit has joined #openstack-dns19:40
*** ChanServ sets mode: +v openstackgerrit19:40
*** mikal_ is now known as mikal20:02
*** pk__ has joined #openstack-dns20:06
*** pk_ has quit IRC20:06
*** pk__ has quit IRC20:08
openstackgerritVinod Mangalpally proposed openstack/designate: Send the correct domain object to update_domain  https://review.openstack.org/16395220:23
*** vinod1 has quit IRC20:27
*** MentalRay_ has quit IRC20:30
*** MentalRay has joined #openstack-dns20:32
*** vinod1 has joined #openstack-dns20:41
*** pk_ has joined #openstack-dns20:52
*** pk_ has quit IRC20:52
*** pk_ has joined #openstack-dns20:53
*** penick has quit IRC20:55
*** penick has joined #openstack-dns21:04
*** penick has quit IRC21:04
*** vinod1 has quit IRC21:08
*** pk_ has quit IRC21:29
*** EricGonczer_ has quit IRC21:36
*** EricGonczer_ has joined #openstack-dns22:11
*** EricGonczer_ has quit IRC22:14
*** MentalRay has quit IRC22:15
*** paul_glass has quit IRC22:23
openstackgerritEndre Karlson proposed openstack/designate: MDNS part of Secondary zones  https://review.openstack.org/13368322:26
*** logan2 has quit IRC22:26
*** csoukup has quit IRC22:35
*** MentalRay has joined #openstack-dns22:53
*** andrewbogott is now known as andrewbogott_afk23:18
*** crc32 has quit IRC23:20
*** MentalRay has quit IRC23:43

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