20:03:13 #startmeeting glance 20:03:14 Meeting started Thu Jun 26 20:03:13 2014 UTC and is due to finish in 60 minutes. The chair is markwash. Information about MeetBot at http://wiki.debian.org/MeetBot. 20:03:15 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 20:03:17 The meeting name has been set to 'glance' 20:03:22 maybe just my client was looking funny 20:03:31 markwash, I think that it was just a topic 20:03:45 no worries, I think we're all set now 20:04:17 o/ 20:04:22 o/ 20:04:24 o/ 20:04:29 o/ 20:04:30 o/ 20:04:42 o/ 20:04:43 o/ 20:04:45 agenda is here 20:04:47 #link https://etherpad.openstack.org/p/glance-team-meeting-agenda 20:05:13 Looks like there is a gate-unblocking fix at the following link 20:05:18 #link https://review.openstack.org/#/c/102915/ 20:05:36 also seems like a straightforward fix, if folks have some downtime soon to review 20:05:45 let's dive into the other items, as everyone seems to be here 20:05:58 #topic Update cinder volume-image-metadata (rel. protected properties) 20:06:13 #link http://openstack.10931.n7.nabble.com/cinder-glance-Update-volume-image-metadata-proposal-tt44371.html#a44523 20:07:20 markwash: reviewing now 20:07:34 can anyone give a bit of a summary? I'm still playing catchup on this topic 20:07:57 Basically, we are adding the ability to update the volume image metadata stored in Cinder. However, Cinder doesn't have property protections. So, the question is what approach to take. 20:08:18 The proposal is to allow cinder to lookup property protections in Glance. 20:08:49 rosmaita asked about replicating the config file and functionality in cinder as an alternate. 20:09:01 I'm wondering whether glance is the correct source of truth for this 20:09:57 I'm assuming the volume-image-metadata properties were originally readonly becuase they're intended to track history? 20:10:09 not track something that is "live" about that volume instance 20:10:28 Those properties are used by nova just as if they came from glance 20:10:38 Nova doesn't distinguish between them 20:11:03 markwash: Sorry, late joinng. They're read-only because the idea of them changing never occurred to us... they're there at all because some bootable images didn't work without them 20:11:32 So if they have things that affect scheduling or driver behavior, they are treated the same in nova whether the boot source in glance image or cinder volume 20:12:09 The longer mailing list thread that Facundo included started with somebody pointing out that a bootable volume can change over time. 20:12:17 And they may need to update the drivers. 20:12:22 the idea of having every cinder update to those properties also require glance to be available to validate the update is pretty scary 20:12:38 can 20:12:43 cinder override 20:12:54 with another name for the property 20:13:10 instead of getting rid of the value coming from glance 20:13:44 arnaud: Cinder has its own copy of them all, it doesn't currently consult glance for anything once the volume is created 20:13:53 yes 20:14:17 arnaud: But cinder doesn't know what it is allowed to let the tennant change, so currently it allows no changes 20:14:32 can the extension just make the nova-facing portion of this metadata mutable and assume that the rest of it must remain immutable? 20:14:46 s/extension/cinder extension/ ? 20:15:21 markwash, iiic, you cannot make mutable based on the fact that some of them can be protected 20:15:32 s/iiic/iuic 20:15:38 there are properties that maybe we want to maintain immutable, like license key 20:15:52 fmaldonado: +1 20:15:53 well, but the ones that nova cares about are probably quite limited, right? 20:15:57 kernel image id 20:16:01 min_disk 20:16:04 min_ram 20:16:31 basically, I think cinder could have a completely static, hard-coded list of the volume-image-metadata keys that are mutable 20:16:35 and make the rest of them immutable 20:17:32 markwash: Isn't that pretty much exactly what giving cinder a list of the protected properties file does? 20:17:53 not quite, at least how I'm seeing it 20:18:08 becuase the protected properties files goes way into stuff that operators care about 20:18:09 Well, AFAIK, property protections originated from operators wanting to be able to specify certain keys specific to them that they don't want users to be mucking with. 20:18:16 where as the list I'm talking about only has to do with stuff that nova cares about 20:19:04 markwash: So if we go that route, you can bypass protected properties by do image->cinder vol->edit properties->image 20:19:28 my assumption is that every key that is ever protected in the property_protections config would be treated by cinder as immutable, by virtue of not being something that nova specifically knows or cares about 20:19:32 I think I'm being unclear 20:19:38 we also need to timebox this a little bit 20:19:51 so perhaps, bringing it up, it would be helpful if more folks weighed in on the ML? 20:20:31 markwash: I think people want to be able to edit any key... anything that you might want to put in a glance property can change if you change the content of the image 20:20:42 DuncanT: so instead of askingg Glance every time "Is it ok to change this property?" Rather asking Nova "What you really must be able to change?" 20:20:59 when are we changing the content of the image? sorry I missed that somehow 20:21:03 Property protections aren't necessarily about immutability. It is about further restricting the people who can edit them. 20:21:21 markwash: Sorry, volume in this case 20:21:48 DuncanT: but if you want to make big changes, you can just create a new volume that copies the data from the existing one and then modify it, right? 20:22:06 i really think we want a separate config for cinder protected props, it's up to the operator to keep them consistent (or not, depending on use case) 20:22:32 markwash: Currently the only way to get any glance property type thing into cinder is from glance... 20:22:50 What if I want to change the image kernel id of the volume? 20:23:18 so what I'm really proposing is that we treat volume-image-metadata as immutable, but. . . 20:23:29 we make a whitelist of properties that can be edited through this extension 20:23:34 I think the two use cases got intermingled. We want to be able to update the metadata on volumes. We need to honor the specific property proections that the provider wants. 20:23:34 rosmaita: That seems reasonable to me, the question is then is the protected property enforcement code in a suitable state to be shared with cinder, and if not does anybody object to that being changed 20:23:52 markwash: How do you generate that white list and keep it up to date? 20:24:08 its static in cinder code for now, and is edited through patches submitted to gerrit 20:24:11 that's what I was thinking, anyway 20:24:33 markwash: I think that misses the intent of property protections. 20:24:39 its not elegant, but I guess I'm not feeling like elegant is a place we can get to from here :-) 20:25:10 property protections are for operators who deploy openstack to be able to specify additional rbac on specific properties they don't want end users changing. 20:25:28 markwash: I think that misses the point and provides a poor solution 20:25:58 markwash: Sufficiently poor I'd -2 any attempt to put that into cinder 20:27:02 I guess the place where I'm being a little confounded is on this particular type of collaboration between glance, cinder, and nova 20:27:29 markwash: Not sure nova needs any chagnes? 20:27:50 rosmaita: I'm starting to lean towards your proposal of just having the same config. 20:27:52 and it feels more and more like cinder needs to either adopt a similar mechanism independently of glance, or we need a different way to handle the overall use case of image-attribute-like components on a mutable thing 20:28:20 s/thing/volume/ 20:28:49 DuncanT: I don't see Nova needing to change. 20:29:21 I'm definitely +2 on cinder adopting a similar mechanism to property protections and copying the config over operationally 20:29:30 Cinder having a copy of the config file works, but then we'd like to share some of the enforcement code from glance (otherwise we're likely to be running into bugs galore), so is glance open to any code cleanup that might be needed to allow cinder to share the code? (periodic sync should do fine for sharing) 20:29:32 I'd love to have a better answer, but that one incurs no extra debt from my perspective 20:29:51 code cleanup is good :-) 20:29:59 +1 for cleanup 20:30:15 its probably a good idea to have some reasonably good cross-openstack way of implementing some protections around such properties 20:30:33 its really necessary in the world of putting semantic meaning in user-driven metadata 20:31:10 Cinder gave users their own sematic free namespace for metadata, and operators a different one :-) 20:31:26 yeah, I can't remember why we didn't do that in Glance v2 20:31:28 :-) 20:31:42 markwash: I know it was suggested 20:31:52 markwash: But you'd ahve to ask stuart for details 20:31:58 of the history 20:32:10 i read the full specs, and i recall it saying "let's just do the simplest possible thing and see how far it gets us." 20:32:12 The only scenario that nova needs any change is if we want to make volume metadata being available for scheduling purposes. But that is not what volume meta is for, right? 20:32:30 Ok, cool so if code & conf sharing looks like a reasonable plan then we're good to try that 20:32:45 +1 20:32:47 cool 20:32:54 fmaldonado_: volume glance meta is for all of the same things glance properties are for 20:33:22 seems like a positive approach for everybody, and glance just needs to be ready for some patches that might move things around some 20:33:33 okay 20:33:36 next up, if I may 20:33:45 #topic tempest tests improvements update 20:33:48 minor question to DuncanT 20:34:01 Should facundo put all of that in one blueprint? 20:34:01 #link https://wiki.openstack.org/wiki/Governance/TechnicalCommittee/Glance_Gap_Coverage 20:35:05 markwash: so, after some discussion on that in openstack-qa, the change seems straighforward unless that wiki asks for more coverage (which from the words of it, does not) 20:35:17 nikhil___: great to hear! 20:35:30 yeah I think the core thing is the one missing bit mentioned in the wiki 20:35:48 nikhil___: however, it would be great if you could share some of your insights so that we can push forward with better v2 testing in tempest 20:35:51 and the solution which we planned to implement is to use a file path with real image data in a CONF 20:36:04 personally I couldn't even find the test that was using non-binary data 20:36:08 * markwash facepalms 20:36:40 nikhil___: that solution sounds good 20:36:45 okay, that was a quick one I think 20:36:54 markwash: saw one test in a link shared bu mtreinish and it showed using image data as '*' X times 20:37:21 again, the goal for this is juno-2 20:37:26 let's check in on it again next week 20:37:38 #topic Graffiti status update 20:37:47 TravT: hi again! :-) 20:37:59 Just want to say that we have code started in multiple areas: database schema, rest APIs, horizon, and the volume metadata discussion. 20:38:09 So, we hope the spec goes through. We are hoping that in the process of code reviews that we're able to make changes as we go, because getting a perfect spec up front will just stall us out. 20:38:11 I have this guilty feeling like we have not been providing you with enough -spec reviews yet 20:38:27 in progress code should start showing up in gerrit soon. 20:38:41 Lakshmi also can report on pecan and wsme. 20:38:50 He had action item last week 20:39:03 TravT: yeah, I think the spec is mostly about sharing vision, there are a large number of items we need to leave off for coding and code review 20:39:24 markwash: great! 20:39:25 rosmaita, arnaud, will you guys be available for this weeks drivers meeting? 20:39:32 yes 20:39:43 markwash: Regarding the action item from last week, I created an API in glance for metadata object which uses WSME by modifying the existing RequestSerializer and RequestDeserializer 20:39:45 let's focus on the big 2 (metadata+artifact) tomorrow 20:40:00 arnaud: +1, I will try to give them some time tonight so we are ready 20:40:16 markwash: arnaud: me too 20:40:18 I think we know these specs will make it in some form, so I'd like to see us try to have them landed by next week 20:40:33 agreed 20:40:40 +1 20:40:41 maybe we find out we need a little more time, but we should be aggressive to try to best enable work to land in Juno 20:40:45 :-) yay 20:40:48 Thanks! We certainly expect to make revisions based on feedback during the coding process. 20:41:16 lakshmiS: how did the wsme api experiment go? 20:41:35 was it painful? how do you like the result? 20:41:44 markwash: It went well. Was able to use the model objects and WSME succesfully 20:42:23 lakshmiS: as I see it, we've got two concerns we're trying to optimize for 20:42:27 which are kind of related 20:42:43 1) we want to ease as much as possible the process of wedging your existing grafitti stuff into glance 20:42:55 2) we want to ease as much as possible the eventual transition to pecan across glance 20:43:01 markwash: Its quite easy and reduces a lot of code and makes it simple since model objects live outside 20:43:05 I guess #1 is higher priority because its more immediate 20:43:32 markwash: I think it will be a natural fit for pecan + wsme since that's where graffiti model came from. 20:43:54 cool 20:43:57 and also fits well within current glance code. 20:44:01 great to hear 20:44:05 markwash: to try to be clear, WSME fit in fine with current Glance. Pecan, didn't. 20:44:12 right 20:44:31 because pecan is a wsgi application framework, where as wsme is a serialization library/framework 20:44:36 yep 20:44:37 right 20:44:54 okay, any other notes about graffiti for us today? 20:45:17 nope 20:45:19 Thanks! 20:45:30 great, thanks guys 20:45:35 #topic broken gate 20:45:38 I already mentioned this one 20:45:52 but again, there is a review I think we might be almost already covered on 20:45:54 markwash: nikhil___ pushed it through, thanks for both of you 20:46:04 oh good 20:46:07 good work guys 20:46:13 thanks for adding it to the agenda 20:46:20 #topic keystoneclient integration with glanceclient 20:46:23 o/ 20:46:28 hrybacki: hi there! 20:46:34 markwash: timing was so handy ;) 20:46:47 can you give us an explanation of this topic? I guess we've seen it a bit before 20:46:51 hrybacki: ^^ 20:46:52 so I'm the new kid on the block over in keystone and I'm working with ayoung and jamielennox to get keystoneclient integrated with all the other components 20:46:57 okay sure 20:47:12 Basically, I wanted to check in on https://blueprints.launchpad.net/python-glanceclient/+spec/support-keystone-v3-api 20:47:18 and see how we can help 20:48:05 they're trying to standardize interaction with keystone via the client, using sessions, and making ssl everywhere possible 20:48:29 hrybacki: have you seen this https://review.openstack.org/#/c/82126/ 20:48:34 ? 20:48:49 nope -- looking now 20:49:31 hrybacki: it's lots, but that's the current change to bring v3 support to glance client end 20:49:52 what parts of v3 would glanceclient be using? 20:50:39 I'm more familiar with the CRUD-y parts of the v3 identity api 20:50:53 which I'm guessing glanceclient doesn't use very often 20:50:54 ideally it would be talking to a keystoneclient instance using its api 20:51:02 ah 20:51:12 single point of failure/fixes 20:51:17 principally for token creation? 20:51:31 and sessions 20:52:14 ah okay I see 20:52:50 meant to post this link, sorry -- https://etherpad.openstack.org/p/keystoneclient_integration_with_component_clients 20:53:31 so it looks like we have a blueprint that was not really ever approved, but we also have thomas leaman's patch which might help? 20:54:04 okay, is there anything we can do on our end to assist? 20:54:34 I think some review on that patch would be good, to see how its shaping up and to see if there is anything more that needs to be addressed 20:54:36 jamie has been doing a lot of work with the session stuff and the other clients -- ayoung is also working on porting it into horizon atm 20:54:42 ++ 20:55:14 hrybacki: do you think you could help with that? I think you understand the goals very well and could help us there 20:55:35 markwash: yep, jamie, ayoung, and I will do that 20:55:39 great 20:56:05 that's all I had, just sort of feeling out where everything was and seeing where we could help :) 20:56:06 and then bug us a bit in #openstack-glance to help keep it moving 20:56:15 ++ 20:56:18 ^^ that step is probably very necessary, unfortunately :-) 20:56:21 cool 20:56:26 all right then 20:56:29 #topic open discussion 20:57:28 * markwash hears some crickets 20:57:46 chirp, chirp 20:57:52 * markwash wonders how group H is doing 20:57:56 okay 20:58:05 thanks everybody! 20:58:06 thanks 20:58:09 thanks! 20:58:10 thanks! 20:58:18 0/0 20:58:37 arnaud: you shouldn't divide by 0 ;P 20:58:42 :) 20:59:01 #endmeeting