Friday, 2013-10-25

Haomengdevananda, see your code to provide Conductors backend database layer support, should we expose Conductors api?if yes, I want to try to add these new API00:00
devanandaHaomeng: not yet00:00
Haomengok00:00
devanandaHaomeng: see lucas' patch to expose /drivers -- this is the result of the conductor work00:01
Haomengok, got00:01
Haomeng:)00:01
devanandabasically, conductor table stores what drivers each conductor can service. user only cares about what drivers are available00:01
devanandaand eventually,  user may want to send request to specific driver00:02
devanandaso API will do something like, POST /drivers/my-driver00:02
devanandaand route the request to any conductor which runs my-driver00:02
devanandabut ... later :)00:02
Haomenggot, understand, thank you devananda00:02
HaomengI understand, almost Ironic API are ready, will intergated with nova-ironic driver, right?00:04
devanandaHaomeng: yep. i've been slowly working on that driver00:05
devanandaWIP patch is up, but many things are missing still00:06
Haomengok, sorry, just want to know our progress:)00:07
Haomengand want to know how our nova schedule know the boot need our Ironic support? need a new schedule involved?00:09
Haomengschedule filter00:10
devanandahmmm00:10
devanandai am hoping to be able to use the baremetal scheduler bits00:10
devanandathat will require the ironic driver to expose the same data to the scheduler, which seems reasonable to me00:10
Haomengyes, agree with you00:10
Haomengand if our nova-baremetal will be support in icehourse release? almost same function with our Ironic I think00:11
Haomengicehouse00:12
Haomengdevananda: I searched code find more i18n issue without "_" for some log message string, I see you have some fix already, should I fix the rest of them with new changeid?00:14
devanandaHaomeng: sure00:15
*** anniec has quit IRC00:16
devanandaHaomeng: re: icehouse, if all goes well, ironic will be included and the default in icehouse. baremetal will also be included but marked as deprecated, to give deployers one cycle to migrate off of it. then removed in "J" release00:16
Haomengok, thank you devananda00:17
devanandaHaomeng: fyi, https://review.openstack.org/#/c/51328/00:18
NobodyCamdeva question00:18
devananda?00:19
NobodyCamnm00:19
NobodyCam:-p00:19
devananda:p00:19
Haomengok00:20
Haomengthis ironic driver change is in Abandoned status now00:20
Haomenganyway I will see your code to get more understanding about our Ironic00:21
Haomengthank you00:21
Haomengbrb00:21
NobodyCamdevananda: line 29 of https://review.openstack.org/#/c/51743/14/ironic/objects/conductor.py00:22
devanandaya00:22
NobodyCamlist ? drivers = Column(JSONEncodedDict)00:22
devanandayep00:25
devanandaJSONEncodedDict works on lists too00:25
NobodyCamk00:25
NobodyCam:)00:25
devanandaafaict, anyway :)00:25
devanandait turns <list ['foo', 'bar']> into u"{['foo', 'bar']}"00:25
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Conductors maintan driver list in the DB  https://review.openstack.org/5174300:28
devanandajust fixing typos00:28
NobodyCamhttps://review.openstack.org/#/c/51743/14/ironic/objects/utils.py00:28
NobodyCamlook like it returns a [list]00:29
NobodyCamline 118 of ironic/tests/db/utils.py00:35
devananda....?00:41
NobodyCamreturns a list00:42
* devananda is multitaskign heavily00:42
NobodyCamnot json which is what will be in the db00:42
devanandaand just found a bug in how we associate instance<->node00:42
devanandaNobodyCam: the db/sqla layer converts to/from lists00:42
NobodyCamahh ok00:43
NobodyCam:)00:43
devanandaso it's transparently stored as a JSON string, but any code -- even the code in db/sqlalchemy/api will only see it as a list00:43
NobodyCamjohn has started dinner ... need to help him..00:44
NobodyCambbl00:44
WillOchandahi devananda, i'm almost there with the vendor_passthrough :), getting this error -00:45
WillOchandaWARNING wsme.api [-] Client-side error: Missing argument: "data"00:45
WillOchandahow should the POST data be formatted?00:45
devanandaahhhh!00:45
WillOchanda"POST /v1/nodes/db811f96-980f-4acb-ba7c-95a391413d9b/vendor_passthru?method=set_disk_size00:46
devanandaright. so *that* isn't in the client yet00:46
devanandanope00:46
devanandatry this00:46
devanandaPOST -d "{'some': 'data'}" /v1/nodes/xxxx/vendor_passthru/method00:46
devanandaPOST -d "{'some': 'data'}" /v1/nodes/xxxx/vendor_passthru/set_disk_size00:46
devanandathe last field of the URI is mapped to the method00:46
WillOchandaalright00:46
devanandaany remaining params will get mapped to the data, but it seems to prefer body over args00:47
devananda(that might have been fixed)00:47
WillOchandaworks!00:48
WillOchandathis looks cleaner anyway, i was interpreting the code wrong00:48
WillOchandavery nice00:48
*** nosnos has joined #openstack-ironic00:49
devanandaawesome!!!00:50
devanandaNobodyCam: ^00:50
*** pky has quit IRC00:53
devanandaHaomeng: updated https://review.openstack.org/#/c/51328/ with a smattering of small changes01:13
devanandastill no where near ready01:13
openstackgerritA change was merged to openstack/ironic: Fix a few missing i18n  https://review.openstack.org/5349101:17
*** WillOchanda has quit IRC01:20
*** pky has joined #openstack-ironic01:20
Haomengdevananda: thanks for the reminder, will review the code and study the Ironic workflow01:21
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Regenerate the sample config file  https://review.openstack.org/5370201:25
devanandasilly pep n01:25
openstackgerritA change was merged to openstack/ironic: Fix status codes in node controller  https://review.openstack.org/5292001:25
*** anniec has joined #openstack-ironic01:26
openstackgerritA change was merged to openstack/ironic: Group and unify ipmi configurations  https://review.openstack.org/5261501:31
openstackgerritA change was merged to openstack/ironic: Regenerate the sample config file  https://review.openstack.org/5370201:31
*** anniec has quit IRC01:34
*** rloo has quit IRC01:38
*** sjing has joined #openstack-ironic01:47
*** sjing has quit IRC02:00
*** sjing has joined #openstack-ironic02:00
*** anteaya has quit IRC02:23
*** CerealBox has quit IRC02:41
*** lnxnut has joined #openstack-ironic02:43
*** albionandrew has joined #openstack-ironic03:14
*** albionandrew has quit IRC03:22
*** prekarat has joined #openstack-ironic03:41
*** lnxnut has quit IRC04:22
*** r-mibu has joined #openstack-ironic04:22
*** WillOchanda has joined #openstack-ironic04:59
*** WillOchanda has quit IRC05:00
*** WillOchanda has joined #openstack-ironic05:01
*** WillOchanda has quit IRC05:06
*** matsuhashi has joined #openstack-ironic06:07
GheRiveromorning ironic06:47
devanandag'night! lol06:48
GheRivero:)06:50
*** michchap has quit IRC06:51
*** michchap has joined #openstack-ironic06:52
*** matsuhashi has quit IRC07:18
*** matsuhashi has joined #openstack-ironic07:18
*** ndipanov has joined #openstack-ironic07:37
r-mibuHi, folks!07:41
r-mibuI wrote a patch to nova-bm, but not approved for 2 weeks.07:41
r-mibuhttps://review.openstack.org/#/c/51121/07:41
r-mibuIs there any core reviewer can check virt/baremetal tree?07:42
GheRiverodevananda, but he is off now. Try during the afternoon.07:47
*** romcheg has joined #openstack-ironic07:47
r-mibuthanks, I'll ping him later.07:49
*** jistr has joined #openstack-ironic07:50
GheRiverobtw, I'm afraid that the same issue could be in ironic07:52
GheRiverohttps://github.com/openstack/ironic/blob/master/ironic/drivers/modules/ipmitool.py#L5307:53
r-mibuyes...07:54
r-mibuok, i will do07:55
GheRiverocool07:55
lifelessr-mibu: please do ping here for such reviews, we are interested in bare metal.07:57
lifelessr-mibu: I've reviewed (-1, but easy fixes)07:57
r-mibulifeless: ok. I will check your comments.08:00
*** derekh has joined #openstack-ironic08:05
*** lucasagomes has joined #openstack-ironic08:34
*** sjing has quit IRC08:35
*** matsuhashi has quit IRC08:46
*** matsuhashi has joined #openstack-ironic08:46
*** martyntaylor has joined #openstack-ironic08:54
lucasagomesthanks devananda for the nomination and everyone else in the project :)09:01
*** martyntaylor has quit IRC09:07
*** matsuhashi has quit IRC09:34
*** matsuhashi has joined #openstack-ironic09:34
*** matsuhashi has quit IRC09:39
*** martyntaylor has joined #openstack-ironic09:40
*** romcheg1 has joined #openstack-ironic09:46
*** romcheg has quit IRC09:51
*** prekarat has quit IRC10:06
*** ekarlso has quit IRC10:17
*** ekarlso has joined #openstack-ironic10:17
*** matsuhashi has joined #openstack-ironic10:27
*** jianingy_afk has quit IRC10:30
*** nosnos has quit IRC10:31
rameshg87Hi10:32
rameshg87i have a question regarding the deployement by the ironic pxe driver10:32
GheRiveroshoot10:33
rameshg87the pxe driver seems to implement the deploy() method and return with states.DEPLOYING10:33
rameshg87and the rest of the deployement seems to continue in the vendor_passthru method (with pass_deploy_info)10:34
rameshg87looking at ironic/drivers/modules/pxe.py10:34
rameshg87am i correct ?10:34
rameshg87but i am unable to figure out who will finally call vendor_passthru with 'pass_deploy_info' as the method10:37
GheRiverolet me revise...10:37
GheRiverouhm... maybe is not implemented yet. Before that, in nova bm, there was a deploy_helper who was responsible of that10:41
rameshg87okay10:42
GheRiveroanyway, ironic is not fully functional, and are areas to be done10:43
rameshg87so the general strategy for any driver is that, when deploy() method of driver is called by ConductorManager10:43
rameshg87if the deployment takes time, it returns states.DEPLOYING10:43
rameshg87and then10:44
lucasagomesafaict10:44
GheRiveromaybe is in ironic/drivers/pxe.py10:44
lucasagomesso deploy helper was merged into pxe10:44
rameshg87who is supposed to finally check and set the status to states.DEPLOYDONE ?10:45
lucasagomesthe call to deploy will actually boots the deploy ramdisk to the baremetal machine and the deployment will continue there10:45
GheRiverohttps://github.com/openstack/ironic/blob/master/ironic/drivers/pxe.py#L4110:45
lucasagomesthe deploy ramdisk then will sinalize ironic via the API (vendor_passthru) to inform the iscsi target that the image should be copied onto10:46
*** matsuhashi has quit IRC10:46
lucasagomesand that's the second part of the deployment that will set the deploydone after the imagine is copied to the disk10:46
*** matsuhashi has joined #openstack-ironic10:47
lucasagomesrameshg87, the pxe driver should set the DEPLOYDONE10:48
rameshg87yeah, i got it now10:48
lucasagomesafter it formats and copy the image to the iscsi disk (which was mounted by the deploy ramdisk)10:48
rameshg87i was able to figure out pxe driver does it, but couldn't find who calls it10:49
rameshg87so during the creation of deploy ramdisk, we make it such that it calls the ironic api at the end of loading it ?10:50
*** matsuhashi has quit IRC10:51
lucasagomesrameshg87, yes10:51
lucasagomesso it needs to be changed in the diskimage-builder10:52
lucasagomesas ironic is not working yet, it's not upstream, but you could customize one to test it urself10:52
lucasagomeswe need a way to inform the ramdisk also10:52
lucasagomeswhat's the ironic api url10:52
lucasagomesetc10:52
lucasagomesprobably using the kernel cmdline10:52
lucasagomesI'm not sure how people r thinking about implementing it10:53
rameshg87okay10:54
lucasagomesrameshg87, https://github.com/openstack/diskimage-builder/blob/master/elements/deploy/init.d/deploy#L28-L29 that's need to change10:54
GheRiverowell, it depends if we continue to retrieve images via iscsi (looks like for now) or do something else (glance, swift, torrent...)10:56
GheRiveroin that case, not only ironic credentials should be passed, but also glance/swift to get the object10:56
GheRiverobut yes, kernel cmd line looks like the most appropiate10:57
rameshg87hmm..okay10:57
rameshg87so in any case, we require those to be passed in the ramdisk depending on the method chosen10:57
GheRiverosince we don't do file injectin anymore, the image will be the same for all the deployments10:57
GheRiverofor nowm is going to be the same method, iscsi + dd10:58
lucasagomesyea I think for the first tests we will still use iscsi + dd10:58
lucasagomesbut indeed it should change in the future10:59
GheRiveroit doesn't scale so bad just for 1 rack10:59
lucasagomesyea10:59
rameshg87okay11:00
*** matsuhashi has joined #openstack-ironic11:20
*** matsuhashi has quit IRC11:23
*** matsuhashi has joined #openstack-ironic11:24
*** matsuhashi has quit IRC11:24
*** matsuhashi has joined #openstack-ironic11:25
*** romcheg has joined #openstack-ironic11:26
*** matsuhashi has quit IRC11:29
*** romcheg1 has quit IRC11:30
*** lucasagomes is now known as lucas-hungry11:36
Haomenggood morning Ironic12:06
Haomenglucasagomes:ping12:06
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Remove unnecessary check from manager  https://review.openstack.org/5383012:11
openstackgerritRyota MIBU proposed a change to openstack/ironic: Ensure ipmitool module is not to hang with empty password  https://review.openstack.org/5383212:17
*** jbjohnso has joined #openstack-ironic12:18
*** jdob has joined #openstack-ironic12:22
*** r-mibu has left #openstack-ironic12:22
*** yuriyz has joined #openstack-ironic12:39
*** romcheg has quit IRC12:53
*** lucas-hungry is now known as lucasagomes13:00
*** anteaya has joined #openstack-ironic13:08
*** sjing has joined #openstack-ironic13:12
*** russellb is now known as rustlebee13:12
lucasagomesHaomeng, hey man sorry missed ur ping (my nick was lucas-hungry when you pinged me)13:29
lucasagomeshow r u?13:29
*** romcheg has joined #openstack-ironic13:37
Haomengdont worry, no problem13:40
HaomengI have a finding, not sure if it is valid defect - https://bugs.launchpad.net/ironic/+bug/1244637, Lucas, canyou help to review?13:40
lucasagomesHaomeng, I see, we might have to dig a bit in the openstack common libraries for that13:48
lucasagomesthis options are generated using the decorators (guessing) take a look at13:48
lucasagomesironicclient/v1/port_shell.py13:48
lucasagomesdo_port_create will have some decorators with the options it accepts13:48
*** linggao has joined #openstack-ironic13:52
*** epim has joined #openstack-ironic13:54
*** lnxnut has joined #openstack-ironic13:54
Haomengok, ifthis is auto-generated, we cannot fix now I think13:58
Haomengthank you lucasagomes, this is minor issue13:58
Haomeng:)13:58
lucasagomesHaomeng, oh I mean, we can fix it yes, just saying that maybe the problem is not on the python-ironicclient itself13:59
lucasagomesbut in the common libs it uses, so we might need to fix it in oslo (if the libs r there) the worst case would be fixing on all the projects that uses it14:00
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Add context to TaskManager  https://review.openstack.org/5314514:09
Haomengok, let me check oslo code14:10
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Expose created_at/updated_at properties in the REST API  https://review.openstack.org/5362714:10
*** jdob has quit IRC14:10
*** jdob has joined #openstack-ironic14:10
Haomengthank you lucasagomes:)14:11
lucasagomesHaomeng, no problemo :)14:13
Haomeng:)14:14
*** ndipanov is now known as nick_long14:20
*** jbjohnso has quit IRC14:22
anteayamorning lucasagomes14:26
anteayamorning Haomeng14:26
lucasagomesmorning anteaya how r u?14:26
Haomengmorning anteary:)14:26
anteayagood thanks14:26
anteayaFriday already, where does the time go?14:26
Haomengwhat is your local time, I guss is 8:26am?14:26
anteayasnow yesterday morning?14:26
anteayaI am 10:26am14:27
Haomeng:)14:27
anteaya:D14:27
anteayahow about you?14:27
HaomengI am in 10:27pm:)14:27
anteayanot much snow, but snow just the same14:27
Haomeng:)14:27
anteayathe same14:27
Haomengyes, my TZ is +8, you are -814:27
Haomeng:)14:27
NobodyCamgood morning Ironic14:27
Haomengmorning NobodyCam14:27
anteayaah yes, the pm14:28
anteayamorning NobodyCam14:28
anteayaactually I am UTC -414:28
anteayaso it works out to 12 hours14:28
NobodyCammorning anteaya Haomeng14:28
anteayaare you in China?14:28
Haomengyes, I am from China Beijing14:28
Haomeng:)14:28
anteayagreat14:28
anteaya:D14:28
anteayaare you coming to the summit?14:28
Haomengfor each day, I'd like to say morning to every, but I will go to sleep soon:)14:29
Haomengmaybe will not14:29
anteayaI bet14:29
Haomengyou will go Hongkong summit?14:29
anteayayes14:29
NobodyCam:) Haomeng :)14:29
anteayawould be so close for you14:29
anteayawell closer than for me14:29
anteayaplease consider attending if you can14:29
NobodyCam:)14:30
Haomengthere are 8+ guys from our team will come to Hongkong summit, but not including me :<14:30
anteaya:(14:30
anteayaI'm glad your team is sending some people though14:30
Haomengyes, if I attend, will invite all of you Foreign friends14:31
NobodyCam:) we'll be there14:31
Haomeng:)14:31
anteayasounds good!14:31
anteayawould enjoy meeting someone who lived close14:32
anteayawhen I was in Budapest I meet someone who lived in the city who took me to this lovely market for just local people14:32
Haomengso far the plan is Freeze for me,because I am late in our openstack project14:32
anteayait was so calm and quiet, I'm so glad I saw it14:32
Haomeng:)14:32
anteayawell it will be a long time before it is so cheap to send you to a summit14:33
*** jdob has quit IRC14:33
anteayathe next will be in Chicago and then in Europe after that14:33
*** jdob has joined #openstack-ironic14:33
anteayaand it would be a great way for you to learn about openstack quickly14:33
HaomengI hope will attend Chicago summit:(14:33
Haomengyes14:34
anteayathat would be great14:34
*** epim has quit IRC14:34
HaomengI focus on Ceilometer project several month14:34
Haomengand move to Ironic after oct14:34
Haomengour team need to focus on such new project14:35
Haomeng:)14:35
NobodyCamanteaya: do we know the dates for chicago?14:35
HaomengI am full time to contribute Ironic proect, are you fulltime?14:36
NobodyCamHaomeng: yes.14:36
anteayaI do not know the dates for Chicago14:36
anteayaIf they are known, I don't have that info14:36
NobodyCamHaomeng: who do work for? (sorry if I missed it)14:36
anteayaHaomeng: I am full time with mordred's team and I float around, infra, ironic, refstack, storyboard14:37
Haomenggreat14:37
anteayaI am fairly new to the team and trying to find my home14:37
NobodyCam:)14:37
HaomengI amfulltime on Ironic now14:37
anteayaawesome14:37
anteayayou picked a great team14:37
HaomengLucas, see your comments on my defect, thank you14:38
Haomengwill commit new patch:)14:38
NobodyCamis lucasagomes here?14:38
Haomenghe is reviewing my code now:)14:38
Haomenglucasagomes: new findings14:39
NobodyCam:)14:39
NobodyCamGheRivero: lol I grilled deva over that same line on 51743 last night14:40
HaomengI put two fileds into our base.py, but only works with node object14:40
lucasagomeshey I'm sorry14:40
lucasagomesNobodyCam, how r u?14:40
Haomengfor portsand chassis , looks like it does not work14:40
lucasagomesanteaya, I'm good as well thanks ^^14:41
Haomenglucasagomes: do you have idea?14:41
lucasagomesHaomeng, only works with node you mean using the CLI isn't it?14:41
HaomengAPI14:42
HaomengI focus onAPI now14:42
NobodyCamyou can read the the convo in http://eavesdrop.openstack.org/irclogs/%23openstack-ironic/%23openstack-ironic.2013-10-25.log arounf 00:2214:42
Haomengif APi does not work, cli will notwok14:42
lucasagomescause the CLI filters what's displayed and the only resource that has those fields create_at and updated_at is the nodes14:42
lucasagomesHaomeng, oh yea, hmm should work for the other as well14:42
Haomenglucasagomes, I mean API does not work for ports I found now14:42
lucasagomesoff the top of my head idk why only nodes worked14:42
NobodyCamlucasagomes: doing good. can you 5174314:42
lucasagomeshave you checked the db? create_at and updated_at on the other resources are contains the dates as well?14:43
Haomengok, let me check the convo you pointed14:43
NobodyCamlucasagomes: can you take a look at 5174314:43
Haomenglet mecheck db14:43
lucasagomesNobodyCam, will do14:43
* NobodyCam goes to get coffee14:43
lucasagomes:)14:43
lucasagomesNobodyCam, oh yea I gotta test it ^^ I was doing some internal stuff for rh this morning didn't had time to actually give it a go14:43
lucasagomesdidnt have14:44
lucasagomes*14:44
Haomengdb is fine14:44
Haomengwe can find created_at value in db after the port is created14:44
Haomengbut the port API will notreturn  created_at value , strange14:44
Haomengwill debug14:44
lucasagomesI see, hmm off the top of my head I don't really know why it just works for nodes then14:44
Haomengno problem14:45
Haomengtired,will go to sleep, nice day Ironic:)14:47
Haomenggood luck:)14:47
*** prekarat has joined #openstack-ironic14:48
lucasagomesHaomeng, g'night and awesome to have u onboard :)14:48
NobodyCamgood night Haomeng14:48
Haomeng:)14:49
romchegGood night Haomeng14:49
NobodyCamgood morning romcheg14:49
romchegGood afternoon lucasagomes14:49
romchegGood morning NobodyCam14:49
NobodyCam:)14:49
Haomengseeyou lucasagomes and NobodyCam14:50
NobodyCam:) have a good weekend Haomeng14:50
lucasagomesromcheg, dia dhuit :) how r u?14:51
romcheglucasagomes: better than it can be. Hate doctors :)14:52
NobodyCamromcheg: ++++++++14:52
romchegHow are you?14:52
lucasagomeshehe can imagine14:52
lucasagomesI'm fine thanks14:52
lucasagomesI hate dentists more than doctors14:52
NobodyCamoh yes14:52
lucasagomesI probably will have to remove a wisdom tooth I have14:52
lucasagomesurgh!14:52
romchegCannot drink alcohol until the new year. Can you please remind me why else do we gather on the summit? :D14:53
NobodyCam:(14:53
NobodyCamoh no14:53
lucasagomesoh damn14:53
lucasagomesbtw, did you guys sign up for some of the parties?14:54
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Fix test node manager  https://review.openstack.org/5387714:54
romcheglucasagomes: I've just tried to do ironic node-list and got "Invalid OpenStack Identity credentials."14:56
romchegkeystone endpoint-list worked well after that14:56
lucasagomes:D14:57
lucasagomesgood stuff14:57
romchegthat's the master of ironic-client14:58
openstackgerritA change was merged to openstack/ironic: Supports paginate query for two get nodes DB APIs  https://review.openstack.org/5323214:58
romchegclear14:58
romchegwhoops, sorry14:58
romchegconfused terminal window and irc chat :)14:58
*** WillOchanda has joined #openstack-ironic15:00
NobodyCam$>15:01
*** yuriyz has quit IRC15:02
*** pky has quit IRC15:06
*** pky has joined #openstack-ironic15:07
lucasagomesNobodyCam, and the hoodies did you get to see then already?15:10
NobodyCami have not. I'm in palm springs now. I expect that are in seattle15:11
NobodyCamthat= they15:11
lucasagomesah sometimes I forget that ur a nomade :)15:11
lucasagomesnomad*15:12
NobodyCamlol :)15:12
NobodyCami will try and track them down15:12
lucasagomescooleo :)15:13
lucasagomeslooking fwd to get one15:13
NobodyCamya15:14
GheRivero'morning' all15:15
NobodyCammorning GheRivero :)15:15
romchegWhich hotel do you guys live during the summit?15:15
NobodyCamGheRivero: I replyed to your comment on 5174315:16
NobodyCamromcheg: which ever is the host hotel15:16
lucasagomesromcheg, I delayed to book so I only found a room at novotel15:16
NobodyCam:-p15:16
lucasagomeswhich is an official hotel but a bit from the conference15:16
romcheglucasagomes: I will also live in novotel15:17
lucasagomesahh nice15:17
GheRiveroNobodyCam: thanks, i was reading thtough that15:17
NobodyCam:)15:17
lucasagomesromcheg, we can meet before and find our way to the conference then15:17
NobodyCami had the same thoughts GheRivero15:17
NobodyCam:)15:17
romcheglucasagomes: looks like a nice idea.15:18
GheRiveroit's ok... but not logical :)15:18
NobodyCamlol15:20
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Expose /drivers on the API  https://review.openstack.org/5315715:22
lucasagomesNobodyCam, 51743 reviwed and tested :)15:22
NobodyCamawesomes15:22
NobodyCamGheRivero: you still want to keep -1 on 51743?15:23
GheRiveronono, i-ll update it now15:24
NobodyCamawesome-ness15:25
NobodyCamWillOchanda: give it a few minutes to land but https://review.openstack.org/#/c/51743/ is approved now15:29
openstackgerritA change was merged to openstack/ironic: Conductors maintan driver list in the DB  https://review.openstack.org/5174315:30
devanandamorning, all15:35
romchegMorning devananda15:35
NobodyCamGood morning devananda15:35
devananda\o/15:36
lucasagomesdevananda, morning :)15:37
NobodyCamlucasagomes: are you going to be able to address the comments on: 52902?15:38
lucasagomesNobodyCam, oh yes!15:38
NobodyCam:)15:38
* lucasagomes loads of patches around15:38
NobodyCamlol15:38
NobodyCamoh ya15:39
devanandalucasagomes: you might soon find yourself burdened with reviews and having to time to write code ;)15:39
NobodyCamhehehehehe15:40
lucasagomesdevananda, haha yea!15:40
devanandalucasagomes: also, grats -- it's now official and stuff15:42
NobodyCamwoo hoo !!!! congrats lucasagomes !!!!15:42
lucasagomesdevananda, NobodyCam awesome! thank you!!!15:42
NobodyCamyou deservie it. Awesome job buddy15:43
lucasagomesah cheers man, I'm pretty happy!15:43
NobodyCamgreat way to start the weekend15:44
lucasagomesindeed!15:45
lucasagomesonly one thing, monday is national holiday here, so I probably wont work15:45
lucasagomesbut I will make it to the meeting at night15:45
NobodyCamyou better :-p15:46
NobodyCamheheheh15:46
lucasagomeshaha will do15:46
devanandalucasagomes: enjoy! don't spend all weekend reviewing code ;)15:47
lucasagomeshehe will try not to :)15:47
devanandaanyone know if rloo had any code on https://bugs.launchpad.net/ironic/+bug/1237688 ?15:48
*** sjing has quit IRC15:48
*** sjing has joined #openstack-ironic15:48
devanandathat one's nagging at me. power control is pretty badly broken right now, i'm bumping the bug to critical15:49
lucasagomesI'm not aware of any code no :/15:50
devanandaals, i'll bring this up at the meeting, but the nova blueprint discussion has me thinking it's time for a purge15:50
devanandaclear out all BPs that aren't in progress, or have clearly stated goals, and then at the summit encourage everyone to lay out a clear plan for Icehouse15:51
devanandathoughts?15:53
NobodyCamdevananda: I'd +115:54
lucasagomesdevananda, yea +1, I think the tasks on that trello page are pretty straight forward, we can use that15:55
devanandacool15:56
devanandathen maybe i'll start this weekend :)15:56
lucasagomessweet15:56
*** sjing has quit IRC15:56
NobodyCam:)15:56
NobodyCamdevananda: side note. have you seen the scroll back from this morning Haomeng is now full time on ironic15:57
devanandaawesome15:59
devanandaHaomeng: around?16:01
*** lnxnut_ has joined #openstack-ironic16:02
*** lnxnut has quit IRC16:02
NobodyCamdevananda: I think he is asleep now16:04
devanandaprobably16:04
devanandalucasagomes: see -dev?16:04
NobodyCamhe is utc +816:04
*** martyntaylor has left #openstack-ironic16:04
lucasagomesdevananda, yup16:04
devanandaright. eastern china16:04
devanandai think16:04
NobodyCamya16:05
devanandalucasagomes: mind missing the opening tripleo session to represent us to pecan/wsme folks?16:05
NobodyCamdevananda: have you been in contact with markAtWood16:05
NobodyCamof late..16:05
devanandaNobodyCam: he's been travelling for the last ~10 days.16:05
devanandaNobodyCam: i'll probably see him tmw16:06
lucasagomesdevananda, I'm grand with that16:06
NobodyCamya looking for the hooodies16:06
lucasagomesI was planning to go to that section anyway16:06
devanandalucasagomes: awesome, tyvm16:06
NobodyCambbt. and make more coffee... brb16:07
*** WillOchanda has quit IRC16:15
*** jistr has quit IRC16:16
*** martyntaylor has joined #openstack-ironic16:17
*** prekarat has quit IRC16:25
romchegTrying to instal Ironic on all devstack gates16:29
romcheghttps://review.openstack.org/#/c/53899/216:29
NobodyCamromcheg: :)16:30
devanandaoooo :)16:30
devanandaromcheg: how's the tempest API tests?16:30
devanandahttps://review.openstack.org/#/c/48109/16:31
romchegNo one took a look at them16:31
*** epim has joined #openstack-ironic16:31
devanandahum16:32
devanandaare they good to go? if so, i'll go poke people16:32
romchegGimme this afternoon pls16:33
devanandak16:33
romchegI have made some other tchanges16:33
devanandaso anytime we're waiting on another team for something important, feel free to ping me about it16:33
romchegdevananda: thanks16:34
*** nick_long has quit IRC16:34
romchegbrb16:35
*** romcheg has quit IRC16:36
devanandalucasagomes: question on the API & exceptions16:36
lucasagomesdevananda, shoot16:37
devanandalucasagomes: are we not doing any wrapping so that pytho ntracebacks get squelched?16:37
*** martyntaylor has quit IRC16:37
lucasagomesI think that yuri will update that patch16:37
lucasagomesas I commented I would prefer to return a simple message16:38
lucasagomesand expect the admins to check the logs instead16:38
lucasagomeswhere he can see the tracebacks16:38
devanandaeg,w hen testing the set-power-state patch, i was able tos ee the full SSH driver stack trace from the client, without even doing --debug16:38
lucasagomesthat's bad imo16:38
devanandavery very bad, IMO16:39
lucasagomesyea16:39
devanandaand it's not a matter of fixing one or two spots. I thin kit's an issue with the middleware16:39
lucasagomeshere is how I see it16:39
lucasagomeswhen some internal error happens I would say that in most cases we should just log it16:40
lucasagomesand return something simple16:40
lucasagomesunless the client can do something about it16:40
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Implement /nodes/UUID/vendor_passthru in the API  https://review.openstack.org/5376116:40
devanandathere are rouighly two cases of exceptions to consider16:41
devanandaa low-level one that we should catch at a higher level16:41
linggaoNobodyCam, I am hopeless in resolving the merge conflict with lucasagomes patch. git rebase --continue keeps saying that I need to resolve all the conflicts.16:41
lucasagomesthen (for known errors) we might want to expose some internal things on the message16:41
lucasagomesbut we always need a wrapper to clean that up for sure16:41
devanandaand any exception we dont expect and therefor dont catch16:41
linggaogit is drving me crazy :(16:41
devanandalinggao: you need to edit the files which have a conflict to manually resolve it16:42
devanandalinggao: then "git add /path/to/file" before you "git rebase --continue"16:42
lucasagomeslinggao, you should fix it and then add it with git add16:42
lucasagomesand then you --continue16:42
lucasagomesyea just deva said16:43
linggaoah, I did not do git add, let me try . Thanks guys.16:43
devanandalucasagomes: so, in either case (we catch, log, and reraise; we dont catch at all) I think the API should still never-ever expose the stack trace16:43
NobodyCamdevananda: that patch is what WillOchanda needs?16:43
devanandalucasagomes: whether the API cleans up the exception or not is secondary (and important)16:43
devanandaNobodyCam: yes16:43
lucasagomesdevananda, oh yea I agree with that, tracebacks are awful to see on a body request16:44
devanandalucasagomes: AIUI, api/middleware/parsable_error.py is supposed to do that sort of thing16:44
devanandalucasagomes: not just awful to see, but totally inappropriate. clients should not see an application's internal stack trace :)16:45
*** epim_ has joined #openstack-ironic16:45
devanandaI'm fine with users seeing the actual exception messages16:45
lucasagomesI see, I'll check it out in our API16:45
lucasagomesbut not the traceback, yea +116:45
devanandaright16:45
*** epim has quit IRC16:46
*** epim_ is now known as epim16:46
lucasagomesbut in the case of yuriz patch, I tend to think that we should simple return some generic "Internal Error" message16:46
devanandalucasagomes: which one?16:46
lucasagomesassuming that admins should have access to the logs16:46
lucasagomesthey can go and check it16:46
devanandalucasagomes: don't assume that16:46
lucasagomesthe ones on the creation of the resources16:47
devanandaah, that16:47
lucasagomesyea, because, now it's just reraising the exception16:47
devanandait seems worth repeating -- we can't assume any user of ironic has access to the logs, or to the database16:48
devanandathey must be a cloud admin, but for privilege separation, the guy who is enrolling the hardware (using the ironic CLI) may have no direct access to the hosts running the conductors16:49
NobodyCamdevananda: question on the test in 53761.. test_vendor_passthru_without_method is testing the wsme.exc.ClientSideError that can be raised?16:49
devanandaNobodyCam: ya?16:50
lucasagomesdevananda, I see... so we might need to have a more elaborated output there, but not exposing any internal errors that might come with the exceptions the code is raising16:50
lucasagomessince he won't be able to do anything about it16:50
devanandalucasagomes: as far as exposing "DB error" to the user, I thin kthat's fine16:51
*** romcheg has joined #openstack-ironic16:51
devanandabut something (midleware or ...?) needs to clean it up16:51
linggaolucasagomes,16:52
devanandain the case of https://review.openstack.org/#/c/53632/1, these are all dealing with the creation of new records16:52
lucasagomesdevananda, yea now u mentioned that middleware, I will take a look16:52
linggaofor i18n, you did not do the help part.  is it needed?16:52
devanandaso the internal error is probably very meaningful16:52
lucasagomeshaven't tested that with our api at all16:52
linggao@utils.arg('node',16:52
linggao           metavar='<node id>',16:52
linggao           help="ID of node")16:52
devanandalinggao: i looked at nova for comparison. it doesn't include _ for help either16:52
devanandalinggao: so i suspect, but need to check with clarkb, that the help text is being translated another way16:53
linggaook, so for now should I leave out the help part?16:53
lucasagomesyea also, I don't think that the clients are being i18n'ed to be honest16:53
NobodyCamdevananda: linggao: seems every client i looked at does not handle i18n16:54
lucasagomesyea, we might start doing it and be a good example :)16:54
NobodyCam:)16:54
devanandaeven the help text in the services isn't _'d16:54
NobodyCamlucasagomes: +116:54
NobodyCamya also what about stuff like https://github.com/openstack/python-ironicclient/blob/master/ironicclient/v1/node_shell.py#L10016:56
linggaoanother interesting thing is the help for sub command.16:57
linggaodef do_node_show(cc, args):16:57
linggao    """Show a node."""16:57
linggaothat's where the help stores.16:57
lucasagomesyea it uses the docstrings16:57
linggaohow do we i18n it?16:58
romchegWhat gates should we test Ironic on?16:58
lucasagomeslinggao, I don't know. But as a user I would like to have the help translated as well, we gotta do some research about it16:58
romchegI propose the following ones16:58
romcheg      - check-tempest-devstack-vm-smoke16:58
romcheg      - check-tempest-devstack-vm-full16:58
romcheg      - check-tempest-devstack-vm-postgres-full16:58
romcheg      - check-tempest-devstack-vm-neutron16:58
romcheg      - gate-tempest-devstack-vm-large-ops16:58
romcheg      - gate-tempest-devstack-vm-neutron-large-ops16:58
linggaook, let me give it a try...16:58
devanandaromcheg: i'm not familiar with all teh current gate checks16:59
devanandaclarkb or mordred ^^ ?16:59
*** derekh has quit IRC16:59
clarkbdevananda: romcheg: so, are devstack and tempest capable of configuring and running ironic in a meaningful way?17:00
devanandaromcheg: my inclination is, right now -smoke, -full, -postgres-full, is probably sufficient. we dont have neutron integration done in the pxe driver yet17:00
clarkbthere isn't much sense in running those jobs if they never touch ironic17:00
clarkbbut if they do then yes, the standard complement of tempest jobs makes sense17:00
clarkbdevananda: you don't want -smoke that will die finally when folsom goes away17:01
devanandaclarkb: to what degree of "meaningful"?17:01
devanandaclarkb: ah. k17:01
clarkbdevananda: is it installed and tested in any way?17:01
romchegclarkb: devstack is able to configure and run Ironic already17:01
clarkbyou can run those tests but if there is no intersection with ironic you don't get anything17:01
devanandaclarkb: we have API and RPC services, and fake drivers, and a CLI, that should all get tested17:01
devanandaclarkb: we don't have the sort of tripleo things yet to test actual creation of VMs17:02
romchegAnd there is a patch to tempest that adds some tests for Ironic17:02
clarkbcool, I would start with the list under nova and we can prune that as necessary (eg remove smoke jobs because folsom is going away soon)17:02
romchegSo we leave -vm-full, vm-postgres-full and vm-large-ops, right?17:03
clarkbyup and the neutron jobs17:05
romchegNeutron jobs might be added later IMO. We do not have any integration with neutron atm17:05
clarkbin that case they aren't necessary17:06
clarkbjust be sure to add them when integration with neutron happens :)17:07
romchegthanks for your help clarkb :)17:07
devanandaclarkb: what does vm-large-ops do?17:10
clarkbdevananda: it spins up nova with the fake libvirt driver and makes a bunch of requests to multiple nova api instances. Its aim is to stress nova intenrals without waiting for DB and hypervisor IO17:11
devanandalucasagomes: still around?17:11
lucasagomesdevananda, yes17:11
lucasagomeslooking at the manpage thing :)17:11
devanandaclarkb: ahh. sweet. that'd be perfect for adding similar workload to test ironic with lots of fake instances17:11
devanandaclarkb: should we (perhaps in the future) make some different tests that stress ironic in certain ways, without duplicating the time needed to stress unrelated things?17:13
clarkbdevananda: you might be able to tack onto that job. I would speak to jog0 about it, he wrote the test17:17
devanandacool17:20
openstackgerritA change was merged to openstack/ironic: Remove several old TODO messages  https://review.openstack.org/5349217:22
openstackgerritA change was merged to openstack/ironic: Remove redundant test stubs from conductor/manager  https://review.openstack.org/5349317:23
NobodyCamlol17:24
NobodyCamlucasagomes: think some of those stubs may be needed17:26
NobodyCamsee my comment on 5383017:26
lucasagomesNobodyCam, ouch17:29
lucasagomeschecking17:29
NobodyCam:-p17:29
romchegHere we go17:31
romcheghttps://review.openstack.org/#/c/53917/17:31
lucasagomesNobodyCam, well ont a big deal tho, I mean people implemented other tests without even looking at those TODO's17:31
NobodyCamya17:31
linggaodevananda, NobodyCam lucasagomes, here is how to do i18n for command.17:32
NobodyCamI adjust my comment to request adding tests17:32
linggaofor help on the subcommand, https://github.com/openstack/python-ironicclient/blob/master/ironicclient/common/utils.py#L4617:32
lucasagomesso it was hanging there, it's kinda more natural to do ur change and create the tests instead of looking if there's some tests functions created but not implemented for ur changes17:32
linggaochange help=... to help = _(..)17:32
lucasagomesNobodyCam, but thanks for pointing out :)17:32
linggaodevananda, NobodyCam lucasagomes, the question is: shoule we go a head to it or leave it the command's i18n alone?17:35
*** epim has quit IRC17:36
NobodyCamlinggao: I see value in it. but maybe a version 2 (after summit) thing? lucasagomes devananda thooughts?17:37
devanandalinggao: i would not worry about i18n for help="" stuff right now17:37
devanandalinggao: if you're looking for things to do, there aer open / unassigned bugs :)17:37
lucasagomesyea17:37
linggaoI am holding node_shell.py in my patch. ok, I'll remove the changes and check it in.17:37
lucasagomesor if wanna play with the CLI17:38
lucasagomesconsolidating the exceptions messages17:38
lucasagomeswould be useful as well17:38
* devananda should file a bug for that17:38
* NobodyCam brb17:39
linggaono, no, no. I'll be pulled away by my company for a couple of weeks. Just want to finish up the current patch that has node_shell.py that NobodyCam asked me to do the i18n in it. :)17:39
*** pky has quit IRC17:40
devanandalinggao: ah, i see17:41
linggao:)17:41
linggaoanyway, I'll remove the _() on the help I did in it.17:42
lucasagomesalright people I'm done for today, have a great weekend! devananda NobodyCam linggao17:43
linggaohave a good weekend lucausagomes.17:43
lucasagomesalso, monday's national holiday here but I'll make it to the meeting!17:43
devanandacheers, lucasagomes. have a good weekend!17:44
linggaolucasagomes, do not work too hard.17:44
linggaooops, do not tell my boss I said that. :)17:45
lucasagomeshaha17:45
lucasagomesaight, see ya folks!17:45
*** lucasagomes has quit IRC17:45
linggaoironic, how to remove a dependency from a patch?17:52
NobodyCamclarkb: mordred ^^^ how can one remove a dependency that was added review -d ####17:53
devanandalinggao: you can rebase17:53
NobodyCamdevananda: on master?17:54
devananda eg, if your git log looks like this: master->p1->yourpatch17:54
devanandaand you want it to be master->yourpatch17:54
devanandathen do this17:54
devanandagit rebase -i17:54
devanandadelete the line for "p1"17:54
devanandaassuming the rebase has no errors, then you can do "git review -R"17:55
NobodyCamahh the houses new sparkplug wires are in... /me knows what he is doing this weekend. replacing sparkplug wires on the house :-17:56
mordredNobodyCam: whatdo you want to do?17:56
mordredyes17:56
mordredlisten to devananda17:56
NobodyCammordred: devananda got the answer17:56
NobodyCamTY17:57
openstackgerritlinggao proposed a change to openstack/python-ironicclient: Modifies CLI to show nodes by instance uuid  https://review.openstack.org/5348517:57
clarkbdevananda: don't use git review -R unless you really need it :)17:57
linggaodevananda, thanks.  I am so afraid of those options in git review :)17:58
devanandaclarkb: i use it al lthe time :)17:58
clarkbdevananda: if you have an up to date git review the -R option shouldn't be necessary in most cases17:58
clarkbgit review now checks if there are conflicts and only rebasees by default if there are17:58
linggaowhat does -R do?17:58
clarkbotherwise the behavior is the same as -R and no rebasing happens17:58
clarkblinggao: prevents a rebase before pushing17:58
devanandaclarkb: eg, i have a stack of patches and i only change the top one. git review -R saves teh others from needless spam17:58
devanandaah17:59
devanandaso ^ is default now?17:59
clarkbdevananda: ish, it will rebase if you need a rebase17:59
linggaoI just did -R. Hope it is right.17:59
devanandaspeaking of, /me rebases one of lucas' patches18:00
devanandaugh, another big quake near japan18:02
NobodyCamdevananda: when?18:04
*** pky has joined #openstack-ironic18:04
NobodyCamoh wow near Fukushima18:05
devananda<1hr ago18:06
NobodyCamya just looked it up :(18:06
linggaoM 7.3 Earthquake18:08
linggaoOff the east coast of Honshu, Japan18:08
linggao. 44 mins ago – U.S. Geological Survey18:08
NobodyCamjust watched pacific rim lastnight it could be a Kaiju18:08
devananda:p18:14
NobodyCamthey distroy HK in that movie..18:14
devanandastepping out for an errand, bbiah18:24
NobodyCam:)18:24
*** pky has quit IRC18:34
*** lnxnut has joined #openstack-ironic18:35
*** lnxnut__ has joined #openstack-ironic18:37
*** lnxnut_ has quit IRC18:37
*** lnxnut has quit IRC18:40
openstackgerritA change was merged to openstack/ironic: Fix exceptions handling in controllers  https://review.openstack.org/5363218:42
*** epim has joined #openstack-ironic18:44
*** pky has joined #openstack-ironic18:47
*** epim has quit IRC19:04
*** epim has joined #openstack-ironic19:10
*** epim_ has joined #openstack-ironic19:11
*** epim_ has quit IRC19:12
*** epim_ has joined #openstack-ironic19:14
*** epim has quit IRC19:14
*** epim_ is now known as epim19:14
*** WillOchanda has joined #openstack-ironic19:31
*** pky has quit IRC19:32
openstackgerritlinggao proposed a change to openstack/ironic: Supports get node by instance uuid in API  https://review.openstack.org/5326219:32
*** pky has joined #openstack-ironic19:53
*** pky has quit IRC19:59
*** pky has joined #openstack-ironic20:01
*** lnxnut__ has quit IRC20:25
*** epim has quit IRC20:30
*** epim has joined #openstack-ironic20:35
*** jdob has quit IRC20:37
*** romcheg has left #openstack-ironic20:47
*** linggao has quit IRC20:58
*** pky has quit IRC21:07
*** WillOchanda has quit IRC21:15
*** WillOchanda has joined #openstack-ironic21:22
*** pky has joined #openstack-ironic21:22
*** michchap has quit IRC21:51
*** michchap has joined #openstack-ironic21:53
*** pky has quit IRC21:57
*** pky has joined #openstack-ironic21:59
openstackgerritKevin McDonald proposed a change to openstack/python-ironicclient: Fixes Auth Token being sent as lambda function  https://review.openstack.org/5396321:59
*** epim has quit IRC22:16
*** pky has quit IRC23:03
NobodyCamclarkb: you were not kidding when you said tox -r would be slower :-p23:11
clarkbNobodyCam: it has to build the venv each time23:11
NobodyCam:)23:12
clarkbNobodyCam: if you leave off the -r it should be faster but then you may fall a little behind on deps. lifeless and SpamapS combat this with a squid caching proxy23:12
NobodyCamquestion 'tox -r -e py33' would run only python 3.3 tests?23:12
clarkbyes23:13
NobodyCamsweet TY23:13
clarkbhonestly -r is probably overkill for most cases, but when the question is "why did this fail in jenkins but not locally?" a good place to start is with -r23:13
NobodyCam:)23:14
*** epim has joined #openstack-ironic23:14
*** jbjohnso has joined #openstack-ironic23:27
Haomengdevananda: good afternoon:)23:30
NobodyCamhey good morning Haomeng23:31
NobodyCamwhat time is it there?23:31
HaomengNobodyCam: good afternoon23:31
HaomengI am on early morning, 7am:)23:32
*** pky has joined #openstack-ironic23:35
NobodyCam:-p23:35
NobodyCamI'm generaly online around 7:3023:36
NobodyCam:)23:36
NobodyCamdevananda: is  out running earands ... can I help?23:36
NobodyCamerrands even23:37
Haomeng:)23:38
Haomengthank you NobodyCam23:38
Haomenglet me try again my code, and ask you if still not working:)23:39
NobodyCam:) sure23:39
*** michchap has quit IRC23:43
*** michchap has joined #openstack-ironic23:43
HaomengNobodyCam, I have question about "response = self.patch_json('/ports/%s' % pdict['uuid']," in unittest code23:46
Haomengnot sure if such response just return http code no any port json returned, I try to get response.json string, can not retrieve23:47
*** WillOchanda has quit IRC23:48
HaomengI want to test port object update API, but cannot get json returned by patch_json23:48
*** pky has quit IRC23:48
NobodyCamin the test framework?23:48
*** epim has quit IRC23:51
*** WillOchanda has joined #openstack-ironic23:52
*** epim has joined #openstack-ironic23:52
Haomengyes, in our unittestcode23:52
NobodyCamone sec23:53
Haomenglet me try, maybe our update/patch api will not return the object json which isupdated23:55

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!