*** crc32 has quit IRC | 00:01 | |
*** rossk has quit IRC | 00:05 | |
*** EricGonczer_ has quit IRC | 00:06 | |
*** EricGonczer_ has joined #openstack-dns | 00:07 | |
*** EricGonczer_ has quit IRC | 00:12 | |
*** darshan104 has quit IRC | 00:42 | |
*** EricGonczer_ has joined #openstack-dns | 00:54 | |
*** EricGonczer_ has quit IRC | 01:14 | |
*** EricGonczer_ has joined #openstack-dns | 01:37 | |
*** nosnos has joined #openstack-dns | 01:41 | |
*** EricGonczer_ has quit IRC | 01:46 | |
*** richm has quit IRC | 02:28 | |
*** chuck_ has joined #openstack-dns | 02:56 | |
*** vinod1 has joined #openstack-dns | 03:05 | |
*** msisk has quit IRC | 03:14 | |
*** vinod1 has quit IRC | 03:26 | |
*** EricGonczer_ has joined #openstack-dns | 03:26 | |
*** vinod1 has joined #openstack-dns | 03:30 | |
*** EricGonczer_ has quit IRC | 03:31 | |
*** nosnos has quit IRC | 03:56 | |
*** vinod1 has quit IRC | 04:07 | |
*** nosnos has joined #openstack-dns | 04:34 | |
*** uvirtbot has quit IRC | 04:35 | |
*** darshan104 has joined #openstack-dns | 04:42 | |
*** k4n0 has joined #openstack-dns | 04:56 | |
*** k4n0 has quit IRC | 05:21 | |
*** uvirtbot has joined #openstack-dns | 05:33 | |
*** k4n0 has joined #openstack-dns | 05:34 | |
*** k4n0 has quit IRC | 06:12 | |
*** k4n0 has joined #openstack-dns | 06:28 | |
*** darshan104 has quit IRC | 06:52 | |
*** darshan104 has joined #openstack-dns | 06:53 | |
*** darshan104 has quit IRC | 06:58 | |
*** darshan104 has joined #openstack-dns | 07:20 | |
*** darshan104 has quit IRC | 07:24 | |
*** slawqo_ has quit IRC | 08:24 | |
*** chuck_ has quit IRC | 09:21 | |
*** chuck_ has joined #openstack-dns | 09:24 | |
*** chuck_ has quit IRC | 10:00 | |
*** nosnos has quit IRC | 11:23 | |
*** RaginBajin has joined #openstack-dns | 11:25 | |
*** nkinder has quit IRC | 12:17 | |
*** nkinder has joined #openstack-dns | 12:24 | |
*** nkinder is now known as nkinder_away | 12:51 | |
*** k4n0 has quit IRC | 12:59 | |
*** EricGonczer_ has joined #openstack-dns | 13:27 | |
*** shakamunyi has joined #openstack-dns | 13:50 | |
*** EricGonczer_ has quit IRC | 14:06 | |
*** EricGonczer_ has joined #openstack-dns | 14:10 | |
*** timsim has joined #openstack-dns | 14:13 | |
*** tmc3inphilly has joined #openstack-dns | 14:18 | |
*** shakamunyi has quit IRC | 14:23 | |
*** jaycaz has joined #openstack-dns | 14:24 | |
*** crc32 has joined #openstack-dns | 14:33 | |
*** msisk has joined #openstack-dns | 14:35 | |
*** shakamunyi has joined #openstack-dns | 14:38 | |
*** richm has joined #openstack-dns | 14:39 | |
*** vinod1 has joined #openstack-dns | 14:58 | |
*** vinod1 has quit IRC | 15:00 | |
*** tmc3inphilly has quit IRC | 15:01 | |
*** EricGonc_ has joined #openstack-dns | 15:03 | |
*** EricGonczer_ has quit IRC | 15:04 | |
*** vinod1 has joined #openstack-dns | 15:11 | |
*** shakamunyi has quit IRC | 15:51 | |
*** richm has quit IRC | 15:58 | |
*** agrebennikov has joined #openstack-dns | 16:05 | |
agrebennikov | hi there guys | 16:06 |
---|---|---|
agrebennikov | I have gesignate-api question | 16:06 |
agrebennikov | I successfully set up all components, but now for any request to it I get 404 | 16:06 |
agrebennikov | what can it mean? | 16:06 |
timsim | What kind of requests are you sending? | 16:07 |
timsim | The api runs on port 9001, perhaps you're forgetting to add that on? | 16:07 |
agrebennikov | timsim, sure, first of all I try to create the domain | 16:07 |
agrebennikov | timsim, 192.168.122.1 - - [07/Aug/2014 02:26:55] "POST /domains HTTP/1.1" 404 371 0.001218 | 16:08 |
agrebennikov | timsim, so the api cat get the requests | 16:08 |
agrebennikov | timsim, but it doesn't tell how it wants to work on it | 16:08 |
agrebennikov | timsim, even in debug mode | 16:08 |
timsim | It may be that you're sending the request to 192.168.122.1:9001/domains when you need to send it to 192.168.122.1:9001/v1/domains (or v2/zones if you'd like to use the latest API) | 16:09 |
*** EricGonc_ is now known as EricGonczer | 16:10 | |
agrebennikov | timsim, hm... yesterday I actually tried both version and they didn't want to work, but today with v1 it tries to communicate with keystone | 16:15 |
*** bandarji has joined #openstack-dns | 16:16 | |
timsim | Right, by default the middleware tries to communicate with keystone, you can change that so that no authentication is attempted. | 16:17 |
timsim | If you change this line in the config, that should ignore keystone: https://github.com/openstack/designate/blob/master/etc/designate/designate.conf.sample#L79 | 16:17 |
*** mugsie has quit IRC | 16:19 | |
*** mugsie has joined #openstack-dns | 16:21 | |
*** richm has joined #openstack-dns | 16:36 | |
*** jaycaz has quit IRC | 16:47 | |
*** agrebennikov has quit IRC | 17:06 | |
*** rossk has joined #openstack-dns | 17:09 | |
*** jaycaz has joined #openstack-dns | 17:16 | |
*** agrebennikov has joined #openstack-dns | 17:26 | |
*** agrebennikov has quit IRC | 17:31 | |
*** darshan104 has joined #openstack-dns | 18:01 | |
*** agrebennikov has joined #openstack-dns | 18:01 | |
*** sballe has joined #openstack-dns | 18:02 | |
agrebennikov | timsim, thank you very much, it works | 18:02 |
*** sballe has quit IRC | 18:02 | |
timsim | agrebennikov: No problem, let us know if you have any other questions. | 18:03 |
*** zain has joined #openstack-dns | 18:03 | |
agrebennikov | timsim, another question - I can see the domain has been created in the designate's db, but powerdns' database is still empty | 18:03 |
*** zain has quit IRC | 18:03 | |
*** zain has joined #openstack-dns | 18:04 | |
timsim | Is PowerDNS the set backend in your configuration? https://github.com/openstack/designate/blob/master/etc/designate/designate.conf.sample#L49 | 18:04 |
*** vinod1 has quit IRC | 18:05 | |
agrebennikov | timsim, yep, service is running | 18:07 |
timsim | The API call would fail if it doesn't make it to the backend. Are you running PowerDNS on the same server? | 18:08 |
agrebennikov | timsim, sure | 18:09 |
agrebennikov | timsim, I see INFO designate.backend.impl_fake in the output of central | 18:09 |
agrebennikov | is it ok? | 18:09 |
timsim | That probably means you're not using the powerdns backend, which you need here: https://github.com/openstack/designate/blob/master/etc/designate/designate.conf.sample#L49 (In your config) | 18:09 |
agrebennikov | timsim, oh, seems the problem is that backend=powerdns is specified in [service:agent] section | 18:11 |
*** vinod1 has joined #openstack-dns | 18:13 | |
timsim | Yep, you need that in the central section. | 18:16 |
*** jaycaz has quit IRC | 19:00 | |
*** EricGonczer_ has joined #openstack-dns | 19:20 | |
*** EricGonczer has quit IRC | 19:21 | |
agrebennikov | timsim, got another issue (sorry for inconvenience) ;) | 19:21 |
*** jaycaz has joined #openstack-dns | 19:22 | |
timsim | agrebennikov: Shoot! | 19:54 |
*** darshan104 has quit IRC | 19:54 | |
*** darshan104 has joined #openstack-dns | 19:55 | |
agrebennikov | timsim, :D well, I created the domain and the server. When the VM has been spawned, central should add the record (as far as I understand) | 19:55 |
agrebennikov | timsim, instead, it says "DomainNotFound" | 19:55 |
timsim | So you've got VMs spawning from nova and you want them to add records automatically to designate? | 19:56 |
timsim | Or, want records to be added? | 19:56 |
*** EricGonczer_ has quit IRC | 19:57 | |
*** EricGonczer_ has joined #openstack-dns | 19:57 | |
agrebennikov | I mean designate itself gets the message successfully, but it can't create the record | 19:57 |
agrebennikov | timsim, do I have to specify the domain in the config file as well? | 19:58 |
timsim | What's making the calls to add the record? | 19:58 |
*** darshan104 has quit IRC | 19:59 | |
agrebennikov | timsim, nova-compute. Now I specified the domain-id from designate's database in the config file, but now it says "Backend: Unknown backend failure: DomainNotFound('No domain found',)" | 20:02 |
timsim | Seems like it's not finding the domain...you're sure it's the same ID that you get from the API that nova knows about? | 20:03 |
agrebennikov | timsim, emm... I don't think so... I use api v2 without domains in nova, does it mean that we have to specify Keystone domain's id, not designate's one? | 20:06 |
timsim | I haven't done what you're attempting so I can't be sure. But I would think you'd supply the UUID of the zone in designate for nova to create records on. | 20:07 |
*** bandarji has quit IRC | 20:07 | |
*** EricGonczer_ has quit IRC | 20:10 | |
agrebennikov | timsim, zone? not domain? | 20:10 |
timsim | Well, it's the same. It's a domain in the database, depending on which version of the designate api you're using, /v1/domains /v2/zones will get you the same information. The uuid is the same, and that's what you'd need, I think. | 20:11 |
*** EricGonczer_ has joined #openstack-dns | 20:12 | |
agrebennikov | timsim, sorry, there were a couple of domains created with "fake" backend | 20:18 |
timsim | It should still be able to create records on a domain with the fake backend, they just wouldn't resolve to anything. | 20:18 |
agrebennikov | timsim, so now the record has been created, but the trick is that A record looks like ""8 | 192-168-111-25.domain4.com | A | 192.168.111.25 | 20:18 |
agrebennikov | timsim, where is the real name of the vm? | 20:19 |
agrebennikov | timsim, I mean it called the vm by the ip instead of its name (in openstack) | 20:20 |
timsim | Hm. Good question. Designate will create the record with whatever it gets. So wherever the request to designate is going in is using that to create the record. So that's where I'd look. | 20:20 |
timsim | So just to be clear, you're using the designate-sink service with the nova handler? | 20:23 |
*** RaginBajin has quit IRC | 20:25 | |
agrebennikov | timsim, yep | 20:26 |
agrebennikov | timsim, any other options? ;) | 20:27 |
timsim | It seems to me like that's the default behavior. You can always write your own notification handler or edit this one https://github.com/openstack/designate/blob/master/designate/notification_handler/base.py#L133 | 20:28 |
agrebennikov | timsim, :/ ok)) | 20:36 |
agrebennikov | timsim, I mean in my understanding it's not very useful to create such records, how do you think? | 20:37 |
timsim | I'm not a 100% sure on that, mind you. Some of the folks who might know better aren't around right now. | 20:37 |
timsim | I agree with you. | 20:37 |
timsim | It's possible that there's some piece that I don't understand presently that would make this better. | 20:38 |
agrebennikov | timsim, ok, I'l ask our guys to improve the mechanism a bit ;) | 20:39 |
agrebennikov | timsim, do you know how the sink component pushed data into central? does it extract specific fields from the message? | 20:53 |
timsim | Heres the function: https://github.com/openstack/designate/blob/master/designate/notification_handler/base.py#L109 | 20:54 |
timsim | Which calls this function: https://github.com/openstack/designate/blob/master/designate/central/service.py#L928 | 20:55 |
openstackgerrit | Vinod Mangalpally proposed a change to openstack/designate-specs: Server Pools - MiniDNS support https://review.openstack.org/112688 | 20:56 |
*** vinod1 has quit IRC | 21:01 | |
*** EricGonczer_ has quit IRC | 21:31 | |
ekarlso | agrebennikov: u from miratnis btw ? | 21:36 |
agrebennikov | yep;) | 21:36 |
agrebennikov | ekarlso, how do you know? | 21:37 |
ekarlso | agrebennikov: most russians on openstack is miratnis :p | 21:37 |
agrebennikov | ekarlso, gotcha :D | 21:38 |
ekarlso | agrebennikov: what's the ivan's doing with designate ? ;p | 21:38 |
agrebennikov | ekarlso, emm....? | 21:40 |
ekarlso | agrebennikov: ;) u guys gonna do designate ? | 21:41 |
agrebennikov | ekarlso, well.. we deploy different openstack-related components in some cases | 21:43 |
*** darshan104 has joined #openstack-dns | 21:44 | |
*** msisk has quit IRC | 21:52 | |
*** timsim has quit IRC | 21:53 | |
*** zain has quit IRC | 21:54 | |
*** jaycaz has quit IRC | 22:19 | |
*** bandarji has joined #openstack-dns | 22:24 | |
*** vinod1 has joined #openstack-dns | 22:25 | |
*** EricGonczer_ has joined #openstack-dns | 23:17 | |
*** shufflebot has quit IRC | 23:18 | |
*** shufflebot has joined #openstack-dns | 23:18 | |
*** vinod1 has quit IRC | 23:34 | |
*** vinod1 has joined #openstack-dns | 23:36 | |
*** vinod1 has quit IRC | 23:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!