*** vipul-away is now known as vipul | 00:04 | |
*** betsy has quit IRC | 00:33 | |
*** zane has quit IRC | 01:01 | |
*** nosnos has joined #openstack-dns | 01:04 | |
*** HenryG has quit IRC | 01:10 | |
*** CaptTofu has joined #openstack-dns | 01:12 | |
*** zane has joined #openstack-dns | 01:32 | |
*** krow1 has joined #openstack-dns | 01:47 | |
*** krow has quit IRC | 01:47 | |
*** krow1 has quit IRC | 01:47 | |
*** matsuhashi has joined #openstack-dns | 01:58 | |
*** HenryG has joined #openstack-dns | 02:03 | |
*** zane1 has joined #openstack-dns | 02:09 | |
*** zane has quit IRC | 02:09 | |
*** rossk has quit IRC | 02:11 | |
*** CaptTofu has quit IRC | 02:41 | |
*** CaptTofu has joined #openstack-dns | 02:42 | |
*** krow has joined #openstack-dns | 03:24 | |
*** krow has quit IRC | 03:50 | |
*** jmcbride has joined #openstack-dns | 03:53 | |
*** jmcbride has quit IRC | 04:02 | |
*** krow has joined #openstack-dns | 04:32 | |
*** eankutse has joined #openstack-dns | 04:38 | |
*** eankutse has quit IRC | 04:38 | |
*** eankutse has joined #openstack-dns | 04:39 | |
*** krow has quit IRC | 04:50 | |
*** krow has joined #openstack-dns | 04:57 | |
*** eankutse1 has joined #openstack-dns | 05:18 | |
*** eankutse has quit IRC | 05:21 | |
*** eankutse1 has quit IRC | 05:23 | |
*** zane1 has quit IRC | 05:45 | |
*** krow has quit IRC | 05:51 | |
*** krow has joined #openstack-dns | 06:22 | |
*** zane has joined #openstack-dns | 06:29 | |
*** krow has quit IRC | 06:39 | |
*** nosnos has quit IRC | 06:41 | |
*** nosnos has joined #openstack-dns | 06:42 | |
*** nosnos_ has joined #openstack-dns | 07:03 | |
*** krow has joined #openstack-dns | 07:04 | |
*** nosnos has quit IRC | 07:05 | |
*** zane has quit IRC | 07:34 | |
*** krow has quit IRC | 08:34 | |
*** matsuhashi has quit IRC | 09:12 | |
*** matsuhashi has joined #openstack-dns | 09:12 | |
*** matsuhashi has quit IRC | 09:16 | |
*** matsuhashi has joined #openstack-dns | 09:17 | |
*** nosnos_ has quit IRC | 09:19 | |
*** matsuhashi has quit IRC | 09:41 | |
*** krow has joined #openstack-dns | 10:32 | |
kiall | artom: re bug 1262851 / https://review.openstack.org/#/c/63216 | 11:29 |
---|---|---|
kiall | I'm trying to see when that might be triggered... and am finding it hard :) | 11:30 |
*** krow has quit IRC | 11:31 | |
kiall | DOOH - Always realize my mistake right as I speak .. tests are happening with the fake backend, hence not triggering them. | 11:31 |
kiall | Okay.. I 100% see what's happening now | 11:32 |
kiall | and your other review has exposed an issue with our InsertFromSelect implementation.. Fun -_- | 11:44 |
*** krow has joined #openstack-dns | 11:46 | |
*** krow has quit IRC | 11:52 | |
openstackgerrit | Kiall Mac Innes proposed a change to stackforge/designate: Specify column names during the PowerDNS backends InsertFromSelect's https://review.openstack.org/63400 | 12:46 |
openstackgerrit | Kiall Mac Innes proposed a change to stackforge/designate: Test database migration schema https://review.openstack.org/62079 | 12:46 |
openstackgerrit | Kiall Mac Innes proposed a change to stackforge/designate: Specify column names during the PowerDNS backends InsertFromSelect's https://review.openstack.org/63400 | 12:49 |
openstackgerrit | Kiall Mac Innes proposed a change to stackforge/designate: Test database migration schema https://review.openstack.org/62079 | 12:49 |
openstackgerrit | A change was merged to stackforge/designate: Do not try to update records if there are none https://review.openstack.org/63216 | 12:54 |
*** CaptTofu has quit IRC | 13:13 | |
*** CaptTofu_ has joined #openstack-dns | 13:13 | |
openstackgerrit | Kiall Mac Innes proposed a change to stackforge/designate: Specify column names during the PowerDNS backends InsertFromSelect's https://review.openstack.org/63400 | 13:30 |
openstackgerrit | Kiall Mac Innes proposed a change to stackforge/designate: Test database migration schema https://review.openstack.org/62079 | 13:30 |
*** jmcbride has joined #openstack-dns | 13:32 | |
*** jmcbride has quit IRC | 14:01 | |
kiall | artom: Humm .. Having an issue seeing why your test using migrations patchset is failing on top of https://review.openstack.org/#/c/63400 | 14:06 |
*** eankutse has joined #openstack-dns | 14:15 | |
*** eankutse has quit IRC | 14:15 | |
*** eankutse has joined #openstack-dns | 14:15 | |
*** betsy has joined #openstack-dns | 14:32 | |
artom | Ok, let's sort through this. | 14:38 |
artom | So https://review.openstack.org/#/c/63216/ (do not update NS records if there are none) is OK. | 14:39 |
artom | https://review.openstack.org/#/c/63208/ (designate_recordset_id) should be abandoned, yes? It's been superseded by https://review.openstack.org/#/c/63400 (InsertFromSelect) | 14:40 |
*** CaptTofu_ has quit IRC | 14:40 | |
artom | Might as well ping kiall... | 14:41 |
artom | Did your commits (PS4-6) to https://review.openstack.org/#/c/62079/ introduce any code changes? | 14:42 |
*** CaptTofu has joined #openstack-dns | 14:42 | |
*** eankutse1 has joined #openstack-dns | 14:52 | |
artom | kiall, ah, I see what you mean. | 14:54 |
*** eankutse has quit IRC | 14:54 | |
artom | The same IntegrityError that I see in Jenkin's logs is happening for me... | 14:54 |
artom | Except I only get it for py26... | 14:54 |
artom | And before submitting my PS yesterday I didn't get it at all, so I chalked it up to feral packets or other voodoo... | 14:55 |
artom | Whoa, rerunning tox makes the error appear in py27 but not py26... | 15:03 |
artom | I suspect something is wrong about how the tempfiles are handled... | 15:03 |
*** jmcbride has joined #openstack-dns | 15:04 | |
*** CaptTofu has quit IRC | 15:07 | |
*** CaptTofu has joined #openstack-dns | 15:07 | |
*** jmcbride has quit IRC | 15:08 | |
*** Adri2000 has quit IRC | 15:13 | |
*** jmcbride has joined #openstack-dns | 15:13 | |
*** jmcbride has quit IRC | 15:16 | |
*** pasquier-s has quit IRC | 15:16 | |
*** jmcbride has joined #openstack-dns | 15:25 | |
*** betsy has quit IRC | 15:26 | |
artom | Ah, I think some tempfile names are colliding. | 15:26 |
artom | If I empty out /tmp the errors go away. | 15:26 |
artom | Doesn't explain why it's happening on Jenkins though... | 15:26 |
artom | Maybe other tests are using loads of tempfiles as well? | 15:27 |
*** CaptTofu has quit IRC | 15:28 | |
*** jmcbride has quit IRC | 15:30 | |
*** tsimmons has joined #openstack-dns | 15:31 | |
tsimmons | kiall: artom: I recently deployed the latest code to a couple of distributed environments and i'm getting PowerDNS backend failures of the type "Column count doesn't match value count at row 1" does this have anything to do with what you guys were discussing? | 15:50 |
*** jmcbride has joined #openstack-dns | 15:50 | |
*** jmcbride has quit IRC | 15:54 | |
artom | tsimmons, it does. | 15:57 |
*** jmcbride has joined #openstack-dns | 15:57 | |
artom | tsimmons, I think once https://review.openstack.org/#/c/63400 is merged it should be fixed. | 15:57 |
tsimmons | artom: Alright, that's what I figured. Thanks! | 15:59 |
*** jmcbride has quit IRC | 16:00 | |
*** Adri2000 has joined #openstack-dns | 16:14 | |
*** zane has joined #openstack-dns | 16:29 | |
*** zane1 has joined #openstack-dns | 16:30 | |
*** zane has quit IRC | 16:34 | |
kiall | artom: heya | 17:07 |
kiall | yea - I think the DB migration test patch is dodgy and failing .. sometimes.. :) | 17:08 |
openstackgerrit | A change was merged to stackforge/designate: Specify column names during the PowerDNS backends InsertFromSelect's https://review.openstack.org/63400 | 17:10 |
kiall | artom: no code changes at all, I just put your PS on top of mine to have it's tests run | 17:12 |
kiall | (the new one's you wrote..) | 17:12 |
artom | kiall, gotcha. | 17:13 |
artom | Trying to fix the DB migrations PS before leaving. | 17:13 |
*** zane1 has quit IRC | 17:14 | |
* artom is confused about what gets called when in a Fixture... | 17:15 | |
kiall | Yea - I don't know that library well enough either | 17:21 |
*** jorgem has joined #openstack-dns | 17:28 | |
*** betsy has joined #openstack-dns | 17:29 | |
artom | This was easier whenI had db_manager ;) | 17:31 |
*** jmcbride has joined #openstack-dns | 17:31 | |
*** eankutse1 has quit IRC | 17:39 | |
*** zane has joined #openstack-dns | 17:44 | |
betsy | kiall: Hi. I discovered where the bug is in my create_blacklist. In storage/api.py, if I comment out the @contextlib.contextmanager, and the related code to that, it works fine. Maybe I'm missing something that needs to be added to use contextlib.contextmanager? Any ideas? | 18:00 |
kiall | betsy: heya, dealing with some internal stuff right now can't really look! | 18:03 |
betsy | np. I don't think I really need to use @contextlib anyway, so I'm proceeding on that assumption. You can correct me later when you have the time. :D | 18:04 |
*** jmcbride has quit IRC | 18:04 | |
*** jmcbride has joined #openstack-dns | 18:08 | |
*** EmilienM has quit IRC | 18:19 | |
*** EmilienM has joined #openstack-dns | 18:20 | |
*** jmcbride has quit IRC | 18:23 | |
*** jmcbride has joined #openstack-dns | 18:36 | |
*** eankutse has joined #openstack-dns | 18:40 | |
*** eankutse has quit IRC | 18:40 | |
*** eankutse has joined #openstack-dns | 18:40 | |
*** zane has quit IRC | 19:01 | |
*** tsimmons has quit IRC | 19:05 | |
*** zane1 has joined #openstack-dns | 19:15 | |
*** zane1 has quit IRC | 19:16 | |
*** zane1 has joined #openstack-dns | 19:16 | |
*** zane1 has quit IRC | 19:52 | |
artom | Whelp, I'm not getting nothing done in this atmosphere. | 19:53 |
artom | I think the db migration patch will wait :( | 19:53 |
artom | Due to a whole bunch of circumstances, most of the office is working from home, and the people that are here are anticipating the Christmas party tonight. | 19:54 |
*** zane has joined #openstack-dns | 20:00 | |
*** tsimmons has joined #openstack-dns | 20:09 | |
*** jmcbride has quit IRC | 20:14 | |
*** rjrjr has joined #openstack-dns | 20:16 | |
*** jmcbride has joined #openstack-dns | 20:30 | |
*** artom has quit IRC | 20:32 | |
tsimmons | kiall: I'm sure you'll see this at some point. Should "six>=1.4.1" be in the requirements.txt file? When I do a fresh install, I always run into a problem running "python setup.py develop" and have to upgrade six from 1.1.0 to 1.4.1. Just thought I'd bring it up. | 20:43 |
*** CaptTofu has joined #openstack-dns | 20:50 | |
*** eankutse has quit IRC | 20:59 | |
*** eankutse has joined #openstack-dns | 20:59 | |
kiall | tsimmons: ehh, I don't think we use six anywhere, it's likely a dependency of a dependency | 21:26 |
kiall | and - as you can see - often causes more pain than it's worth! | 21:26 |
tsimmons | Ah, ok. It was messing up some automation I was doing, having to install it every time, that's how I noticed it. Just thought I'd mention it :) | 21:28 |
kiall | That said.. I re-install the virtualenv ever few days, as does every Jenkins test run | 21:28 |
kiall | We don't normally see that? | 21:28 |
tsimmons | Hm. I'm probably doing something odd. I'll look at it. Thanks! | 21:29 |
kiall | "Laptop battery critically low" <-- brb ;) | 21:29 |
kiall | back.. | 21:32 |
kiall | So, how are you installing it? into a virtualenv or "straight" onto the server etc? | 21:32 |
tsimmons | Hah, this time I was doing it straight onto the server, that's probably where the problem lies. But seriously, you should go relax, it's Friday night! | 21:33 |
kiall | Hah - Easy night tonight, tomorrow night, now that's different ;) | 21:35 |
tsimmons | Well that works too :P | 21:35 |
kiall | So, straight onto a server can be awkward.. Dependency hell and all that! | 21:36 |
tsimmons | I was afraid of that, I've never done much with virtualenvs... | 21:36 |
kiall | If it's ubuntu, the ubuntu-cloud-archive for havana should have everything we need.. | 21:37 |
tsimmons | debian :/ | 21:37 |
tsimmons | Should be pretty close though | 21:37 |
kiall | installing all the deps from .deb's, then designate from source should work cleanly.. but once pip starts downloading dependencies to install globally, you're asking for something, somewhere to break | 21:38 |
kiall | artom spent some time trying to get it going on debian, apparently "everything is too old" | 21:38 |
kiall | They ship the deps for openstack circa a 3-4 releases ago last I looked | 21:39 |
kiall | ubuntu has the "cloud-archive" where they put newer versions of everything needed for each openstack release.. | 21:39 |
tsimmons | That seems useful. | 21:39 |
kiall | We try and stick to the same versions so we can be compatible and easier to install alongside etc | 21:39 |
*** CaptTofu has quit IRC | 21:40 | |
kiall | Yea, we use a good chunk of their packages in out deploy.. Every .deb we can avoid building ourselves is a win ;) | 21:40 |
kiall | s/out/our/ | 21:41 |
tsimmons | I've obviously still got a lot to learn. So the designate packages use the cloud-archive packages for their dependencies, and you can install the requirements from the cloud-archive even if you aren't installing the designate packages? | 21:45 |
*** amitg-web has joined #openstack-dns | 21:59 | |
*** amitg-web has joined #openstack-dns | 21:59 | |
*** amitg-web has quit IRC | 22:00 | |
kiall | tsimmons - sorry, AFK (Friday night and all ;)) But.. Yea, the designate .deb's we have here require the cloud-archive packages for dependencies ... https://launchpad.net/~designate-ppa/+archive/havana/ | 22:23 |
kiall | Well, they require the right dependencies, the cloud-archive "just happens" to fulfill then | 22:23 |
*** krow has joined #openstack-dns | 22:25 | |
tsimmons | So for a proper deployment you would use that apt repo to get the dependencies? | 22:25 |
kiall | tsimmons: For our production deploy, we have Jenkins jobs that build .deb's from a private "fork" of designate.. The fork exists just to give us control over what's in the open source repo vs production.e.g. we might need to backport a critical fix right after a major change has landed in the open source repo.. To allow for quick patches, we keep the fork.. | 22:32 |
kiall | Anwyay - We pull or cherry-pick commits in there, build .debs which go then through to the release process | 22:33 |
kiall | So, the same process is used for everything from rabbit to mysql to python updates | 22:33 |
tsimmons | Mhm, makes sense. | 22:34 |
kiall | Hah - It sounds much more sensible than reality ;) But I've yet to see a totally sane release process! | 22:34 |
kiall | Anyway - The end result is, we deploy via .deb's is production.. | 22:35 |
tsimmons | Yeah I'm sure there's plenty of things to go wrong. | 22:35 |
tsimmons | Yeah that's what I imagined you would do | 22:35 |
kiall | Yep - Lots! | 22:35 |
kiall | I've heard from .. somewhere .. that RAX tends to deploy their python stuff by building a virtualenv in jenkins (or w/e) and using that as the release artifact .. | 22:36 |
kiall | e.g. Trove deploys should be roughly equivalent to Designate deploys, just we don't have the guest/customer instances to worry about | 22:36 |
tsimmons | Yeah I figured when we got a little further along i'd talk to them. | 22:37 |
*** krow has quit IRC | 22:37 | |
tsimmons | I'm learning to use Chef right now, that's where my curiosity comes from :P | 22:37 |
kiall | Ohh ... Nooo! | 22:37 |
tsimmons | haha | 22:37 |
kiall | Save your sanity ;) | 22:37 |
tsimmons | hahaha | 22:37 |
tsimmons | Should I use something else? | 22:38 |
kiall | I'd say use what the company has experience with.. | 22:39 |
kiall | (We use it, I hate it, Thinking about moving to something else) | 22:40 |
tsimmons | Yeah, most of them use Chef. It seems alright so far. | 22:40 |
kiall | Chef is scripting disguised as config management the way I see it.. It looks great, until you start getting into some more complex situations.. | 22:41 |
tsimmons | Yeah I've already had to put some scripts in that I wrote. | 22:41 |
kiall | God forbid your designate.conf gets updated, a designate-api restart is queued, and then some other totally unrelated cookbook fails.. | 22:41 |
kiall | The restart will never happen, the file will have already been changed, so the next run goes "all good" | 22:42 |
tsimmons | Oh god that happens? | 22:42 |
kiall | Yea.. Chef doesn't handle failure gracefully at all.. It just dies. | 22:42 |
tsimmons | That's kind of scary | 22:43 |
kiall | The Puppet model of CI makes so much more sense to me, even if it's harder to grasp at first.. | 22:44 |
kiall | the distinction between "how the world should look" from "how to make it look like that" is really clean in Puppet and Salt (if used right..) | 22:44 |
tsimmons | I know someone who knows Puppet. | 22:45 |
kiall | It's impossible to put an if statement in a puppet manifest, everything *must* be declarative and the implementation details of how to inspect the current state and make the changes if necessary are abstracted away. | 22:45 |
tsimmons | Hm. So if you were to recommend one for Designate... | 22:47 |
kiall | Anyway - "Which CM tool?" is like asking "Which region?" - there's no one answer and everything thinks everyone else is an idiot :) | 22:47 |
*** eankutse1 has joined #openstack-dns | 22:47 | |
kiall | religion* | 22:47 |
tsimmons | I suppose so. Maybe I should just go back to coding :P | 22:49 |
kiall | I'd recommend whichever you have the most experience to draw on :) Even if that turns out to be a bunch of bash scripts! All the CM tools I've tried are hard to learn and impossible to debug.. experience is the only thing that matters ;) | 22:49 |
*** jmcbride has quit IRC | 22:49 | |
kiall | (That said - We're planning our escape to Salt ;)) | 22:49 |
tsimmons | Yeah that's one of the ones we discussed. | 22:50 |
*** eankutse has quit IRC | 22:51 | |
kiall | Anyway - Time for some TV, enjoy the weekend / Christmas if you're finished up today! | 22:51 |
tsimmons | For sure man. Thanks for everything! | 22:52 |
eankutse1 | tsimmons: sounds like there's quite a bit to learn with Chef to do things right? :-) | 22:54 |
tsimmons | A lot. To do it 100% "right" probably isn't possible. | 22:54 |
eankutse1 | ;-) | 22:54 |
*** eankutse1 has quit IRC | 22:55 | |
*** amitg has joined #openstack-dns | 22:57 | |
*** yahoo has joined #openstack-dns | 22:57 | |
*** test-i has joined #openstack-dns | 22:59 | |
test-i | hi | 22:59 |
tsimmons | Hello :) | 22:59 |
kiall | tsimmons / eankutse .. one last thing (or 3 or 4..) | 22:59 |
tsimmons | :) | 23:00 |
kiall | start with something simpler - like an ntpd server cookbook .. i.e. packaged in debian already, well known etc.. | 23:00 |
kiall | if you us | 23:00 |
kiall | e chef .. lookup test-kitchen | 23:00 |
kiall | and - lookup berkself + watch this video for some really good advice on "the right way" to do chef.. http://www.getchef.com/blog/chefconf-talks/the-berkshelf-way-jamie-winsor/ | 23:01 |
tsimmons | Nice! I'll look at it. | 23:01 |
kiall | Okay - Now I'm gone ;) | 23:02 |
tsimmons | Thanks again :D | 23:03 |
*** jorgem has quit IRC | 23:22 | |
*** CaptTofu has joined #openstack-dns | 23:23 | |
*** krow has joined #openstack-dns | 23:44 | |
*** krow has quit IRC | 23:53 | |
*** CaptTofu has quit IRC | 23:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!