Monday, 2017-12-04

*** itlinux has joined #openstack-dns00:04
*** trungnv has joined #openstack-dns01:17
*** caowei has joined #openstack-dns01:28
*** daidv has joined #openstack-dns02:28
*** itlinux has quit IRC03:32
*** itlinux has joined #openstack-dns04:40
*** caowei has quit IRC04:46
*** caowei has joined #openstack-dns04:59
*** itlinux has quit IRC05:28
*** simon-AS5591 has quit IRC06:11
openstackgerritJens Harbott (frickler) proposed openstack/designate master: Update installation docs  https://review.openstack.org/52339206:45
*** trungnv has quit IRC06:59
*** simon-AS559 has joined #openstack-dns07:17
*** simon-AS559 has quit IRC07:21
*** simon-AS559 has joined #openstack-dns07:21
*** simon-AS559 has quit IRC07:43
*** simon-AS559 has joined #openstack-dns08:01
*** simon-AS559 has quit IRC08:07
*** simon-AS559 has joined #openstack-dns08:15
*** AlexeyAbashkin has joined #openstack-dns08:16
*** pcaruana has joined #openstack-dns08:23
*** trungnv has joined #openstack-dns09:09
*** Guest13268 is now known as zigo09:09
*** MarkBaker has joined #openstack-dns09:24
*** MarkBaker has quit IRC09:36
*** MarkBaker has joined #openstack-dns09:59
*** caowei has quit IRC10:16
*** ianychoi_ is now known as ianychoi10:24
*** MarkBaker has quit IRC10:27
*** MarkBaker has joined #openstack-dns11:36
*** itlinux has joined #openstack-dns13:50
*** abalutoiu has joined #openstack-dns13:52
*** cleong has joined #openstack-dns14:09
*** JuanDaugherty has joined #openstack-dns14:53
*** JuanDaugherty has quit IRC15:16
*** AlexeyAbashkin has quit IRC15:20
*** JuanDaugherty has joined #openstack-dns15:21
*** itlinux has quit IRC15:26
openstackgerritGraham Hayes proposed openstack/designate master: WIP Update to CI Jobs  https://review.openstack.org/52468315:43
openstackgerritGraham Hayes proposed openstack/designate master: WIP Update to CI Jobs  https://review.openstack.org/52468316:12
openstackgerritMerged openstack/designate master: Enable worker and producer by default in devstack local.conf  https://review.openstack.org/52495716:27
*** itlinux has joined #openstack-dns16:31
*** _ix has joined #openstack-dns16:32
_ixGood morning folks. Implementing a vanilla pike designate node, and having some trouble with permissions. I just created a zone, and the zone is in an error state.16:32
_ixThe worker is logging `Stderr: u"rndc: 'addzone' failed: permission denied\n"`16:33
mugsie_ix: OK looks like there is an issue with the rndc key16:33
mugsiedid you create an RNCD key and put it on the disk of the machine?16:34
_ixI did. It's in /etc/designate/ and the owner is root:designate.16:34
mugsieOK. the error should have logged a command it was trying to run, can you try run that manually?16:34
_ixSure.16:35
_ixSeems to be the same error, running as root without rootwrap.16:41
_ix`rndc: 'addzone' failed: permission denied`16:41
_ixStrictly speaking, not a designate problem, but can you point me in the right direction?16:42
mugsieDid you add the key on the far side, in the bind named.conf file?16:44
_ixLet me verify that.16:44
mugsiehttps://docs.openstack.org/designate/latest/contributor/backends/bind9.html gives a good start16:45
_ixThanks.16:45
mugsieand the bind log files should have some detail as well16:45
*** itlinux has quit IRC16:46
openstackgerritMerged openstack/designate master: Update installation docs  https://review.openstack.org/52339216:46
*** itlinux has joined #openstack-dns16:50
openstackgerritMerged openstack/designate master: Update to correct status tables  https://review.openstack.org/52236517:04
openstackgerritGraham Hayes proposed openstack/designate master: Update deletion date for (zone|pool)-manager  https://review.openstack.org/52525617:09
_ixThanks again, mugsie. I'm on my way now, getting through some other erros. I don't think I was quite ready to turn designate on.17:23
mugsie_ix: thats good, if you have any other questions, just drop them in here17:24
eglutehello, so i have some ghost stuff happening, something keeps sending messages like this: "transfer of 'test.example.net/IN' from 10.0.16.10#5354: failed to connect: timed out"17:35
eglutebut there is nothing under zones17:35
eglutelots of testing was done, so something is left over somewhere17:36
eglutethat message is from a bind server log17:36
mugsieeglute:  and 10.0.16.10 is a designate server?17:37
egluteyes17:37
mugsieOK, with an admin account try running `openstack zone list --all-projects`17:38
egluteUnexpected exception for http://10.0.16.10:9001/v2/zones?: Header value True must be of type str or bytes, not <type 'bool'>17:40
mugsie:/17:40
egluteideas?17:40
mugsiethat must be a real old version of the client17:40
eglutenewton?17:40
mugsietry running `designate --version`  ?17:41
eglutedesignate 2.3.017:41
mugsieyeah, that fix did not make it back there :/17:42
eglutewhat version of client should i get17:42
mugsieI am checking now17:42
eglutethank you17:43
mugsie2.4.0 and above have the fix17:44
mugsiethe latest version should work with all versions of the v2 API17:44
egluteso should get newer designate client or newer openstack client?17:45
mugsienewer designate client17:45
mugsieit is an osc plugin17:45
mugsieso upgrading our python-designateclient version updates the logic for the openstack cli17:46
eglutethank you mugsie will try that17:46
eglutemugsie openstack zone list --all-projects is empty17:51
eglutereturns empty list17:51
mugsieOh.17:51
mugsieyou may need to remove the zone from bind manually then17:51
*** simon-AS559 has quit IRC17:51
eglutefrom designate container?17:52
mugsieif the zone was not deleted fully by designate - but that is worrying17:52
mugsiewith a "rndc delzone -clean test.example.net"17:53
egluteyes.. it is stuck on designate side somewhere17:53
egluteso,17:53
eglutei do not have bind running on designate container. should I be?17:53
eglutei have separate bind server and they are talking via rndc17:54
mugsieno, that is fine17:55
mugsiebut for this case, just manually running the command (from the designate container or the bind container) should fix the issue17:56
egluteok, ran them17:57
eglutethank you!17:57
eglutemugsie what is the purpose of adding desginate server through CLI? is that same as ns server?17:59
mugsieyes - we have moved away from doing from the CLI18:00
mugsieit caused too many issues18:00
mugsieit *is* possible, but should be avoided18:00
mugsie(if you saw it on any of the docs, please let know which ones, I will go delete it :) )18:01
egluteok, so i tried to just add a zone without having a server, and it told me i needed it. but this was with old client18:01
mugsieOK, that should have been filled in if you had ran the "designate-manage pool update" command18:04
eglutedo i need to run that command even if i restart all the designate services?18:05
mugsieyeah, the pools.yaml file is not read until that command is read18:06
mugsiecommand is run*18:06
mugsieit loads the contents of the file into the DB18:06
egluteah ok18:08
egluteso if i added designate server-create how do i delete it if it the only one there18:10
mugsiewhen you run the designate manage command it *should* delete it18:13
mugsiebut it is not a use case I have tested recently18:13
eglutecool18:13
eglutethank you18:13
egluteso i should be able to install designate-manage via pip correct?18:36
eglutemugsie on install directions i dont see anything about installing designate-manage separately, is that part of another package?18:37
mugsieit should be installed as part of any of the designate-* packages18:38
eglutehm. when was this added? after newton?18:39
mugsieno, grizzly18:42
mugsieor before even18:42
mugsiewhat OS is this?18:42
mugsiethey may have split the package out a bit more than I expected18:42
eglutethis is on ubuntu18:43
egluteoh i think it is there,18:44
egluteat least i see a file18:44
eglutebut not in path i guess?18:44
mugsieweird, it should be.18:46
mugsieXenial / newton ?18:46
mugsieI can have a look and file a bug with them if it is not in the path18:46
openstackgerritGraham Hayes proposed openstack/designate master: Add zone 'attributes' to api-ref  https://review.openstack.org/52527418:47
eglutemugsie this is with OSA so not sure if that makes a difference18:49
egluteso in docs, you have this " su -s /bin/sh -c "designate-manage pool update" designate"18:49
eglutei ran only "designate-manage pool update" did i need additional "designate at the end?18:50
openstackgerritMerged openstack/python-designateclient master: Avoid tox_install.sh for constraints support  https://review.openstack.org/52481918:52
_ixmugsie: I can't seem to find where it's getting the value of 127.0.0.1 as the rndc host.18:55
_ixI have 10.13.0.5, an external dns server specified everywhere. Does a local bind server absolutely need to be running?18:56
mugsie_ix: no, not at all18:57
eglutemugsie any ideas on this error: "NeedAbsoluteNameOrOrigin: An attempt was made to convert a non-absolute name to  wire when there was also a non-absolute (or missing) origin."18:57
mugsiecan you post a link to a pools.yaml ?18:57
_ixThe logged command for each failure is an `rndc -s 127.0.0.1`18:57
_ixSure.18:57
_ixhttps://paste.ubuntu.com/26113816/19:01
*** corey_ has joined #openstack-dns19:01
eglute_ix make sure you dont have 127.0.0.1 in designate.conf as well19:02
mugsie_ix: what version is this?19:02
mugsieand are you running designate-worker or designate-pool-manager ?19:02
*** cleong has quit IRC19:03
_ixThis is pike stable.19:03
_ixI'm using pool manager.19:03
*** JuanDaugherty has quit IRC19:04
_ixIs this pools.yaml out of date with pike's format?19:04
mugsieno, that is fine - the format hasn't changed19:05
mugsiecan you restart pool-manager ?19:05
fricklermugsie: could I have your feedback on https://bugs.launchpad.net/python-designateclient/+bug/1736161 before I start coding, pls? not urgent, just making sure that you have seen it. I'm also thinking to ask the OSC folk for their advice19:05
openstackLaunchpad bug 1736161 in python-designateclient "The records option gobbles up all trailing parameters" [Undecided,In progress] - Assigned to Dr. Jens Harbott (j-harbott)19:05
mugsiefrickler: ouch. yeah, that was a bad design19:07
mugsieI think talking to the OSC folks would be a good idea19:07
mugsieI do like the deprecation and new command route, we do need to have stablity there19:08
_ixRestarting pool-manager...19:08
_ixmugsie: Still getting failure to connect on 127.0.0.1#953.19:16
_ixI must have a fundamental misunderstanding here.19:18
eglutemugsie the zombies are back. how do i delete everything from designate DB?19:19
mugsie_ix: one minute, looking up something19:19
mugsieeglute: stop designate-central, drop the db, then re create it, and run the "designate-manage database sync" command again19:20
mugsiethen start designate-central19:20
eglutehow do i drop db19:20
mugsiethen run the "designate-manage pool update" command19:20
mugsieyou need to use the mysql command line client to do that19:21
egluteok19:21
mugsie_ix: can you run "designate-manage pool generate_file --file /tmp/pools.yaml" and post it?19:22
_ixYes.19:23
mugsieMake sure you use the "--file" bit, or it will overwrite your current file there19:23
_ixSon of a gun. 127 is still in there.19:24
_ixThanks, mugsie.19:24
mugsie_ix: ahha19:25
mugsie"designate-manage pool update"19:25
mugsiei think we need to highlight that just writing to the file is not enough, you have to run the command :)19:25
*** simon-AS559 has joined #openstack-dns19:25
mugsie(it is a weird one - that command just loads the yaml into the DB)19:26
*** simon-AS5591 has joined #openstack-dns19:28
*** simon-AS559 has quit IRC19:30
eglutemugsie now i get Unknown database 'designate when i run "designate-manage database sync19:31
eglutedo i need to restart all the services?19:31
_ixmugsie: Thanks again.19:32
_ixCloser.19:32
mugsieeglute: did you create the new DB and give the designate user access to it?19:32
eglutedoh19:32
openstackgerritGraham Hayes proposed openstack/designate master: Update deletion date for (zone|pool)-manager  https://review.openstack.org/52525619:38
_ixmugsie: Things seem to be working better now, but I'm used to seeing flat files dropeed as a consequence of zone creation.19:44
_ixThere aren't any complaints from designate at this time, but, how can I be certain it's working, short of creating some records and seeing if they resolve?19:44
*** penick has joined #openstack-dns19:45
mugsieor a dig @server zone SOA should give you back data19:45
mugsie(like the email you used to create it)19:46
_ixThat's a fine idea.19:46
openstackgerritGraham Hayes proposed openstack/designate master: WIP Update to CI Jobs  https://review.openstack.org/52468319:50
*** itlinux has quit IRC20:01
openstackgerritGraham Hayes proposed openstack/designate master: Update deletion date for (zone|pool)-manager  https://review.openstack.org/52525620:08
eglutemugsie i have dropped DB and re-ran the manage command. I am getting this when trying to create a zone: "openstack zone create --email admin@example.com example.com.20:27
egluteno_servers_configured20:27
eglute"20:27
mugsieare you using designate-pool-manager or designate-worker20:27
mugsie?20:27
mugsieoh, did you re run the "designate-manage pool update" command as well?20:28
egluteworker20:28
egluteshould i have pool manager running?20:28
egluteyes i ran pool update20:29
_ixI see that that designate-pool-manager is not prefered. Is this correct?20:29
mugsie_ix: yes20:29
mugsieeglute: no that should be OK20:29
_ixThanks.20:29
mugsie_ix: designate-pool-manager will be deleted early next cycle20:29
mugsieeglute: can you run "designate-manage pool generate_file --file /tmp/pools.yaml" and post it?20:30
mugsieand can you see what error / trace is in the designate-central logs?20:32
eglutemugsie looks like after i re-ran my playbooks some things got wiped out. i will need to update the pools.yaml file first i think. thanks20:32
mugsieno problem20:33
*** penick has quit IRC20:52
*** penick has joined #openstack-dns20:52
*** McClymontS has joined #openstack-dns21:03
*** McClymontS has quit IRC21:03
*** itlinux has joined #openstack-dns21:05
*** itlinux has quit IRC21:06
_ixSorry to bother you folks again. It's possible to run designate self contained, with a local bind server on the designate host itself, right?21:08
mugsiedefintitly21:10
mugsie(thats is one of the configs that runs in the CI gate)21:10
_ixOK. Good. I'm figuring it out, but, right now it says I don't have any servers configured.21:13
openstackgerritGraham Hayes proposed openstack/designate master: WIP Update to CI Jobs  https://review.openstack.org/52468321:14
mugsieand the "ns_records" show in the designate-manage pool generate_file output ?21:17
eglutemugsie i do have a question about ns_records. in docs, it says: hostname: ns1-1.example.org. what should it be in the real world?21:21
eglutelike, if i am going to have designate be primary for eglute.com, should it be something like ns1-1.eglute.com?21:21
mugsieit should be the public DNS names of the Bind servers. For some people that would be something like ns1.domain.com. and others it may be ns1.bigcorp.com21:26
mugsiethese are the NS servers for all domains hosted by designate21:27
egluteah ok. so the bind servers must have public dns records?21:28
_ixUgh.21:28
_ixIt's basically blank.21:28
mugsieyes, these are where you tell your registrar to point people looking for DNS information to21:29
* mugsie just looked at the time21:29
eglutethank you mugsie! what if it is internal bind server, does it still have to start with ns1? or does it matter?21:30
mugsieI am going to leave the office now, but I will have a look in the morning for any more questions :)21:30
eglutethank you mugsie for all your help!21:30
*** corey_ has quit IRC21:30
mugsieeglute: no, it can be whatever - ns is just a common prefix21:30
eglutecool, thank you mugsie21:30
eglutehave a good evening!21:30
mugsiethanks :)21:30
*** penick has quit IRC21:36
*** penick has joined #openstack-dns21:37
*** JonathanS is now known as JonathanD21:39
*** pcaruana has quit IRC21:39
*** JonathanD is now known as JonathanS21:40
*** simon-AS559 has joined #openstack-dns22:51
*** simon-AS5591 has quit IRC22:54
*** simon-AS559 has quit IRC22:55
*** simon-AS559 has joined #openstack-dns22:55
*** simon-AS559 has quit IRC23:02
*** JuanDaugherty has joined #openstack-dns23:32
*** MarkBaker has quit IRC23:37
*** penick has quit IRC23:37
*** MarkBaker has joined #openstack-dns23:49
*** ianychoi has quit IRC23:59

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