Tuesday, 2017-02-28

*** khushbu has quit IRC00:00
*** rackertom has quit IRC00:00
*** amit213 has quit IRC00:01
*** odyssey4me has quit IRC00:02
*** jmccrory has quit IRC00:02
*** amit213 has joined #openstack-dns00:06
*** jmccrory has joined #openstack-dns00:09
*** odyssey4me has joined #openstack-dns00:11
*** EricGonczer_ has joined #openstack-dns00:16
*** sapcc-bot has quit IRC00:23
*** sapcc-bot has joined #openstack-dns00:23
*** khushbu has joined #openstack-dns00:26
*** khushbu has quit IRC00:31
*** hoangcx has joined #openstack-dns00:36
*** gatuus has quit IRC00:51
*** khushbu has joined #openstack-dns00:57
*** khushbu has quit IRC01:01
*** EricGonczer_ has quit IRC01:06
*** EricGonczer_ has joined #openstack-dns01:06
*** khushbu has joined #openstack-dns01:28
*** Andrew_jedi has quit IRC01:29
*** khushbu has quit IRC01:32
*** cuongnv has joined #openstack-dns01:43
*** khushbu has joined #openstack-dns01:58
*** rackertom has joined #openstack-dns02:00
*** khushbu has quit IRC02:03
*** EricGonczer_ has quit IRC02:06
*** khushbu has joined #openstack-dns02:29
*** khushbu has quit IRC02:34
*** khushbu has joined #openstack-dns02:47
*** khushbu has quit IRC02:58
*** khushbu has joined #openstack-dns03:01
*** EricGonczer_ has joined #openstack-dns03:03
*** EricGonczer_ has quit IRC03:18
eanderssoncastlemilk: Is this for the designate-sink?03:21
*** khushbu has quit IRC03:21
castlemilkYea I was thinking it could be done via adding another handler for sink. but im not sure how exactly it works03:22
eanderssonYea - a custom handler would be the way to go.03:22
eanderssonThat's what we use.03:22
eanderssonhttps://github.com/openstack/designate/tree/master/contrib/designate-ext-samplehandler03:23
castlemilkdo you attach multiple networks to VM's?03:23
eanderssonYea03:24
eanderssonDo you have something like an internal and external network?03:25
eanderssonor just multiple ips?03:25
eanderssonYou should be able to create something simple using a custom handler that will fit your needs03:26
castlemilkyea thats exactly it, i want to have a MGMT network with a mgmt domain and then an external network with external domain/zone03:26
eanderssonSo you could do something simple with IPy https://pypi.python.org/pypi/IPy/03:27
eanderssonand a custom handler03:27
eanderssonBased on the IP type (e.g. Private) you can assign a specific domain03:28
castlemilk will designate just load any handler i add into designate/notification_handler? and on the designate-sink service reload?03:31
eanderssonyou need to add it to the config as well03:31
castlemilkyep03:31
eanderssonand technically you need to install it03:31
*** khushbu has joined #openstack-dns03:31
eanderssonpython setup.py install on that project should be enough03:31
eanderssonhttps://github.com/openstack/designate/tree/master/contrib/designate-ext-samplehandler03:32
castlemilkok ill give it ago, looks like i just need to modify the existing nova_fixed a little bit03:32
eanderssonYep03:33
castlemilkcheers03:33
eanderssonThat could work, would recommend making a "plugin" though so that you can upgrade designate later on03:33
eanderssonwithout issues :p03:33
castlemilkhmm03:33
*** khushbu has quit IRC03:36
castlemilkdoes that involve much work?03:36
castlemilkdoes sink support multiple handlers?04:04
*** khushbu has joined #openstack-dns04:13
*** EricGonczer_ has joined #openstack-dns04:33
*** EricGonczer_ has quit IRC04:35
openstackgerritOpenStack Proposal Bot proposed openstack/designate master: Updated from global requirements  https://review.openstack.org/43830505:38
*** tdink has quit IRC06:27
*** khushbu has quit IRC06:38
*** khushbu has joined #openstack-dns06:38
*** richm has quit IRC06:43
*** khushbu has quit IRC06:57
*** khushbu has joined #openstack-dns06:59
castlemilkI've finished a customer sink handler, and I'm looking to now enable it in designate07:10
castlemilkI've enabled it in [service:sink] and added the corresponding configuration in [handler:custom_handler]07:11
castlemilkwhat else is required to make designate take my custom handler module07:11
*** khushbu has quit IRC07:18
eftepedeAnyone here? I have some struggle with managing permissions with policy.json.07:29
*** khushbu has joined #openstack-dns07:45
*** carthaca_ has joined #openstack-dns07:46
carthaca_Hi eftepede, what do you want to achieve?07:46
eftepedeI want to allow creating zones only to admin.07:47
eftepedeMy setup is: I have tenant inside openstack with designate on 4 VMs.07:48
eftepedeMitaka, designate-3.0.007:48
eftepedeWhich tenant is checked, anyway?07:48
eftepede'Services', where I have my designate user?07:49
eftepedeOt the tenant that I provide with OS_TENANT_NAME?07:49
carthaca_In the policy.json you can change the rule "create_zone" to "rule:admin"07:50
eftepede[root@api-instance ~]# grep create_zone /etc/designate/policy.json07:50
eftepede  "create_zone": "rule:admin",07:50
eftepedeI have it07:50
carthaca_for the owner check it compares the tenant out of the token (so yes, that's the one you provide with OS_TENANT_NAME) with the one on the object07:51
eftepedeSo ok, I'm a 'member' of this tenant and I still can create zone.07:51
carthaca_are you sure that you don't have the 'admin' role and that you are not operating in the 'admin' project aka tenant?07:52
eftepedeOS_TENANT_NAME is definitely not 'admin'.07:53
eftepedeAnd my user for this tenant is member.07:53
carthaca_can you double-check the token content for the roles you get?07:55
*** khushbu has quit IRC07:55
eftepedeI'm not sure if I know, how.07:55
carthaca_openstack --debug token issue07:56
eftepedeAnd what to look for?07:57
carthaca_for the roles and the is_admin flag07:58
eftepedeIn api.log I have something like:08:00
eftepedeRESP BODY: {"token": {"methods": ["password"], "roles": [{"id": "9fe2ff9ee4384b1894a90878d3e92bab", "name": "_member_"}],08:00
eftepedeAnd nothing about is_admin08:00
eftepedeJust to be sure: policy.json has to be where designate-api is, right?08:02
carthaca_yes08:03
eftepedeAnd the designate is aware of this file without any line in designate.conf?08:04
eftepedeBecause I don't have any, so maybe it's just ignored?08:04
carthaca_you should see an INFO output on the designate-api start, what policy is used08:06
eftepede2017-02-28 09:07:44.831 17107 INFO designate.policy [-] Using policy_file found at: /etc/designate/policy.json08:08
eftepedeSeems ok08:08
eftepedeAlso I have a line:08:09
eftepede2017-02-28 09:07:44.850 17107 DEBUG designate.policy [-] Enforcer is not present, recreating. init /usr/lib/python2.7/site-packages/designate/policy.py:8008:09
eftepedeShould I be worried?08:09
carthaca_No, I think that is ok08:10
*** khushbu has joined #openstack-dns08:10
eftepedehttp://pastebin.com/U8hT9Zin - and it's my policy.json. Like default one, just a few changes.08:12
carthaca_looks good to me, besides line 45 ^^08:15
carthaca_maybe make sure that the same policy file is also present on the other services, but other than that I'm out of ideas currently08:16
carthaca_we use something similar and it works -.-08:16
*** pcaruana has joined #openstack-dns08:17
carthaca_especially designate-central, because I see the policy forbidden response coming from there08:18
*** khushbu has quit IRC08:19
eftepedeDon't boter with line 45, is a control sign from vim - I've pasted it from the terminal with scrolling ;-)08:20
eftepedeOk, let me copy policy.json to the other hosts as well.08:21
*** khushbu has joined #openstack-dns08:25
eftepedeNow I have timeout.08:26
eftepedeOk, wrong perminssions for policy.json on central.08:28
eftepede[cloud-user@api-instance ~]$ openstack zone list08:29
eftepedeforbidden08:29
eftepedewhoa.08:29
eftepedeIt's working.08:30
eftepede;-)08:30
eftepedeOk, so I have to have policy.json on central.08:30
eftepedeThat was the problem.08:30
eftepedecarthaca_: Thanks!08:32
carthaca_: )08:34
eftepedeSo the only thing that left: I'm creating VMs with heat template, provide pools.json via write_file and using run_cmd to execute designate-manage pool update08:35
eftepedeIt doesn't work, but I suppose it's cloud-init fault.08:35
*** gk-1wm-su has joined #openstack-dns08:37
*** gk-1wm-su has left #openstack-dns08:37
carthaca_to be safe: it has to be a yaml, but I guess this was just a typo ..08:42
eftepedeyaml, yaml, ofc.08:43
*** khushbu has quit IRC09:01
*** khushbu has joined #openstack-dns09:06
*** vcn[m] has quit IRC09:09
*** khushbu has quit IRC09:11
*** khushbu has joined #openstack-dns09:16
*** fandi has joined #openstack-dns09:20
castlemilkanyone built custom plugins for notification_handler before?09:47
*** khushbu has quit IRC09:51
*** khushbu has joined #openstack-dns09:54
*** cuongnv has quit IRC10:02
*** sapcc-bot has quit IRC10:03
*** sapcc-bot has joined #openstack-dns10:04
*** hoangcx has quit IRC10:10
*** fandi has quit IRC10:13
*** kiall has joined #openstack-dns10:36
*** vcn[m] has joined #openstack-dns10:39
*** richm has joined #openstack-dns11:14
*** khushbu has quit IRC11:25
*** khushbu has joined #openstack-dns11:26
*** khushbu has quit IRC11:48
*** khushbu has joined #openstack-dns11:57
*** EricGonczer_ has joined #openstack-dns12:22
*** eftepede is now known as ftpd12:53
*** afranc has quit IRC12:56
*** afranc has joined #openstack-dns13:01
-openstackstatus- NOTICE: restarting gerrit to address performance problems13:05
*** ChanServ changes topic to "restarting gerrit to address performance problems"13:05
*** khushbu has quit IRC13:29
*** amoralej is now known as amoralej|lunch13:32
-openstackstatus- NOTICE: ok gerrit is back to normal13:34
*** ChanServ changes topic to "ok gerrit is back to normal"13:34
*** ChanServ changes topic to "OpenStack Designate - Logged @ http://eavesdrop.openstack.org/irclogs/%23openstack-dns | Review Dashboard @ http://graham.hayes.ie/designate/dashboard | Bugs Dashboard @ http://ham.ie/designate-bugs"13:41
-openstackstatus- NOTICE: gerrit is back to normal and I don't know how to use the openstackstaus bot13:41
openstackgerritMerged openstack/designate master: Update Architecture Doc  https://review.openstack.org/43708513:49
*** khushbu has joined #openstack-dns13:51
*** zhurong has joined #openstack-dns13:52
openstackgerritOpenStack Proposal Bot proposed openstack/designate master: Updated from global requirements  https://review.openstack.org/43830513:56
*** mlavalle has joined #openstack-dns13:56
*** mlavalle has quit IRC14:00
*** mlavalle has joined #openstack-dns14:00
*** openstackgerrit has quit IRC14:03
*** fyxim has quit IRC14:09
*** fyxim has joined #openstack-dns14:12
*** openstackgerrit has joined #openstack-dns14:25
*** ChanServ sets mode: +v openstackgerrit14:25
openstackgerritGraham Hayes proposed openstack/designate-tempest-plugin master: Fix the removal of skip_unless_config decorator in Tempest  https://review.openstack.org/43664014:25
openstackgerritGraham Hayes proposed openstack/designate master: [doc] Update Ubuntu dev environment doc  https://review.openstack.org/43768914:29
*** chlong has joined #openstack-dns14:31
*** khushbu has quit IRC14:31
*** amoralej|lunch is now known as amoralej14:38
openstackgerritGraham Hayes proposed openstack/designate master: Move docs to tempest plugin repo  https://review.openstack.org/43766814:41
*** tdink has joined #openstack-dns14:44
openstackgerritMerged openstack/designate stable/ocata: Updated from global requirements  https://review.openstack.org/43623114:58
openstackgerritMerged openstack/designate stable/newton: Updated from global requirements  https://review.openstack.org/43852014:58
openstackgerritMerged openstack/designate-tempest-plugin master: Add Docs for plugin  https://review.openstack.org/43766215:05
openstackgerritMerged openstack/designate master: [doc] Update Ubuntu dev environment doc  https://review.openstack.org/43768915:05
*** zhurong has quit IRC15:10
*** chlong has quit IRC15:11
*** tdink has quit IRC15:11
*** EricGonc_ has joined #openstack-dns15:17
*** EricGonczer_ has quit IRC15:19
*** tdink has joined #openstack-dns15:34
*** khushbu has joined #openstack-dns15:42
*** chlong has joined #openstack-dns15:43
openstackgerritMerged openstack/designate master: Updated from global requirements  https://review.openstack.org/43830515:48
openstackgerritMerged openstack/designate-dashboard stable/ocata: Imported Translations from Zanata  https://review.openstack.org/43575315:52
openstackgerritGraham Hayes proposed openstack/designate master: RRTYPE list in API  https://review.openstack.org/33774415:54
*** khushbu has quit IRC16:09
*** mugsie__ is now known as mugsie16:09
*** khushbu has joined #openstack-dns16:10
*** khushbu has quit IRC16:14
carthaca_Hi mugsie, it is obvious you must be here : ) Can I ask a bit about reverse DNS?16:19
carthaca_I'm thinking how to best solve the problem of overlapping networks16:19
*** khushbu has joined #openstack-dns16:20
carthaca_What could work I guess: installing a bind directly into the network, create a pool for it and thus control it via designate - but this seems kind of heavy16:21
carthaca_Are there maybe any ongoing plans for integration into the existing neutron dnsmasq that runs with the dhcp?16:22
*** khushbu has quit IRC16:22
mugsiecarthaca_: heh - you managed to get me when I was making coffee :)16:29
mugsieYes - long term we would be looking to do that16:29
mugsiebut very long term16:30
mugsiewe have a lack of a devs, and that change would require a large time investment16:30
mugsiethe idea was to have "private" pools16:30
mugsie#when would attach to the network16:31
mugsiewhich would*16:31
mugsieand then we would update the dnsmasq config to add a "forwarding" rule for each dns zone in the pool16:31
carthaca_I see, at least good to know that I'm not overlooking something that is already there16:32
mugsieso it would send queries to the designate server for those zones, and still lookup from the internet16:32
mugsieyeah - right now the only solution is a pool per network, and manually updating the dnsmasq config, which is .... dirty16:33
carthaca_Maybe I can start looking into this myself, but that's a bit out of my hands16:33
mugsiei know the feeling :(16:33
carthaca_the other way I was thinking to guard the networks, and only allow reverse zones for certain networks with no collisions16:34
*** pcaruana has quit IRC16:34
mugsieyeah - you could do that now my registering the top reverse zone, and having admins create the sdubdomain, and then transfer ownership to the project that wants it16:35
carthaca_but that's not easy, too - neutron subnetpools will help I guess, but it would cut off the freedom to choose the cidr16:35
mugsietrue :/16:35
* mugsie wanst to go back to Class A, B and C networks16:36
carthaca_or directly jump to ipv6 xD16:36
mugsie:)16:38
*** khushbu has joined #openstack-dns16:38
*** khushbu has quit IRC16:42
*** gatuus has joined #openstack-dns16:44
*** vcn[m] has quit IRC17:11
*** gatuus has quit IRC17:42
*** gatuus has joined #openstack-dns17:48
*** khushbu has joined #openstack-dns17:49
*** khushbu has quit IRC17:54
*** vcn[m] has joined #openstack-dns17:54
*** chlong has quit IRC18:06
*** castlemi_ has joined #openstack-dns18:15
*** castlemilk has quit IRC18:18
*** castlemilk has joined #openstack-dns18:20
*** castlemi_ has quit IRC18:23
*** mlavalle has quit IRC18:35
*** amoralej is now known as amoralej|off19:13
*** chlong has joined #openstack-dns19:25
*** khushbu has joined #openstack-dns19:44
*** khushbu has quit IRC19:48
*** gatuus has quit IRC20:07
*** mlavalle has joined #openstack-dns20:09
*** khushbu has joined #openstack-dns20:14
*** castlemilk has quit IRC20:16
*** khushbu has quit IRC20:19
*** castlemi_ has joined #openstack-dns20:34
*** khushbu has joined #openstack-dns20:45
*** khushbu has quit IRC20:49
*** tdink has quit IRC21:02
*** castlemi_ has quit IRC21:02
*** mugsie|a1t has quit IRC21:14
*** mugsie|alt has joined #openstack-dns21:14
*** khushbu has joined #openstack-dns21:15
*** castlemilk has joined #openstack-dns21:17
*** khushbu has quit IRC21:20
*** chlong has quit IRC21:27
*** tdink has joined #openstack-dns21:27
eanderssoncastlemilk: Did you get it working?21:30
castlemilkyea made a typo when adding the extension to setup.cfg lol21:30
eanderssonHah yea easy mistake to make :p21:31
castlemilkim suprised there isnt a library of contrib extensions21:34
*** chlong has joined #openstack-dns21:39
*** tdink has quit IRC21:43
*** tdink has joined #openstack-dns21:43
*** khushbu has joined #openstack-dns21:46
*** khushbu has quit IRC21:51
*** chlong has quit IRC21:58
*** saju_m has joined #openstack-dns21:59
saju_mHi, i have a question22:00
saju_mWhy Domains panel is disabled in designate-dashboard ?22:00
saju_mI have tried to enable that by set ENABLED=False in _1720_project_dns_panel.py22:02
*** ducttape_ has joined #openstack-dns22:10
eanderssoncastlemilk: I think most custom solutions are tailored specifically to their own infra.22:17
castlemilkyea that would make sense, but filtering addresses for a domain seems like a common use case. Unless I've missed something and there's other ways to make designate register one address out of the list of 'fixed_ips'22:19
openstackgerritsajuptpm proposed openstack/designate-dashboard master: enable Domains panel and fix duplicate app error  https://review.openstack.org/43919222:25
*** khushbu has joined #openstack-dns22:27
eanderssoncastlemilk: I think the normal use case would be to use floating ips for external addresses22:28
castlemilkoh ok, yea im working with a really simple L2 provider network cluster. Will look into floating ips more22:30
*** khushbu has quit IRC22:32
eanderssonnothing wrong with keeping things simple =]23:04
eanderssonbut yea floating ips are pretty cool23:04
openstackgerritOpenStack Proposal Bot proposed openstack/designate master: Updated from global requirements  https://review.openstack.org/43921323:16
openstackgerritOpenStack Proposal Bot proposed openstack/designate-tempest-plugin master: Updated from global requirements  https://review.openstack.org/43921423:16
*** ducttape_ has quit IRC23:23
*** saju_m has quit IRC23:59

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