Wednesday, 2015-01-07

*** david-lyle is now known as david-lyle_afk00:01
openstackgerritAlex Weeks proposed openstack/ironic-python-agent: Added extension to support rescue mode  https://review.openstack.org/14538500:02
ShrewsNobodyCam: apparently i should get food off my brain since i just +A'd before the tests...  *sigh*  i guess gerrit will catch it properly should something break.00:04
* Shrews goes for dinner00:04
NobodyCamlol00:04
*** mrda-away is now known as mrda00:04
NobodyCamyea it still goes through all tests00:04
mrda.00:05
NobodyCamhave a good dinner Shrews :)00:05
NobodyCammorning mrda00:05
mrdahey NobodyCam00:05
JayFmrda: I noticed today you hadn't re-reviewed https://review.openstack.org/#/c/141188/ yet, just wanted to make sure it was still on your radar00:05
JayFmrda: clif is at rookie-o so I'm shilling his patch :P00:06
mrdathanks JayF - but from holidays as of this minute :)00:06
mrdas/but/back/00:06
*** smoriya has joined #openstack-ironic00:06
JayFI forget, you Aussies get what; 300 days of vacation a year :P00:07
NobodyCamlol00:07
NobodyCamno I think it only 29800:07
mrdalol.  I've only taken 5 days of something.  I worked up to Christmas Eve00:07
mrdas/of/or00:07
NobodyCamuggh00:07
NobodyCam:)00:07
mrdabut we are blessed with having a few holidays - of course we work hard to earn them :)00:08
NobodyCamyes!!!! :) hehhe00:09
mrdaWe also have some nasty bushfires here, which compensates for the holiadays (http://www.abc.net.au/news/2015-01-06/up-to-38-houses-destroyed-by-sa-bushfires/6002952)00:10
rloo_afkNobodyCam: wrt https://review.openstack.org/#/c/139217/, will you approve it?00:10
devanandamrda: are you doing LCA ?00:10
mrdadevananda: of course :)  I'll be in AKL from Sunday00:11
mrdabut still working as I can00:11
mrdadevananda: are you coming down?00:11
rloo_afkNobodyCam: wrt that last patch I added, it's fine it is isn't rebased now. I can do it later or not. It's just to show that the fsm code isn't quite correct yet.00:11
devanandamrda: not this time. too much travel booked alraedy00:11
devanandamrda: see you next year, though :)00:12
*** ryanpetrello has quit IRC00:12
mrdadevananda: rats, would have enjoyed hanging out again!00:12
devanandamrda: as would I. but I'll also enjoy the time at home ;)00:12
mrdaperhaps we could do an ironic midcycle the week before/after LCA in AU, so you all can see Australia and experience LCA :)00:12
mrdadevananda: I totally understand.00:13
NobodyCamrloo_afk: with 3 +2's and 2 +1 I will approve 139217 (as soon a Mr J is done :-p)00:13
*** ijw has joined #openstack-ironic00:13
rloo_afkthx NobodyCam00:14
NobodyCamno no thank you :)00:14
devanandarloo_afk: for 142303, do you know offhand why it failed tempest? looks like REBUILD ?00:14
rloo_afkdevananda: oh, I didn't even look at tempest. It was failing some unit tests, so I stopped there.00:15
rloo_afkdevananda: I'll take a look tomorrow maybe.00:15
devanandarloo_afk: ok. well, you added / changed unit tests, so I'm not surprised that it fails00:16
rloo_afkdevananda: probably a good time to rebase then. it is possible it was failing cuz a bunch of things may have failed at that time due to ... pick-your-poison... (ie don't remember)00:16
devanandarloo_afk: the question on my mind is -- are these failures problems in the state machine itself, or areas where the current (pre-fsm.py) code behaves in non-obvious ways?00:16
rloo_afkdevananda: the state machine, or how we represent it with the target_state stuff.00:17
* mrda is sweltering, it's 110F here today.00:17
NobodyCammrda: thats awesome...00:18
mrdaNobodyCam, really?00:18
devanandarloo_afk: my goal was to represent what we *actually* do today with states, even where that is illogical00:18
rloo_afkdevananda: wrt the fsm's _target_state and the nodes_target_provision_state; they aren't always in sync.00:19
rloo_afkdevananda: yeah, so that's one of the problems. with the fsm stuff, the node's target-provision-state isn't what it was w/o the fsm stuff.00:19
NobodyCammrda: not really .. It gets that hot down here.. but I am long gone before that time00:19
devanandarloo_afk: :(00:19
mrda:)00:20
rloo_afkdevananda: I don't think it is a difficult problem. We just need to tweak it (our fsm) a bit or something.00:20
NobodyCam139217 come on down your the next approved patch00:20
devanandarloo_afk: k. let me see what I can do in an hour00:20
* NobodyCam tries to sound likethe "proce is right announser"00:21
NobodyCamok with that entire line type-oh-ed /me steps away from the keyboard00:22
rloo_afkdevananda: ok. good luck ;) I'm going to take off soon, will see how far you get tomorrow.00:22
openstackgerritJosh Gachnang proposed openstack/ironic-python-agent: Add command metrics to IPA API  https://review.openstack.org/11998100:22
*** ryanpetrello has joined #openstack-ironic00:22
*** andreykurilin has quit IRC00:25
openstackgerritRuby Loo proposed openstack/ironic: Issue with FSM's _target_state  https://review.openstack.org/14230300:26
mrdadevananda: does it look like there will be a meetup in SFO the week after midcycle in Grenoble?00:27
devanandamrda: it's looking that way. there's a lot of interest ... and jroll / JayF have offered to host00:27
mrdaand that would be a valid excuse to go visit these guys \o/00:28
*** rloo_afk has quit IRC00:29
jrollcould be fun, we're in a good spot :)00:34
*** Masahiro has joined #openstack-ironic00:35
*** ryanpetrello has quit IRC00:37
naohirotgood morning to all00:39
*** ijw has quit IRC00:39
mrdahi naohirot00:39
naohirotmrda: hi00:39
*** Masahiro has quit IRC00:39
jrolldevananda: mrda: so basically, if there isn't an official midcycle in SF area, we're going to host an unofficial one. you should come either way.00:43
mrdajroll: that's probably enough for me to start talking to the powers that be00:44
* naohirot mrda: I just watched Yahoo News about Wild Fire00:44
jrollmrda: cool, I'd hold off on hotel until devananda confirms SF and not, say, sunnyvale, but other than that do it up00:48
mrdanaohirot: The fire is only 10 mile away from me00:49
devanandajroll: by official vs. unofficial, is there really anything more than me saying something on the mailing list?00:49
devanandajroll: also, if you want to recommend a hotel and sturff, we should, you know, say that, too00:49
naohirotmrda: really?00:49
jrolldevananda: heh, idk.00:49
mrdadevananda: jroll: so we're looking the week of Feb 9 - Feb 13 ish00:50
JayFdevananda: let me see if we have a standard list of places or smth00:50
jrollrussell_h: you have hotel recs around here?00:50
devanandaif you guys want it to be official and such, it'll get more attention00:50
mrdanaohirot: yep, it's pretty close.  I can smell and see smoke from my front door00:50
devanandaand I will need to know max headcount, things like that00:50
jrollright, I guess what I'm saying is if you say no meetup here, we're going to have our own :P00:50
JayFjroll: I was going to ask $recruiter_people since they likely do reccomendations for incoming folks?00:50
jrollJayF: that might work00:51
jrollor ask clif_h where he stayed00:51
devanandajroll: JayF: since it's the bay area, I would generally expect a lot of drop-ins as well00:51
jrolldevananda: yep. lemme grab info00:51
devanandado ya'll *want* 20 or 30 people, if that happens?00:51
naohirotmrda: Is it happening in east coast?00:51
jrollrussell_h: ^ you should talk to deva00:51
jrolldevananda: I'm thinking probably 30 max?00:52
russell_hjroll: we usually use the marriott courtyard across the street, its not amazing but it works00:52
* naohirot picture I watched is Cudlee Creek in South Australia 00:52
devanandarussell_h: please send me all the infos and/or edit https://wiki.openstack.org/wiki/Sprints/IronicKiloSprint to add it directly00:52
russell_hok, so confirmed we're doing it here then?00:53
jrollI guess so00:53
devanandarussell_h: I believe jroll just told me that you will do it whether I say yes or no00:53
russell_hor, doing a thing here anyway, not "it"00:53
devanandarussell_h: so the question becomes: do you want me to announce it or not?00:53
devanandaalso, ++ on JFDI00:53
russell_hheh00:53
JayFFrom a certain perspective; we have mid-cycle meetups daily ;)00:53
jrolldevananda: what I meant was is, if nothing happens in the bay area, we're going to have one. if you'd rather host it at HP or something, we're ok with that too00:54
jrollbut we have space00:54
jrolllet's jfdi00:54
devanandajroll: I love it when other people host. I'm waaay better as a guest at a party than as the host.00:54
jrollheh00:54
* naohirot mrda: near melbourne 00:55
russell_hdevananda: ok, let me confirm I've got the space, add the info to that wiki, then you announce00:55
devanandarussell_h: sounds good00:56
*** Masahiro has joined #openstack-ironic00:58
mrdanaohirot: Cudlee Creek is the other side of the bushfire to where I am.  I'm on the Golden Grove side of the fire.  The fire is about 200 km in diameter00:58
mrdanaohirot: there's another fire in Victoria near Melbourne.00:59
mrdanaohirot: but I am in Adelaide00:59
naohirotmrda: I see, I haven't been in Australia. so I'm looking at Google map right now01:00
openstackgerritDevananda van der Veen proposed openstack/ironic: Refactor async helper methods in conductor/manager.py  https://review.openstack.org/13921701:07
openstackgerritDevananda van der Veen proposed openstack/ironic: Convert drivers to use process_event()  https://review.openstack.org/14088301:07
openstackgerritDevananda van der Veen proposed openstack/ironic: Enable async callbacks from task.process_event()  https://review.openstack.org/14086801:07
openstackgerritDevananda van der Veen proposed openstack/ironic: Convert check_deploy_timeout to use process_event  https://review.openstack.org/14086901:07
openstackgerritDevananda van der Veen proposed openstack/ironic: WIP: fix some things in the state machine  https://review.openstack.org/14538901:07
devanandagah!01:07
devanandadidn' tmean to rebase all that01:07
devanandaanyhow, gotta run now01:07
devanandathat last one seems to fix some issues that rloo found (but not all)01:08
devanandasee ya'll tmw01:08
* naohirot mrda: now I understood where the fires are happening :)01:08
JayFwell 137217 was landing01:10
JayFI thought01:10
JayFwonder if it's not now01:10
JayFyeah someone needs to reapprove 13721701:10
* JayF would do it but he only has the big hammer for specs and ipa01:11
* naohirot mrda Adelaide is a beautiful city, isn't it. I'm walking a street in Google Map :)01:12
mrdanaohirot: that's a kind thing to say.  I choose to live here :)01:13
naohirotmrda: Yeah, it's very nice!01:13
naohirotmrda: I'd like to visit there some day, is there a plan to have open stack summit in Adelaide? :)01:16
*** ijw has joined #openstack-ironic01:17
mrdanaohirot: that would be great!  But I think a sprint is more likely.  We held linux.conf.au here 10 years ago :)01:17
naohirotmrda: I see. Yeah I think one of fun is attending International conference is site seeing near around. I believe Spring is the best :)01:20
openstackgerritAlex Weeks proposed openstack/ironic-python-agent: Added extension to support rescue mode  https://review.openstack.org/14538501:20
naohirotmrda: s/site/sight/01:20
mrda:)01:25
*** nosnos has joined #openstack-ironic01:27
naohirotmrda: (^_^) popular smiley here in Japan01:28
*** ijw has quit IRC01:39
*** ryanpetrello has joined #openstack-ironic01:48
*** ijw has joined #openstack-ironic01:53
*** ijw has quit IRC01:55
*** ryanpetrello has quit IRC01:58
*** lucasagomes has quit IRC02:24
openstackgerritMerged openstack/ironic: Hide oslo.messaging DEBUG logs by default  https://review.openstack.org/14536102:27
*** jerryz has joined #openstack-ironic02:29
openstackgerritNaohiro Tamura proposed openstack/ironic-specs: iRMC Virtual Media Deploy Driver for Ironic  https://review.openstack.org/13486502:32
*** ramineni has joined #openstack-ironic02:40
openstackgerritNaohiro Tamura proposed openstack/ironic-specs: iRMC Management Driver for Ironic  https://review.openstack.org/13602002:42
*** dlaube has quit IRC02:55
*** nosnos has quit IRC03:20
*** rlr0329 has quit IRC03:23
*** naohirot has quit IRC03:29
*** chlong has quit IRC03:41
*** chlong has joined #openstack-ironic03:42
*** chlong has quit IRC03:42
*** Nisha has joined #openstack-ironic03:44
*** chlong has joined #openstack-ironic03:44
*** pcrews has quit IRC03:44
*** chlong has quit IRC03:48
*** chlong has joined #openstack-ironic03:48
*** naohirot has joined #openstack-ironic04:04
*** teju has joined #openstack-ironic04:13
*** nosnos has joined #openstack-ironic04:15
*** Marga_ has quit IRC04:15
*** Marga_ has joined #openstack-ironic04:16
openstackgerritNisha Agarwal proposed openstack/ironic-specs: Discover node properties for iLO drivers  https://review.openstack.org/10300704:17
openstackgerritAnusha Ramineni proposed openstack/ironic-specs: Implement Cleaning Operations for iLO drivers  https://review.openstack.org/14240104:20
*** Marga_ has quit IRC04:20
*** rameshg87 has joined #openstack-ironic04:23
rameshg87good morning ironic04:24
openstackgerritMerged openstack/ironic: Refactor async helper methods in conductor/manager.py  https://review.openstack.org/13921704:32
rameshg87naohirot, hi04:41
naohirotrameshg87: hi04:41
rameshg87naohirot, regarding https://review.openstack.org/#/c/144901/404:43
naohirotrameshg87: thanks for reviewing it04:44
rameshg87naohirot, have you thought about moving scci.py to a separate module ?04:44
rameshg87naohirot, current we have all the ilo-related functionalities in a separate module called proliantutils04:44
naohirotrameshg87: such as proliant library?04:45
rameshg87naohirot, yeah04:45
rameshg87naohirot, it allows someone else to reuse your library outside ironic as well04:45
naohirotrameshg87: Yes, you are right04:46
rameshg87naohirot, and it's clean if those irmc-hardware-specific things are outside ironic and ironic just uses an api provided by your client04:46
naohirotrameshg87: in case of Fujitsu, we are not matured to contribute to open source.04:47
naohirotrameshg87: If I try to do so, I need to do a lot of chore.04:47
rameshg87naohirot, yeah, but it's the same way as contributing to ironic04:48
rameshg87naohirot, anyone can create a new repository in github and then publish a new module in PyPI04:48
rameshg87naohirot, that's all required04:48
rameshg87naohirot, this is another hardware vendor: https://github.com/seamicro/python-seamicroclient04:48
rameshg87naohirot, seamicro has done the same too04:48
naohirotrameshg87: let me clarify one thing.04:49
naohirotrameshg87: In case of seamicro, did they create the python-seamicroclient after or at the same time developing the ironic code?04:50
rameshg87naohirot, at the time actually04:50
rameshg87naohirot, we too did it at the time of developing ironic code :)04:50
naohirotrameshg87: I see. How about proliantutils?04:51
rameshg87naohirot, the same ..04:51
rameshg87naohirot, a quick look04:51
naohirotrameshg87: I see. I thought that proliantutils had existed before Ironic.04:51
rameshg87naohirot, if we refactor irmc-specific-things outside04:51
rameshg87naohirot, scci.py, test_scci.py is moved outside which 1000-lines less in ironic :)04:52
rameshg87naohirot, and you could maintain it outside ironic04:52
naohirotrameshg87: I understood.04:53
rameshg87naohirot, proliantutils was developer in parallel while developing ilo driver in ironic04:53
rameshg87s/developer/developed/04:53
naohirotrameshg87: Regarding the line of code, is that the matter of Ironic?04:54
rameshg87naohirot, idk actually ..04:54
rameshg87naohirot, but i would also say it's a lot cleaner if it's outside ironic since it is irmc-hardware-specific04:55
naohirotrameshg87: I agree it's cleaner.04:56
naohirotrameshg87: For future activity, I'd like to know the way of thinking regarding the line of code in Ironic or OpenStack.04:57
rameshg87naohirot, i didn't get04:57
naohirotrameshg87: You said that scci.py and test_sccy.py total number of lines is 1000.04:58
rameshg87naohirot, ah that was just a number04:58
naohirotrameshg87: Increasing 1000 lines of code is too much?04:59
rameshg87naohirot, i just wanted to convey that 1/4th of the code (1000 out of 4000) was specific to irmc-hardware and could be moved out :)04:59
naohirotrameshg87: I see. I understood.05:00
naohirotrameshg87: How about test data xml. It's total 2500 lines of data.05:00
rameshg87naohirot, yeah but it was just test data for your test_scci.py right ?05:01
rameshg87naohirot, so that too could be moved out, right ?05:01
naohirotrameshg87: At this moment, yes.05:01
rameshg87naohirot, yeah05:02
naohirotrameshg87: But that data is used in Management Interface05:02
rameshg87naohirot, yeah but in reality it could be moved out of management interface, right ?05:03
naohirotrameshg87: So I needs to check in XML data when I check in iRMC Management Driver.05:03
rameshg87naohirot, all management interface needs to know if how to set the boot device and your python-irmcclient could provide an api to do that05:03
rameshg87naohirot, how python-irmcclient does that is it's job05:04
naohirotrameshg87: I'm talking about get_sensor_data().05:04
naohirotrameshg87: XML data has sensor data inside.05:04
rameshg87naohirot, yeah, but it can be ideally part of python-irmcclient05:05
rameshg87naohirot, and irmcclient could just provide an api for irmc ironic driver to do the job05:05
rameshg87naohirot, irmc driver in ironic needn't worry about xmls if irmcclient can actually give the data in form of python dictionaries05:07
*** Marga_ has joined #openstack-ironic05:07
naohirotrameshg87: Okay, I'll try to do test in irmcclient package as much as possible05:07
*** Marga_ has quit IRC05:08
*** Marga_ has joined #openstack-ironic05:08
rameshg87naohirot, yeah, what i meant was to move as much as possible irmc-hardware-specific into irmcclient05:08
rameshg87naohirot, in my opinion irmc driver in ironic just needs a few APIs from irmcclient to do the job05:09
naohirotrameshg87: Yes, I understood.05:09
rameshg87naohirot, APIs like client.set_power_state(), client.get_power_state(), client.get_boot_device(), etc05:09
rameshg87naohirot, yeah :)05:09
rameshg87naohirot, and one more thing05:09
rameshg87naohirot, i see https://review.openstack.org/#/c/134865/ is still not rebased as a dependent of management interface05:10
rameshg87naohirot, i guess that's what JayF meant05:11
naohirotrameshg87: really?05:11
naohirotrameshg87: I did rebase this morning. How did you know rebase is not enough?05:11
rameshg87naohirot, it should come as a dependency05:12
* rameshg87 gets a example05:12
rameshg87naohirot, have a look at https://review.openstack.org/#/c/142401/05:12
rameshg87naohirot, in the gerrit review you will see this review depends on "Implement Cleaning States" which is https://review.openstack.org/#/c/102685/2205:13
*** krtaylor has quit IRC05:13
rameshg87naohirot, and this is how we do it : https://wiki.openstack.org/wiki/Gerrit_Workflow#Add_dependency05:13
rameshg87naohirot, if you add A as gerrit dependency of B, gerrit will make sure that B doesn't get merged before A05:14
naohirotrameshg87: Aha, I got it. As I just started to code iRMC Management driver, I created the dependency between iRMC Power driver code.05:15
rameshg87naohirot, okay :)05:16
naohirotrameshg87: I need to do the same in case of spec.05:16
rameshg87naohirot, yes05:16
openstackgerritAnusha Ramineni proposed openstack/ironic-specs: Add Zapping support to iLO drivers  https://review.openstack.org/14540405:17
naohirotrameshg87: How should I create dependency? Deploy depends on Management, Management depends on Power, is it Okay?05:17
*** pradipta_away is now known as pradipta05:20
naohirotrameshg87: master <- Power <- Management <- Deploy, this is what I'm thinking.05:20
rameshg87naohirot, but power is already merged right05:20
rameshg87naohirot, and your management in independent05:21
rameshg87naohirot, so it's just deploy depends on management05:21
naohirotrameshg87: Oh, Ok. that's simpler.05:21
naohirotrameshg87: I'll fix that.05:21
rameshg87naohirot, okay05:22
*** Haomeng|2 has joined #openstack-ironic05:23
*** Haomeng has quit IRC05:23
naohirotrameshg87: I'll take a look how to creat PyPI package. Maybe I'll ask you if there is question how to do.05:23
rameshg87naohirot, sure05:23
naohirotrameshg87: thanks!05:24
rameshg87naohirot, wc05:24
*** krtaylor has joined #openstack-ironic05:25
tejurameshg87 : hi. can u please help me with https://ask.openstack.org/en/question/56956/failed-to-deploy-error-cannot-call-save-on-orphaned-node-object/?05:31
*** pensu has joined #openstack-ironic05:33
rameshg87teju, first question is why are you trying to set node.provision_state = states.NOSTATE at the end of deploy05:34
rameshg87teju, it should be actually node.provision_state = states.ACTIVE, right ?05:34
tejurameshg87 : if node.provision_state = states.ACTIVE, then we cannot provision the same node again.right?05:35
rameshg87teju, you will need to tear_down the node before provisioning it again05:36
rameshg87teju, by doing ironic node-set-provision-state <node-uuid> deleted05:36
tejurameshg87 : hmmm...ok05:37
tejurameshg87 : i dont see the comamnd "node-set-provision-state" ...is it added in juno?05:39
rameshg87teju, ironic node-set-provision-state05:39
rameshg87teju, yeah may be it was added in juno05:39
tejurameshg87 : ok.05:42
tejurameshg87 : in the pxe.py in https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/pxe.py , i see node.provision_state = states.ACTIVE node.target_provision_state = states.NOSTATE. i thought I can use the same idea in my driver code05:45
rameshg87teju, yeah05:45
rameshg87teju, that's the same thing i meant05:45
rameshg87teju,  node.provision_state = states.ACTIVE at the end of deploy if deploy was successful05:45
naohirotrameshg87: can I ask about https://github.com/hpproliant repository?05:50
rameshg87naohirot, sure05:50
naohirotrameshg87: Why doesn't "hpproliant" have hyper-like? Is it HP's account?05:51
Nisha /join #openstack-nova05:52
naohirotrameshg87: I know that ramineni checked in the code into https://github.com/hpproliant/proliantutils05:52
naohirotrameshg87: Sorry, each account's homepage itself doesn't have hyper-link uder the left-upper corner icon.05:54
naohirotrameshg87: s/uder/under/05:54
rameshg87naohirot, there are multiple people working on it05:55
rameshg87naohirot, so we created one account for all of us05:55
naohirotrameshg87: Anyway I believe "hpproliant" is one of HP's account.05:55
*** eghobo has joined #openstack-ironic05:56
naohirotrameshg87: Okay, I have to start to searching my company's id :)05:57
rameshg87naohirot, it's not hp's account. rather our group uses that account :)05:58
naohirotrameshg87: I see. I'm doubting that my company has such that flexibility :-)05:59
rameshg87naohirot, :)06:00
*** Marga_ has quit IRC06:31
*** Marga_ has joined #openstack-ironic06:31
*** eghobo has quit IRC06:33
*** lintan has quit IRC06:43
openstackgerritNaohiro Tamura proposed openstack/ironic-specs: iRMC Virtual Media Deploy Driver for Ironic  https://review.openstack.org/13486506:57
*** Masahiro has quit IRC07:03
*** Masahiro has joined #openstack-ironic07:03
*** dlpartain has joined #openstack-ironic07:16
*** Masahiro has quit IRC07:24
*** Masahiro has joined #openstack-ironic07:30
*** Masahiro has quit IRC07:33
*** dlpartain has left #openstack-ironic07:45
*** ifarkas has joined #openstack-ironic07:45
*** subscope has joined #openstack-ironic07:57
*** pcaruana|afk| is now known as pcaruana08:04
*** Nisha has quit IRC08:05
*** chlong has quit IRC08:07
*** yuanying has joined #openstack-ironic08:16
*** yuanying_ has quit IRC08:17
*** Nisha has joined #openstack-ironic08:29
*** kongfy has joined #openstack-ironic08:33
*** dtantsur|afk is now known as dtantsur08:42
dtantsurMorning Ironic08:43
*** Masahiro_ has joined #openstack-ironic08:57
*** pcaruana has quit IRC08:59
*** nosnos has quit IRC09:00
*** erwan_taf has joined #openstack-ironic09:00
*** nosnos has joined #openstack-ironic09:01
*** jcoufal has joined #openstack-ironic09:07
Nishadtantsur, morning09:07
dtantsurNisha, o/09:07
*** nosnos has quit IRC09:08
Nishadtantsur, https://review.openstack.org/#/c/103007/27 ready for review :)09:08
dtantsuryeah on my radar09:09
Nisha:)09:09
*** nosnos has joined #openstack-ironic09:10
*** pcaruana has joined #openstack-ironic09:13
*** romcheg has joined #openstack-ironic09:13
*** jistr has joined #openstack-ironic09:14
*** smoriya has quit IRC09:16
*** athomas has joined #openstack-ironic09:17
*** jiangfei has quit IRC09:23
*** GheRivero has quit IRC09:23
*** GheRivero has joined #openstack-ironic09:23
*** jiangfei has joined #openstack-ironic09:23
rameshg87erwan_taf, hi09:45
*** kongfy has quit IRC09:50
erwan_tafhey rameshg8709:53
erwan_taframeshg87: just commented the use case ;)09:53
rameshg87erwan_taf, got it :)09:54
erwan_tafhope it makes sense for you09:54
rameshg87erwan_taf, yeah, i am open to adding it.09:54
erwan_tafyou didn't commented about adding the model name09:55
rameshg87erwan_taf, doesn't vendor serve that use-case ?09:55
rameshg87erwan_taf, or you would like to have precise model name as well ?09:56
rameshg87erwan_taf, but i am afraid the more we add more vendor-specific things - the more we are limiting the applicability of machine-independent configuration09:56
rameshg87erwan_taf, like firmware version and model name are specific to specific-hardware09:57
rameshg87erwan_taf, like i will start needing to provide separate raid information for hp machines, separate one for dell machines09:57
rameshg87erwan_taf, that worries me :(09:58
rameshg87dtantsur, ifarkas, have some thoughts on the above ^^^09:58
erwan_tafI do agree that collecting those information will vary from vendors but if you look at the use case, that's generic09:59
rameshg87dtantsur, ifarkas, adding model name and firmware version also to the selection criteria09:59
erwan_tafI mean, an ATA-7 device is featuring thoses information09:59
*** MattMan has joined #openstack-ironic10:00
ifarkasrameshg87, I see the value of adding firmware and model name. If we want Ironic to make a smart decision, it should be as broad as it can be10:03
ifarkasrameshg87, maybe we should make this matching more generic to support arbitrary properties...10:03
dtantsurI'm not that familiar with RAID, sorry :)10:04
*** derekh has joined #openstack-ironic10:05
rameshg87ifarkas, but then matching of arbitarary properties would be driver dependent10:07
rameshg87ifarkas, erwan_taf, for now what ever we have added every raid controller (hopefully) should be able to do10:07
rameshg87ifarkas, erwan_taf, i agree firmware and model name should be findable by every raid controller10:08
rameshg87ifarkas, erwan_taf, but if we support arbitarary things - it might work for one driver and might not work for another driver10:08
rameshg87ifarkas, erwan_taf, and that might defeat our purpose, right ?10:09
*** andreykurilin has joined #openstack-ironic10:09
ifarkasrameshg87, yeah, that's a good point10:13
rameshg87ifarkas, erwan_taf, may be if the raid picks up, let's add support for more in increments10:14
*** bigjools has quit IRC10:14
rameshg87ifarkas, erwan_taf, we could start versioning input raid info - like whatever we support till now (say interface_type, disk_type, vendor, etc) is raid info version 110:15
*** jiangfei has quit IRC10:15
rameshg87ifarkas, erwan_taf, when there is a popular demand for a couple of more features from raid_info, we could add more and increment raid info version10:16
*** jiangfei has joined #openstack-ironic10:16
ifarkasrameshg87, works for me10:17
*** naohirot has quit IRC10:17
rameshg87erwan_taf, what do you say ?10:18
erwan_tafI'm not really minded the same way and I know it is not very popular here. I mean, if you miss that information at the time you really needs it ... it will requires long time to get it onboard...10:20
erwan_tafwhile it doesn't really cost adding it right now10:20
*** bigjools has joined #openstack-ironic10:26
*** Nisha_away has joined #openstack-ironic10:32
*** Nisha has quit IRC10:36
*** Nisha_away has quit IRC10:36
*** chlong has joined #openstack-ironic10:38
*** Masahiro_ has quit IRC10:41
*** Masahiro has joined #openstack-ironic10:43
openstackgerritImre Farkas proposed openstack/ironic: DRAC specific RAID methods  https://review.openstack.org/14546410:43
*** andreykurilin has quit IRC10:52
*** andreykurilin has joined #openstack-ironic10:52
openstackgerritImre Farkas proposed openstack/ironic: DRAC specific RAID methods  https://review.openstack.org/14546410:53
*** ramineni has quit IRC10:57
*** Masahiro has quit IRC11:00
*** Masahiro has joined #openstack-ironic11:00
*** lucasagomes has joined #openstack-ironic11:05
erwan_taframeshg87: did you understood the share_physical_disks use case ? I'm totally lost with it11:06
*** Masahiro has quit IRC11:06
rameshg87erwan_taf, o dodm11:06
rameshg87erwan_taf, i didn't see you had replied11:07
rameshg87erwan_taf, because it didn't alert me11:07
rameshg87erwan_taf, it's almost time for me to leave for home11:08
rameshg87erwan_taf, i will be connecting back later11:08
erwan_tafsure11:08
erwan_tafsee ya11:08
rameshg87erwan_taf, bye11:08
*** chlong has quit IRC11:08
*** rakesh_hs2 has joined #openstack-ironic11:08
*** rameshg87 has quit IRC11:09
*** pelix has joined #openstack-ironic11:09
*** andreykurilin has quit IRC11:10
*** GheRivero has quit IRC11:15
*** GheRivero has joined #openstack-ironic11:21
openstackgerritMerged stackforge/ironic-discoverd: Make database a required configuration option  https://review.openstack.org/14523111:26
*** GheRivero has quit IRC11:33
*** GheRivero has joined #openstack-ironic11:34
*** pradipta is now known as pradipta_away11:41
*** GheRivero has quit IRC11:44
*** jcoufal_ has joined #openstack-ironic11:45
*** Masahiro has joined #openstack-ironic11:47
*** Masahiro has quit IRC11:47
*** Masahiro has joined #openstack-ironic11:48
*** jcoufal has quit IRC11:49
*** GheRivero has joined #openstack-ironic11:50
*** romcheg has quit IRC11:54
*** alexpilotti has joined #openstack-ironic11:57
*** david-lyle_afk is now known as david-lyle11:58
*** rakesh_hs2 has quit IRC12:17
*** romcheg has joined #openstack-ironic12:19
*** teju has quit IRC12:25
*** Masahiro has quit IRC12:26
*** pensu has quit IRC12:30
*** dprince has joined #openstack-ironic12:33
*** athomas has quit IRC12:35
*** athomas has joined #openstack-ironic12:38
*** lazy_prince is now known as killer_prince12:38
*** athomas has quit IRC12:38
*** athomas has joined #openstack-ironic12:40
*** nosnos has quit IRC12:43
*** ryanpetrello has joined #openstack-ironic12:44
*** MattMan is now known as MattMan-Away12:48
*** GheRivero has quit IRC12:53
*** GheRivero has joined #openstack-ironic12:53
*** dlpartain has joined #openstack-ironic13:00
*** david-lyle is now known as david-lyle_afk13:08
*** rameshg87 has joined #openstack-ironic13:11
*** naohirot has joined #openstack-ironic13:12
rameshg87erwan_taf, hi13:14
erwan_tafhey13:16
erwan_tafdid you understood the "share_physical_disks" case ?13:16
erwan_tafI wasn't able to figure what it really means13:16
rameshg87erwan_taf, yeah as far as i understand13:16
rameshg87erwan_taf, we could create a single array with say 5 disks13:17
rameshg87erwan_taf, and  then create multiple logical disks of different raid levels in the same array until the array runs out of space13:17
rameshg87erwan_taf, the logical disks part of the same raid array will share same physical disks13:17
openstackgerritMatthew Gilliard proposed openstack/ironic: Check glance for new kernel and ramdisk on prepare  https://review.openstack.org/14278213:19
*** GheRivero has quit IRC13:20
erwan_taframeshg87: I didn't understood why we need an option for that13:21
erwan_taframeshg87: I mean, is it a property required at creation time ?13:21
rameshg87erwan_taf, it will be a hint to the driver which selects the physical disks for the logical disk13:22
rameshg87erwan_taf, for example, say if we have 4x600 GB disks P1, P2, P3, P413:23
rameshg87erwan_taf, and we need 2 logical disks of raid 1 L1 and L213:23
rameshg87erwan_taf, say logical disks of 200 GB13:23
rameshg87erwan_taf, if share_physical_disks = true, then we can create a raid array A with P1 and P2, and create both logical disks L1 and L2 on raid array A13:24
openstackgerritTan Lin proposed openstack/ironic: Regard 'method' as a mandatory argument for VendorInterface.validate()  https://review.openstack.org/14426513:25
rameshg87erwan_taf, if share_physical_disks = false, then we have to create two raid arrays - raid array A with P1 and P2; raid array B with P3 and P4; then create L1 on raid array A and L2 on raid array B13:25
rameshg87erwan_taf,  share_physical_disks = false should perform better because simultaneous writes to 2 logical disks will be done on different disks13:26
rameshg87erwan_taf, it is just a hint to the driver on how to choose the physical disk13:26
*** GheRivero has joined #openstack-ironic13:26
openstackgerritDmitry Tantsur proposed openstack/ironic-specs: In-band hardware properties inspection via ironic-discoverd  https://review.openstack.org/13560513:27
*** Masahiro has joined #openstack-ironic13:27
*** andreykurilin has joined #openstack-ironic13:27
rameshg87lucasagomes, hi13:28
lucasagomesrameshg87, hi there13:30
rameshg87lucasagomes, regarding https://review.openstack.org/#/c/130812/4/specs/kilo/new-ipxe-driver.rst13:30
rameshg87lucasagomes, was just wondering what happens to it when we have a non-glance image13:30
*** jcoufal_ has quit IRC13:31
*** jcoufal has joined #openstack-ironic13:31
lucasagomesrameshg87, the ramdisks and kernels you mean?13:31
rameshg87lucasagomes, yeah13:31
*** Masahiro has quit IRC13:32
rameshg87lucasagomes, https://review.openstack.org/#/c/136741/13:32
rameshg87lucasagomes, in the above we are adding support for providing kernel/ramdisk from both http:// and file://13:33
lucasagomesrameshg87, yeah probably won't be supported, since we need a HTTP server13:33
rameshg87lucasagomes, http:// is fine, ipxe will gladly accept it :)13:33
rameshg87lucasagomes, but file:// will fail13:33
lucasagomeswhen I wrote that spec the non-glance thing wasn't merged yet13:33
lucasagomesyeah13:33
lucasagomesunless we make those images available using the Ironic API13:33
lucasagomesbut I don't think we want to do that13:33
lucasagomesmaybe it's better to not support the file:// for the ramdisks13:34
rameshg87lucasagomes, yeah, but the support is being added in a generic way13:34
rameshg87lucasagomes, if file:// works for os-image, then file:// works for ramdisks too :)13:35
rameshg87lucasagomes, may be we can just document that it doesn't work with file:// and leave it, right ?13:35
lucasagomesI believe so, we can fail validation if images in that driver uses file://13:35
rameshg87lucasagomes, yeah13:36
lucasagomessince the idea is be stateless we can't have local iamges13:36
lucasagomesimages*13:36
rameshg87lucasagomes, :)13:36
* lucasagomes wants to have more time to work on that driver :(13:36
lucasagomesrameshg87, but yeah, I have to update that spec13:37
lucasagomesand include that observation, at the time I wrote it non-glance images wasn't a thing yet13:37
rameshg87lucasagomes, yeah13:37
rameshg87lucasagomes, but it's a great change. you don't need to cache kernel/ramdisk anymore on the conductor after that :)13:38
lucasagomesyup, not pxe config files13:38
lucasagomesanything13:38
rameshg87lucasagomes, no more failures if conductor goes down :)13:38
lucasagomesyeah, the take over will be straight forward13:38
rameshg87lucasagomes, unless it goes down during deploy13:38
lucasagomesyeah but then there's the retry filter in nova13:39
lucasagomesthat will resend the deploy request and this time (in case conductor is now down) will go to another conductor13:39
rameshg87lucasagomes, oh okay13:41
erwan_taframeshg87: doesn't sounds really determinastic at my taste...13:44
rameshg87erwan_taf, what do you mean by that ?13:45
*** dlpartain has left #openstack-ironic13:45
*** lintan_ has joined #openstack-ironic13:49
erwan_taframeshg87: oh that means that you can have several logical_disks pointed the same physical_disk if share_physical_disks is true ?13:50
*** kbyrne has quit IRC13:50
rameshg87erwan_taf, yeah13:51
erwan_taframeshg87: can we have some sample config for Backing physical disk hints ?13:53
erwan_tafI don't really get how you'll use all those information to create configuration13:53
rameshg87erwan_taf, i guess it's there in spec13:53
rameshg87erwan_taf, http://docs-draft.openstack.org/99/135899/15/check/gate-ironic-specs-docs/3701904//doc/build/html/specs/kilo/ironic-generic-raid-interface.html13:54
rameshg87erwan_taf, look for "Some examples"13:54
*** jjohnson2 has joined #openstack-ironic13:55
erwan_taframeshg87: I saw them but didn't understood as I should13:57
erwan_taframeshg87: I don't get why we cannot merge both approach13:57
erwan_taframeshg87: in fact we are defining another "physical_disks" structure withtout saying so13:57
rameshg87erwan_taf, in example 1, we use machine-independent configuration. if i had 10 machines, i could apply same on all 10 machines without inspecting them13:58
erwan_tafnumber_of_physical_disks is in fact the size of a possible "physical_disks" struct13:58
rameshg87erwan_taf, in example 2, operator will need to inspect each of 10 machine to create a configuration13:58
erwan_tafand 'interface_type, vendor etc... is just another way of selecting the required physical disk13:58
erwan_tafin one case we use the location as input, in the other case it's based on vendor/size/model information13:59
rameshg87erwan_taf, yes13:59
rameshg87erwan_taf, we could do it without vendor/size/model too if we want13:59
erwan_tafI mean, we could have a single way of writting this stuff instead of 214:00
rameshg87erwan_taf, it will still do with just 2 inputs - disk_size_gb and raid_level14:00
erwan_tafthis is just another way of describing the criteria of physical_disks14:00
rameshg87erwan_taf, i just wanted to give 2 different examples of doing it14:01
rameshg87erwan_taf, may be i still didn't get your question14:04
erwan_taframeshg87: I mean, we can input almost the same information in different format14:08
rameshg87erwan_taf, can you give me an example of yours ?14:08
erwan_taf        'physical_disks': [ ...]14:09
erwan_tafwe do that, the amount of disks is implicit14:09
erwan_tafwhile when we want to give "hints" we have to provide The 'number_of_physical_disks'14:09
rameshg87erwan_taf, yes14:09
*** killer_prince is now known as lazy_prince14:10
*** MattMan-Away is now known as MattMan14:10
erwan_tafIf I use the "Backing physical disks" method, I cannot mix different vendors/model/fw14:10
erwan_taf+hints14:10
rameshg87erwan_taf, i guess you don't need to14:11
erwan_tafwhy not ?14:11
rameshg87erwan_taf, because you have already specified which disks you want, you no longer need to provide hints14:11
erwan_tafdoes physical_disks allow me to select a disk by vendor/size/model ?14:11
erwan_tafI only saw by location14:12
rameshg87erwan_taf, ah it's not location actually14:12
erwan_tafthat was my point14:12
rameshg87erwan_taf, it's supposed to be a identifier for the driver to identify the exact disk14:12
erwan_tafso we could need differents hints to select different disks of the same array14:13
rameshg87erwan_taf, in most cases it happens to be the location14:13
erwan_tafthis is why we need an array of information14:13
erwan_tafthe location doesn't guarantee anything...14:13
rameshg87erwan_taf, the location identifies an exact disk, right ?14:13
erwan_tafjust a location, not properties14:14
rameshg87erwan_taf, for example in a hp box14:14
rameshg87erwan_taf, if i mean controller="Smart Array P822 in Slot 2" and physical disk = "5I:1:1" in it14:14
rameshg87erwan_taf, there is only one disk14:14
rameshg87erwan_taf, and you want to use that disk on the machine14:15
rameshg87erwan_taf, so you don't need to provide any more hints because you are asking the driver to use the specific disks14:15
erwan_tafIn my mind, the location is the result of a detection of some disks properties14:15
erwan_taf"I want to create a raid L5 of X disks which have Y size and Z vendor and W model"14:16
rameshg87http://paste.openstack.org/show/155849/14:19
rameshg87erwan_taf, you can have something like this as input for the above ^^^14:19
rameshg87erwan_taf, right ?14:19
*** lucasagomes is now known as lucas-hungry14:20
erwan_taframeshg87: sorry, I meant, we want to create raid based on properties. The location isn't really important at my taste14:21
rameshg87erwan_taf, yeah but there are people who want location too14:21
erwan_tafnow, if I want to create a array mixing various vendors, without knowning the location, in the current state of the propoal, I can't14:21
rameshg87erwan_taf, that's where the location-based input can help you14:22
*** rloo has joined #openstack-ironic14:22
rameshg87erwan_taf, you could write your own script (say you want mix various vendors) to find physical disks of a machine and create a raid configuration14:22
erwan_tafso I meant that in fact we do want an array like physical_disks[] which provides the flexibility but where every disk can be defined by various methods (location, vendor, name, etc..)14:22
rameshg87erwan_taf, we can have a large number of ways to find disks and each one just opens up use-cases for different user. i agree.14:23
rameshg87erwan_taf, but for a starting we wanted to limit the number of ways to find the disk and make it simple for operator.14:24
rameshg87erwan_taf, and do things on a incremental basis14:24
rameshg87erwan_taf, rather than doing everything in the first shot14:24
rameshg87erwan_taf, if we want to have more properties OR we want it to be generic, we can always do it in a second attempt14:24
rameshg87erwan_taf, or a third attempt14:24
rameshg87erwan_taf, but for a start this was my proposal14:25
rameshg87erwan_taf, does that make sense ?14:25
rameshg87erwan_taf, i need to go now . would be back in a hour or so after dinner. we can continue to discuss if we want14:28
erwan_tafI do understand the goal. My fear is getting something that only works for easy cases which will require to rework it later :/14:28
rameshg87erwan_taf, yeah but we could do it incrementally ..14:28
rameshg87erwan_taf, start with an easy one, and get bigger step-by-step14:29
*** jerryz has quit IRC14:30
openstackgerritNaohiro Tamura proposed openstack/ironic: Add iRMC Driver and its iRMC Power module  https://review.openstack.org/14490114:35
*** rameshg87 is now known as rameshg87-dinner14:36
*** naohirot has quit IRC14:38
*** jerryz has joined #openstack-ironic14:42
*** rameshg87-dinner has quit IRC14:51
*** kbyrne has joined #openstack-ironic14:52
*** jjohnson2 has quit IRC14:55
*** jjohnson2_ has joined #openstack-ironic14:55
*** rlr0329 has joined #openstack-ironic14:56
*** jistr has quit IRC14:57
*** lucas-hungry is now known as lucasagomes14:57
*** jistr has joined #openstack-ironic14:59
NobodyCamgood morning15:06
NobodyCam:)15:06
*** Marga_ has quit IRC15:10
Shrewsmorning NobodyCam15:10
NobodyCammorning Shrews :)15:10
dtantsurNobodyCam, Shrews, morning15:10
NobodyCammorning dtantsur :)15:11
Shrewshey dtantsur15:12
*** lazy_prince is now known as killer_prince15:14
*** Masahiro has joined #openstack-ironic15:16
openstackgerritMerged openstack/ironic: Add a fsm state -> dot diagram generator  https://review.openstack.org/14288715:16
*** ryanpetrello_ has joined #openstack-ironic15:17
*** ryanpetrello has quit IRC15:19
*** ryanpetrello_ is now known as ryanpetrello15:19
*** Masahiro has quit IRC15:21
NobodyCamrloo: are you about?15:23
rloohi NobodyCam. Morning.15:24
NobodyCammorning :) I have a quick question:15:24
openstackgerritMatthew Gilliard proposed openstack/ironic: Check glance for new kernel and ramdisk on prepare  https://review.openstack.org/14278215:25
NobodyCamre: the comment here: https://review.openstack.org/#/c/140868/6/ironic/conductor/task_manager.py15:25
NobodyCamyou looking for wording changes in the comemnts?15:25
rlooyeah, wording change.15:25
rloothe 'Note that this does not alter the Node in any way' -- refers to if InvalidState is raised, right?15:26
NobodyCam:) ack thats my understanding15:26
rlooNobodyCam: I'm not even sure if that note is necessary15:27
rlooNobodyCam: I suppose it could say 'If InvalidState is raised, the Node won't be altered.'?15:28
NobodyCamthats what I was thinking too15:28
NobodyCam:)15:28
dtantsurrloo, morning15:29
rlooafternoon dtantsur15:29
NobodyCambrb15:33
*** dkingshott has joined #openstack-ironic15:35
*** zz_jgrimm is now known as jgrimm15:36
* NobodyCam needs to run to starbuck as he is out of coffee.... bbiafm15:37
rloohey dtantsur, so DiscoverdInspect will start the ball rolling wrt invoking ironic-discoverd, and the node will be in 'inspect' state. during that time, someone could issue an ironic command to update the properties, as well as ironic-discoverd issuing an ironic command to update the properties?15:41
dtantsurrloo, yep15:42
dtantsurrloo, 3rdparty service is not different from a user15:42
rloodtantsur: so ironic-discoverd's ironic commands might not get through if the node is locked.15:42
dtantsurrloo, exactly. that's why we need to release lock  before calling to discoverd.15:43
rloodtantsur: well, I mean, if someone issues some ironic command that locks the node.15:43
dtantsurrloo, well yeah. new state machine should prevent too much crazyness, for parallel update retries inside discoverd should be enough15:44
*** subscope has quit IRC15:44
dtantsurby crazyness I mean someone scheduling deploy :)15:44
rloodtantsur: interesting. A deploy can't be scheduled cuz it is in inspect state, but we'll need to be careful about what is allowed in that state.15:45
dtantsurrloo, I guess it should be only update and power operations15:45
rloodtantsur: I guess you'll find out :-)15:45
dtantsur:)15:45
*** Marga_ has joined #openstack-ironic15:49
openstackgerritSteven Dake proposed openstack/ironic-specs: Override boot options via glance property  https://review.openstack.org/14423515:56
lucasagomesNobodyCam, rloo g'morning :D15:58
rloohi lucasagomes15:58
*** bradjones has quit IRC16:01
*** bradjones has joined #openstack-ironic16:01
NobodyCammorning lucasagomes16:02
*** andreykurilin has quit IRC16:02
rlooNobodyCam: were you going to update 140868?16:08
*** pcrews has joined #openstack-ironic16:09
openstackgerritSteven Dake proposed openstack/ironic: Add documentation to create in RegionOne  https://review.openstack.org/13984216:10
NobodyCamrloo: doing it now16:11
NobodyCamhad to run to get coffee16:11
rlooNobodyCam: I had some comments in a test file too16:12
NobodyCamrloo: yep taken care of them now16:13
rloothx NobodyCam16:13
NobodyCam:)16:14
rlr0329I am trying to configure the agent_ipmitool driver.  Some questions.16:15
rlr03291. What node driver_info properties does the agent driver require?  pxe_deploy_ramdisk and pxe_deploy_kernel?  Are these images created with the diskimage-builder deploy-ironic element?16:16
*** jistr has quit IRC16:18
*** jrist has quit IRC16:18
NobodyCamrlr0329: there is a ironic-agent element too16:21
NobodyCamrlr0329:  Bare Metal Provisioning | Status: http://bit.ly/ironic16:22
rlr0329NobodyCam:  I missed that :-(16:22
NobodyCamgah16:22
NobodyCamhttps://github.com/openstack/diskimage-builder/tree/master/elements/ironic-agent16:22
*** jrist has joined #openstack-ironic16:24
NobodyCamI would refer you to yuriyz who wrote that element16:25
*** jgrimm is now known as zz_jgrimm16:25
rlr0329NobodyCam:  oh yeah, I have that.  Not much in the README.  I have that ramdisk configured and can boot a server with it.   Now I just need to integrated it with ironic and swift16:25
NobodyCam:)16:26
*** jrist has quit IRC16:27
*** sdake has joined #openstack-ironic16:27
*** jrist has joined #openstack-ironic16:27
sdakedoes anyone happen to know, if you boot an ironic node and the image has cloud init installed, can cloud init actually get at the metadata service?16:27
rlr0329NobodyCam:  I had downloaded the ironic-python-agent project but I had missed the diskimage-builder element.   Looking at that16:27
sdaketypically the metadata is stored in a config drive, but not sure about bare metal booting with ironic16:28
mjturekhey devanada, I'm looking at a bug you marked as confirmed https://bugs.launchpad.net/ironic/+bug/1310131 and had a question. What is the expected behavior? I mean, there is an error in the logs already though it is a bit vague. Let me know if you have any insight!16:28
NobodyCamsdake: yes cloud init can work, if meta data service is setup16:28
openstackgerritMatthew Gilliard proposed openstack/ironic: Check glance for new kernel and ramdisk on prepare  https://review.openstack.org/14278216:29
NobodyCamj* are there any good first timer docs for creating the agent deploy ramdisk?16:29
*** jerryz has quit IRC16:30
rlr0329NobodyCam:   Looks like the ironic-agent element is for building your own ramdisk with Fedora.   I can use the prebuilt CoreOS ramdisk for now16:31
NobodyCamrlr0329: yep :)16:31
lucasagomessdake, for configdrive we have patches up for that too16:33
lucasagomessdake, nova: https://review.openstack.org/#/c/145235/ (last patch in the series); Ironic: https://review.openstack.org/#/c/145235/ (for PXE drivers, agent already supports it)16:34
*** jistr has joined #openstack-ironic16:34
*** Nisha has joined #openstack-ironic16:36
openstackgerritDmitry Tantsur proposed stackforge/ironic-discoverd: Add 'default' argument to conf.get* functions  https://review.openstack.org/14553616:36
*** krtaylor has quit IRC16:37
rlr0329I understand that the agent driver requires swift.  I have swift running.  Anything specific needs to be configured for IPA driver to use swift, i.e. ironic.conf?16:39
sdakelucasgomes lets say I want to use Juno, does something need to be configured for the metadata service since config drive sin't available?16:40
*** dtantsur is now known as dtantsur|afk16:41
*** ChuckC has quit IRC16:42
lucasagomessdake, I don't recall any specific configuration for the metadata service16:43
* lucasagomes looks a bit more16:44
lucasagomeshttps://bugs.launchpad.net/tripleo/+bug/123948116:45
sdakelucasgomes thanks :)16:46
NobodyCamrlr0329: you have temp url support enabled in swift?16:46
rlr0329NobodyCam: I think so16:47
sdakelucasgomes bummer, so its busted16:48
sdakeseems like a major flaw :(16:48
lucasagomesindeed :/16:48
*** krtaylor has joined #openstack-ironic16:50
*** coolsvap is now known as coolsvap|afk16:51
*** coolsvap|afk is now known as coolsvap16:51
*** coolsvap is now known as coolsvap|afk16:52
sdakeinteresting, need metadata server running on the host16:52
sdakerahter nuetorn-metadata service16:52
*** Marga_ has quit IRC16:59
*** Marga_ has joined #openstack-ironic17:00
*** jcoufal has quit IRC17:05
*** Masahiro has joined #openstack-ironic17:05
openstackgerritRuby Loo proposed openstack/ironic: Issue with FSM's _target_state  https://review.openstack.org/14230317:07
rlr0329I'm still confused as to which ramdisk and kernel the agent driver uses.17:09
rlr0329The pxe driver uses an image built with the deploy-ironic element to create the ramdisk that will expose the machine primary disk over iSCSI and reboot once Ironic signals it is finished.  Is the agent ramdisk used instead of that deploy-ironic image?17:09
JayFdtantsur|afk: thanks for spelling out the DHCP thing to me in the spec, I feel a little thickheaded for not understanding that right away :)17:09
JayFrlr0329: no17:09
JayFhttps://github.com/openstack/ironic-python-agent is the agent/ramdisk for the IPA driver17:09
JayFhttps://github.com/openstack/ironic-python-agent/tree/master/imagebuild/coreos is where the ramdisk builder lives, and there are links to prebuilt agents in that README17:09
*** Masahiro has quit IRC17:10
rlr0329JayF:  I have downloaded the prebuilt CoreOS agent ramdisk and I can boot that17:11
*** sbadia has quit IRC17:12
JayFrlr0329: that's the proper ramdisk for the agent driver :)17:12
JayFrlr0329: you can also build your own (really simple and documented in that earlier link) to embed utilities, custom hardware managers (to do cooler things with cooler hardware), and other stuff17:12
*** penick has joined #openstack-ironic17:14
rlr0329JayF:  Yup.  I have looked around that ramdisk.   I am just confused about the next step and how that links to the actual image I want to load on the hardware, i.e.  what image is used for the node properties so I can use the nova boot?17:14
sdakerlr0329 I explain how the agent deploys a node in my blog post here: http://sdake.io/2014/12/09/isnt-it-atomic-on-openstack-ironic-dont-you-think/17:15
sdakerather how ironic deploys a node17:15
sdakethere is a nice 12 step process :)17:15
sdakeit probably needs to be actually documented, I think it was suggested last year I should do that, maybe I will :)17:15
rlr0329sdake:  Cool!   Taking a look...17:15
sdakeits actually not particularly obvious unless you sepnd alot of time working with ironic, like atleast 30 hours17:16
JayFThat describes the flow with the pxe_* drivers17:17
JayFnow with the agent_* drivers17:17
*** Marga_ has quit IRC17:17
*** sbadia has joined #openstack-ironic17:17
*** Marga_ has joined #openstack-ironic17:17
sdaketrue17:18
JayFrlr0329: the agent ramdisk is a transport to getting your own image on the machine. Just like with virt cloud, you have to supply an image to write to the disk to boot. In devstack, this is always cirros (which is a very minimal, only really useful for testing OS). Any full-disk image should work for the agent_* drivers, and partial disk images are what pxe_* uses today17:18
sdakeI assume they are similar jayf17:18
JayFsdake: that's not a good assumption :)17:18
sdake:)17:18
*** rloo has quit IRC17:18
JayFsdake: in the agent, Ironic passes an http URL to IPA (Ironic python agent) which is downloaded *on the node* and written to the disk17:18
JayFsdake: this means you don't have a single bottleneck of network IO to a conductor ... but on the flip side, it also makes caching images more difficult17:19
sdakewow no iscsi17:19
sdakethat rocks17:19
JayFsdake: (right now the "http url" sent to IPA is generally a Swift temporary URL)17:19
JayFsdake: exactly.17:19
JayFsdake: agent_* ironic driver + IPA is what we're using at Rackspace today for OnMetal17:19
sdakeyou have to install an agent in the host vm?17:20
JayFNo; the agent runs in a ramdisk17:20
sdakenice!17:20
JayFbasically with pxe_*, you have a "dumb" ramdisk which does nothing but expose iscsi targets17:20
sdakeI'll have to try that out17:20
JayFwith agent_*, we move more of the logic/work into the ramdisk (which includes a full python agent) in order to distribute the work17:20
sdakewhat builds the agent ramdisk, dib?17:21
JayFThere's a set of DIB elements for IPA in the works; but right now  it requires 3GB of ram to even boot :(17:21
*** Marga_ has quit IRC17:21
JayFThe preferred builder for that (and the one we gate against) is here -> https://github.com/openstack/ironic-python-agent/tree/master/imagebuild/coreos17:21
sdakelot of ram17:21
rlr0329JayF:   What info , i.e. properties are used to create that URL so IPA knows which image to use?17:22
*** Marga_ has joined #openstack-ironic17:22
JayFrlr0329: it's sent in from nova, on the nova boot request17:22
JayFsdake: the builder I linked is based on CoreOS, and that one needs more like 1G of ram to work :)17:22
*** krtaylor has quit IRC17:23
JayFsdake: plus has SSH, and some other useful stuff baked in if you care to be able to observe the agent at work (of course, you have to get an SSH key into the image if you do that, which means either adding a cloud-config-url to your pxe boot or building a custom image)17:23
*** Marga_ has quit IRC17:23
*** Marga_ has joined #openstack-ironic17:24
rlr0329JayF:  IPA just uses the --image parameter to the nova boot command, i.e. no properties need to set on the node definitiion17:24
rlr0329JayF:  Is that correct?17:24
*** Marga_ has quit IRC17:24
JayFrlr0329: yes, but that image still has to be in glance backed by swift to work with the agent (so you can make a swift temp url for it) and there are some config settings around what users and such to talk to swift with to create the temp url17:24
JayFjroll: WTB docs :(17:25
*** Marga_ has joined #openstack-ironic17:25
jrollJayF: patches welcome :P17:25
jrollWTB time17:25
JayFtime welcome :P17:26
*** jistr has quit IRC17:26
*** penick has quit IRC17:26
rlr0329JayF:   That makes sense.  I have the images in glance backed by swift so sounds like I'm almost there....    Thanks for the clarification!17:26
jrollrlr0329: there are some config options to set in ironic wrt swift, as well as you need to set node.driver to agent_ipmitool or whatever power driver you're using17:27
rlr0329JayF:  I have the node.driver set.   Do you know what the ironic config options for swift are that need to be set?17:28
JayFthey should be in the sample config under the [agent] section17:29
JayFI only had to install Ironic once so I don't remember off the top of my head ;)17:29
jrollnot [agent] section afaik17:29
jrollrlr0329: sec, I'll grab them for you17:29
*** penick has joined #openstack-ironic17:30
lucasagomessdake, just reviewed 139842, it looks good but there's a rst syntax problem there17:30
sdakeok i'll fix17:30
lucasagomesif u want I can put a  new patch set fixing it17:30
lucasagomesit's very very minimal17:30
lucasagomesok17:30
lucasagomesthanks17:30
rlr0329jroll:  thanks!17:30
sdakelucasgomes interestingly enough it built with tox :)17:31
sdakeI thought I tried it before review before17:31
NobodyCamwoo hoo all hands call... :-p17:31
JayFA good trick is to do what lucasagomes did in the review, and click on the docs build when jenkins runs it on your change to go read the built doc and make sure it rendered right17:31
JayFIDK how to do that locally though :)17:31
sdakecool i'll try that17:32
lucasagomesJayF, you can do locally by opening... docs/build/html17:32
sdakewasn't quite sure what was wrong17:32
lucasagomes1 sec17:32
lucasagomessdake, JayF http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#building-developer-documentation17:32
lucasagomesfirefox ironic/doc/build/html/index.html17:33
jrollrlr0329: you need to set up swift with a temp url key (swift post -m "Temp-URL-Key: $SWIFT_TEMPURL_KEY"), and then in glance section, set: swift_temp_url_key, swift_endpoint_url, swift_api_version, swift_account, swift_container, swift_temp_url_duration. then all that's left is agent section: heartbeat_timeout. also node.driver_info['deploy_kernel'] rather than 'pxe_deploy_kernel'17:33
jroll(same for ramdisk)17:33
*** Marga_ has quit IRC17:35
*** chuckC_ has joined #openstack-ironic17:35
rlr0329jroll:  I see those swift properties and that makes sense.   So for the node.driver_info   Those properties refer to the kernel and ramdisk of the full disk image?17:35
*** Marga_ has joined #openstack-ironic17:35
jrollrlr0329: no, of the agent ramdisk17:36
jrolla "full disk image" means the kernel/ramdisk are embedded in the image17:36
openstackgerritChris Krelle proposed openstack/ironic: Enable async callbacks from task.process_event()  https://review.openstack.org/14086817:36
NobodyCamrloo: around?17:37
rlr0329jroll:  so I need to load the agent ramdisk and kernel into glance/swift as well?17:37
*** ifarkas has quit IRC17:37
jrollrlr0329: yes, it's the same with the pxe driver17:37
rlr0329jroll:  ok.  Thanks!17:38
*** Marga_ has quit IRC17:39
*** Marga_ has joined #openstack-ironic17:40
openstackgerritSteven Dake proposed openstack/ironic: Add documentation to create in RegionOne  https://review.openstack.org/13984217:40
*** Marga_ has quit IRC17:41
*** Marga_ has joined #openstack-ironic17:41
NobodyCamanyone got a second to review my updates to https://review.openstack.org/14086817:44
*** pensu has joined #openstack-ironic17:44
*** EmilienM is now known as EmilienM|afk17:45
*** PaulCzar has quit IRC17:46
*** david-lyle_afk is now known as david-lyle17:47
*** krtaylor has joined #openstack-ironic17:47
devanandamorning, all17:53
BadCub_morning Devananda!17:59
NobodyCamgood morning devananda17:59
*** athomas has quit IRC18:00
*** derekh has quit IRC18:02
devanandalooks like 140883 does indeed have some problems, some of which rloo pointed out in her follow on patch, 14230318:10
*** romcheg has quit IRC18:10
devanandamy rushed fixes last night (145389)  passed tempest -- I'm going to sqash those back into 140838, which clearly needs them18:11
NobodyCamdevananda: thank you... next on my list is 14086918:11
devanandabasically, rloo spotted the lack of this line: self._target_state = self._states[state]['target']18:11
devanandaadding that fixes the behavior, and then I had to fix a bunch of unit tests accordingly18:12
devanandaalso two of the state transitions are wrong18:12
devanandaactually, what do you think of rebasing the whole stack on top of 14538918:13
*** bradjones has quit IRC18:13
devanandasince it's fixing states.py and fsm.py18:14
devananda(after I clean up the commit message)18:14
NobodyCamthats prob a good thing18:14
devanandaoy .. in my haste last night, I munged the topic, too :(18:17
devanandaI really sholuldn't be pushing code while running out of the office18:17
*** pelix has quit IRC18:17
devanandaNobodyCam: any other patches you've updated in that series, aside from 140868?18:18
*** rloo has joined #openstack-ironic18:18
*** bradjones has joined #openstack-ironic18:19
*** bradjones has quit IRC18:19
*** bradjones has joined #openstack-ironic18:19
NobodyCamno I was just looking at 140869 while on the all hands call18:23
devanandaok - rebasing18:33
openstackgerritDevananda van der Veen proposed openstack/ironic: Convert drivers to use process_event()  https://review.openstack.org/14088318:34
openstackgerritDevananda van der Veen proposed openstack/ironic: Enable async callbacks from task.process_event()  https://review.openstack.org/14086818:34
openstackgerritDevananda van der Veen proposed openstack/ironic: Convert check_deploy_timeout to use process_event  https://review.openstack.org/14086918:34
openstackgerritDevananda van der Veen proposed openstack/ironic: Minor fixes to state model  https://review.openstack.org/14538918:34
devanandaafk a while18:34
NobodyCamack... thank you devananda :)18:34
rloohi NobodyCam. I'm back. I guess there were some more changes to the fsm stuff?18:41
NobodyCamWB rloo :)18:41
NobodyCamyep18:42
*** eghobo has joined #openstack-ironic18:42
rlooNobodyCam: I'll try to get to them later today.18:42
NobodyCamdevananda just rebased the set adding https://review.openstack.org/#/c/14538918:42
rlooNobodyCam: thx18:43
NobodyCam:)18:44
*** Nisha has quit IRC18:47
*** Marga_ has quit IRC18:49
*** Marga_ has joined #openstack-ironic18:50
*** Marga__ has joined #openstack-ironic18:53
*** Marga_ has quit IRC18:53
*** Masahiro has joined #openstack-ironic18:53
*** Masahiro has quit IRC18:58
*** subscope has joined #openstack-ironic19:05
*** ryanpetrello_ has joined #openstack-ironic19:16
NobodyCambrb quick walkies19:17
*** ryanpetrello has quit IRC19:18
*** ryanpetrello_ is now known as ryanpetrello19:18
*** GheRivero has quit IRC19:21
*** zz_jgrimm is now known as jgrimm19:22
russell_hdevananda: ok, space is confirmed and wiki is updated: https://wiki.openstack.org/wiki/Sprints/IronicKiloSprint19:25
russell_hdevananda: we're going to add some info about accomodations this afternoon19:26
devanandarussell_h: cheers19:29
devanandarloo: I started going through your patch, looking at what issues you found. got through 2 of them, which turned into https://review.openstack.org/14538919:30
devanandarloo: and then I rebased the remaining patches on top of that fix19:30
devanandarloo: I haven't looked through all the new unit tests you added yet, though19:31
rloodevananda: ah, thx for explaining. I hope to get to it in an hour or so. (and I'll update/remove stuff from my patch after that...)19:31
devanandarloo: cool. I'll probably be in a meeting the rest of today. will try to stay on IRC, but we'll see19:33
jrollrussell_h: Wednesday, February 13th - Friday, February 15th, 2015. (3 days) is actually friday-sunday19:37
*** dank has joined #openstack-ironic19:37
NobodyCamits 11th thu 13th no?19:38
*** dkingshott has quit IRC19:41
Shrewsthe state machine spec mentions an intermediate DEPLOYED state, but this isn't a valid state in the current state machine code. i wonder if the spec needs updated....19:42
Shrewsor else i'm missing something19:42
*** GheRivero has joined #openstack-ironic19:43
jrollNobodyCam: I would assume so, but the wiki says 13-1519:44
*** dlaube has joined #openstack-ironic19:44
openstackgerritVictor Howard proposed openstack/ironic: display error logging should be improved  https://review.openstack.org/14477119:45
NobodyCamShrews: the spec is for NEW state machine deva's patches are switch the code to use a FSM and current states may (will) not match the new states19:45
NobodyCamShrews: or am I missing something?19:46
ShrewsNobodyCam: oh, no. you're right. i'm jumping ahead19:46
NobodyCam:)19:46
Shrewsjust finished battling a dead laptop and rebuilding an older one, so my mind was off of s/w and on h/w for too long, obviously19:47
NobodyCam:)19:47
devanandaShrews: fwiw, I made a similar mistake when implementing the /current/ state machine. 145389 corrects that19:47
Shrews:)19:48
devanandawe used DELETED and DEPLOYDONE as a return value from certain functions, but these were never saved to node.provision_state19:48
NobodyCamoh devananda while your here19:49
*** andreykurilin has joined #openstack-ironic19:50
NobodyCamon 145389 states.py you just commented out (as opposed to deleting) the unused states (is this because we will be using them?)19:50
*** GheRivero has quit IRC19:51
lucasagomesI will call it a day, have a good night everyone!19:52
NobodyCamhave a good night lucasagomes :)19:52
*** lucasagomes is now known as lucas-dinner19:52
lucas-dinnercheers :D19:52
*** lucas-dinner has quit IRC19:52
ShrewsNobodyCam: i would assume so, b/c that's what sparked my question  :)19:54
devanandaNobodyCam: those match the spec, but not the current state ... so yea. they're there as reference. we could remove them, but I"ll be adding them back later19:54
devanandaah, so, this is incorrect (entirely my fault)19:59
devanandahttp://specs.openstack.org/openstack/ironic-specs/specs/kilo/new-ironic-state-machine.html#proposed-change19:59
*** GheRivero has joined #openstack-ironic20:03
*** ryanpetrello_ has joined #openstack-ironic20:08
*** ryanpetrello has quit IRC20:08
*** ryanpetrello_ is now known as ryanpetrello20:08
openstackgerritDevananda van der Veen proposed openstack/ironic-specs: Correct the diagram for the "current" state machine  https://review.openstack.org/14556920:16
devanandaShrews: that ^ should now match what I've implemented -- and more importantly, the actual states in the Juno release20:16
devanandait is clearly not following our guidelines for the new states ...20:17
Shrewsdevananda: cool20:18
devanandaoh, there's a difference20:19
devanandaarrgh20:20
devanandathis isn't correct: machine.add_state(DEPLOYING, target=ACTIVE,20:22
devanandait works - but it changes API-visible behavior20:23
*** EmilienM|afk is now known as EmilienM20:25
Shrewsdevananda: should that stay the way it current is then? with target=DEPLOYDONE?20:26
Shrewscurrently20:27
NobodyCambrb20:27
devanandamaybe, maybe not20:28
devanandapreserving the current (illogical) behavior with the fsm.py module is going to require a couple more work arounds, I think20:28
devanandawe could do that20:28
devanandabut we want to change the state progression *anyway*20:28
devanandais there a need to add some hacks just to remove them?20:28
*** pensu has quit IRC20:29
devanandaor jsut document: hey, this patch changes teh values of target_provision_state in this way20:29
devanandaand then document the next API-visible change in the same way, and so on20:29
devanandasince we're goign to be making several20:29
devanandajroll, JayF - I'd like your input on this too20:30
jrolldevananda: on what, specifically?20:31
Shrewsdevananda: So, is the problem that the current fsm code doesn't really handle temporary transitory states (like DEPLOYDONE) well (thus the need for the hack)? So we'd either need to change it to automatically move from those to the true final state, or just model the real transition to the final state by jumping ahead a bit.20:31
Shrewsjust trying to make sure i understand the issue20:32
devanandaShrews: see the change to the spec I posted above20:32
devanandaeg, right now, teh API shows "DEPLOYING/DEPLOYDONE" and then immediatly "ACTIVE/NONE"20:33
Shrewsright20:33
devanandawhereas fsm.py doesn't present a mechanism for skipping the target state20:33
devanandaif current never == target, it's not "done"20:33
devanandabut in the current code, current state is never "deploydone"20:33
Shrewsright. it's a temporary state that is never assigned currently. we just go straight to active20:34
Shrews(i think)20:35
devanandaright20:36
Shrewsok. i understood correctly, just bad with word things20:36
devanandafsm.py clears the target_state only when current_state == target_state20:37
devanandaso if the target_state is DEPLOYDONE, changing teh current_state from DEPLOYING to ACTIVE will not clear it20:37
NobodyCamyep: https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/pxe.py#L48120:38
devanandai can work around that -- i'm just asking whether we should work around it and then change the states, or whether we just change the states now.20:38
*** GheRivero has quit IRC20:38
ShrewsI'm all for changing the states for that transition now, rather than put in a workaround to be removed later. But others may disagree.20:39
NobodyCamdevananda: are we 100% confident that the new sates will be fully in place by end of cycke20:39
NobodyCam*cycle20:39
devanandaNobodyCam: of course not. code's not written for that yet20:39
devanandabut we srsly need it to be20:39
devanandaShrews: cool20:40
NobodyCamthen I then we may need to do the workaround to ensure current behaviour continues as is20:40
NobodyCamthen I then = then I think20:40
devanandaNobodyCam: to note, this doesn't affect Nova, which only keys off of current state20:40
devanandait only changes the representation of target state20:41
devanandabut I think rackspace *is* using that, which is why I pinged jroll20:41
*** subscope has quit IRC20:41
jrolldevananda: ok, so that specifically. I've fixed that bug in our internal tooling :)20:41
jroll"bug"20:41
*** Masahiro has joined #openstack-ironic20:42
devanandajroll: so, changing what target_state the API shows won't affect ya'll?20:42
jrolldevananda: correct20:42
devanandaneat20:43
devanandaafaik, no one else is keying off that either20:43
NobodyCam:)20:43
jrolldevananda: I'd still post a warning to the list, but other than that I say jfdi20:43
ShrewsJust Feed Dogs Icecream?  :)20:44
NobodyCamlol20:44
rloowill the changed target state be changed again with the new fsm?20:45
jroll:P20:45
jrollrloo: I believe so, yes20:46
jrollwell, certainly, there's new states20:46
rlooif we're talking about changing deploy->deploydone to deploy->active now, the new fsm has deploy->active. so wow, we'll be ahead of the game.20:46
jrollah, yeah20:46
devananda:)20:47
*** Masahiro has quit IRC20:47
Shrewsor will the new one go from deploy -> deployed, then deployed -> active?20:48
devanandaShrews: target state will be active (not deploydone)20:49
rlooShrews: in the new world, I think it is deploying -> deployed -> active. But target is active according to the diagram.20:49
Shrewsi guess i'm misreading the new state machine20:50
Shrews"If the steps taken during the active (-ING) state succeed, Ironic will automatically transition to the momentary (-ED) state and then to the next indicated state on the graph."20:50
rloobut I have wondered how the code will know to go from deployed->active.20:50
devanandarloo: when current == target20:51
devanandait will trigger the advancement to the next state20:51
devanandaand clear the target20:51
rloodevananda: so start: current=deploying, target = active.20:52
rloonext, deploying is done, current = deployed, target = active ??20:52
rloothen i think I need to review the code...20:52
devanandarloo: the Juno code does not ever expose DEPLOYDONE as a current state20:56
*** GheRivero has joined #openstack-ironic20:56
devanandathe new state machine will expose current=DEPLOYED20:56
rloodevananda: yeah, I'm fine with that. Just wondering with the new fsm, how we get from *ED -> passive/target state. but maybe i need to review the fsm code first.20:56
devanandarloo: this may help -- https://review.openstack.org/#/c/145569/20:57
devanandagoing through this caused me to realize the spec had a mistake in it20:57
rlooyou just want me to review that patch now ;)20:58
openstackgerritVictor Howard proposed openstack/ironic: display error logging should be improved  https://review.openstack.org/14477120:58
NobodyCambrb ... /me needs food20:58
* devananda whistles innocently20:58
*** GheRivero has quit IRC21:00
*** GheRivero has joined #openstack-ironic21:00
*** openstackgerrit has quit IRC21:05
*** GheRivero has quit IRC21:05
*** openstackgerrit has joined #openstack-ironic21:06
NobodyCamhumm I keep wanting to change the title line of the FSM spec. basicly remove "A proposal for the "21:13
mrdaMorning Ironic21:15
rlooNobodyCam: +121:15
rloomorning mrda21:15
NobodyCammorning mrda21:15
NobodyCam:)21:15
mrdao/ everyone21:21
*** Hefeweizen has quit IRC21:21
*** GheRivero has joined #openstack-ironic21:22
*** GheRivero has quit IRC21:33
*** GheRivero has joined #openstack-ironic21:34
openstackgerritDevananda van der Veen proposed openstack/ironic-specs: Correct the diagram for the "current" state machine  https://review.openstack.org/14556921:37
*** bradjones has quit IRC21:40
*** bradjones has joined #openstack-ironic21:43
*** bradjones has quit IRC21:43
*** bradjones has joined #openstack-ironic21:43
*** dprince has quit IRC21:47
JayFrloo: thanks for the review :D I'm working on your comments now21:48
rlooJayF: thx21:48
NobodyCamomg a new style of RV... I want one.... https://www.facebook.com/video.php?v=75779219763289621:51
jrollwow21:52
NobodyCam:)21:52
*** GheRivero has quit IRC21:56
*** chlong has joined #openstack-ironic21:56
*** ijw has joined #openstack-ironic21:58
mrdawow21:59
mrdado you need a second truck to carry the furniture to fill one of these?22:00
NobodyCami'm not sure22:00
NobodyCamI would hope it would fit inthe same truck.22:00
NobodyCamlol just thought it was kinda kewl22:01
*** krtaylor has quit IRC22:01
mrdaI guess it's for more than a single night in a location :)22:01
*** GheRivero has joined #openstack-ironic22:02
*** chlong has quit IRC22:03
*** jjohnson2_ has quit IRC22:04
*** ChuckC has joined #openstack-ironic22:06
NobodyCamya..22:11
*** GheRivero has quit IRC22:11
*** ijw has quit IRC22:12
*** ijw has joined #openstack-ironic22:12
*** GheRivero has joined #openstack-ironic22:17
NobodyCambrb22:18
jrolldevananda: going to review state machine series, I should skip the first one yes?22:22
devanandajroll: don't skip. I need to fix the commit message22:25
devanandabutthe change is important22:25
jrolldevananda: oh, it's marked wip22:25
jrollhttps://review.openstack.org/#/c/145389/22:25
jrollto be clear22:25
devanandayah. I'm distracted right now22:25
jrollok22:25
jrollI guess this is the one that chages target state behavior?22:25
devanandaright22:26
devanandaand teh commit message doesn't say why22:26
devanandaor rather, says it poorly22:26
jrollk22:26
devanandafeel free to update the mssage if you want to22:26
* devananda returns to distraction22:26
*** Masahiro has joined #openstack-ironic22:31
*** GheRivero has quit IRC22:32
russell_hdevananda: wow, thanks for catching that date thing22:34
russell_hmight have had people showing up some weird days22:34
*** Masahiro has quit IRC22:36
*** GheRivero has joined #openstack-ironic22:38
*** ijw has quit IRC22:42
*** chuckC_ has quit IRC22:48
openstackgerritJay Faulkner proposed openstack/ironic-python-agent: Allow use of multiple simultaneous HW managers  https://review.openstack.org/14319322:51
JayFrloo: jroll ^ that addresses your comments22:52
JayFthanks for the snippet to make that much cleaner jroll22:52
jrollnp22:52
*** GheRivero has quit IRC22:57
JayFRFR -> https://review.openstack.org/#/c/145621/ PR to remove Python 2.6 from IPA jobs.23:01
JayFWe have no ramdisks that use python 2.6, and there's no need in keeping those tests running. Once that merges, I'll PR removing that environment from tox.ini.23:02
JoshNangJayF: yess23:02
JoshNangJayF: we should try and add py33 again sometime23:02
JayFAll the oslo modules we depend on don't work with py323:02
JayFso we can't work with py323:02
JoshNang:(23:02
JayFIIRC LoopingCall used eventlet in a way that broke our py3 tests23:03
JayFVERY early on, so we had to pull that, and pypy for a similar reason23:03
jrolleventlet may be fixed by now23:03
jrolls/may be/is likely23:04
jrollit would be worth running just to see :)23:04
JayFrloo: for errors.py #271, self.message is used by RESTError to set errors in the response23:04
openstackgerritAlex Weeks proposed openstack/ironic-python-agent: Added extension to support rescue mode  https://review.openstack.org/14538523:05
JayFrloo: I was trying to keep the short-error (message) from having an erroneous {0} in it23:05
JayFbecause those are supposed to be static23:05
JayFwhereas details is allowed to change based on the circumstances of the error23:05
JayFiirc23:05
rlooJayF: ugh. ok.23:05
JayF+1 on the ugh23:05
rlooJayF: you sure? I'll trust you on that. you sure? :-)23:05
JayFI don't love it either, but it seemed silly not to include the method that failed in the log back to Ironic23:05
JayFrloo: please don't trust me ;) https://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/errors.py#L1823:06
*** ijw has joined #openstack-ironic23:06
NobodyCamJayF: on https://review.openstack.org/#/c/143193/16/ironic_python_agent/errors.py class IncompatibleHardwareMethodError is why not provide the method and node info too?23:08
JayFNobodyCam: I don't think we have any node info to send across in that case; we don't pass a big node object around in IPA like Ironic does23:09
jrollNobodyCam: in IPA, there is only one node :P23:09
jrollironic logs the node uuid when IPA returns an error23:09
JayFNobodyCam: in the method, "message" aiui should be static, for all instances of that exception, but details can change23:09
JayFthat's why I put the method in details, and not in error23:09
NobodyCamahh23:10
NobodyCamTY23:10
rlooJayF: gotta run. Will remove the -1 later23:10
openstackgerritJay Faulkner proposed openstack/ironic-python-agent: Allow use of multiple simultaneous HW managers  https://review.openstack.org/14319323:11
*** rloo is now known as rloo_afk23:11
JayFrloo: ^ I just did :)23:11
JayFlol23:11
NobodyCamhehehe23:11
*** krtaylor has joined #openstack-ironic23:12
openstackgerritJosh Gachnang proposed openstack/ironic: Improve IPA client library  https://review.openstack.org/11111823:13
*** Marga__ has quit IRC23:16
*** Marga_ has joined #openstack-ironic23:16
NobodyCamlol love the var: homeless_agent23:22
*** chlong has joined #openstack-ironic23:22
*** Hefeweizen has joined #openstack-ironic23:23
JayFThat was from ellenh iirc, when she implemented that super helpful ip autodetect features23:23
JayFNobodyCam: revisiting the comments about the exceptions / RESTError in IPA, it's really important to remember with IPA that most folks using it will never see IPA logs directly, so whatever results are important to send up have to be in the details of the RESTError23:26
*** jgrimm is now known as zz_jgrimm23:26
openstackgerritJay Faulkner proposed openstack/ironic-python-agent: Remove python 2.6 from tox.ini  https://review.openstack.org/14563123:30
*** ChuckC has quit IRC23:37
NobodyCamJayF: in tests/multi_hardware.py .. def test_both_succeed i'm missing something it looks like the test is that the first is called and the second is not.23:37
JayFNobodyCam: that's exactly how it's supposed to work23:38
*** ChuckC has joined #openstack-ironic23:38
NobodyCamthats ensuring both succceed?23:38
JayFNobodyCam: the specific hardware manager had the method, and it worked, so the generic was never called23:38
JayFNobodyCam: it's showing a case where both *could* succeed23:38
JayFNobodyCam: in fact, that's specifically what I'm asserting in the test: that MainlineHardareManager.both_succeed got one call, and Generic got none23:40
*** ChuckC has quit IRC23:40
*** naohirot has joined #openstack-ironic23:41
naohirotgood morning ironic23:41
*** eghobo has quit IRC23:42
NobodyCammorning naohirot23:42
JayFmorning23:42
naohirotNobodyCam: JayF: good evening23:42
NobodyCamJayF: ok... i think its just the name that caused my brain to loop on it23:42
JayFNobodyCam: yeah, naming those test methods was mildly difficult. I think that's the third name that one has had23:43
JayFlol23:43
NobodyCamlol23:43
NobodyCamtest_mainline_succeed_generic_not_called23:44
NobodyCamlol23:44
NobodyCamya don't listen to me.23:44
*** Marga_ has quit IRC23:44
NobodyCamthou I'd prob ask for a small comment explaining that23:44
NobodyCamlol23:45
*** Marga_ has joined #openstack-ironic23:45
*** Marga_ has quit IRC23:46
*** Marga_ has joined #openstack-ironic23:47
*** alex_xu has quit IRC23:48
*** Marga_ has quit IRC23:48
*** Marga_ has joined #openstack-ironic23:48
*** Marga_ has quit IRC23:49
naohirotrloo_afk: If you back, I'd like to hear your opinion regarding python-scciclient.23:49
*** Marga_ has joined #openstack-ironic23:49
*** Marga_ has quit IRC23:49
*** Marga_ has joined #openstack-ironic23:50
*** andreykurilin has quit IRC23:50
*** alex_xu has joined #openstack-ironic23:50
naohirotNobodyCam: can I hear your opinion too regarding python-scciclient, gathering all opinion earlier is better to proceed.23:52
naohirotNobodyCam: please look at https://review.openstack.org/#/c/134865/ and https://review.openstack.org/#/c/144901/23:53
naohirotNobodyCam: Yesterday I had conversation with rameshg87 regarding moving scci module into external package.23:55
NobodyCamnaohirot: will take a look23:55
NobodyCamJayF: reviewed23:56
naohirotNobodyCam: thanks23:56
*** penick has quit IRC23:56
naohirotJayF: I' sorry if I interrupt you23:57
mrdahi naohirot23:57
naohirotmrda: hi good morning23:57
mrdanaohirot: Just FYI, we've had 2cm of rain overnight, fires under control \o/23:59
naohirotmrda: that's really good23:59

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