19:00:38 #startmeeting ironic 19:00:39 Meeting started Mon Aug 5 19:00:38 2013 UTC and is due to finish in 60 minutes. The chair is devananda. Information about MeetBot at http://wiki.debian.org/MeetBot. 19:00:40 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 19:00:42 The meeting name has been set to 'ironic' 19:00:53 welcome :) 19:01:11 :) 19:01:33 as usual, here's a link to the agenda: https://wiki.openstack.org/wiki/Meetings/Ironic 19:01:43 romcheg might not be around for some of the meeting, so i'd like to let him cover his topics first 19:01:55 which, iirc, is keystone integration, and possibly devstack? 19:02:14 so 19:02:26 thank you for letting me to be the first reporter 19:03:22 I have spoken to the guy who is fixing the keystone bug. He was about to commit the patch today or tomorrow. 19:03:50 As soon as it it landed to keystone, we can add v3 domains support 19:03:57 great! 19:04:16 next: devstack 19:05:02 It works on my environment, but I was not able to make it to get installed on a clean VM yet 19:05:47 I arranged a meeting with some guys familiar with it so tomorrow I will ask questions to them 19:06:21 that's the progress 19:06:24 romcheg: i also know a fair bit about devstack (or did a few months ago). happy to help if i can 19:06:36 romcheg: do you have a smaple of the error you can pastebin to us 19:06:58 Not now, I'm here from an iPad 19:07:12 ahh :) 19:07:27 let's do that tomorrow 19:07:33 you got it :) 19:07:43 NobodyCam: thanks 19:07:54 romcheg: when that's all up and working, how would I know? is there an ironic mailing list that you'd announce it on? (new here, sorry if that's a dumb question) 19:08:11 jdob: we use the [Ironic] tag on subject lines to the openstack-dev list 19:08:26 excellent, thanks 19:08:42 thank you romcheg :) 19:08:51 I will post an announce when ironic support is merged to devstack 19:09:32 Thanks again for your attention. I have a few questions for an open discussion so you will see me again today :) 19:09:43 :) 19:09:45 romcheg: once your devstack code is at a point you can share // others might be able to experiment with it, i'd also like to take a look, even if its just on github :) 19:10:07 devananda: sure 19:10:08 romcheg: thanks for the report! enjoy cooking :) 19:10:32 ok, back to the scheduled agenda -- 19:10:34 thanks 19:10:39 * NobodyCam notes romcheg is bringing the food 19:10:44 #topic tripleo / diskimage-builder integration 19:10:52 NobodyCam: it sounded like you are really close to this? 19:10:53 oh thats me 19:10:57 :) 19:11:34 I have been using the ironic element to work with deva on the conductor issue 19:11:55 o/ 19:12:40 I will be proposing that element to triple-o today (i hope) 19:13:24 NobodyCam: cool, thanks! 19:13:25 the conf set is very min at this point but does seem to mostly working 19:13:41 NobodyCam: have you talked at all with pleia about integration with TOCI? 19:14:02 I have not. I will 19:14:16 k. it may be too early -- i'm not sure TOCI is functioning yet -- but that should be on both of your radar :) 19:14:49 will do. 19:15:00 k, moving on 19:15:11 #topic glance image utils 19:15:23 GheRivero: hi! it looked really close to landing, and then .... 19:15:58 yeah. some one complaint about glance v2 api support, that wasn-t even in glanceclient, ut solved now 19:16:37 I know some people is starting to working on features on top of the image service, so holefully that will force reviews to clean the queue 19:16:39 for reference - 19:16:41 #link https://review.openstack.org/#/c/33327/ 19:17:10 so it looks like we need to just get a few reviews on that again, yes? 19:17:35 yeah, but i have contact some revierw in the #openstack-glance channel 19:17:46 and i will start complaining all the days :) 19:17:46 k 19:17:58 flaper87: don't suppose you're around? 19:18:07 we'd love another review of ^ :) 19:18:54 GheRivero: sometimes offers of beer also work ;) 19:19:18 any sense of whether this will land in glanceclient in Havana? 19:19:46 when in final cut off date? 19:19:51 i hope so. Anyway, i have a local ironic review updated just in case 19:19:55 if not, i'm inclined to land the ironic port of it that you had up, just so we can proceed with testing the PXE driver over the next few months 19:20:12 devananda: clients don't have the same release cycle 19:20:44 NobodyCam: https://wiki.openstack.org/wiki/Havana_Release_Schedule 19:21:19 jog0: right, thanks. but my point is to use this functionality in ironic soon, we either need it in glanceclient, or we take a temporary (and large) patch, then revert it when glanceclient merges & releases 19:21:30 uhm... too close. i will give it one more week 19:21:31 * the equivalent patch 19:21:41 GheRivero: ack, thanks 19:22:29 GheRivero: any updates on the PXE patch? it seems like it's just blocked on glance still? 19:22:39 *glanceclient 19:23:26 waiting for it. I tested if manually and works, so once the image service is there, should be pretty quickly 19:24:10 awesome! 19:24:32 thanks for the updates 19:24:42 #topic ipmi name conflict 19:24:46 linggao: around? 19:25:01 hi devananda 19:25:02 yes 19:25:06 hey linggao :) 19:25:12 basically, I am trying to add the native python ipmi driver into ironic. It depends on the native ipmi code that jbjonso wrote (python-ipmi) which is installed on ./.tox/venv/lib/python2.7/site-packages/ipmi/. So in my driver code native-ipmi.py, I have 19:25:18 from ipmi import command as ipmi_command 19:25:24 but there is a ipmi.py on the same directory ironic/drivers/modules/. The import failed with "module not found error". How to resolve this name conflict? 19:26:19 renaming ironic/drivers/modules/ipmi.py should be a fairly self-contained patch 19:26:34 and seems reasonable to me 19:26:53 eg, to ironic/drivers/modules/ipmitool.py 19:27:13 do we have larger issue here for name convention? 19:28:09 hm 19:28:27 conflict is between a module in the same dir vs. a global module 19:28:44 yes, 19:29:07 IMO, that's a fairly rare occurrence 19:29:16 we may encounter the same problem later if we pull in another globle module. 19:29:39 it seems fairly rare for global python modules to use short and generic names like "ipmi" or "pxe" or "ssh" 19:30:07 i ran into it once having a file named rpm.py and it masking an existing rpm library, but that's the only time I've run into it 19:30:21 should jbjonso change the path ipmi to something more unique? 19:30:43 linggao: that was my thought to 19:31:16 if that's possible, it might be worth it. a name that generic sounds like it comes from python itself 19:31:29 I pinged jbjohnso_ in ironic but I don't think he is around 19:31:38 so either we make our module/file name more unique, or we require the globle modules be more unique. 19:32:23 * NobodyCam like the idea of changing the rest of the world to fix iRonic 19:32:30 *likes 19:32:32 :) 19:32:41 :) 19:33:09 but we may not be able to in other cases 19:33:10 maybe i'll submit my patch that contains sys.py afterall :) 19:34:09 i think this is a unique situation since python-ipmi is developed by us 19:34:26 so yea, renaming that is definitely possible, and i can see that the name is so short it appears built-in 19:34:58 i was trying to brose pypi to see if there are other examples of non-python-native modules with trivially short names 19:35:47 so while I think that's probably better for the python-ipmi project itself 19:36:11 we may still want to rename ironic/drivers/modules/ipmi.py so that it is clear this one is "ipmitool" and the one linggao is developing is "native-ipmi" 19:36:34 i am leaning towards both :) 19:36:34 yes. 19:36:41 devananda: ++ 19:36:54 cool. linggao - want to do that rename patch? 19:37:02 thats a file name and setup.cfg update? 19:37:06 yes. I'll do it. 19:37:07 +1 to both 19:37:29 NobodyCam: no. file name change, then change several imports. setup.cfg shouldn't have to change as that points to the driver, not the driver.module 19:37:42 so ipmi.py will be renamed to ipmi-cmd.py, is that ok? 19:38:05 or ipmitool.py? 19:38:16 linggao: and then the new one will be ipmi-native.py? 19:38:23 tes 19:38:25 yes 19:38:26 ya 19:38:39 let's avoid the '-' in a file name 19:38:55 sorry, thinking out loud :) 19:39:08 :-p 19:39:30 * NobodyCam votes ipmitool & ipminative 19:39:41 yea 19:39:51 ++ 19:39:56 actually new one is native_ipmi.py 19:40:03 is _ oky in the name? 19:40:12 '_' is ok, yes 19:40:35 personally, i'm partial to _ in a name, but i'm also not a dev here :) 19:41:15 k, well, let's move on. we can nit pick over names after the meeting :) 19:41:19 + 19:41:28 :) 19:41:30 #actoin linggao to rename drivers/modules/ipmi.py 19:41:39 #action jbjohnso to rename python-ipmi module, too 19:41:49 devananda: fyi, typo in action on the first one 19:41:58 #action linggao to rename drivers/modules/ipmi.py 19:42:01 #topic all the API stuff 19:42:19 it seems lucas isn't with us today 19:42:30 martyntaylor: ah! hi! you're here :) 19:42:39 have we covered the conductor issue? 19:42:56 devananda: I am indeed :D 19:43:10 NobodyCam: ahha! that's not on the agenda, thanks for the reminder. 19:43:45 we've been moving a bit slowly today and are running low on time, so let's run through the API and conductor issue (sorry) 19:44:14 nested objects looks like it's done 19:44:38 i haven't seen any patches for subresources yet, but i imagine lucas will tackle that next 19:45:01 no movement that i'm aware of on the WSME error code work (waiting on upstream) 19:45:09 and martyntaylor, any thoughts on the PUT v PATCH discussion? 19:45:17 devananda: yeah 19:45:33 devananda: I've already conveyed these to lucas, so he may have already mentioned it 19:46:09 devananda: Given we have limited time, I suggest choosing one method of update 19:46:19 (for v1.0 I mean) 19:46:22 right 19:46:38 if you are going to implement it, then do it right to start 19:46:54 so this means implementing PUT properly or PATCH properly 19:46:57 patch makes sense to /me 19:47:12 both have drawbacks and positive aspects 19:47:17 yea. my hackish implementation of PATCH is completely not to spec, and from what lucas found, it's going to be hard to do it to spec with Pecan right now :( 19:47:31 but PUT imo seems more standard and easier to implement 19:47:45 I beleive we need PATCH, though, based on the way that we plan to do RESTful state changes 19:48:15 eg, PATCH /nodes/123 {'power_state': 'ON'} 19:48:21 devananda: I'd be suprised if there is stuff that is not acheivable in PUT (though maybe less than optimal) 19:48:58 I dont think we can reasonable expect a client to retransmit the entire object -- including the node's IPMI credentials -- for every metadata or state change 19:49:07 martyntaylor: so can we do partial changes with PUT? 19:49:25 devananda: so 19:49:40 devananda: the object model should be sufficiently flexible 19:49:43 in this case 19:49:50 PUT nodes/123/state 19:50:00 aaaah. gotcha 19:50:14 ahhh 19:50:17 rather than PUT nodes/123 {'state': ...}. I see :) 19:50:30 that would work for us 19:50:50 yeah I think I have examples in the spec, maybe not for state but for things like driver_info 19:50:54 yep. lucas just implemented something similar for nested resources, eg. /nodes/123/ports 19:51:07 right. driver_info and parameters are described as sub-resources 19:51:09 yeah I had a chat with lucas last week about nested resources 19:51:09 nested dicts 19:51:17 state isn't exactly a nested resource though (strictly speaking from a REST point of view) 19:51:22 or sub resources* 19:51:24 jdob: right 19:51:50 it's a resource if we say its a resource right 19:52:25 it's different to a top level resource in that it only ever lives at /nodes/123/ 19:53:03 martyntaylor: i think this'll work 19:53:35 it's not in the current spec - you or lucas will need to add it so its documented - but just as other properties of a node are exposed as a nested resource currently, i think this is fine 19:53:42 what's neat is then you have GET and (for other such attributes where appropriate) DELETE for manipulating them 19:54:04 that may be easier than having the body of the PUT be just a delta on the object 19:54:04 GET /nodes/123/state is certainly going to be useful 19:54:09 devananda: yeah sure, I think it was purposefully left out, because we couldn;t decide on the state model 19:54:18 devananda: but happy to add it 19:54:20 martyntaylor: indeed, i'm pretty sure you're right :) 19:54:27 but it sounds like we have (now) 19:54:30 sure 19:54:59 ok. we're almost out of time 19:55:04 so moving on 19:55:15 #topic conductor unable to load drivers 19:55:30 like the topic says :( 19:55:38 i did a hack to fix it: https://review.openstack.org/#/c/39617/ 19:55:46 and need to update it with feedback from dhellmann_ 19:55:57 will do that today :) 19:56:00 #topic open discussion 19:56:30 devananda: do you guys have a talk submitted to Havana Summit? 19:56:46 Thank you all for your votes! 19:56:48 martyntaylor: yes. I'll be giving a status update, I believe 19:57:02 martyntaylor: lifeless will also be talking about tripleo 19:57:08 excellent 19:57:31 martyntaylor: and i believe we will have a design track for Ironic. I dont have the details yet, but I'm expecting it to be a half-day or so, as we're still a fairly small project (when compared to nova, glance, etc) 19:57:49 martyntaylor: so i'll put out a notice to the list as soon as I have info on that 19:57:56 awesome 19:58:00 devananda: cheers 19:59:00 two minute bell 19:59:34 I came along 19:59:36 anyone else have topics / announces ? 19:59:41 jbjohnso_: hi there! 19:59:54 hey jbjohnso_ we pick in #ironic 20:00:07 *we'll pick up in .. 20:00:24 morning 20:00:28 k, thanks everyone for joining! 20:00:31 morning lifeless :) 20:00:33 #endmeeting