Tuesday, 2017-02-21

*** catinthe_ has quit IRC00:17
*** catintheroof has joined #openstack-dns00:19
*** catintheroof has quit IRC00:23
*** EricGonczer_ has joined #openstack-dns00:38
*** hoangcx has joined #openstack-dns00:41
*** cuongnv has joined #openstack-dns00:56
*** cuongnv has quit IRC01:54
*** cuongnv has joined #openstack-dns01:55
*** abalutoiu has joined #openstack-dns02:11
*** abalutoiu has quit IRC02:26
*** zhurong has joined #openstack-dns03:01
*** sonuk has joined #openstack-dns03:08
*** sonuk has quit IRC03:24
*** sonuk has joined #openstack-dns03:45
*** zhurong has quit IRC04:01
*** chlong has joined #openstack-dns04:03
*** EricGonczer_ has quit IRC04:25
*** cuongnv has quit IRC04:49
*** gatuus has quit IRC05:01
*** baffle has quit IRC05:41
*** baffle has joined #openstack-dns05:42
*** vcn has joined #openstack-dns06:37
*** hoangcx_ has joined #openstack-dns07:30
*** openstackgerrit has quit IRC07:32
*** hoangcx has quit IRC07:33
*** pcaruana has joined #openstack-dns07:37
*** hoangcx has joined #openstack-dns08:12
*** hoangcx_ has quit IRC08:14
*** amoralej|off is now known as amoralej08:27
*** logan- has quit IRC09:16
*** hoangcx has quit IRC10:39
*** vcn has quit IRC11:35
*** logan- has joined #openstack-dns12:35
*** EricGonczer_ has joined #openstack-dns12:41
*** haplo37_ has quit IRC12:46
*** haplo37_ has joined #openstack-dns12:49
*** amoralej is now known as amoralej|lunch13:39
*** EricGonczer_ has quit IRC13:39
*** amoralej|lunch is now known as amoralej13:57
*** cleong has joined #openstack-dns14:02
*** abalutoiu has joined #openstack-dns14:14
*** abalutoiu has quit IRC14:16
*** abalutoiu has joined #openstack-dns14:16
shewlesstimsim: Hi. I found an interesting thing in designate.conf that might work for me.  Just wanted to check if my understanding is correct14:16
timsimshoot14:16
shewlessIn this section: [handler:neutron_floatingip]14:16
shewlessI see this: #format = '%(hostname)s.%(project)s.%(domain)s'14:16
shewlessthat is basically exactly what I want!14:16
shewlessdo I just need to configure neutron to create records when a floating IP is created and then set this up in designate.conf?14:17
timsimNot quite.14:17
timsimThere is an integration to do that, but there's a different method to do it https://docs.openstack.org/newton/networking-guide/config-dns-int.html14:18
timsimThe format isn't quite that simple to set either.14:18
shewlesstimsim: okay. I've read that method before. I sort of gave up because I didn't think I could put the "project name" in in the record14:19
timsimThat configuration section is for the designate-sink service, which consumes notifications from nova/neutron.14:19
shewlessbut that "format" option gives me hope.14:19
timsimIt's encouraged to use the actual neutron integration, rather than sink. But then you've got to do some more creative setting up with dns names in neutron to make what you want to work happen.14:20
shewlessoh I see so it's between using "neutron" and "sink" ?14:21
shewlesswhen I've looked at the neutron settings I can't find a way to get the project name as part of the record created.14:23
shewlessmaybe there is a setting I've overlooked?14:23
timsimIt's all in here, it's not as simple as a config option: https://docs.openstack.org/newton/networking-guide/config-dns-int.html14:26
shewlesstimsim: when I read that doc I don't see a way to customize the record name that is created.14:27
shewlessis it in there?14:27
timsimI think you can customize the dns zone that gets used per network or per floating ip. So you could have <whateveritcreates>.<tenant>.<company>.com or something.14:28
*** sonuk has quit IRC14:37
*** KeithMnemonic has joined #openstack-dns14:38
shewlesstimsim: My usecase is that all of my users pull from the same "ext-net". Would that prevent me from having <instance>.<tenant>.<cokmpany>.com14:40
*** sapcc-bot has quit IRC14:40
*** carthaca_ has quit IRC14:40
*** sapcc-bot has joined #openstack-dns14:40
*** dgonzalez_ has joined #openstack-dns14:40
*** carthaca_ has joined #openstack-dns14:40
*** databus23_1 has joined #openstack-dns14:40
timsimNot sure, maybe if you're able to set it per floating ip?14:40
*** databus23_ has quit IRC14:41
*** dgonzalez_ has quit IRC14:42
shewlesstimsim: We have a /16 of floating IPs that are handed out when a user launches a stack. It's variable and so I don't think I could do that14:43
shewlesstimsim: how bad would it be to just use sink?14:43
timsimI mean it has it's dragons, it's inherently disconnected and slightly unreliable because it relies on notifications. If you've already got ceilometer or something consuming notifications, you've got to emit them twice.14:44
shewlesstimsim: okay sounds like I should steer clear.  Am I doing something terribly wrong here? It seems like I'm trying to make designate bend to my will..  I just want users to be able to have a DNS record for their floating IPs14:46
timsimHaving records is no problem, having personalized records...we're not quite there yet (easily).14:47
timsimIn a totally automated way anyway.14:47
timsimIt's always possible to just use the API.14:47
timsimThen you can do whatever you want.14:47
timsimWithin reason.14:48
shewlesstimsim: thanks. for now I have: 1) manually create a "zone" for each project, 2) have heat templates create records per instance.14:48
shewlessOf course then I have to hack heat so I can pull the project name :(14:49
shewlesstimsim: can you suggest how I could use the API to accomplish this? Like as part of cloud-init on the VM or something?14:49
timsimHeat doesn't have simple access to the tenant name?14:50
shewlessnope14:51
shewlessit just plain doesn't have access to it at all14:52
* timsim sighs14:53
* shewless sighs too14:53
*** tdink has joined #openstack-dns14:57
Kiallshewless: the format field for sink can use any of the fields sent to us in the notifcation from neutron, which has the project ID, but not name.. Custom handlers (handlers are a plugin interface) can be written to translate the ID to a name...14:59
KiallThe other neutron integration won't allow for forcing a set pattern on the names, e.g. you can't enforce project-name.foo.bar14:59
shewlessKiall: thanks. I guess I'm trying to do the impossible then15:00
KiallNot impossible, just 1 of 1000 ways people want to do things! Since we couldn't implement them all, we left it as a plugin interface. Writing a plugin is a few lines of code..15:01
*** abalutoiu_ has joined #openstack-dns15:01
Kiallthere's a sample plugin including things like python project setup here: https://github.com/openstack/designate/tree/master/contrib/designate-ext-samplehandler with this being the only non-boilerplate code: https://github.com/openstack/designate/blob/master/contrib/designate-ext-samplehandler/designate_ext_samplehandler/notification_handler/sample.py#L5915:02
shewlessKiall: this is specifically for sink?15:02
Kiallthat is, yes15:02
Kiallthe sink "handler plugin" can do whatever you want really, I know some folks have had plugins that grab data from nova/keystone/LDAP etc and combine it all into the final names etc..15:03
*** abalutoiu has quit IRC15:04
shewlessKiall: thanks I might give that a shot. If I'm using sink do I have to configure neutron to send notifications to designate?15:04
KiallYes, you need to tell nova or neutron (or both, depending on which events you want to act on) to send the notifcations15:05
*** EricGonczer_ has joined #openstack-dns15:09
*** abalutoiu_ is now known as abalutoiu15:12
*** corey has joined #openstack-dns15:13
*** corey is now known as Guest6445715:14
*** EricGonc_ has joined #openstack-dns15:15
*** EricGonczer_ has quit IRC15:16
*** cleong has quit IRC15:16
*** KeithMnemonic has quit IRC15:32
*** richm has joined #openstack-dns15:58
*** ducttape_ has quit IRC16:07
*** ducttape_ has joined #openstack-dns16:07
*** gatuus has joined #openstack-dns16:11
*** KeithMnemonic has joined #openstack-dns16:24
*** abalutoiu has quit IRC16:43
*** KeithMnemonic has quit IRC17:08
*** pcaruana has quit IRC17:12
*** abalutoiu has joined #openstack-dns17:47
*** KeithMnemonic has joined #openstack-dns17:57
*** openstack has joined #openstack-dns18:12
*** ChanServ sets mode: +v openstack18:12
*** abalutoiu_ has joined #openstack-dns18:18
*** KeithMnemonic has quit IRC18:19
*** KeithMnemonic has joined #openstack-dns18:19
*** abalutoiu has quit IRC18:21
*** openstackgerrit has joined #openstack-dns18:29
*** ChanServ sets mode: +v openstackgerrit18:29
openstackgerritGraham Hayes proposed openstack/designate master: Testing tempest config items  https://review.openstack.org/43658218:29
*** puck`` has quit IRC18:44
*** abalutoiu_ has quit IRC18:48
*** puck has joined #openstack-dns18:49
*** gatuus has quit IRC18:55
*** gatuus has joined #openstack-dns18:56
*** amoralej is now known as amoralej|off19:34
mugsietimsim: https://review.openstack.org/#/c/436612/19:39
timsimneat-o19:39
*** KeithMnemonic has quit IRC19:55
*** chlong has quit IRC20:01
*** gatuus has quit IRC20:01
*** gatuus has joined #openstack-dns20:01
*** gatuus has quit IRC20:06
*** chlong has joined #openstack-dns20:08
openstackgerritJordan Pittier proposed openstack/designate-tempest-plugin master: Fix the removal of skip_unless_config decorator in Tempest  https://review.openstack.org/43664020:08
*** KeithMnemonic has joined #openstack-dns20:19
openstackgerritGraham Hayes proposed openstack/designate master: Testing tempest config items  https://review.openstack.org/43658220:31
openstackgerritJordan Pittier proposed openstack/designate-tempest-plugin master: V1 API is removed by dfault now  https://review.openstack.org/43621920:32
*** KeithMnemonic has quit IRC20:41
*** KeithMnemonic has joined #openstack-dns20:42
*** KeithMnemonic has quit IRC21:03
*** KeithMnemonic has joined #openstack-dns21:04
*** gatuus has joined #openstack-dns21:13
elarsonguess who has got two thumbs and got to fix up a bind cookbook at work ;)21:25
elarson<-- this guy21:25
openstackgerritTim Simmons proposed openstack/designate master: Add note for running designate-tempest-plugins  https://review.openstack.org/43668821:35
timsim!m elarson21:35
openstacktimsim: Error: "m" is not a valid command.21:35
timsim`allow-new-zones: yes`21:35
*** gatuus has quit IRC21:36
*** gatuus has joined #openstack-dns21:36
*** Guest64457 has quit IRC21:54
*** KeithMnemonic has quit IRC21:57
*** puck is now known as puck``22:11
*** gatuus has quit IRC22:23
*** gatuus_ has joined #openstack-dns22:23
*** EricGonc_ has quit IRC22:28
*** gatuus_ has quit IRC22:53
*** gatuus has joined #openstack-dns22:59
*** nkinder has joined #openstack-dns23:12
*** tdink has quit IRC23:24
*** catintheroof has joined #openstack-dns23:53

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