18:00:07 #startmeeting trove-bp-review 18:00:08 Meeting started Mon May 5 18:00:07 2014 UTC and is due to finish in 60 minutes. The chair is SlickNik. Information about MeetBot at http://wiki.debian.org/MeetBot. 18:00:08 SlickNik, are we still going to move all possible features from -manage to public API ? 18:00:09 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 18:00:11 The meeting name has been set to 'trove_bp_review' 18:00:44 Giving folks a couple of minutes to trickle in to the bp review. 18:00:58 yea 18:01:06 * juice is trickling 18:01:18 Just wanted to mention a point of order. 18:01:24 denis_makogon, SlickNik - isn't the point to move away from trove-integration to tempest with devstack CI? 18:01:30 Sushil Kumar proposed a change to openstack/trove: Adds performance_schema to ignore_dbs https://review.openstack.org/92176 18:01:49 dougshelley66, of course, but it's like temporary solution 18:02:09 dougshelley66: Yes, the plan is to move away from trove-integration. 18:02:36 slicknik - what was your point of order 18:02:51 dougshelley66: Let's chat after the bp meeting. 18:02:57 SlickNik certainly 18:03:10 mattgriffin, it's your turn, i guess 18:03:21 denis_makogon, hello! 18:03:33 mattgriffin, hello, Mat =) 18:03:41 so i've proposed 3 BPs 18:03:59 1. https://blueprints.launchpad.net/trove/+spec/support-percona-xtrabackup-2.2 18:04:15 #link https://blueprints.launchpad.net/trove/+spec/support-percona-xtrabackup-2.2 18:04:21 there was a question last week about backwards compability 18:04:27 of backups 18:04:45 mattgriffin: hang on one sec. 18:04:49 SlickNik, ack 18:05:25 I don't think cores are around yet. 18:05:30 Sorry, got disconnected 18:05:30 grapex just got here. 18:05:34 np. 18:05:42 So just a point of order before we start. 18:05:59 To be fair to all parties involved — if you submit more than one unrelated bp per review meeting — only the first one will be talked about as part of the queue. 18:06:11 Sushil Kumar proposed a change to openstack/trove: Resolves volume resize issue https://review.openstack.org/80315 18:06:28 We can talk about the other ones if we have time. 18:06:39 SlickNik: I like it 18:07:13 Okay, with that out of the way. 18:07:21 #topic Percona support 18:07:39 mattgriffin: 18:07:42 SlickNik, hi :) 18:07:42 go ahead 18:08:30 hi all. i created some Summit proposals but was told that the best route was to submit BPs 18:08:38 So a couple of things regarding the bps. 18:08:41 ok 18:09:27 It's still early days for supporting xtradbcluster (https://blueprints.launchpad.net/trove/+spec/support-pxc-5.5-and-5.6) since we don't have a clustering API in trove yet. 18:10:00 SlickNik, ack 18:10:29 SlickNik, agreed, looks like another package for current percona support 18:10:45 SlickNik: *fingers crossed* for clustering :D 18:10:48 SlickNik, just looking for ways that percona can plug into the team and help ... perhaps that API is a way forward during Juno 18:11:25 mattgriffin, we can ask them to join amcrn's design sessions 18:11:27 We have a summit session on the clustering API design, and plan to have it nailed by then. 18:11:38 cool 18:11:40 (amcrn is doing a great job of leading that) 18:12:22 As for support for percona-server. THe plan is to support it through the mysql-manager itself. 18:12:41 SlickNik, sound very reasonable 18:12:44 There's a session on unifying guest-agents that will discuss that and hub_cap's driving that one. 18:12:46 SlickNik, any work needed to get PS 5.6 into the mix for support? 18:12:58 yeah it should be similar enough not to have another impl for percona 18:13:39 SlickNik, ok... then chat about that in ATL 18:13:42 ? 18:13:49 mattgriffin: Should be fairly straightforward; don't think there's an issue there. 18:14:44 cp16net: Yes, the idea is to have the mysql guest support percona as well. 18:15:07 mattgriffin: So for xtrabackup, was there a backward compat issue? 18:15:32 SlickNik, i checked into it. no issue but GeorgeLorch is here if there are additional questions 18:17:01 mattgriffin: Okay, sounds good. In that case, it's probably okay for us to move to xtrabackup- 2.2 for backup/restore. 18:17:09 SlickNik, with xtrabackup, there are likely features that trove isn't using that would be helpful to users. 18:17:16 SlickNik, cool 18:17:20 Will follow up with GeorgeLorch about new features. 18:17:30 SlickNik, great! 18:17:41 Thanks mattgriffin. 18:17:46 SlickNik, thank you 18:18:01 i see last time juice asked about direct integration with XtraBackup to s3/swift 18:18:50 cp16net, that's unfortunately not going to be available until late 2014 in 3.0 18:19:14 Okay, let's move on. 18:19:17 #topic Instance database log manipulations 18:19:28 #link https://blueprints.launchpad.net/trove/+spec/dbinstance-log 18:19:53 last time this one appeared, were asked several questions 18:20:03 you can find them at the wiki page 18:20:23 questions are related to log rotation 18:20:30 and sys log 18:20:37 *sys log service 18:21:12 short answer to rotation - it can be done within scheduled task 18:21:33 why cant you use logrotate? 18:21:46 konetzed, we can, that's what i wrote 18:22:06 denis_makogon: sorry just saw that link, must have glanced over it first time 18:22:09 konetzed, but to keep full log history we need to push log to Swift 18:22:43 once rotation time comes, guest pushes database log into the Swift 18:23:05 but this task can be accomplished once scheduled task appears 18:23:23 we had design session for scheduled tasks 18:23:35 *have 18:23:51 denis_makogon: How can you configure the the DB log config? rotation, file size and all the other logging goodness 18:24:11 esmute, everything is written at wiki page 18:24:22 esmute, size, schedule, file 18:24:24 etc 18:24:56 denis_makogon: ok.. i just read the API portion 18:25:06 esmute, cool =) 18:25:15 denis_makogon: your wiki mentions the template, it doesn't mention how it's actually rendered with dynamic values 18:25:56 amcrn, https://wiki.openstack.org/wiki/Trove/DBInstanceLogOperation#Log_files_rotation 18:26:06 {{ how_often }} 18:26:08 where does "actual rotation count" come from 18:26:22 amcrn, from guest config 18:26:28 denis_makogon: I still feel that either this is a generic component that could be added to dbaas as something installable or a 3rd party component - i.e. why are we building this? 18:26:57 denis_makogon: Your wiki doesn't mention any API endpoints for this. What's the endpoint that I need to actually hit? 18:27:13 juice, from PaaS level perspective, you cannot access the VM directly, only through some API 18:27:19 denis_makogon: https://wiki.openstack.org/wiki/Trove/DBInstanceLogOperation#Configuration is missing your guest config 18:27:42 amcrn, that's true 18:27:44 denis_makogon: I understand that but log shipping is a solved issue 18:27:49 amcrn, thanks for catch 18:27:50 denis_makogon: We should forget about iteration 2 for now.. just focus on iteration 1. I'm missing how the user would save off a log file.. and how the deployer would choose which files can be saved.. and what timestamp a saved log file represents 18:28:03 juice, we cannot use syslog server 18:28:44 vipul, log files will be shipped to Swift container 18:28:47 denis_makogon: can how do you add log files that are not specified in this "default" setup of log files? 18:29:14 denis_makogon: i understand that.. i feel like this can be simplified sooo much for v1 18:29:20 cp16net, i'm specifying at database logs only 18:29:29 vipul, how ? 18:29:30 Okay, so I don't want this to turn into a design session. 18:29:39 SlickNik, agreed 18:29:45 SlickNik: what if.... 18:29:52 lets talk about meeting 18:30:12 #action Fix wiki page (conf. section) 18:30:16 1. we need an endpoint that let's a user 'save' a file.. given the name of a file.. 2. we need an endpiont that lists all saved files, and their timestamps.. Done 18:30:37 So I think we all agree that the BP needs some better definition around phase 1 of this. 18:30:44 denis_makogon: thanks. 18:30:46 vipul, that's what i proposed as v1 18:31:00 denis_makogon: so only the logs that are created/saved will be the ones accessible? 18:31:07 esmute, yes 18:31:20 esmute, only database logs 18:31:38 Let's defer this until next week, when denis_makogon updates the page with this info. 18:31:39 let's move forward 18:31:45 so if i want daily logs (or hourly) i would have to add a cronjob/script to run every hour and invoke the dblog-create api? 18:31:45 thanks #denis_makogon 18:31:47 SlickNik, agreed 18:32:02 esmute, lets talk after 18:32:10 #topic Update database instance name 18:32:14 nehav around? 18:32:17 hey 18:32:32 its a bp to allow users to rename db instance 18:32:37 one question, what's the justification of it ? 18:32:45 what it stands for ? 18:32:47 a change to the existing update instance call 18:33:08 Users have requested the ability to rename instances after they are created 18:33:22 NehaV, nova allows it ? 18:33:34 yes 18:33:36 yes 18:33:42 NehaV, why does DNS is not enough? 18:33:44 all projects allow name changes 18:33:52 its id changes which are not allowed 18:33:57 i think a good example is i created a dev-instance and i'm now using it in prod so i'd like to change the name to prod-instance 18:34:14 a user should be allowed to change the name of their instance 18:34:48 cp16net, thanks for an example 18:34:50 Sounds pretty simple. Even when you're just making test instances, it can be painful sometimes when you can't rename them 18:34:53 makes sense to me 18:34:56 NehaV, does heat allows that ? 18:35:03 one question. 18:35:06 yeah and nothing should be tied directly to the name any way 18:35:09 NehaV: So the bp mentions it being a PUT, but I think it's more likely a PATCH since you're not including all the json that specifies the resource. 18:35:14 i m not sure about heat 18:35:20 SlickNik, ++ 18:35:22 cp16net: +1 18:35:24 tru 18:35:44 is the plan to propogate the name change to the nova instance? 18:35:46 NehaV, please take a look at heat, since we're planning to move at it, as soon as possible 18:35:51 SlickNik: then the config call wpould also have to change ? 18:36:23 the one issue i see is the nova instance name is usually also the hostname of the VM 18:36:37 vipul, ++ 18:36:41 so we are indirectly relying on it 18:36:45 vipul: Does renaming a nova instance, rename the hostname? 18:36:54 esmute: good question, i'm not sure 18:36:54 esmute, yes 18:37:06 do u propagate instance name to nova server name? 18:37:38 iccha1, yes, we're doing it 18:37:46 iccha1: we do.. unless DNS is enabled 18:37:57 vipul, that's also true 18:37:58 Maybe I'm missing something- why is it important to rename the Nova instance name? 18:37:58 yeah then its the dns name 18:38:10 The issue is though DNS names are configured via a strategy 18:38:31 At Rax they are these weird guid looking things that don't have to be the same as anything else 18:38:32 grapex_: if you don't use dns in Trove, the instance name = nova instance name 18:38:40 also, heat changes host name "as it want's", by adding huge hash to resource name 18:39:01 vipul: Trust, but I guess I don't get why the nova and Trove names would have to be the same. 18:39:38 well the only issue i see is the hostname of the VM will not be tied to the Trove instance name 18:39:46 NehaV, are you planning to rename instance hostname, or just Trove instance name ? 18:40:06 vipul, same for me 18:40:09 trove instance name 18:40:17 so for example.. we use that hostname + uuid + other stuff today to generate a 'salt key' 18:40:21 in this case, it's valid 18:40:25 we can probably work around that.. 18:40:41 but just raising it as a potential issue 18:41:15 i guess we can changes Trove instances name, since it's not chained with compute instance name 18:41:17 vipul: I see. 18:41:22 like nova when you change name of the instance, nothing on the instance is affected, updated name is visible in nova list, but if you do 'hostname' on the instance you will continue to see the old name. 18:41:22 we should be relying only on ids, and never on names. 18:41:49 we should do something similar change it it in trove database only and not change anything in nova 18:41:53 iccha1, we just doing it 18:42:04 saurabhs, that's valid 18:42:11 saurabhs: so nova rename does not update the hostname? 18:42:26 iccha1: but ba3e352a-577f-4a40-9646-aaca5acf86f8 is so hard to pronounce 18:42:40 it updates it only in nova list I guesst. on instance for sure 'hostname' command returns you old name of the instance 18:42:55 kevinconway, at least you can try ;) 18:43:07 shakespeare said whats in a name kevinconway 18:43:26 Okay, I think we know pretty well what this entails. 18:43:36 Let's get a quick vote: 18:43:53 yea we should be able to work around it.. 18:43:57 +1 update both trove and nova instance 18:44:08 +1 only for Trove instances 18:44:18 Anna Shen proposed a change to openstack/trove-integration: Trove guestagent should not use sample conf https://review.openstack.org/88478 18:44:19 Anna Shen proposed a change to openstack/trove-integration: Add neutron switch for int tests https://review.openstack.org/87856 18:44:21 Anna Shen proposed a change to openstack/trove-integration: Add support for a neutron-based install https://review.openstack.org/78123 18:44:28 #vote yes 18:44:32 sorry guys 18:44:51 #vote update instance name? yes-only-trove, yes-trove-and-nova, no 18:45:04 #startvote update instance name? yes-only-trove, yes-trove-and-nova, no 18:45:04 Begin voting on: update instance name? Valid vote options are yes-only-trove, yes-trove-and-nova, no. 18:45:05 #vote yes-only-trove 18:45:06 Vote using '#vote OPTION'. Only your last vote counts. 18:45:07 I'd like to make it an option 18:45:09 #vote yes-trove-and-nova 18:45:11 #vote yes-only-trove 18:45:11 #vote yes-only-trove 18:45:13 #vote yes-only-trove 18:45:17 #vote yes-only-trove 18:45:19 #vote yes-only-trove 18:45:24 #vote yes-only-trove 18:45:25 I want other deployers to be able to change the Nova name and do other things if they need to 18:45:37 #vote yes-only-trove 18:45:43 Maybe we could add a function name to the configs that gets called when the name is changed, and by default its None 18:45:47 I'm with grapex_ on this one. 18:45:54 #vote yes-only-trove 18:46:03 #vote yes-only-trove 18:46:05 SlickNik: The options didn't entail that 18:46:10 but I'm sure it could be a fast-follow 18:46:32 sure 18:46:37 #endvote 18:46:38 Voted on "update instance name?" Results are 18:46:38 grapex_: you mean like an event callback? 18:46:39 yes-trove-and-nova (1): esmute 18:46:40 yes-only-trove (9): iccha1, robertmyers, saurabhs, denis_makogon, amcrn, cp16net, grapex_, NehaV, vipul 18:46:47 landslide 18:47:05 SlickNik: i would still like your put vs patch concern addressed though 18:47:34 iccha1: same here 18:47:58 IIRC, config groups used patch, but I'll have to check the code. 18:47:59 yeah but i think it should be ok to start on the small change 18:48:04 cp16net might have a better idea. 18:48:12 Let's take that offline and work it out. 18:48:20 yeah we have added patch for that 18:48:28 for attach/detach 18:48:30 cp16net: configurations uses patch? 18:48:32 the current update instance call has put for updating a config group to an instance 18:48:36 cool the docs are updated then 18:48:42 iccha1: yup 18:48:42 *outdated 18:49:00 * cp16net thinks i'm up to date :-P 18:49:06 https://wiki.openstack.org/wiki/Trove/Configurations#Update_an_Instance_.28PUT.29 18:49:07 grapex_: I'm okay with having the trove-only option go in. We can fast follow with a config and nova rename if needed. :) 18:49:11 Let's move on. 18:49:42 #topic Pluggable conductor manager 18:49:45 boden? 18:50:01 seems he's out 18:50:16 I'm not sure what his IRC nick is. 18:50:38 #topic Allow configs to be rendered based on datastore version 18:50:40 SlickNik, boden 18:51:04 cp16net: all yours 18:51:11 ++ for this BP 18:51:38 I think this really is a bug. 18:51:38 yeah this needs to change a bit 18:51:51 grapex_: passed this off to me and i think i am a little behind... :-p 18:51:52 sorry 18:52:00 wasn't there talk of collapsing the version + datastore into a single field 18:52:06 if that happens, is this a solved problem 18:52:25 vipul: A single field in the class named "Datastore"? 18:52:35 well the templates we have are stored in /tempatles/{manager}/ 18:52:55 right now and we cant have like multiple tempaltes for different versions... 18:52:55 grapex_: yes.. datastore_name may imply 'datastore + version' 18:53:05 like mysql 5.1 or 5.5 18:53:11 vipul: Well today the template is only picked using the datastore's manager 18:53:25 this makes the path easier to follow and make configurations for each version 18:53:31 as for me, we should have root template /template/{datastore}/root.config 18:53:38 but still defaulting back to the manager if the others are not found 18:53:48 and other templates are extending the root.config 18:54:25 more options are better 18:54:34 so after explaining that part... are there any questions about this ? 18:54:34 cp16net / denis_makogon: I think both of you are saying basically the same thing. 18:54:38 robermyers: ++ 18:54:48 cp16net: so you think it's better to derive the tempalte from datastore_version and if it does collapse into a single record.. then this would just follow? 18:54:53 I'm sure we'll change this and then next week a deployer will wish we'd added something else 18:54:56 SlickNik, cp16net if that's so, than cool =) 18:55:14 vipul: the point here is to get the template from both the datastore name and the version 18:55:32 grapex_, ++ 18:55:34 if it becomes a single record, that's ok, because the blueprint currently tries multiple paths 18:55:50 the first is something like /template/{datastore_name}/{datastore_version} 18:55:56 vipul: yeah this makes the deployer able to make the templates in a more specific place 18:55:57 grapex_: yep, i got that.. i'm all for it.. just might become moot if someone does implement the single record solution 18:56:02 i generally agree with the proposal, but have a few minor nits (but that can be discussed at a later time in a smaller setting) 18:56:04 we can always change the paths we check 18:56:14 vipul: Sure 18:56:20 robertmyers, agreed 18:56:26 but that's relying on a pretty huge refactor to the datastore stuff 18:56:34 yeah thats just a list of configuration paths 18:56:46 I am a horrible cynical man but I don't know if I believe that will happen 18:56:56 Maybe we can have a hack-a-thon at the summit and change datastores. :) 18:57:07 grapex_: fair enough it probably won't anytime soon 18:57:15 amcrn: we can chat later and make sure we are on the same page 18:57:21 cp16net: sounds good 18:57:24 :) 18:57:30 vipul: Cool. Not kidding about the hackathon btw 18:57:33 So I'm good with this one as well. 18:57:57 i think its straight forward 18:58:10 +1 18:58:11 #startvote Allow configs to be rendered based on datastore version? yes, no 18:58:13 Begin voting on: Allow configs to be rendered based on datastore version? Valid vote options are yes, no. 18:58:14 Vote using '#vote OPTION'. Only your last vote counts. 18:58:19 #vote yes 18:58:20 #vote yes 18:58:20 #vote yes 18:58:21 #vote yes 18:58:24 #vote yes 18:58:26 #vote yes 18:58:27 #vote yes 18:58:33 #vote yes 18:58:41 #vote yes 18:58:49 #endvote 18:58:50 Voted on "Allow configs to be rendered based on datastore version?" Results are 18:58:51 yes (9): SlickNik, robertmyers, denis_makogon, amcrn, cp16net, esmute, NehaV, vipul, grapex_ 18:59:07 Okay, go for it cp16net 18:59:30 And that's all we have time for this week. 18:59:37 #endmeeting