*** catinthe_ has quit IRC | 00:17 | |
*** catintheroof has joined #openstack-dns | 00:19 | |
*** catintheroof has quit IRC | 00:23 | |
*** EricGonczer_ has joined #openstack-dns | 00:38 | |
*** hoangcx has joined #openstack-dns | 00:41 | |
*** cuongnv has joined #openstack-dns | 00:56 | |
*** cuongnv has quit IRC | 01:54 | |
*** cuongnv has joined #openstack-dns | 01:55 | |
*** abalutoiu has joined #openstack-dns | 02:11 | |
*** abalutoiu has quit IRC | 02:26 | |
*** zhurong has joined #openstack-dns | 03:01 | |
*** sonuk has joined #openstack-dns | 03:08 | |
*** sonuk has quit IRC | 03:24 | |
*** sonuk has joined #openstack-dns | 03:45 | |
*** zhurong has quit IRC | 04:01 | |
*** chlong has joined #openstack-dns | 04:03 | |
*** EricGonczer_ has quit IRC | 04:25 | |
*** cuongnv has quit IRC | 04:49 | |
*** gatuus has quit IRC | 05:01 | |
*** baffle has quit IRC | 05:41 | |
*** baffle has joined #openstack-dns | 05:42 | |
*** vcn has joined #openstack-dns | 06:37 | |
*** hoangcx_ has joined #openstack-dns | 07:30 | |
*** openstackgerrit has quit IRC | 07:32 | |
*** hoangcx has quit IRC | 07:33 | |
*** pcaruana has joined #openstack-dns | 07:37 | |
*** hoangcx has joined #openstack-dns | 08:12 | |
*** hoangcx_ has quit IRC | 08:14 | |
*** amoralej|off is now known as amoralej | 08:27 | |
*** logan- has quit IRC | 09:16 | |
*** hoangcx has quit IRC | 10:39 | |
*** vcn has quit IRC | 11:35 | |
*** logan- has joined #openstack-dns | 12:35 | |
*** EricGonczer_ has joined #openstack-dns | 12:41 | |
*** haplo37_ has quit IRC | 12:46 | |
*** haplo37_ has joined #openstack-dns | 12:49 | |
*** amoralej is now known as amoralej|lunch | 13:39 | |
*** EricGonczer_ has quit IRC | 13:39 | |
*** amoralej|lunch is now known as amoralej | 13:57 | |
*** cleong has joined #openstack-dns | 14:02 | |
*** abalutoiu has joined #openstack-dns | 14:14 | |
*** abalutoiu has quit IRC | 14:16 | |
*** abalutoiu has joined #openstack-dns | 14:16 | |
shewless | timsim: Hi. I found an interesting thing in designate.conf that might work for me. Just wanted to check if my understanding is correct | 14:16 |
---|---|---|
timsim | shoot | 14:16 |
shewless | In this section: [handler:neutron_floatingip] | 14:16 |
shewless | I see this: #format = '%(hostname)s.%(project)s.%(domain)s' | 14:16 |
shewless | that is basically exactly what I want! | 14:16 |
shewless | do 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 |
timsim | Not quite. | 14:17 |
timsim | There 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.html | 14:18 |
timsim | The format isn't quite that simple to set either. | 14:18 |
shewless | timsim: 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 record | 14:19 |
timsim | That configuration section is for the designate-sink service, which consumes notifications from nova/neutron. | 14:19 |
shewless | but that "format" option gives me hope. | 14:19 |
timsim | It'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 |
shewless | oh I see so it's between using "neutron" and "sink" ? | 14:21 |
shewless | when 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 |
shewless | maybe there is a setting I've overlooked? | 14:23 |
timsim | It's all in here, it's not as simple as a config option: https://docs.openstack.org/newton/networking-guide/config-dns-int.html | 14:26 |
shewless | timsim: when I read that doc I don't see a way to customize the record name that is created. | 14:27 |
shewless | is it in there? | 14:27 |
timsim | I 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 IRC | 14:37 | |
*** KeithMnemonic has joined #openstack-dns | 14:38 | |
shewless | timsim: My usecase is that all of my users pull from the same "ext-net". Would that prevent me from having <instance>.<tenant>.<cokmpany>.com | 14:40 |
*** sapcc-bot has quit IRC | 14:40 | |
*** carthaca_ has quit IRC | 14:40 | |
*** sapcc-bot has joined #openstack-dns | 14:40 | |
*** dgonzalez_ has joined #openstack-dns | 14:40 | |
*** carthaca_ has joined #openstack-dns | 14:40 | |
*** databus23_1 has joined #openstack-dns | 14:40 | |
timsim | Not sure, maybe if you're able to set it per floating ip? | 14:40 |
*** databus23_ has quit IRC | 14:41 | |
*** dgonzalez_ has quit IRC | 14:42 | |
shewless | timsim: 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 that | 14:43 |
shewless | timsim: how bad would it be to just use sink? | 14:43 |
timsim | I 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 |
shewless | timsim: 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 IPs | 14:46 |
timsim | Having records is no problem, having personalized records...we're not quite there yet (easily). | 14:47 |
timsim | In a totally automated way anyway. | 14:47 |
timsim | It's always possible to just use the API. | 14:47 |
timsim | Then you can do whatever you want. | 14:47 |
timsim | Within reason. | 14:48 |
shewless | timsim: thanks. for now I have: 1) manually create a "zone" for each project, 2) have heat templates create records per instance. | 14:48 |
shewless | Of course then I have to hack heat so I can pull the project name :( | 14:49 |
shewless | timsim: 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 |
timsim | Heat doesn't have simple access to the tenant name? | 14:50 |
shewless | nope | 14:51 |
shewless | it just plain doesn't have access to it at all | 14:52 |
* timsim sighs | 14:53 | |
* shewless sighs too | 14:53 | |
*** tdink has joined #openstack-dns | 14:57 | |
Kiall | shewless: 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 |
Kiall | The other neutron integration won't allow for forcing a set pattern on the names, e.g. you can't enforce project-name.foo.bar | 14:59 |
shewless | Kiall: thanks. I guess I'm trying to do the impossible then | 15:00 |
Kiall | Not 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-dns | 15:01 | |
Kiall | there'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#L59 | 15:02 |
shewless | Kiall: this is specifically for sink? | 15:02 |
Kiall | that is, yes | 15:02 |
Kiall | the 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 IRC | 15:04 | |
shewless | Kiall: 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 |
Kiall | Yes, you need to tell nova or neutron (or both, depending on which events you want to act on) to send the notifcations | 15:05 |
*** EricGonczer_ has joined #openstack-dns | 15:09 | |
*** abalutoiu_ is now known as abalutoiu | 15:12 | |
*** corey has joined #openstack-dns | 15:13 | |
*** corey is now known as Guest64457 | 15:14 | |
*** EricGonc_ has joined #openstack-dns | 15:15 | |
*** EricGonczer_ has quit IRC | 15:16 | |
*** cleong has quit IRC | 15:16 | |
*** KeithMnemonic has quit IRC | 15:32 | |
*** richm has joined #openstack-dns | 15:58 | |
*** ducttape_ has quit IRC | 16:07 | |
*** ducttape_ has joined #openstack-dns | 16:07 | |
*** gatuus has joined #openstack-dns | 16:11 | |
*** KeithMnemonic has joined #openstack-dns | 16:24 | |
*** abalutoiu has quit IRC | 16:43 | |
*** KeithMnemonic has quit IRC | 17:08 | |
*** pcaruana has quit IRC | 17:12 | |
*** abalutoiu has joined #openstack-dns | 17:47 | |
*** KeithMnemonic has joined #openstack-dns | 17:57 | |
*** openstack has joined #openstack-dns | 18:12 | |
*** ChanServ sets mode: +v openstack | 18:12 | |
*** abalutoiu_ has joined #openstack-dns | 18:18 | |
*** KeithMnemonic has quit IRC | 18:19 | |
*** KeithMnemonic has joined #openstack-dns | 18:19 | |
*** abalutoiu has quit IRC | 18:21 | |
*** openstackgerrit has joined #openstack-dns | 18:29 | |
*** ChanServ sets mode: +v openstackgerrit | 18:29 | |
openstackgerrit | Graham Hayes proposed openstack/designate master: Testing tempest config items https://review.openstack.org/436582 | 18:29 |
*** puck`` has quit IRC | 18:44 | |
*** abalutoiu_ has quit IRC | 18:48 | |
*** puck has joined #openstack-dns | 18:49 | |
*** gatuus has quit IRC | 18:55 | |
*** gatuus has joined #openstack-dns | 18:56 | |
*** amoralej is now known as amoralej|off | 19:34 | |
mugsie | timsim: https://review.openstack.org/#/c/436612/ | 19:39 |
timsim | neat-o | 19:39 |
*** KeithMnemonic has quit IRC | 19:55 | |
*** chlong has quit IRC | 20:01 | |
*** gatuus has quit IRC | 20:01 | |
*** gatuus has joined #openstack-dns | 20:01 | |
*** gatuus has quit IRC | 20:06 | |
*** chlong has joined #openstack-dns | 20:08 | |
openstackgerrit | Jordan Pittier proposed openstack/designate-tempest-plugin master: Fix the removal of skip_unless_config decorator in Tempest https://review.openstack.org/436640 | 20:08 |
*** KeithMnemonic has joined #openstack-dns | 20:19 | |
openstackgerrit | Graham Hayes proposed openstack/designate master: Testing tempest config items https://review.openstack.org/436582 | 20:31 |
openstackgerrit | Jordan Pittier proposed openstack/designate-tempest-plugin master: V1 API is removed by dfault now https://review.openstack.org/436219 | 20:32 |
*** KeithMnemonic has quit IRC | 20:41 | |
*** KeithMnemonic has joined #openstack-dns | 20:42 | |
*** KeithMnemonic has quit IRC | 21:03 | |
*** KeithMnemonic has joined #openstack-dns | 21:04 | |
*** gatuus has joined #openstack-dns | 21:13 | |
elarson | guess who has got two thumbs and got to fix up a bind cookbook at work ;) | 21:25 |
elarson | <-- this guy | 21:25 |
openstackgerrit | Tim Simmons proposed openstack/designate master: Add note for running designate-tempest-plugins https://review.openstack.org/436688 | 21:35 |
timsim | !m elarson | 21:35 |
openstack | timsim: Error: "m" is not a valid command. | 21:35 |
timsim | `allow-new-zones: yes` | 21:35 |
*** gatuus has quit IRC | 21:36 | |
*** gatuus has joined #openstack-dns | 21:36 | |
*** Guest64457 has quit IRC | 21:54 | |
*** KeithMnemonic has quit IRC | 21:57 | |
*** puck is now known as puck`` | 22:11 | |
*** gatuus has quit IRC | 22:23 | |
*** gatuus_ has joined #openstack-dns | 22:23 | |
*** EricGonc_ has quit IRC | 22:28 | |
*** gatuus_ has quit IRC | 22:53 | |
*** gatuus has joined #openstack-dns | 22:59 | |
*** nkinder has joined #openstack-dns | 23:12 | |
*** tdink has quit IRC | 23:24 | |
*** catintheroof has joined #openstack-dns | 23:53 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!