Monday, 2016-05-09

*** Guest460 is now known as mfisch00:32
*** mfisch is now known as Guest8170400:32
*** johnbelamaric has quit IRC00:33
*** johnbelamaric has joined #openstack-dns00:34
*** catintheroof has joined #openstack-dns00:55
*** ducttape_ has joined #openstack-dns01:28
*** ducttape_ has quit IRC01:33
*** johnbelamaric has quit IRC01:38
*** johnbelamaric has joined #openstack-dns01:43
*** johnbelamaric has quit IRC02:15
*** stanzgy has joined #openstack-dns02:23
*** amit213 has quit IRC02:34
*** amit213 has joined #openstack-dns02:34
*** bpokorny has joined #openstack-dns02:43
*** Guest81704 is now known as mfisch03:03
*** mfisch is now known as Guest3001803:04
*** ducttape_ has joined #openstack-dns03:29
*** ducttape_ has quit IRC03:34
*** cliles has quit IRC03:41
*** bpokorny has quit IRC03:45
*** catintheroof has quit IRC03:56
*** bpokorny has joined #openstack-dns04:09
openstackgerritsonu proposed openstack/designate-tempest-plugin: Add zones ownership transfer request to Designate tempest plugin  https://review.openstack.org/30875404:23
*** bpokorny has quit IRC04:25
openstackgerritsonu proposed openstack/designate-tempest-plugin: Add zones ownership transfer request to Designate tempest plugin  https://review.openstack.org/30875404:32
openstackgerritsonu proposed openstack/designate-tempest-plugin: Add zones ownership transfer request to Designate tempest plugin  https://review.openstack.org/30875404:40
*** ducttape_ has joined #openstack-dns05:30
*** ducttape_ has quit IRC05:34
*** stanzgy has quit IRC06:13
*** openstackgerrit has quit IRC06:47
*** openstackgerrit has joined #openstack-dns06:48
*** ChanServ sets mode: +v openstackgerrit06:48
*** ducttape_ has joined #openstack-dns07:31
*** jschwarz has joined #openstack-dns07:33
*** ducttape_ has quit IRC07:36
*** cu5 has joined #openstack-dns07:51
*** jschwarz has quit IRC07:54
*** jschwarz has joined #openstack-dns08:00
*** jordanP has joined #openstack-dns08:01
*** Alex_Stef has joined #openstack-dns08:02
*** openstackgerrit has quit IRC08:17
*** openstackgerrit has joined #openstack-dns08:17
*** ChanServ sets mode: +v openstackgerrit08:17
*** bsv has joined #openstack-dns08:19
bsvhi, anyone awake? :)08:22
*** stanzgy has joined #openstack-dns08:52
*** kei_yama_ has joined #openstack-dns09:09
*** kei_yama has quit IRC09:09
*** baffle has quit IRC09:24
*** nyechiel has joined #openstack-dns09:24
*** baffle has joined #openstack-dns09:25
*** ducttape_ has joined #openstack-dns09:32
*** ducttape_ has quit IRC09:36
bsvis designate a US-only project?09:36
*** nyechiel has quit IRC09:41
*** khushbu has joined #openstack-dns09:51
federico3bsv: it isn't09:53
bsvok, would explain the lack of activity around this time of day ;)09:54
*** mariusv has joined #openstack-dns10:45
*** mariusv has quit IRC10:45
*** mariusv has joined #openstack-dns10:45
bsvim getting an error in the powerdns module, its complaining about the database not being under version control.11:03
bsvanyone been there too?11:03
openstackgerritFederico Ceratto proposed openstack/designate: Roll up migrations to start from liberty.  https://review.openstack.org/29994211:09
*** stanzgy has quit IRC11:32
*** ducttape_ has joined #openstack-dns11:32
mugsiebsv: what is the error?11:34
mugsiewe are not all US based, but a lot of us in the EU work later hours11:34
bsvok :)11:35
bsv2016-05-09 13:35:13.322 14152 ERROR designate DbMigrationError: The database is not under version control, but has tables. Please stamp the current version of the schema manually.11:35
mugsieah11:35
bsvim in doubt about the database targeted by the pools.yaml11:36
mugsiewe require you use our migration to initially provision the DB11:36
mugsieis there zones in place for pdns already?11:36
bsvdont think so11:37
*** ducttape_ has quit IRC11:37
bsvthis is a fresh install11:37
mugsieif so, just drop the DB, create it with no tables, and then re run the designate-manage pdns db sync command11:37
bsvi did11:38
mugsiewhat command did you run?11:38
bsvdesignate-manage database sync11:38
bsvthen import pools11:38
bsvthen run the designate-manage database sync again (just to be sure ;) )11:39
bsvthen designate-manage pool-manager-cache sync11:39
mugsieah, is that the command that is erroring?11:40
bsvBut when running the 'designate-manage powerdns sync 794ccc2c-d751-44fe-b57f-8894c9f5c842', the show stops >.<11:40
mugsieah. OK.11:40
mugsiewhen you log into the DB, and run show tables; what comes back11:41
bsvAnd the doumenctation on the pool.yaml is missing some context.11:41
mugsie?*11:41
bsvdesignatedb  ?11:41
mugsiethe powerdns db11:41
bsvMariaDB [pdns]> show tables;11:42
bsvEmpty set (0.00 sec)11:42
bsvno jackpot.11:42
mugsiehttp://docs.openstack.org/developer/designate/backends/powerdns.html11:42
mugsiewhat is in your "connection" variable ?11:43
bsvsee, now you are talking. Thats is exact the line I was talking about before :)11:43
bsvconnection: 'mysql+pymysql://{{ mysql_designate_user }}:{{ mysql_designate_passwd }}@10.50.41.5/{{ designate_db }}?charset=utf8'11:43
mugsieah, that  should be the pdns db11:44
bsvIn this case, 10.50.41.5 is the primary mariadb server (not the actual pdns server).11:44
bsvokay, let me try that :)11:44
mugsieyeah, but the schema is the one for pdns.11:44
mugsieThat snippet should be updated to point that out11:45
*** kei_yama_ has quit IRC11:45
bsvso, the ip-address should be the ip of the server, or localhost?11:45
*** kei_yama has joined #openstack-dns11:46
mugsiethe IP of the databse server11:46
mugsiethe pool-manager service connects to it11:47
mugsieso, if that is the same host, then localhost will work11:47
mugsiehttps://bugs.launchpad.net/designate/+bug/1579732 filed for the doc issue11:47
openstackLaunchpad bug 1579732 in Designate "pdns example pools.yaml snippet does not explain the connection string" [Medium,Triaged]11:47
*** rudrajit has joined #openstack-dns11:47
*** rudrajit has quit IRC11:48
bsvI have multiple DNS servers, with their own database running locally. So in reality, you want me to use a single database server for my entire setup?11:48
*** rudrajit has joined #openstack-dns11:48
bsvOr use multiple entries in the pools.yaml file?11:48
mugsieah, then you would need multiple11:49
mugsieyou need multiple targets11:49
bsvrighty dokey11:50
*** khushbu has quit IRC11:50
mugsieso, duplicate the snippet from - type: powerdns down11:50
bsvso the masters: host is the server running the mdns, and the options:host is the actual powerdns server?11:51
mugsieyes11:52
bsvperfect11:53
bsvTesting in progress :D11:53
*** khushbu_ has joined #openstack-dns11:55
bsvpartial success11:55
bsvRunning the command the first time (with Ansible) failed. But running the command manually with the CLI tool, worked.11:56
mugsie:/12:02
bsvLooks like the manually executed command, perform a migrate.12:02
bsvoh my fault12:03
bsvthe other does to12:03
openstackgerritFederico Ceratto proposed openstack/designate: Roll up migrations to start from liberty  https://review.openstack.org/29994212:03
bsv2016-05-09 13:54:29.498 16146 ERROR designate InternalError: (pymysql.err.InternalError) (1054, u\"Unknown column 'designate_id' in 'tsigkeys'\") [SQL: u'\\nALTER TABLE tsigkeys CHANGE COLUMN designate_id designate_id CHAR(32)']12:03
*** ducttape_ has joined #openstack-dns12:10
mugsieit sounds like PDNS has tried to initialise the DB before we get tonit12:10
mugsieto it*12:10
bsvstrange12:11
*** khushbu_ has quit IRC12:15
bsvmugsie: define 'initialize the database' ?12:16
bsvcreate it?12:16
openstackgerritMerged openstack/designate-specs: A Worker Model for Designate  https://review.openstack.org/25862112:17
mugsieadd tables.12:19
mugsiethat is weird for the unknown column12:19
mugsiehum.12:19
mugsiecan you do a show tables for that database?12:19
bsvhttps://etherpad.openstack.org/p/designate-powerdns_sync12:20
*** ducttape_ has quit IRC12:21
mugsieselect * from migrate_version ?12:21
mugsieweid12:22
bsvI can try to scratch the setup, and only run the playbook. Then see what that colum is saying.12:22
mugsieyeah12:22
bsvRunning....12:24
openstackgerritGraham Hayes proposed openstack/designate: update .gitignore  https://review.openstack.org/31407212:24
bsvsame12:25
bsvversion12:26
bsvlook at etherpad.12:27
bsvtarget 2 is waaay behind12:27
*** khushbu_ has joined #openstack-dns12:27
bsvI'll try to run the powerdns sync command manually.12:27
bsvBoth servers are now running version 17.12:29
mugsieOK. that is weird that the inital one only got it to version 412:30
bsvyup12:31
bsvIf I run the playbook a second time, it goes all good.12:36
bsvI can create domains/records in horizon, see the entries in the main mysql database.12:36
bsvStatus is 'PENDING' for all entries.12:37
mugsieOK, is pool-manager running?12:37
mugsieand is there any logs output from it?12:37
mugsiethe records / zones will stay pending until designate sees the change live on all the DNS servers12:38
bsvrunning the pool-manager manually to see any output now.12:41
bsvall changed from 'PENDING' to 'ERROR'.12:45
bsvCould not retrieve status and serial for zone deidentify.net. on nameserver 185.60.160.43:53 with action UPDATE (<class 'oslo_messaging.exceptions.MessagingTimeout'>:12:45
bsvwell, this is something else to work on.12:46
bsvBut there is something fishy going on with that upgrade/migrate process.12:46
openstackgerritMerged openstack/designate-dashboard: Updated from global requirements  https://review.openstack.org/31372012:47
openstackgerritMerged openstack/designate: Fix parameterized class decorator  https://review.openstack.org/31356712:48
bsvmugsie: btw! found what seems to be a small bug.12:50
bsvit seems that the pools.yaml extension is hardcoded?12:52
bsvInitialy, I copied the file to /etc/designate/pools.yml, but calling designate-manage pool update --file /etc/designate/pools.yml, failed saying it could not find /etc/designate/pools.yaml.12:53
*** km has quit IRC12:54
*** rudrajit_ has joined #openstack-dns12:54
mugsiebsv: really?12:55
mugsiecrap12:55
*** rudrajit has quit IRC12:56
bsvmugsie: this is weird12:59
bsvonly getting the error if running it with Ansible.13:00
bsvmight be the module used to execute it.13:00
*** rudrajit_ has quit IRC13:02
*** kei_yama has quit IRC13:02
bsvmugsie: scratch that, Ansible fucking around with me ;)13:03
bsvit works flawlessly when executing manually, that is what matters :)13:03
mugsie:)13:04
openstackgerritMerged openstack/designate: Consolidate default port numbers into utils.py  https://review.openstack.org/31310813:04
openstackgerritMerged openstack/designate: Fix _get_listen_on_addresses to handle port 0  https://review.openstack.org/31313113:04
*** rudrajit has joined #openstack-dns13:07
*** rudrajit has quit IRC13:11
*** rudrajit has joined #openstack-dns13:11
*** jschwarz has quit IRC13:26
*** ducttape_ has joined #openstack-dns13:28
*** rudrajit has quit IRC13:41
*** johnbelamaric has joined #openstack-dns13:41
*** jmcbride has joined #openstack-dns13:42
*** jschwarz has joined #openstack-dns13:52
*** richm has joined #openstack-dns13:53
*** bsv has quit IRC13:55
*** mlavalle has joined #openstack-dns13:58
*** ducttape_ has quit IRC14:00
*** catintheroof has joined #openstack-dns14:03
*** jhfeng has joined #openstack-dns14:04
*** krypto has joined #openstack-dns14:05
kryptohello all i am trying to setup designate liberty to my kilo installation.On a sperate node i have installed and configured designate liberty release with its own rabbitmq and mysql,but when making "designate domain-list" and other commands i am getting "DEBUG: "POST /v1/domains/sync HTTP/1.1" 401" in debug with "Invalid user token" "rejecting Request" in api.logs any idea about this issue14:07
kryptoi couldn't execute this command "openstack user create --domain default --password-prompt designate" so i executed without passing "--domain default" can this be the cause of this behaviour14:08
kryptoas in kilo there is no option for "--domain" can anyone please help me on this14:12
*** jhfeng has quit IRC14:13
*** jhfeng has joined #openstack-dns14:13
*** jhfeng has quit IRC14:15
mugsiekrypto: is there any logs from keystone?14:15
*** khushbu_ has quit IRC14:16
*** jhfeng has joined #openstack-dns14:19
*** andrewbogott has quit IRC14:22
*** andrewbogott has joined #openstack-dns14:22
*** pglass has joined #openstack-dns14:28
*** ducttape_ has joined #openstack-dns14:41
openstackgerritGraham Hayes proposed openstack/designate: update .gitignore  https://review.openstack.org/31407214:45
*** johnbelamaric has quit IRC14:45
*** johnbelamaric has joined #openstack-dns14:47
mugsietimsim: https://review.openstack.org/#/c/308963/ pls :)14:47
*** jmcbride has quit IRC14:48
openstackgerritGraham Hayes proposed openstack/designate: update .gitignore  https://review.openstack.org/31407214:50
*** khushbu_ has joined #openstack-dns14:59
*** Guest30018 is now known as mfisch14:59
*** mfisch is now known as Guest5645914:59
*** cu5 has quit IRC15:04
*** jschwarz has quit IRC15:09
openstackgerritJames Li proposed openstack/designate: Expose /v2/recordsets api endpoint  https://review.openstack.org/30143015:18
*** bpokorny has joined #openstack-dns15:38
*** bpokorny has quit IRC15:38
*** bpokorny has joined #openstack-dns15:39
*** khushbu_ has quit IRC15:42
*** james_li has joined #openstack-dns15:44
*** bpokorny has quit IRC15:47
*** krypto_ has joined #openstack-dns15:51
krypto_mugsie keystone log when making request http://paste.ubuntu.com/16319484/ designate api when making request http://paste.ubuntu.com/16319509/ designate debug cli http://paste.ubuntu.com/16319498/15:52
*** krypto has quit IRC15:54
*** jmcbride has joined #openstack-dns15:54
openstackgerritPaul Glass proposed openstack/python-designateclient: Don't fetch a token to get the project id (functional tests)  https://review.openstack.org/31419115:57
pglass^ that should fix the broken devstack checks15:57
*** krypto has joined #openstack-dns16:01
*** krypto_ has quit IRC16:04
*** james_li has quit IRC16:05
mugsiekrypto: can you turn on DEBUG logging in the API16:10
openstackgerritPaul Glass proposed openstack/python-designateclient: Don't use the 'keystone' client (functional tests)  https://review.openstack.org/31419116:13
pglassokay, *that* should fix the cli functional tests in the gate16:13
*** james_li has joined #openstack-dns16:17
*** krypto has quit IRC16:26
*** krypto has joined #openstack-dns16:26
kryptomugsie http://paste.ubuntu.com/16320229/ can you have a look at api.log with debug enabled16:28
*** krypto_ has joined #openstack-dns16:30
*** krypto has quit IRC16:34
mugsiekrypto_: the token is expired "expires_at": "2016-05-08T08:06:09.696945Z"16:36
mugsieare you using a hardcoded token?16:36
mugsieor the time on your keystone server is way off16:36
mugsieah, the time on your keystone server is way off16:37
mugsie2016-05-08 11:58:5016:37
*** james_li has quit IRC16:37
*** jmcbride has quit IRC16:41
*** james_li has joined #openstack-dns16:46
krypto_mugsie wow thats a good catch ,now its working... thanks alot16:47
*** jordanP has quit IRC16:51
mugsiekrypto_: no problem :)16:56
*** penick has joined #openstack-dns16:57
openstackgerritFederico Ceratto proposed openstack/designate: Move unit and functional testing to MySQL  https://review.openstack.org/30011217:25
openstackgerritFederico Ceratto proposed openstack/designate: Migrate service_statuses table charset to UTF8  https://review.openstack.org/31421217:25
openstackgerritFederico Ceratto proposed openstack/designate: Move unit and functional testing to MySQL  https://review.openstack.org/30011217:30
openstackgerritFederico Ceratto proposed openstack/designate: Migrate service_statuses table charset to UTF8  https://review.openstack.org/31421217:30
openstackgerritMerged openstack/python-designateclient: Don't use the 'keystone' client (functional tests)  https://review.openstack.org/31419117:43
openstackgerritFederico Ceratto proposed openstack/designate: Move unit and functional testing to MySQL  https://review.openstack.org/30011217:48
*** penick has quit IRC17:56
*** penick has joined #openstack-dns18:00
*** penick has quit IRC18:02
*** james_li has quit IRC18:12
*** ducttape_ has quit IRC18:13
*** penick has joined #openstack-dns18:17
*** krypto_ has quit IRC18:25
*** krypto_ has joined #openstack-dns18:25
*** ducttape_ has joined #openstack-dns18:26
*** openstackgerrit has quit IRC18:33
*** openstackgerrit has joined #openstack-dns18:33
*** ChanServ sets mode: +v openstackgerrit18:33
*** krypto_ has quit IRC18:38
timsimThis Go thread http://i.imgur.com/91sn32Q.jpg?fb18:39
mugsietimsim: :)18:41
*** ozialien10 has quit IRC18:43
*** ozialien10 has joined #openstack-dns18:44
*** ozialien10 has quit IRC18:44
*** ozialien10 has joined #openstack-dns18:45
openstackgerritTim Simmons proposed openstack/designate: WIP Worker Model  https://review.openstack.org/28378418:45
timsimFunctional tests passing again ^^18:45
*** james_li has joined #openstack-dns18:56
openstackgerritJeff Feng proposed openstack/designate: Typo fix  https://review.openstack.org/31423818:59
mugsietimsim: the thread is getting better :)19:03
elarsontimsim: have a link?19:07
Kiallelarson: it starts here http://lists.openstack.org/pipermail/openstack-dev/2016-May/093795.html19:08
elarsonah right19:08
Kiallprob easier to see it on http://lists.openstack.org/pipermail/openstack-dev/2016-May/thread.html - search for "supporting go"19:08
Kialland signing up to the list for future ;)19:08
elarsonI'm on the list but try to avoid paying too close of attention ;)19:09
openstackgerritGraham Hayes proposed openstack/designate: Fix the memory of the VM in VirtualBox  https://review.openstack.org/31424819:37
openstackgerritGraham Hayes proposed openstack/designate: Fix the memory of the VM in VirtualBox  https://review.openstack.org/31424819:44
*** d34dh0r53 is now known as th3r34ld0n4ld7ru20:05
*** th3r34ld0n4ld7ru is now known as therealmajorhayd20:05
timsimLet's write our own C code for encoding DNS packets and embed it into Python, nothing could go wrong there. Would just use a library but then we're vendoring C libraries, which is always fun.20:05
timsimYoutube is written in Python, how hard can it be!20:06
*** therealmajorhayd is now known as d34dh0r5320:07
pglassi think that would not actually be that hard.20:08
pglassbut i don't know what the packaging/deployment would look like20:09
elarsonpglass: just use python wheels! done20:15
*** bpokorny has joined #openstack-dns20:23
*** Alex_Stef has quit IRC20:42
*** Alex_Stef has joined #openstack-dns20:48
*** johnbelamaric has quit IRC21:00
*** johnbelamaric has joined #openstack-dns21:00
openstackgerritMerged openstack/designate: Move heartbeat emit log messages to TRACE  https://review.openstack.org/30896321:01
*** Guest56459 is now known as mfisch21:15
*** mfisch is now known as Guest8708521:15
*** Guest87085 is now known as mfisch21:19
*** mfisch has quit IRC21:20
*** mfisch has joined #openstack-dns21:20
*** johnbelamaric has quit IRC21:44
*** catintheroof has quit IRC22:01
*** james_li has quit IRC22:03
*** puck has quit IRC22:14
*** ducttape_ has quit IRC22:21
*** greghaynes has joined #openstack-dns22:22
*** jhfeng has quit IRC22:25
*** jhfeng has joined #openstack-dns22:26
*** puck has joined #openstack-dns22:30
*** jhfeng has quit IRC22:31
*** mlavalle has quit IRC22:33
*** pglass has quit IRC23:00
*** bpokorny_ has joined #openstack-dns23:00
*** bpokorny has quit IRC23:03
*** bpokorny_ has quit IRC23:13
*** bpokorny has joined #openstack-dns23:14
*** kei_yama has joined #openstack-dns23:28
*** penick has quit IRC23:28
*** chlong has joined #openstack-dns23:33
*** km has joined #openstack-dns23:34
*** richm has quit IRC23:47
openstackgerritOpenStack Proposal Bot proposed openstack/designate: Updated from global requirements  https://review.openstack.org/31371923:57

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