14:00:51 #startmeeting glance 14:00:52 Meeting started Thu Aug 29 14:00:51 2013 UTC and is due to finish in 60 minutes. The chair is markwash. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:00:53 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:53 o/ 14:00:55 The meeting name has been set to 'glance' 14:01:00 * markwash waits for folks 14:02:32 some folks were not sure if the meeting was at 14utc or later 14:02:57 however, they were communicated (and i hope they realized it) 14:03:16 alas 14:03:18 * flaper87 almost forgot about it 14:03:51 I guess I should set up an automatic reminder 14:03:55 markwash: until wish to update a bit on the task flow 14:04:07 we played around with the examples day before 14:04:23 however, wanted to make sure if we could be able to couple it with glance rightly 14:04:39 nikhil: how did that go? 14:04:56 could not do that yesterday as we needed some input on how the async TaskFactory should look like 14:05:05 we've a conflict in a way 14:05:11 hey 14:05:16 the task that is created for import 14:05:29 need image record before setting the data (ideally) 14:05:58 so should that be inherited from ImageFactory or what else would be a better option 14:06:01 ? 14:06:21 \ / 14:06:25 /o\ 14:06:35 as doing image.setdata and repo.save might look good at that level 14:06:57 nikhil: hmm. . I probably just need to look at the code again 14:07:02 ok sure 14:08:04 I have some ideas so maybe we can bug you markwash as we push through today 14:08:09 nikhil: it is a bit difficult 14:08:27 in a way, the synchronous script for image import needs access to a whole cross section of the domain 14:09:07 so maybe having it live on Factory or Image itself doesn't quite work. . . 14:09:09 markwash: is that a problem though? could we just have that script use gateway to create the iamge? 14:09:16 just like the api layer would? 14:09:35 ameade: right. if its a script, the problem sort of goes away 14:10:04 k, we can work out the impl as the day goes by then :) 14:10:05 hmm. taskflow might make it kinda not a script 14:10:27 nikhil: i think even still we could treat it the same way but i'm not sure 14:11:23 and sorry i kinda jumped into the meeting sounding like 'lets not talk about this right now' 14:11:55 I suppose we should take a look at the status of our blueprints 14:12:00 #topic h-3 blueprints 14:12:15 everything that's specifically targeted to H3 is in review 14:12:39 wooo, no blockers? 14:12:45 regarding glance-scrubber, I talked to zhiyan earlier this week 14:12:58 markwash: TBH, i'm not sure lcoation-status is, sine John like it landing in h also .. 14:12:58 it looks like the code is doing the right thing, but I personally find the scrubber so hard to understand 14:13:19 zhiyan: hey there you are! I couldn't tab-select you before :-) 14:13:31 markwash: yes, i have committed a new version, it using the way which we talked yesterday (my tz) 14:13:49 sorry, i'm little late :) 14:13:52 zhiyan: great, so another review is in order 14:14:04 thanks. 14:14:27 looks like this is not blocked 14:14:33 markwash: btw, and i'm not sure this is also in your/team list : https://review.openstack.org/#/c/43899/ 14:15:27 markwash: a separated patch from location-status. and i consider it will resolve some defect which live in multi-location situation ... 14:15:39 zhiyan: looks important, can you target it to a (possibly new) bug? 14:15:47 markwash: i mean registry v1 api 14:15:49 and target that bug to h-3? 14:16:43 markwash: ok....but you really think a bug record is important :) currently it be traced by location-status bp 14:16:53 zhiyan: yes, please :-) 14:17:13 it doesn't really feel like part of location-status. . is it? 14:17:44 markwash: sure thing. btw for the defect also pls team give some eyes on https://review.openstack.org/#/c/42896/ . ok back to bp 14:17:50 markwash: yes i think it is 14:18:56 zhiyan: hmm. . well I wanna get this right for priority purposes. . is it a bug right now that we aren't encrypting multiple locations, only the first location? or does that bug only come in based on other location/status changes? 14:19:05 markwash: do you like talk about location-status change ? if you had checked it.. 14:20:07 zhiyan: not just yet 14:20:11 markwash: for bug, yes it is. it not only for location-status, it's for any multi-location situation 14:20:18 okay cool 14:20:43 ok, i'm sure John like it. but seems he is not here yet ... 14:20:51 so another bp in the crosshairs is jbresnah's quota bp 14:21:04 this was looking pretty great yesterday when I checked, looks like it will go in very soon 14:21:21 and the other bp I wanna check in on is iccha's protected properties 14:21:37 i appreciate the feedback received on bp so far 14:21:57 hemanth: and me will be working on addresseing comments and pushing up patches today 14:22:23 also markwash on the side what name would u prefer instead od owner_specified :) 14:22:51 iccha: hmm 14:22:52 btw markwash bourke is working on v1 side of things 14:23:46 iccha: we could even use something as short as "x_" 14:24:17 I'm a little nervous about the v1 side. . does it make sense to make this kind of change to the v1 api? 14:24:39 markwash: no it doesn't :P 14:24:42 * markwash had always imagined this as a v2 only kind of deal 14:24:48 Hi 14:24:50 though the dissonance hadn't occured to me before 14:25:28 One concern I had around adding this to v1 is there's no way of querying the protected props (i.e. as there is with the json schemas in v2) 14:25:39 iccha (or even "x_owner_" or "x_user_") 14:25:54 so if a user adds a mix of protected / non protected they may be confused as to the protected ones aren't appearing 14:25:55 markwash: sounds good 14:26:48 bourke: hmm yeah its a bit difficult 14:27:03 s/as to/as to why/ 14:27:03 can I ask what the motivation for adding it to v1 is? 14:27:24 some companies still use v1 i guess 14:28:08 iccha: +1 like some product/team in ours 14:28:09 that's what should change, IMHO 14:28:25 i'm not sure what the difficulties of switching are though 14:28:58 it makes sense that people still use v1, but. . . it feels like a violation of the v1 contract 14:29:19 . . this might explain some of the back and forth with smclaren earlier 14:29:42 i'm thinking that and it could be unecessary work/focusing on the wrong problem 14:29:49 sorry i'm being really opinionated atm 14:29:54 jacked up on coffee 14:29:58 haha 14:30:01 the protected props are entirely optional, we decided months ago that the cloud provider would communicate policy 14:30:07 since it is so configurable 14:30:59 rosmaita: I suppose that would cover it 14:31:02 thanks 14:32:01 the close links between v1 and v2 make these funny situations 14:32:04 zhiyan: bourke is there any plan to switch to v2? 14:32:26 what are the blockers for the switch? 14:32:32 iccha: not that I'm aware of for the near future unfortunately 14:32:46 I think stuart could give better input on that but he's tied up atm 14:32:51 i kinda agree with ameade , we cant keep back porting features to previous versions 14:33:21 but if there is a real problem on the switching we should be working on that 14:33:22 iccha: i'm ok for that. i don't like it break v1 spec TBH 14:33:48 one issue I'm worried about here is 14:33:57 one of the issues esheffield has been looking at nova using glance v2 14:34:10 the "default" for v2 is to not allow any old property to be added 14:34:12 go for it markwash 14:34:19 you have to actually configure it to be that permissive in your schema 14:34:38 and prot props is taking that as the given with its default config, I believe iiuc 14:34:57 iiuc == ? 14:35:00 adding an exception for the whole namespace of "^owner_specified.*" or whatever we settle on 14:35:08 if i understand correctly 14:35:56 markwash: if that soemthing we convey in documentation? 14:36:08 and check for the config is additionalproperties allowed 14:36:11 iccha: will the v1 changes make it so that arbitrary properties are generally disallowed? 14:36:52 btw the namespace can be deployer specific since its only a config value 14:37:10 iccha: agreed, but I don't want the default config values to break existing v1 deployments 14:37:32 *existing v1 default deployments 14:37:43 maybe we have to make turning on property protections in v1 optional 14:37:50 bourke: ^^ does that make sense? 14:38:31 markwash: are yo usaying that protected props should be independently configurable for v1 and v2 14:38:46 i.e., someone could want them on in v2 but off in v1? 14:39:01 markwash: yes off by default sounds reasonable to me 14:39:12 rosmaita: we might be forced to support that. . the whole idea of restricting properties is kind of v2-only at this point 14:39:23 that sounds - kinda terrible 14:39:25 hmm so are we assuming that there might be deployments which use both versdions? 14:39:36 and it would be enabled in one and disabled in other? 14:40:18 so bottom line do we want it in v1 or not? 14:40:27 you really don't want a situation where you can use one version to break the protections of the other 14:40:35 markwash: bourke mclaren ^ 14:40:38 iccha: we want it in v1 14:40:39 esheffield: in effect that is what we have right now 14:40:51 before prop protections are added 14:41:00 iccha: and Paul is writing the code. 14:41:04 I am allowed to add anything I want to v1, but v2 would stop me 14:41:16 with the default config 14:41:21 Apologies, I was late to the party...what's the issue with v1 support? 14:41:56 markwash is afraid it could break v1 contract 14:42:16 In which sense? 14:42:29 by default, in v1 I can add anything today 14:42:39 by default, in v2, I can't add arbitrary properties 14:42:43 oh ok, yeah I raised that 14:42:47 so protected properties relaxes v2 14:42:49 but constrains v1 14:43:37 and you said we should trawl through existing properties to ensure there was no conflict if I remember? 14:44:20 I think we just have to make sure that we don't have a default config that is too restrictive for v1 14:44:21 mclaren: but this may break existing spec.. 14:44:42 hence the possible need for different configs for v1 and v2 behavior 14:45:08 ugh this is a bright red flag :-( 14:45:40 I'm fine on however we do it, but kinda need it for v1 14:46:04 mclaren has a point we agreed long ago that it would be in v1 14:46:18 mclaren: why do you need it in v1? 14:46:25 iccha: maybe by default property protections should not change the namespaces at all by default 14:46:30 by default 14:46:30 ameade: hpcloud.com? 14:46:34 (had to say it one more time) 14:46:46 mclaren: we can set whatever u want default config to be 14:47:00 markwash: i mean 14:47:20 I'm fine with any config file contortions 14:47:53 its just a config file and the deployer can make it as restrictive or relaxed. by default if protecty propetection config is not turned on it behaves like like nothing pp excists 14:47:58 all properties allowed 14:48:23 I think if we just configure it off by default, we're good for now 14:48:27 okay 14:48:31 markwash: what are ur concerns exactly? having it v1 ? or its effects if implemented in v1? 14:48:58 I'm worried about the default settings breaking the v1 api backwards compatibilty 14:49:55 so, in other bp news 14:49:58 the default setting is pp is off and system behaves like nothing ever was implemented. 14:50:04 okay cool 14:50:18 ok, thanks folks :-) 14:50:31 rosmaita: nikhil: it sounds like you guys are getting close to having all of import ready for review in H3, does that sound right? 14:50:55 markwash: so can we summarize the decision about pp? 14:51:21 (meaning can u summarize your understanding) 14:51:49 rosmaita: sure. . . something to the tune of "we will ensure that all property protections are off by default to avoid breaking compatibility with the default configuration of the v1 and v2 apis" 14:52:21 markwash: and it is cool that if you configure pp, it will affect both v1 and v2 ? 14:52:23 keep in mind that distros may view stuff in upstream etc/ as defaults 14:53:05 rosmaita: it is meh (tolerable). . we need to put big warnings in the config file that changes to that can break backwards compatibliilty, especially easily with v1 14:53:23 i'm unclear about hte backwards compat break 14:53:42 isn't this like changing the settting for # metadata items on an image? 14:53:48 markwash: yeah, so once we've a good understanding of the cross section, we can update flwang about it 14:53:51 i mean the value 14:54:04 maybe i should just shut up and we will move on 14:54:11 i will make sure docs are explicit 14:54:37 and hoping to get feedback on the existing patches so that they do not block the rest (basically, there is a linear dependency of the patches now) 14:54:37 rosmaita: right now I can add anything I want to a v1 image, but the prot props config in glance/etc only wants me to be able to add anything I want if it is prefixed with owner_specified_ 14:54:52 only if you configure it that way 14:55:05 i will shut up 14:55:12 rosmaita: it looked to me like the config in glance/etc had it configured that way 14:55:23 but that config is supposed to reflect the default behavior 14:55:34 markwash: the default property_protection.conf option in glance-api.conf is commented out though 14:55:41 bourke: +1 14:55:42 which in my mind equals off by default? 14:55:51 commented out means "this is the default, so you don't need to set it" 14:56:00 for example, if the default quota is 0 (unlimited) the config will say 14:56:06 # This is your image quota 14:56:10 #image_quota = 0 14:56:13 markwash: the file doesnt exist by default in code base 14:56:17 I think any operator worth their salt would check the docs before uncommenting :) 14:56:19 property-protections.conf 14:56:29 maybe should make non as explicitly defaul 14:56:39 if you want it off by default it should say 14:56:55 #property-protections-conf-file = 14:56:58 (empty) 14:57:13 and the one that's in etc should be suffixed with ".sample" 14:57:28 so maybe we just need to make that change 14:57:51 ok sounds good. we can move on to other topics now i guess :) 14:58:04 #topic open discussion! 14:58:10 and venkatesh's patch can probably abandoned once all the changes are incorporated 14:58:11 :-) 14:58:30 (sorry there were 3 comments in between that pp discussion wind up) 14:58:41 nikhil: okay, thanks for the update 14:58:43 or rather 2 in between and the one above 14:58:48 haha 14:58:52 :) 14:59:05 markwash: FFE list? 14:59:26 currently empty with the hopes of staying that way 14:59:45 thanks to everybody for these last minute pushes 14:59:55 this is the last week before we have to stop adding new features 15:00:04 markwash: ok, so need you help review on scrubber-refactoring ... 15:00:10 absolutely I do 15:00:15 thanks for the input markwash , ameade and I will work on this a bit ore today 15:00:19 markwash: thanks again 15:00:33 thanks for quick reviews folks 15:00:41 that helps the pushing faster :p 15:00:48 thank you iccha :) 15:00:54 I think its time to make way 15:00:57 push -f 15:01:03 (or maybe nobody is following us, can't remember) 15:01:06 #endmeeting