Wednesday, 2014-07-16

devanandahttps://review.openstack.org/#/c/10316400:00
devanandahttps://review.openstack.org/#/c/103165/00:00
devanandahttps://review.openstack.org/#/c/103167/00:00
devanandaoh00:00
devanandai forgot to tag you00:00
* devananda fails00:00
jrolllol00:00
devanandawat! dansmith -1'd a patch with 0 lines of code change, lol00:01
openstackgerritOpenStack Proposal Bot proposed a change to openstack/ironic: Updated from global requirements  https://review.openstack.org/10656900:06
devanandamikal: also, this "propose it to nova to get reviews" is painful, just like we thought00:07
devanandamikal: because any review feedback has to be implemented twice00:08
devanandaonce on the next patchset of the review, and once in Ironic's tree00:08
devanandasyncign these files is non-trivial because of changing import order00:09
devanandabut now i'm just complaining :)00:09
JayFcomplaining is highly underrated00:09
mikaldevananda: I am pretending to care as much as I can00:09
mikalPlease hold00:09
devanandamikal: :)00:11
mrdadevananda: please let me know what I can do to help. I'm happy to help be a patch monkey.00:15
devanandamrda: fantastic!00:15
devanandai'll summarize00:15
devanandamrda: white board lines 41 - 5100:16
devananda"Code proposed" -- the patches to Nova00:16
devananda"Additional patches ..." -- the patches to Ironic which affect code that has been proposed to Nova (eg, the virt driver or scheduler bits)00:16
devanandaany code proposed to ironic which touches a file under ironic/nova/* needs to be tracked00:17
devanandaif it's approved, it needs to be merged into the propsals to nova00:17
devanandaany feedback from the nova team that gets added to those nova reviews needs to be turned into a review in ironic, and fast-tracked00:17
* mrda is reading the whiteboard now00:18
devanandawhen the nova patches land, we freeze any outstanding patches in ironic, pivot tempest, and then delete the code from ironic00:18
devanandai'm hoping to do ^ that at the nova sprint00:18
devanandabut we'll see00:18
devanandaso this pain hopefully has an end in sight00:18
devanandamrda: so ... all taht is what i've been doing about once a week00:19
devanandai'll probably take one more stab at it next week, and then we have the summit00:19
devanandamrda: if we dont merge the driver at the sprint, we should think of a better long term solution -- and I'd be delighted if you take that on :)00:21
mrda"any feedback from the nova team that gets added to those nova reviews needs to be turned into a review in ironic, and fast-tracked" is the bit I'm unsure of.  You mean create a new review in Ironic *each* time nova comments on {103164, 103165, 103167} ?00:21
mrdadevananda: ^^00:21
devanandamrda: also, your cache-rhe-client patch is a good example -- it's already on the whiteboard for tracking here00:21
devanandamrda: each time that nova's feedback on {...} results in a change to {...} -- yes00:21
devanandamy goal is keep those patches {...} in sync with the current trunk of Ironic00:22
mrdadevananda: could also include the ironicclient change change as a dependency, not requiring merging.  but that's a moot point, because that should merge today (if you re-approve it to get around the intermittent devstack failure) - ref 10446700:22
mrda:)00:22
devanandamrda: anyone can trigger a reverify00:23
devanandamrda: post a comment with "reverify bug ###"00:23
devanandawith the appropriate bug #00:23
mrdaoh, I thought reverify had gone away00:24
devanandait did. then infra brought it back ....00:24
devanandayou can also use recheck still00:24
devanandathat just makes it go through both sets of tests00:24
mrdadevananda: do you have an example of nove feedback on the proposed patches resulting in an ironic review?00:24
devanandamrda: commit 0aec9f0a5305080115e128d0ec8fac9cf103b01000:25
mrdaI like to follow an approved example, if at all possible00:25
devanandaand da967d77894be6f23d81fb5cc948f9d13898ba8400:25
devanandamrda: so dansmith had feedback on the scheduler change (https://review.openstack.org/#/c/103165/)00:26
devanandamrda: that'd be a good place to start00:26
mrdaok, cool, I'll take a look and try and untangle00:27
devanandathanks!00:27
*** harlowja_away is now known as harlowja00:30
openstackgerritEllen Hui proposed a change to openstack/ironic-python-agent: Fix no IP on interface error  https://review.openstack.org/10721300:35
*** Penick has joined #openstack-ironic00:35
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Import a few more fixes from the Nova driver  https://review.openstack.org/10721400:35
devanandamrda: another example ^00:36
mrdadevananda: thnx00:36
devanandaI just applied dansmith's comments to the nova driver proposal, that's the "backport" if you will00:36
devanandaheading out for dinner shortly00:38
devanandag'night all, see ya tmw!00:38
mrdanight devananda00:39
*** Penick has quit IRC00:48
openstackgerritA change was merged to openstack/ironic-python-agent: Fix no IP on interface error  https://review.openstack.org/10721300:52
*** chuckC has quit IRC01:03
openstackgerritJosh Gachnang proposed a change to openstack/ironic-python-agent: Adding support for decommissioning  https://review.openstack.org/10437901:06
openstackgerritJosh Gachnang proposed a change to openstack/ironic-python-agent: Add versioning to Agent decommission  https://review.openstack.org/10685901:06
*** Haomeng has quit IRC01:10
* mikal -2's an ironic nova driver patch01:33
mikaldevananda / mrda: so, if you're trying to keep the ironic version of the driver in sync, how do you detect when I upload a change to one of these reviews without telling you?01:38
mrdamikal: I'm just going to watch them, and do it handrollicly.01:39
mikalmrda: oh, that will be fun for you01:39
mrdamikal: We might come up with a different plan after mid-cycle, depending upon how things go by then.01:40
*** nosnos has joined #openstack-ironic01:58
mikaldevananda: I don't suppose you're still around?02:02
openstackgerritA change was merged to openstack/python-ironicclient: Expose auth_ref in ironicclient client object  https://review.openstack.org/10446702:12
*** eghobo has quit IRC02:13
mrdamikal: devananda has gone for the day, please try again tomorrow :)02:14
*** chuckC has joined #openstack-ironic02:17
*** aswadr has joined #openstack-ironic02:19
*** haggybard has joined #openstack-ironic03:03
*** harlowja is now known as harlowja_away03:16
*** vinbs has joined #openstack-ironic03:24
*** ramineni has joined #openstack-ironic03:30
*** haggybard has quit IRC03:32
*** haggybard has joined #openstack-ironic03:32
*** nosnos has quit IRC03:43
*** bmahalakshmi has joined #openstack-ironic04:01
*** JayF has quit IRC04:02
*** Poornima has joined #openstack-ironic04:05
*** haggybard has quit IRC04:09
*** eghobo has joined #openstack-ironic04:09
*** eghobo has quit IRC04:14
*** eghobo has joined #openstack-ironic04:15
*** Nisha has joined #openstack-ironic04:15
*** Nisha has joined #openstack-ironic04:20
*** Nisha has quit IRC04:20
*** Nisha has joined #openstack-ironic04:21
*** eghobo has quit IRC04:27
*** killer_prince is now known as lazy_prince04:31
*** nosnos has joined #openstack-ironic04:32
*** rameshg87 has joined #openstack-ironic05:00
*** geekyogi has joined #openstack-ironic05:01
*** rakesh_hs has joined #openstack-ironic05:20
*** shausy has joined #openstack-ironic05:26
*** shausy2 has joined #openstack-ironic05:46
*** shausy has quit IRC05:47
*** chuckC has quit IRC05:51
*** chuckC has joined #openstack-ironic05:52
openstackgerritNisha Agarwal proposed a change to openstack/ironic-specs: Generic Hardware Discovery Bits  https://review.openstack.org/10256506:01
openstackgerritNisha Agarwal proposed a change to openstack/ironic-specs: Discover node properties at node-create/node-update  https://review.openstack.org/10095106:01
*** bvivek has joined #openstack-ironic06:03
*** Mikhail_D_ltp has joined #openstack-ironic06:03
openstackgerritOpenStack Proposal Bot proposed a change to openstack/ironic: Imported Translations from Transifex  https://review.openstack.org/10694806:10
*** geekyogi has quit IRC06:20
*** pcrews has quit IRC06:21
*** ndipanov_gone is now known as ndipanov06:34
*** Haomeng has joined #openstack-ironic06:38
*** jcoufal has joined #openstack-ironic06:38
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Implements send-data-to-ceilometer  https://review.openstack.org/7253806:39
mrdadevananda: Just before I forget, I'm updating the whiteboard with the current Nova Driver progress.06:51
*** d0ugal has quit IRC07:07
*** d0ugal has joined #openstack-ironic07:07
openstackgerritNisha Agarwal proposed a change to openstack/ironic-specs: Discover node properties at node-create/node-update  https://review.openstack.org/10095107:10
*** malini1 has joined #openstack-ironic07:14
*** foexle has joined #openstack-ironic07:32
*** jistr has joined #openstack-ironic07:33
jcoufaldtantsur|afk: hey, what was the issue yesterday? I am sorry I was burden in other issues07:39
*** ChanServ changes topic to "Bare Metal Provisioning | Status: http://bit.ly/ironic-whiteboard | Docs: http://docs.openstack.org/developer/ironic/ | Bugs: https://bugs.launchpad.net/ironic"07:54
ifarkasmorning Ironic07:56
mrdaMorning ifarkas07:57
Haomengmorning ifarkas mrda :)07:57
ifarkasmorning mrda Haomeng :-)07:58
mrdaHi Haomeng!07:59
*** romcheg1 has joined #openstack-ironic08:00
ifarkasdevananda, hi, re the drac power driver. the code is up in wip, it's only missing tests. but because I will be on vacation next week, I am more confident that it will land in J308:00
*** geekyogi has joined #openstack-ironic08:00
mrdaGreat stuff ifarkas!08:04
*** igordcard has joined #openstack-ironic08:05
ifarkasmrda, thanks! ;-)08:05
*** dtantsur|afk is now known as dtantsur08:06
dtantsurMorning Ironic!08:06
mrdahi dtantsur08:08
dtantsurmrda, hi :)08:09
romcheg1Morning dtantsur and mrda!08:09
mrdahey romcheg108:09
dtantsurromcheg1, morning :)08:09
* romcheg1 wonders where another IRC client is running08:09
*** derekh_ has joined #openstack-ironic08:10
mrdaok, dinner time.  I'll be back later.08:17
*** mrda is now known as mrda-afk08:17
Haomeng:)08:19
Haomengifarkas: :)08:19
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Implements send-data-to-ceilometer  https://review.openstack.org/7253808:21
*** Poornima has quit IRC08:26
*** lucasagomes has joined #openstack-ironic08:39
*** eglynn has joined #openstack-ironic08:40
eglynnHaomeng: good morning sir!08:41
Haomengeglynn: morning:)08:41
eglynnHaomeng: just a quick question on https://blueprints.launchpad.net/ironic/+spec/send-data-to-ceilometer08:41
dtantsurjcoufal, hi! The thing is that folks do not like my spec on discovery and while it's not the end of the world :) and won't change much from UI pov, we're in the beginning again08:41
eglynnHaomeng: it's targetted at juno-3, yet the work looks very well progressed08:41
dtantsurjcoufal, so it's going to take time, and I hope I won't learn after 3 more weeks that my suggestions sucks again :)08:41
eglynnHaomeng: might this be the first BP in openstack history to be bumped *forward* a milestone? ;)08:42
Haomengeglynn: what is the due date for juno-3, I think almost code is done, I am preparing the ut code now08:42
dtantsurjcoufal, I'll try to show up in the office today, so we can talk about details, if you feel like08:42
eglynnHaomeng: cool :) ... https://wiki.openstack.org/wiki/Juno_Release_Schedule08:43
eglynnHaomeng: juno-2 == July 24th08:43
eglynnHaomeng: juno-3 == September 4th08:43
jcoufaldtantsur: alright08:43
Haomengeglynn: thk08:43
Haomengeglynn: this is my patch - https://review.openstack.org/#/c/72538/08:43
eglynnHaomeng: so I guess if that patch happens to land before Jul 24th, we could call it a juno-2 feature?08:43
*** romcheg2 has joined #openstack-ironic08:43
eglynnHaomeng: ... reason I'm asking is that the corresponding ceilo BP is targetted at juno-208:44
Haomengeglynn: ok, I will try my best to close it before Jul 24th:)08:44
Haomengeglynn: need ut and code review08:44
eglynnHaomeng: excellent, thank you sir!08:44
rameshg87good morning ironic08:44
Haomengeglynn: almost code is done08:44
*** romcheg1 has quit IRC08:44
Haomengeglynn: wel, that is my work:)08:44
rameshg87had a question, can we add dependency for a review on 2 reviews ? :-)08:45
eglynnHaomeng: BTW cdent has been testing with your patch, has declared "white smoke" :)08:45
dtantsurrameshg87, morning, no you can't08:45
rameshg87dtantsur: i wanted to raise a new review dependant on https://review.openstack.org/105413 and https://review.openstack.org/10579508:45
rameshg87dtantsur: but they themselves are independent08:45
Haomengeglynn: that is because the code cdent used is old version, that is havana code, I have change it after my spec is approved, so now, the new patch is almost fine:)08:46
dtantsurrameshg87, the only way for you is to ask the authors to make them dependent. gerrit can't do better08:46
Haomengeglynn: sorry, not sure cdent is using my havana old code:)08:46
eglynnHaomeng: yeah I think he's taking latest from gerrit and applying a few manual changes08:47
Haomengeglynn: the new code is based on the new spec which is approved08:47
eglynnHaomeng: his notes are here https://tank.peermore.com/tanks/cdent-rhat/2014071508:47
rameshg87dtantsur: i am the author of all 308:47
dtantsurrameshg87, well, then you can handle it :)08:47
rameshg87dtantsur: so if i have A and B independent, and C depends on A and B08:48
rameshg87dtantsur: should I make B dependent on A ?08:49
rameshg87dtantsur: and then C depends on B ?08:49
dtantsurA -> B -> C, right08:49
Haomengeglynn: yes, I am writing new ut code now, so I think ceilometer can take the message as input to do the testing - http://paste.openstack.org/show/86675/, this is the message I ironic will send to ceilometer08:49
*** martyntaylor has joined #openstack-ironic08:49
rameshg87dtantsur: yes08:49
rameshg87dtantsur: eventhough B is not dependent on A :-)08:49
Haomengeglynn: I added comments for cdent for the sample message which will be sent to ceilometer08:50
dtantsurrameshg87, IPA folks have even larger line of patches, where only the last depends on all previous :)08:50
rameshg87dtantsur: okay :-)08:50
*** overlayer has joined #openstack-ironic08:50
dtantsurrelocating to the office, brb08:51
eglynnHaomeng: excellent :)08:51
Haomengeglynn: so far we have one opening issue with the message for the fields user_id and project_id which required by ceilometer08:52
eglynnHaomeng: yeah, so are these ever set to concrete values in Ironic view of a node?08:52
eglynnHaomeng: or does it depend on nova's view of the node as an instance?08:52
Haomengeglynn: I have comments about this issue in both my patch and ceilometer patch - https://review.openstack.org/#/c/72538/ "Patch Set 14"08:52
eglynnHaomeng: a-ha, k, I'll check your comments on gerrit, thanks for the heads-up08:53
Haomengeglynn: not sure if ceilometer is easy to get user_id and project_id these value, if not we have to wait our ironic nova driver merged to nova tree, and add new patch for ironic nova driver to retrieve these values from nova instance08:53
eglynnHaomeng: OK, that would work ... i.e. ceilo could tolerate these values being unset initially08:54
Haomengeglynn: np, that is for our ironic nova driver prority, so dont want to modify nova ironic driver before it is approved by nova, that is important for ironic, hope understand:)08:54
Haomengeglynn: ok, thank you08:55
*** romcheg1 has joined #openstack-ironic08:55
eglynnHaomeng: yeah, understood about getting the nova driver landed first and foremost08:55
Haomengeglynn: we can fill it after our ironic nova driver is land into nova tree:)08:55
Haomengeglynn: yes, thanks for understanding08:55
eglynnHaomeng: though I assume some Ironic nodes would not yet be known to nova, yet still reported on via the IPMI notifications?08:55
*** romcheg2 has quit IRC08:56
eglynnHaomeng: e.g. soon after you plug in a new rack in the DC?08:56
Haomengeglynn: yes, only the nodes which booted by nova, has instance_uuid, that can be call by ironic to get ipmi sensor data08:57
Haomengeglynn: so here, what is your concern08:57
eglynnHaomeng: a-ha OK, sounds like my concern is not a concern :) ... (if the node has already been "taken in charge" by nova before IPMI notifications are emitted)08:58
Haomengeglynn: yes, it is managed by nova already09:00
Haomengeglynn: so should be correct status and context09:01
eglynnHaomeng: cool, then all is well IIUC :) ... thanks for the confirmation!09:01
Haomengeglynn: welcome09:01
Haomengeglynn: I will be away for a while to go home, and online after 1 hour, you can find me after 1 hour:)09:02
Haomengeglynn: if has more to be discussed:)09:02
Haomengeglynn: :)09:02
openstackgerritNisha Agarwal proposed a change to openstack/ironic-specs: Discover node properties at node-create/node-update  https://review.openstack.org/10095109:02
eglynnHaomeng: cool, thanks ... I think I have enough detail now but I'll give cdent a heads-up in case he has further questions09:03
*** bvivek has quit IRC09:05
rameshg87dtantsur: request you to take a look ilo deploy design spec when you get some time: https://review.openstack.org/9774409:05
*** bvivek has joined #openstack-ironic09:06
*** igordcard has quit IRC09:10
*** bvivek has quit IRC09:10
*** pelix has joined #openstack-ironic09:10
*** malini1 has quit IRC09:12
*** bvivek has joined #openstack-ironic09:12
*** cgoncalves has joined #openstack-ironic09:34
*** vinbs has quit IRC09:39
*** vinbs has joined #openstack-ironic09:42
openstackgerritA change was merged to openstack/ironic-specs: Add support for retry on NodeLocked exceptions  https://review.openstack.org/10399609:49
lucasagomesShrews, ^09:50
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Rename/update common/tftp.py to common/pxe_utils.py  https://review.openstack.org/10359510:00
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Add iPXE Installation Guide documentation  https://review.openstack.org/10680910:00
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Factor out deploy info from PXE driver  https://review.openstack.org/10073510:00
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Add methods to ipmitool driver  https://review.openstack.org/10036410:00
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Add iPXE support for Ironic  https://review.openstack.org/9931810:00
lucasagomesURGH! rebasing10:00
lucasagomesjroll, ^ >.<10:01
lucasagomesok code's intact, just a new review was put up10:03
*** athomas has quit IRC10:08
*** martyntaylor has left #openstack-ironic10:10
*** eglynn is now known as eglynn-commute10:18
*** Mikhail_D_wk has quit IRC10:19
*** Nisha has quit IRC10:19
*** lazy_prince is now known as killer_prince10:20
*** Mikhail_D_ltp has quit IRC10:22
*** eglynn-commute has quit IRC10:24
*** athomas has joined #openstack-ironic10:26
*** mrda-afk is now known as mrda10:29
*** killer_prince is now known as lazy_prince10:32
*** Mikhail_D_ltp has joined #openstack-ironic10:40
*** Alexei_987 has joined #openstack-ironic10:42
*** overlayer has quit IRC10:49
openstackgerritRamakrishnan G proposed a change to openstack/ironic: Add support for creating vfat disk images  https://review.openstack.org/10541310:52
*** ramineni has quit IRC10:54
openstackgerritMichael Davies proposed a change to openstack/ironic: Review fixes from Nova scheduler reviews  https://review.openstack.org/10731610:54
*** kpavel has joined #openstack-ironic10:55
*** Mikhail_D_wk has joined #openstack-ironic10:59
dtantsurmrda, when you're online, can we discuss your comment and my answer on https://review.openstack.org/#/c/73121/ ?11:00
mrdadtantsur: sure11:01
* mrda looks11:01
mrdaWe're talking about the comment on https://review.openstack.org/#/c/73121/18/ironic/db/sqlalchemy/api.py11:02
mrdacorrect?11:02
mrdaSo my concern is the same as your response, but in opposite :) I'm concerned that we haven't caught all possible exceptions out of SQLAlchemy either now, or in a future SQLAlchemy release11:06
mrdaif we make a programming mistake with this approach, we leak information11:06
mrdaBut in my approach, if we make a programming mistake we still mask all sensitive information11:07
mrdaBut I also agree with your comment - we don't want to wrap exception we're not expecting11:07
dtantsurmrda, I guess, SQLAlchemy will always derive from their base exception11:08
*** bmahalakshmi has quit IRC11:08
dtantsurmrda, I'm seriously concerned with masking programming errors, not related to SQLA11:08
mrdaSince no-one has jumped to my defence in the review, I'll comment that we've discussed this in IRC, and that you'll go ahead with your original approach11:09
mrdaIs that ok by you dtantsur ?11:09
dtantsurmrda, yes, thank you :)11:09
mrdaOf course if we get a security advisory from this code I will ahve my review comments to fall back on :-)11:10
mrda*much joking here*11:10
mrdadtantsur: You now have my +1 FWIW11:12
dtantsur:)11:14
kpavelHi. I used devstack to work with ironic and check it's abilities and it worked fine. Nodes deployed to "baremetal" instances mocked by VMs...etc. Now i want to use same devstack setup to control real Physical machines. I got to the point when the physical machine finishes the deployment and becomes Active and on it's screen i can see the prompt. The problem is it's not answering ping. No...11:17
kpavel...network to it. I think that my network configuration on the compute/controller is wrong and it remains configured to work with mocked virtual instances. Any help/reference for correct network config much appreciated :)11:17
openstackgerritRamakrishnan G proposed a change to openstack/ironic: Add support for interacing with swift  https://review.openstack.org/10579511:18
dtantsurlucasagomes, https://etherpad.openstack.org/p/ironic-hw-discovery-2 is how it's shaping. Is it correct by now?11:19
openstackgerritRamakrishnan G proposed a change to openstack/ironic: Add IloDriver and its IloPower module  https://review.openstack.org/8950011:26
*** bvivek has quit IRC11:26
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Implements send-data-to-ceilometer  https://review.openstack.org/7253811:29
openstackgerritRamakrishnan G proposed a change to openstack/ironic: Add support for creating vfat disk images  https://review.openstack.org/10541311:29
*** geekyogi has quit IRC11:30
lucasagomeswill take a look 1 sec11:32
*** rameshg87 has left #openstack-ironic11:35
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Implements send-data-to-ceilometer  https://review.openstack.org/7253811:41
mrdadevananda: in around 9 hours from now I'd like to discuss host_state_cls in https://review.openstack.org/#/c/103165/4/nova/scheduler/ironic_host_manager.py11:41
mrdanight all11:41
*** mrda is now known as mrda-away11:42
viktors|afklucasagomes: hi!11:44
*** viktors|afk is now known as viktors11:44
openstackgerritVictor Sergeyev proposed a change to openstack/ironic: Use opportunistic approach for migration testing  https://review.openstack.org/10705311:49
kpavelHi. I used devstack to work with ironic and check it's abilities and it worked fine. Nodes deployed to "baremetal" instances mocked by VMs...etc. Now i want to use same devstack setup to control real Physical machines. I got to the point when the physical machine finishes the deployment and becomes Active and on it's screen i can see the prompt. The problem is it's not answering ping. No...12:08
kpavel...network to it. I think that my network configuration on the compute/controller is wrong and it remains configured to work with mocked virtual instances. Any help/reference for correct network config much appreciated :)12:08
*** bvivek has joined #openstack-ironic12:08
*** jdob has joined #openstack-ironic12:09
Shrewslucasagomes: awesome! thx12:12
*** vinbs has quit IRC12:12
openstackgerritDmitry Tantsur proposed a change to openstack/ironic-specs: Generic Hardware Discovery Bits  https://review.openstack.org/10734412:17
*** lucasagomes is now known as lucas-lunch12:21
dtantsurnew incarnation of discovery spec ^^^, not 100% finished yet12:21
* romcheg1 takes a look12:24
*** Haomeng|2 has joined #openstack-ironic12:29
*** Haomeng has quit IRC12:30
*** tzumainn has joined #openstack-ironic12:36
tzumainndtantsur, ping12:36
dtantsurtzumainn, here12:36
openstackgerritDmitry Tantsur proposed a change to openstack/ironic-specs: Generic Hardware Discovery Bits  https://review.openstack.org/10734412:37
tzumainndtantsur, heya - so regarding node auto-discovery - I hear that the mechanism underneath may change from your proposal; what about things like tagging nodes to distinguish auto-discovered nodes from other nodes?12:38
dtantsurtzumainn, see link right above your message, this is a new proposal. A new field will be introduced on a Node.12:38
*** jbjohnso has joined #openstack-ironic12:44
*** jbjohnso_ has joined #openstack-ironic12:45
*** jbjohnso has quit IRC12:49
*** nosnos has quit IRC12:49
tzumainndtantsur, so is that part relatively uncontroversial?12:50
dtantsurtzumainn, I hope so :)12:50
tzumainnlol12:51
tzumainndtantsur, so from an api perspective, IronicNodes.list() or whatever would return both auto-discovered nodes and "normal" nodes, and there would be a flag that allows me to filter out one or the other if desired?12:53
dtantsurtzumainn, new nodes will have: maintenance=True, newly_discovered=True12:54
tzumainndtantsur, does the maintenance flag already exist?12:56
dtantsurtzumainn, yes12:57
tzumainnah, cool - so the intent behind the maintenance flag is that a user has to "verify" the node somehow and then turn off the flag, correct?12:57
jcoufaltzumainn: yes12:58
jcoufaltzumainn: but there are 2 tags12:58
tzumainnso the workflow here is a) auto-discover nodes b) user verifies a node c) the user sets both tags to False ?12:58
jcoufalmaintenance and newly_discovered12:58
jcoufaltzumainn: if he wants to get them to production, I believe yes12:58
jcoufaldtantsur: can you confirm?12:58
tzumainnalthough according to the spec, if you turn off the maintenance flag, newly_discovered is also set to False automatically12:58
jcoufalinteresting12:59
jcoufalI guess it makes sort of sense12:59
dtantsurjcoufal, tzumainn, that's how I see it, yes. newly_discovered makes no sense with maintenance=False and will be also set to False, but you can unset both to be on a safe side13:00
tzumainndtantsur, okay, and by default, Node.list() or whatever would return all nodes, including maintenance=True, unless you set some sort of flag in the call to filter them out?13:01
tzumainnjcoufal, so my question then is - what should we do with nodes that might be under maintenance, but which don't have the auto_discovered flag set to true?13:02
jcoufaltzumainn: they are registered, we shouw them under registered13:02
jcoufaltzumainn: for now13:03
dtantsurtzumainn, I'm not sure about Node.list, probably by default it does not return things with maintenance=True13:03
*** romcheg2 has joined #openstack-ironic13:03
tzumainndtantsur, okay, that owuld make sense - thanks!13:03
dtantsurthere is a parameter for it13:03
jcoufaldtantsur: it should13:03
jcoufaldtantsur: those nodes are already registered13:03
jcoufalwhy to exclude nodes in maintenance?13:03
dtantsurjcoufal, I just don't remember, how it works now :)13:04
jcoufaldtantsur: ok, np :)13:04
*** romcheg1 has quit IRC13:04
tzumainnjcoufal, so would the registered nodes have a new status field?13:04
tzumainnmaintenance/non-maintenance?13:04
jcoufaltzumainn: they should13:05
tzumainnokay, should I just stick that in then?13:05
jcoufaltzumainn: go ahead13:05
tzumainnworks for me, thanks!13:05
*** Poornima has joined #openstack-ironic13:10
*** lucas-lunch is now known as lucasagomes13:12
*** dtantsur is now known as dtantsur|lunch13:12
*** romcheg1 has joined #openstack-ironic13:15
*** romcheg2 has quit IRC13:16
*** gestahlt has joined #openstack-ironic13:27
gestahltHi13:27
gestahltDo i need a pxe server for ironic?13:27
*** NobodyCam has quit IRC13:29
*** BadCub_ has quit IRC13:30
*** dtantsur|lunch is now known as dtantsur13:31
dtantsurgestahlt, hi! For using deploy via PXE you need a TFTP server, right13:31
viktorslucasagomes: around?13:36
gestahltdtantsur: Yeah, i actually want to use ironic to manage a docker node.. since i have to do docker via heat13:36
lucasagomesviktors, hey yes, a bit afk tho13:36
*** BadCub has joined #openstack-ironic13:36
viktorslucasagomes: hi! I just want to show you patch https://review.openstack.org/#/c/107053/ (Use opportunistic approach for migration testing). Please ping me, when you'll have a time.13:37
lucasagomesviktors, nice, thanks for that! I poke u after I finish what I'm doing here13:39
viktorslucasagomes: sure, thanks13:39
*** lazy_prince is now known as killer_prince13:40
*** rloo has joined #openstack-ironic13:41
*** NobodyCam has joined #openstack-ironic13:42
*** romcheg1 has left #openstack-ironic13:42
*** bvivek has quit IRC13:43
*** killer_prince is now known as lazy_prince13:43
*** kpavel has quit IRC13:46
*** jcoufal has quit IRC13:50
*** jcoufal has joined #openstack-ironic13:51
*** cdent has joined #openstack-ironic13:53
*** rloo has quit IRC13:53
*** rloo has joined #openstack-ironic13:54
openstackgerritDmitry Tantsur proposed a change to openstack/ironic: Add newly_discovered column to Node object  https://review.openstack.org/10738913:55
NobodyCammorning iRonic13:58
dtantsurNobodyCam, morning :)14:01
*** jistr has quit IRC14:02
*** jistr has joined #openstack-ironic14:03
*** kpavel has joined #openstack-ironic14:04
*** lazy_prince is now known as killer_prince14:09
NobodyCammorning dtantsur14:13
dtantsurfolks, what steps are required for adding a new field to something (say Node)? Updating DB model, model in objects and creating a migration is not enough even for tests to pass :)14:14
jrollmorning ironic :)14:20
ifarkasdtantsur, what test is failing for you? 107389 seems to be alright in the gate14:20
jrolldtantsur: tests should pass for that, especially considering that we're not currently testing migrations :/14:21
dtantsurjroll, morning, strange, for me it looks like new field is not returned from DB14:21
dtantsurifarkas, it's local14:21
jrolldtantsur: oh, you also have to run migrations :)14:21
jrollhere's an example of a patch to add a field https://review.openstack.org/#/c/79466/14:22
dtantsurjroll, well, migrations don't seem to work for SQLite and I still do not know how to make tests work with something else14:22
jrolldtantsur: to run them... ironic-dbsync --config-file etc/ironic/ironic.conf.local14:23
dtantsurjroll, yeah, I'm already using your patch as a reference :)14:23
dtantsurlemme try...14:23
jrollhmm14:23
jrollI guess for sqlite you would nuke the db and run that14:23
dtantsurCRITI [ironic] NotImplementedError: No support for ALTER of constraints in SQLite dialec14:23
dtantsurno good, "upgrade 31baaf680d2b -> 3bea56f25597, add unique constraint to instance_uuid" does not work14:25
jrollafter deleting the db, even?14:25
dtantsurjroll, ^^^14:25
dtantsuryes14:25
jrollO.o14:25
jrollthat's not scary or anything14:25
NobodyCammorning jroll14:26
dtantsurI guess I'm going to add try...catch NotImplementedError... to a failing migration14:27
jrollheya NobodyCam14:27
jrolldtantsur: :|14:27
jrollI would think that dbsync without a db would just do it all in one shot14:27
jrolland not go through migrations14:27
jrollbut, who knows14:28
*** jistr has quit IRC14:32
viktorsdevananda: Hello! Are you around?14:34
*** jcoufal has quit IRC14:35
openstackgerritDmitry Tantsur proposed a change to openstack/ironic: Fix database migration with SQLite  https://review.openstack.org/10740714:35
dtantsurjroll, well ^^^14:35
viktorsdtantsur: hi! Sorry, I missed the discussion, but why do you need migrations on SQLite?14:36
openstackgerritDmitry Tantsur proposed a change to openstack/ironic: Add newly_discovered column to Node object  https://review.openstack.org/10738914:36
openstackgerritSyed Ismail Faizan Barmawer proposed a change to openstack/ironic-specs: UEFI support for Ironic deploy drivers  https://review.openstack.org/9985014:36
dtantsurviktors, to run tests. Anyway, if we support SQLite, it will be nice to have it working14:37
*** cdent_ has joined #openstack-ironic14:38
viktorsdtantsur: as for test - what do you think, if we will generate db schema for tests on sqlite from model description?14:38
*** shausy2 has quit IRC14:39
viktorsdtantsur: also I was pretty sure, that we don't use sqlite in production, or I miss something?14:39
dtantsurviktors, I would like it, unless we want to test migrations as well (which probably should be done separately)14:39
dtantsurviktors, of course not in prod, but can be helpful for playing with services locally as well14:39
dtantsurI suspec our quickstart guide may even recommend it14:39
*** faizan has joined #openstack-ironic14:40
viktorsdtantsur: afaik, at the moment we test migrations on production databases (MySQL, PostgreSQL)14:40
*** cdent has quit IRC14:40
*** cdent_ is now known as cdent14:40
viktorsdtantsur: sorry, one more time about quickstart guide ?14:41
*** jbjohnso__ has joined #openstack-ironic14:41
*** jbjohnso_ has quit IRC14:45
viktorsdtantsur: also one more note about migrations on SQLite - Ironic use Alembic as migration tool, and (AFAIK) Alembic has very limited sqlite support14:45
viktorsdtantsur: see for example https://bitbucket.org/zzzeek/alembic/issue/21/column-renames-not-supported-on-sqlite14:46
*** pquerna has quit IRC14:46
dtantsurviktors, http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#exercising-the-services-locally14:47
dtantsurit suggests mysql only as an option, defaulting to sqlite14:47
*** pquerna has joined #openstack-ironic14:47
viktorsdtantsur: well, what do you think, if we will generate db schema from model description during the installation? It should be faster at least and suitable for sqlite.14:48
dtantsurviktors, +many to this :)14:49
viktorsdtantsur: :)14:49
dtantsurlucasagomes, still waiting for your vote on https://review.openstack.org/#/c/107344/ ;)14:50
*** JayF has joined #openstack-ironic14:51
*** jgrimm has joined #openstack-ironic14:51
viktorsdtantsur: we have a test case in oslo.db, which check, that DB schema, which was generated from migrations and from models are equal, so it should be totally safe to use a such approach. See test case at https://github.com/openstack/oslo.db/blob/master/oslo/db/sqlalchemy/test_migrations.py#L28514:52
dtantsurviktors, wow cool!14:53
NobodyCamdtantsur: :-p Create new method in `ManagementInterface`  ... https://github.com/openstack/ironic/blob/master/ironic/drivers/base.py#L35714:53
lucasagomesdtantsur, I'm trying to put it in a ramdisk and see if we are not missing any gaps14:53
NobodyCamnm14:54
NobodyCamI not yet awake14:54
jrolllucasagomes, dtantsur, gah, I had thought of a reason to use dtantsur's method yesterday... now I forgot :/14:55
jrollone quick thing, though, is passing back extra data to the node (like for the agent we pass back heartbeat_timeout)14:56
lucasagomesjroll, extra data?14:58
*** Poornima has quit IRC14:58
lucasagomesjroll, as part of the discovery?14:58
jrolllucasagomes: in the agent... we call vendor_passthru/lookup to find which node it is... the response is something like {'node': 'uuid-here', 'heartbeat_timeout': 300}14:58
jrollso that ironic can define the heartbeat timeout14:59
jrollthat could be in dhcp configs but mehhhhhhhhhhh14:59
*** geekyogi has joined #openstack-ironic14:59
lucasagomesjroll, heh right, but to find which node it is we kinda agreed at looking at ports no?14:59
dtantsurwell, my method was way more generic, though somewhat suboptimal14:59
lucasagomesalso, if the machine is already registered15:00
jrolllucasagomes: right. I'm saying that would be a reason to put the logic on the ironic side15:00
*** geekyogi has quit IRC15:00
lucasagomesit's very unlikely that it will boot on the discovery ramdisk15:00
lucasagomesjroll, ah right yea15:00
dtantsurI raised this in review as well. Also, jroll, your review still suggests storing inventory.15:00
jrolllucasagomes: also, this is only tangentially related to discovery :)15:00
jrolldtantsur: I know it does, been focusing on internal things this week :/15:00
jrolldtantsur: I'll update it soon15:01
dtantsurack15:01
NobodyCamdtantsur: question on 107344, who Is going to press the power button to boot a new (undiscovered) node??15:01
jrolllikely after you're gone for the night, unfortunately15:01
JayFjroll: fyi; bouncer host server died last night, I'm trying to get back into internal irc :x15:01
jrollJayF: lol :(15:01
openstackgerritImre Farkas proposed a change to openstack/ironic-specs: DRAC management driver  https://review.openstack.org/10703315:01
dtantsurNobodyCam, alive user. I don't see other chances for now.15:01
jrollNobodyCam: buy better hardware that boots as soon as it's plugged in :)15:02
NobodyCamI was thinking arp ping the ipmi address range and get every reply for a unknowen mac, if the mac is unknown then use cypher zero to power on the node :-p15:03
NobodyCambut that may be too much :-p15:03
JayFNobodyCam: OpenCompute spec hardware is required to power-on and PXE boot all interfaces15:04
JayFNobodyCam: so there is a whole set of hardware that is just plug-in and it starts pxe15:04
jrollNobodyCam: lol15:04
*** JayF has quit IRC15:04
*** ndipanov_ has joined #openstack-ironic15:05
faizanmorning NobodyCam, dtantsur15:08
*** ndipanov has quit IRC15:08
*** athomas has quit IRC15:08
dtantsurfaizan, morning!15:08
*** Poornima has joined #openstack-ironic15:08
dtantsurNobodyCam, LOL15:08
NobodyCammorning faizan15:09
NobodyCambrb15:09
faizandtantsur: NobodyCam: I have submitted the uefi support design spec after addressing devananda's review comments. https://review.openstack.org/9985015:09
faizankindly request you folks to take a look at this spec and give your comments.15:10
*** gestahlt has quit IRC15:14
*** faizan has quit IRC15:14
*** ifarkas has quit IRC15:15
*** amitpp has joined #openstack-ironic15:16
*** mdorman has joined #openstack-ironic15:16
*** JayF has joined #openstack-ironic15:19
*** jistr has joined #openstack-ironic15:21
*** viktors is now known as viktors|afk15:21
*** JayF has quit IRC15:27
*** foexle has quit IRC15:29
*** ndipanov_ has quit IRC15:31
*** JayF has joined #openstack-ironic15:31
*** pcrews has joined #openstack-ironic15:32
*** pcrews has quit IRC15:38
*** Mikhail_D_ltp has quit IRC15:40
*** rakesh_hs has quit IRC15:42
*** pcrews has joined #openstack-ironic15:42
*** ndipanov_ has joined #openstack-ironic15:42
dtantsurgoing now, see you :)15:44
*** dtantsur is now known as dtantsur|afk15:44
openstackgerritGhe Rivero proposed a change to openstack/ironic: Fix tear_down a node with missing info  https://review.openstack.org/10368515:47
*** ndipanov_ has quit IRC15:56
*** ndipanov has joined #openstack-ironic15:58
*** ndipanov has quit IRC16:00
* NobodyCam now remembers why he dislikes windows so much 16:00
*** matty_dubs is now known as matty_dubs|lunch16:01
NobodyCambrb16:03
*** Poornima has quit IRC16:08
*** chuckC has quit IRC16:10
*** malini1 has joined #openstack-ironic16:15
NobodyCamgrr...16:16
ShrewsNobodyCam is either turning into a bear, or still battling windows16:21
NobodyCamit is hte latter :-p16:21
NobodyCamthe*16:21
*** derekh_ has quit IRC16:27
*** malini1 has quit IRC16:29
*** rakesh_hs has joined #openstack-ironic16:29
*** jistr has quit IRC16:30
*** bvivek has joined #openstack-ironic16:42
*** martyntaylor has joined #openstack-ironic16:46
devanandamornign, all16:46
*** Mikhail_D_ltp has joined #openstack-ironic16:46
*** foexle has joined #openstack-ironic16:47
NobodyCammorning devananda :)16:47
*** malini1 has joined #openstack-ironic16:48
*** Alexei_987 has quit IRC16:48
devanandaviktors|afk: hi!16:52
devananda13:36:21 < gestahlt> dtantsur: Yeah, i actually want to use ironic to manage a docker node.. since i have to do docker via heat16:53
devanandaanyone know who that ^ was?16:53
NobodyCamgah missed dtantsur|afk16:55
devanandakpavel: hi! did you have any success / response to your network question?16:55
devanandamrda-away: ping me when you're around. Yes, I'd like to talk about ironic_host_manager :)16:59
Shrewsmorning devananda17:01
devanandamornin, Shrews !17:01
*** matty_dubs|lunch is now known as matty_dubs17:02
NobodyCammorning Shrews17:03
*** cdent_ has joined #openstack-ironic17:06
devanandaShrews: any thoughts on how we should test this functionality? https://review.openstack.org/#/c/105802/17:07
devanandaShrews: i'd like to know that it doesn't break in the future17:07
devanandaShrews: it's an interaction between ironic and nova. clearly outside of unit tests, but falls into the grey arae sdague has been pushing out of tempest lately17:08
*** cdent_ has quit IRC17:08
Shrewsdevananda: hrm, i was pondering over that earlier this morning, actually. didn't come to any decision though. i was trying to figure out how'd that would even be used. we don't set node capabilities yet, do we?17:08
*** foexle has quit IRC17:09
Shrewsor my grep-foo failed17:09
devanandaShrews: we dont, and we wont17:09
devanandait's there for deployers17:09
Shrewsah17:09
*** cdent has quit IRC17:10
devanandaI call "ironic node-update $UUID add properties/capabilities="foo:bar,baz:kazoo" and this should work17:10
Shrewsright. makes sense now17:10
devananda&& I create a nova flavor with capabilities foo:bar17:10
devanandaand then nova scheduler finds the right node17:10
Shrewsdevananda: without tempest... hrm...17:11
devanandaso it's an integration test between ironic and nova-compute and nova-scheduler17:11
*** cdent has joined #openstack-ironic17:11
devananda git grep extra_specs | grep -c compute17:13
devananda5217:13
devanandagit grep capabilit | grep -c compute17:13
devananda017:13
devananda:(17:14
Shrewsdevananda: ironic seems to try harder than the other projects to "test all the things"17:14
Shrewswhich is good17:14
devanandaShrews: it's because we care17:14
jrollheh17:15
Shrewsand you are our overlord17:15
kpaveldevananda: Hi! No, i didn't have response yet :( Still straggling.17:15
Shrewsi mean.... PTL17:15
Shrews:)17:15
jrollopenstack has no concept of integration tests, IMO :(17:15
Shrewsdevananda: i don't have a good idea yet. perhaps something to add to the list next week?17:15
devanandajroll: read the recent ML thread about it?17:15
jrolle.g. when I add the configdrive feature... people are of the opinion that tempest shouldn't change. wat17:16
devanandajroll: right17:16
jrolldevananda: no... will look17:16
jrolllater17:16
jrollafk for a bit17:16
devanandajroll: I expect the same would be said about the support for CCF that I just added to nova.virt.ironic17:16
jrollalso, you should ask dwalleck how he feels about tempest some time :)17:16
*** openstackgerrit has quit IRC17:16
jrolldevananda: indeed17:16
devanandaactually, me too. got a few things to do i nthe office this morning17:17
NobodyCam:)17:17
Shrews"office"?  what is this strange word you bring before us?17:17
devanandakpavel: ok, i haven't done that myself, but in principle, i think it's just a matter of changes to neutron (simple, right? :) )17:17
*** openstackgerrit has joined #openstack-ironic17:17
kpaveldevananda: right... :) the big question s what change17:18
*** harlowja_away is now known as harlowja17:18
NobodyCam:( so many red X's on https://review.openstack.org/#/c/10316417:18
devanandaanyone gotten devstack (ironic, neutron, etc) to work booting phys hardware lately? I think we need some docs on that17:19
*** harlowja is now known as harlowja_away17:19
*** rameshg87 has joined #openstack-ironic17:19
*** harlowja_away is now known as harlowja17:19
devanandalast time I did that in my lab was with tripleo, fwiw17:19
* devananda needs to rebuild his lab after moving last week17:19
JayFYeah, that's something we wanna do too, for our hardware lab area17:19
devanandaShrews: OSSG meetup in seattle. and I need to print an expense report.17:20
devanandabbiab17:20
*** hemna__ is now known as hemna17:25
rameshg87devananda: request you to take a look at ilo deploy spec https://review.openstack.org/9774417:25
NobodyCambrb17:26
*** rameshg87 has left #openstack-ironic17:30
*** lucasagomes is now known as lucas-dinner17:32
*** viktors has joined #openstack-ironic17:33
*** cgoncalves has left #openstack-ironic17:35
kpaveldevananda: Maybe if you have some reference to network configuration for physical i will manage, not only for devstack setup...17:38
*** shakamunyi has joined #openstack-ironic17:39
*** shakamunyi has quit IRC17:39
*** shakamunyi has joined #openstack-ironic17:40
*** shakamunyi has quit IRC17:42
*** ifarkas has joined #openstack-ironic17:42
*** cdent_ has joined #openstack-ironic17:44
NobodyCamlucas-dinner: are you out for the day17:44
*** cdent has quit IRC17:45
*** cdent_ is now known as cdent17:45
*** amitpp has quit IRC17:47
Shrewsafk for a bit17:52
*** Penick has joined #openstack-ironic17:55
*** cdent has quit IRC17:56
*** Penick has quit IRC17:59
*** Penick has joined #openstack-ironic18:02
ifarkasdevananda, hi, are you around?18:03
NobodyCamifarkas: I think he's on his way into the office18:08
ifarkasNobodyCam, cool, thanks18:09
devanandaback18:09
devanandaifarkas: hi!18:09
ifarkasdevananda, hi, what a timing! :-)18:10
ifarkasdevananda, I have a question regarding the vendor passthru interface.18:10
*** iron1 has joined #openstack-ironic18:11
ifarkasI am planning to add a raid management support for drac and can't decide if that should go to the management interface or to vendor passthru. I feel that for now it's a better fit for vendor passtrhu. The only problem is that it's only support post requests and asnyc processing18:11
ifarkaswhich makes a problem when I want to implement method like list_all_raid_controllers on vendor passthru18:11
devanandaifarkas: you're correct - that should, for now, go in vendor_passthru18:11
devanandaifarkas: until there is enough concensus between vendors on a standard API to move it to management interface18:12
ifarkasdevananda, yeah, that was my thinking as well18:12
devanandaifarkas: so there's another thing here too -- synchronous requests to hardware are #fail18:12
*** killer_prince is now known as lazy_prince18:12
devanandaissuing a GET to get any data /directly/ from the hardware is a really bad idea, as we've learned by implementing a few of those already18:13
ifarkasdevananda, so, what would you suggest for the previous use case?18:13
devanandaand so we've got some discussions in progress on the async API spec to do it differently18:13
devanandawhich may or may not require a /v2/ API18:13
devanandai haven't seen any solutions within the current API that really work18:14
*** igordcard has joined #openstack-ironic18:14
devanandaifarkas: here's an off-the-cuff possibility18:14
*** martyntaylor1 has joined #openstack-ironic18:14
devanandaPOST /v1/nodes/NNN/vendor_passthru?method=discover_raid_controllers18:14
devanandathen have that populate some existing field, eg, node.extra['raid_controllers']18:15
*** martyntaylor has quit IRC18:15
ifarkasdevananda, that makes sense18:15
devanandathe challenge will be, the user needs to wait for that update18:16
devanandaso perhaps when the POST is received, change the field to "IN PROGRESS" or something18:16
devanandabut this is a really hackish API :(18:16
ifarkasright18:16
devanandai feel bad even suggesting it18:16
ifarkasdevananda, I have a trickier use case for that solution. drac supports to give back a list of supported raid levels for a given controller and a given set of disks.18:18
ifarkasshould it go to the same place in this case too? the input and the output to node.extra?18:18
devanandaifarkas: so how is ironic goign to use this information?18:18
ifarkasdevananda, it's just a helper method for the user before he issues something like the create_virtual_disk command18:19
devanandaifarkas: create_virtual_disk ?18:19
ifarkasdevananda, I meant raid virtual disk18:20
devanandaright18:20
devanandaso, you're mapping the HW RAID commands to an API18:20
devanandaI'd rather see a proposal for that API go through spec review18:20
ifarkasdevananda, yeah, sort of18:20
devanandaand expect it to take a few months, maybe more18:20
*** martyntaylor1 has quit IRC18:21
devanandaso that we can get other vendors to agree that it covers their needs too18:21
*** martyntaylor has joined #openstack-ironic18:21
ifarkasyep, I was thinking about creating a spec, just wanted to check how should I use vendor_passthru18:21
*** tzumainn has left #openstack-ironic18:21
ifarkasbecause it's missing features like the above18:22
ifarkasI am not sure how to fix them18:22
devanandaas an aside, anything you add to vendor_passthru is essentially not supported by the API, since it is not discoverable, not added to the CLI, and it is entirely driver-specific18:23
devanandait enables experimental features, or unique behavior of a specific vendor18:24
devanandaraid mgmt is something that we want in the main API eventually18:24
ifarkasright18:26
devanandaI think you can cobble something together using vendor_passthru here, but it doesn't support the sort of complex interactions that I would expect from a RAID mgmt API (like enumerating devices, raid level capabilities, polling BBU status, etc)18:27
devanandaunless you stash all that data in some other field to enable async interactions18:27
devanandacould be node.properties, for example18:28
devanandaalso, i'm thinking out loud -- so IMBW and/or change my mind :)18:28
ifarkasyeah, which is quite ugly on it's own18:28
devanandaifarkas: here's an idea18:29
devanandawhat if the driver stashes some description of capabilities on node.properties, and does thorough input validation within a driver.vendor_passthru.validate() method?18:31
devanandathat call is synchronous18:31
devanandaso you can return an error to the user, eg. requested virtual disk topology is not possible18:31
devanandaas long as validate() doesn't actually touch the HW, it's fine18:31
devanandathen POST can return 4XX error if validation fails, or 202 if validation succeeds and the request is able to be sent to the hardware18:32
devanandauser still must poll to see the progress / status / result, but then the only difference between this API and existing power/provision/console APIs are what field the user is looking for status in18:33
devanandainstead of {provision_state: X} they will be looking eg. at {extra: {raid_status: X} }18:34
ifarkasdevananda, by not touching the hw, you mean it's not interacting with the drac card itself, right?18:35
devanandaright18:35
*** kpavel has quit IRC18:35
ifarkasdevananda, what would make the driver stash all the info initially?18:35
devanandainteraction with OOB carsd (iLO, DRAC, IPMI, etc) shouldn't be done synchronously (ie, while the client is waiting for HTTP response)18:35
*** kpavel has joined #openstack-ironic18:35
ifarkasanother api call on vendor passthru?18:36
devanandaifarkas: could be18:36
devanandaifarkas: I proposed a periodic task to sync hardware state as part of the asycn API changes, but those are still a ways away from becoming code, I think18:36
ifarkasdevananda, right. ok. I like your idea. I think that's a fine middle ground for now18:37
devananda:)18:37
ifarkasdevananda, thanks ;-)18:38
devanandaifarkas: welcome! glad I was able to be helpful :)18:38
ifarkasdevananda, haha, definitely18:38
devanandaifarkas: also you may want to track https://review.openstack.org/#/c/94923/ -- async API proposal18:39
devanandathere have been several (very different) versions proposed18:39
devanandaShrews has taken up the torch on that one lately, too18:40
devanandaShrews: you may want to read scrollback for an example use case18:40
ifarkasdevananda, yeah, thanks, it's already on my radar18:41
ifarkasalthough I skipped the last few revisions18:41
*** pelix has quit IRC18:43
NobodyCamgah brb again18:46
*** jbjohnso_ has joined #openstack-ironic18:46
*** jbjohnso__ has quit IRC18:49
*** bvivek has quit IRC18:55
*** lazy_prince is now known as killer_prince18:56
*** Penick has quit IRC19:02
*** rloo has quit IRC19:04
*** martyntaylor1 has joined #openstack-ironic19:09
*** rloo has joined #openstack-ironic19:10
*** martyntaylor has quit IRC19:11
*** Penick has joined #openstack-ironic19:12
iron1Deva, ramesh 87 uploaded a new rev of iLO deploy driver spec https://review.openstack.org/#/c/97744/ about a week ago.  Can you review it?  We aslo need another core reviewer to review the spec.19:15
*** rloo has quit IRC19:16
*** rloo has joined #openstack-ironic19:17
lifelessok I've got a weird one19:26
lifelessironic has picked a mac from a different node to register with neutron19:26
*** malini1 has quit IRC19:27
NobodyCamcroupt index maybe/19:27
lifelesshow do you get the ports for a node?19:28
*** malini1 has joined #openstack-ironic19:30
jrolllifeless: curl /v1/nodes/uuid/ports19:30
lifelessugh really, we don't do it in the CLI ?19:31
lifelessNobodyCam: https://bugs.launchpad.net/ironic/+bug/134291919:34
rloolifeless: ironic node-port-list <uuid>19:34
lifelessoh19:34
lifelessno wonder I never found it19:34
lifelessI was doing help port-list19:34
lifelessNobodyCam: this is (needless to say) really breaking things :)19:35
viktorsdevananda: around?19:37
NobodyCamlifeless: ya... humm19:37
lifelessI have logs19:37
lifeless4G of them sadly19:37
jrolllifeless: maybe, I prefer curl19:37
jrolltypically19:37
*** chuckC has joined #openstack-ironic19:38
NobodyCamlifeless: do have an idea if this is comming from the client or the api/conductor19:40
lifelessNobodyCam: or the nova client? dunno yet19:40
lifelessNobodyCam: using the client against the api I get the right answer19:40
NobodyCamcan you look at actual database and see if node is correctly marked there?19:41
lifelessI can, will do in a bit since that seems improbable as a fault since the REST API returns the right results19:41
lifelessand it depends on the DB19:41
NobodyCamack19:42
lifelesssee comment 219:42
lifelessironic nova driver is asking for the wrong port19:42
*** chuckC has quit IRC19:44
lifelesshmm19:46
lifelessheat doesn't capture the request id19:46
lifelessthat might be useful for debugging19:46
lifelesslet me file a bug on that19:46
*** martyntaylor1 has left #openstack-ironic19:50
lifelessok so the port is being looked up because the wrong node is being looked up19:51
NobodyCamoh that last comment is odd19:58
NobodyCamlifeless: how many nodes where attempting to boot?19:58
NobodyCamjust a single? or many?19:58
lifeless2820:00
lifelessso we're hitting the nasty race I filed a bug about (but not as much, my workaround is enough to actually work around the scheduler issue20:00
lifelessI have a theory now20:02
NobodyCamI was going to ask which of the two nodes on the bug actually got the nova instance added to the db20:02
*** aswadr has quit IRC20:02
NobodyCam:)20:02
lifelessboth of them serially20:02
* NobodyCam waits 20:02
lifelessI think the neutron port is not being updated on a reschedule20:02
lifelessand not deleted20:02
*** Penick has quit IRC20:05
*** Penick has joined #openstack-ironic20:07
lifelessoh20:12
lifelessI think I know20:12
lifelesshypothesis:20:12
lifeless - nova is allocating the nwinfo before the claim happens20:12
lifeless - we reschedule due to failed clai20:12
lifeless - wrong mac boom20:12
devanandalifeless: correct20:13
devananda20:12:28 < lifeless>  - nova is allocating the nwinfo before the claim happens20:13
*** rakesh_hs has quit IRC20:13
lifelessdevananda: not sure about that20:13
lifelessline 1315 in nova/compute/manager.py is where macs_for_instances is grabbed, and thats in the claim context20:13
lifelessas of two days ago20:14
devanandahmm20:14
jrollin our experience, on a reschedule: nova does release the network info correctly, but doesn't update the local cache20:14
devanandai'm checking now20:14
NobodyCammaybe a rebuild check around here: https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/pxe.py#L51020:14
jrollI'm fairly certain that's what we've seen... comstud fought it more than me20:14
devanandalifeless: https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L196520:15
devananda_build_resource is called before driver.spawn20:15
*** ifarkas has quit IRC20:15
devanandawhich is where the actual lock is taken in ironic20:15
devanandameaning that two nova processes can generate network info for the same node as they race to call driver.spawn()20:16
lifelessdevananda: I don't think so20:16
devanandaoh?20:16
lifelessthere is a resource lock20:16
lifelessto make claims atomic20:16
lifelessthis isn't a N-compute scenario, its one nova-compute - single node undercloud20:17
lifelessso that resource lock should be intact20:17
devananda_build_instance calls driver.macs_for_instance -- https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L131520:17
lifelessright20:17
devanandabefore calling self._allocate_network20:17
lifelesswith rt.instance_claim(context, instance, limits):20:17
lifelessthats the lock20:17
devanandano20:17
devanandathat's a lock on the instance in nova20:17
lifelessright20:17
devanandaNOT the lock on the node in ironic20:17
lifelessI'm talking about nova20:17
devanandaso two instances can be created in nova against the same node20:17
devanandathen race20:18
lifelessno20:18
devanandawhy not?20:18
lifelessbecause the resource claim will fail20:18
devanandawhy?20:18
lifelessbecause the resource claim allocates all the memory on the node20:18
lifelessbecause our flavours match the nodes20:18
lifelessnot to mention the host manager etc20:18
devanandaresource claim is delayed update, isn't it?20:18
lifelessno20:18
devanandahm20:18
lifelessits atomic in the nova compute20:18
devanandayou have >1 compute host?20:18
lifelessno20:18
devanandaok20:18
devanandathought you did20:19
lifelessand the reschedule 08:17 < lifeless> this isn't a N-compute scenario, its one nova-compute - single node undercloud20:19
lifelessanyhow the reschedule due to claim failures race is demonstrating that the nova-compute knows the claim details better than the scheduler20:19
lifelessjroll: the nwinfo cache?20:22
jrolllifeless: I think so, yes20:23
viktorsdevananda: ping20:27
devanandaviktors: pong20:27
viktorsdevananda: hi! Do you have a minute to discuss patch https://review.openstack.org/#/c/107053/ (Use opportunistic approach for migration testing) ?20:27
devanandaviktors: sure! lemme look20:29
viktorsdevananda: sure20:29
*** malini1 has quit IRC20:29
devanandaviktors: it looks like this is aimed at fixing the bugs I found in oslo.db and oslo-incubator/db testing?20:30
devanandaviktors: is this a precursor / prerequisite to moving ironic to oslo.db?20:30
devanandahmm, it looks like oslo.db is a dependency of this, though20:30
viktorsdevananda: correct20:31
*** foexle has joined #openstack-ironic20:32
viktorsdevananda: ironic.common.db code can't create a new database for each test20:32
viktorsso we should either update common db code, or use oslo.db as a dependency20:33
devanandafair enough20:33
devanandai'm looking at the oslo.db patch too, then20:33
lifelessdevananda: https://bugs.launchpad.net/ironic/+bug/1342919 - last comment20:33
devanandasince that wil lhelp to understand what you're removing in 10705320:33
lifelessit rescheduled once due to the scheduler race20:33
lifelessthen tried something for 7 minutes, gave up20:34
lifelessthen tried for 32 minutes, gave up20:34
lifelessI diagnosed it at 19:34 well into the last period20:35
viktorsdevananda: thanks!20:35
*** chuckC has joined #openstack-ironic20:35
viktorsdevananda:  fyi - I suppose to go sleep soon, so I'll be able to answer to your notes in morning20:36
devanandaviktors: ok - initial review looks fine20:37
*** malini has joined #openstack-ironic20:37
devanandaviktors: i'm going to rerun my tests in a bit -- if I can confirm the bugs are closed, i'll remove my -2 and add =220:37
devananda+220:37
devanandaviktors: thanks much for the work on this!20:37
viktorsdevananda: no problem, thank you for your help and patience :)20:38
*** rloo has quit IRC20:41
*** viktors has quit IRC20:41
*** rloo has joined #openstack-ironic20:42
*** rloo has quit IRC20:42
*** romcheg1 has joined #openstack-ironic20:42
*** Mikhail_D_ltp has quit IRC20:42
*** Penick has quit IRC20:44
openstackgerritJosh Gachnang proposed a change to openstack/ironic-python-agent: Add versioning to Agent decommission  https://review.openstack.org/10685920:45
*** Penick has joined #openstack-ironic20:45
*** rloo has joined #openstack-ironic20:48
*** chuckC has quit IRC20:56
devanandalifeless: if you are so inclined, the iLO virtual media deploy spec LGTM. It had a previous -1 from you, which I think has been addressed. would be great to get your eyes to confirm if that's covered21:00
devanandaNobodyCam: ditto ^21:01
lifelessreview # ?21:01
devananda9774421:01
*** zdiN0bot has joined #openstack-ironic21:06
*** jbjohnso_ has quit IRC21:06
*** jdob has quit IRC21:07
lifelessdevananda: reviewed, my concerns are still not addressed21:07
*** zdiN0bot has quit IRC21:08
*** malini has quit IRC21:08
*** romcheg1 has quit IRC21:09
NobodyCamdevananda: looking21:12
lifelessdevananda: what do you think about https://bugs.launchpad.net/ironic/+bug/1342919/comments/821:15
adam_glifeless, what is are your current workarounds for the scheduler issue? just https://review.openstack.org/#/c/106716/ ?21:24
lifelessyeah21:24
lifelessit reduces the severity enough to not fail out without actually landing on a node21:24
adam_gah21:25
lifelessat least for this race21:26
lifelesswem21:26
lifelesserm21:26
lifelessrack21:26
adam_glifeless, curious, was the node associated with the incorrect port used in any of the previous failed claims?21:26
NobodyCamlifeless: you saw ./nova/scheduler/filter_scheduler.py:23:1: H306  imports not in alphabetical order (time, random) on ^^^21:26
lifelessNobodyCam: you saw the commit message on it ?21:26
NobodyCamlol /hands to face/21:26
NobodyCamsorry21:26
*** Penick has quit IRC21:27
*** malini has joined #openstack-ironic21:31
openstackgerritJosh Gachnang proposed a change to openstack/ironic-python-agent: Add versioning to Agent decommission  https://review.openstack.org/10685921:31
*** Penick has joined #openstack-ironic21:32
*** romcheg1 has joined #openstack-ironic21:34
openstackgerritJosh Gachnang proposed a change to openstack/ironic-python-agent: Add versioning to Agent decommission  https://review.openstack.org/10685921:34
openstackgerritA change was merged to openstack/ironic: Import a few more fixes from the Nova driver  https://review.openstack.org/10721421:41
openstackgerritJosh Gachnang proposed a change to openstack/ironic-python-agent: Add versioning to Agent decommission  https://review.openstack.org/10685921:46
lifelessNobodyCam: https://review.openstack.org/107511 - could you perhaps take this on?21:49
NobodyCamdevananda: i still have some consern with the add one more swap partition. ie. what if there is not enough room root_mb+swap_mb+ephemeral_mb==physical disk size21:51
*** igordcard has quit IRC21:51
lifelessdevananda: one more swap partition?21:51
NobodyCamlifeless: lines 298-299 of https://review.openstack.org/#/c/97744/7/specs/juno/ironic-ilo-virtualmedia-driver.rst21:52
*** matty_dubs is now known as matty_dubs|gone21:52
NobodyCamline 309 removes it but..21:52
openstackgerritGhe Rivero proposed a change to openstack/ironic: oslo.i18n migration  https://review.openstack.org/10513221:53
lifelessoh I missed that21:53
* lifeless adds *another* -1 to it.21:53
NobodyCamif the deploy image is a largeish custom payload that additional swap could be many GB in size21:55
lifelessNobodyCam: see me comment on it :)21:55
lifelessNobodyCam: there is no space to add that additional swap21:56
NobodyCam:)21:56
lifelessjroll: so bug found - patch up (without tests) in nova22:19
lifelessjroll: it may affect you too22:19
jrolllifeless: yeah, saw that... thanks22:20
jrollcomstud: ^ when you have time take a look at that?22:20
jrolllifeless: this is the patch, yes? https://review.openstack.org/#/c/106716/22:20
lifelesshttps://review.openstack.org/10751122:20
jrollah22:21
comstudok22:21
lifelessthe epic scheduler race is also a big bug :)22:21
lifeless107511 isn't a race though, its just a plain bug22:21
jrolllifeless: I see, thanks22:21
jrollcomstud: might be related to the network info cache weirdness :)22:21
comstudthat is not the correct fix for this22:22
comstudI don't think22:22
lifelesscomstud: I discussed in openstack-nova first22:22
comstudThere's code that checks whether or not to deallocate on reschedules22:22
comstuddid you discuss with alaski?22:22
lifelessyes22:22
comstudok cools22:22
lifelessand dansmith22:22
lifelessuhm22:22
lifelessso it might be in the wrong place22:22
lifelessbut the intent was to do it based on macs being non-None22:22
lifelessand macs wasn't passed around anywhere else22:23
comstudi had discussed this a while back with alaski22:23
comstudi had an item22:23
comstud"check to see if this is broken with ironic"22:23
comstudwhich.. I've not yet completed.22:23
comstud:)22:23
lifelessin fact, further - the next place this could be done is in the network_api22:23
lifelesswhich is definitely the wrong place22:23
lifelesssince neutron doesn't know whether it was constrained or not22:23
lifelessinteresting thing22:24
lifelesssee _cleanup_allocated_networks22:24
lifelessvs _deallocate_network22:24
lifelessI wonder if the instance.system_metadata['network_allocated'] = 'False' line there22:24
lifelessis an existing issue on reschedules22:24
comstudwell22:25
*** jgrimm has quit IRC22:25
comstudwhy i said i wasn't sure this was right was...22:25
comstudthere was a very simple check to see if network should be deallocated22:25
comstudit seemed like only that check needed updated22:25
comstudunless..22:25
lifelessI can't see that check22:25
comstudyou've found something else that's wrong22:25
comstudsec22:25
comstudi was looking at this a month or more ago :-/22:26
lifelessline 190822:26
lifelessso thats in a wrapper function22:26
comstudI think you're updating the OLD CODE path22:26
comstud:)22:26
lifelesswhich doesn't have the right info22:26
comstudbut not positive yet22:26
comstudyou are22:26
comstud_build_instance is not called anymore22:26
comstuddeprecated.22:26
* lifeless curses22:27
comstudyou want _build_and_run_instance22:27
comstudetc22:27
comstudsomewhere in there is a check to see if network should be deallocated22:27
comstudbefore reschedule22:27
comstud(i'm looking for it too)22:28
lifelessI see it22:28
lifelessits looking at the wrong thing22:28
comstudoh it may be in cnoductor22:28
comstudconductor22:28
comstudyou find it?22:28
comstud710                 if self.driver.dhcp_options_for_instance(instance):22:30
comstudah yes22:30
comstudthat's the wrong check22:30
comstudi recall this now22:31
comstudheh22:31
comstudi'm stuck on an old version of nova before these changes, so this all slipped my mind.22:31
comstud:-/22:31
*** Penick has quit IRC22:34
*** romcheg1 has quit IRC22:38
devanandahaving really interesting conversation between Intel, NSA, and others re: trusted boot at the OSSG meetup right now22:48
* jroll is curious22:49
NobodyCamohh22:49
* NobodyCam wants to be fly on ye closest wall22:49
lifelesscomstud: v2 is up22:58
comstudalrighty22:58
comstudlifeless: you don't need any of those changes for _build_instance()23:01
comstudnetwork is always deallocated before reschedule in that deprecated case23:02
comstudit happens in _reschedule_or_error()23:02
comstudwhen it calls self._shutdown_instance()23:02
comstudleft a review23:04
*** iron1 has quit IRC23:05
lifelessv3 going up23:05
NobodyCamlol I like v3... from 20 lines to 4 (three of which are comments)23:07
*** Penick has joined #openstack-ironic23:10
*** malini has quit IRC23:17
*** lucas-dinner has quit IRC23:20
*** mrda-away is now known as mrda23:20
mrdaMorning Ironic!23:20
NobodyCamgood morning mrda23:22
NobodyCamanyone seen this b4? http://logs.openstack.org/96/107096/1/check/gate-ironic-docs/46a1647/console.html#_2014-07-15_16_14_36_48723:23
* NobodyCam feels like he spends too much time looking up recheck bug numbers23:23
mrdadevananda: ping (as per your request :)23:23
mrdaNobodyCam: \o23:24
mrdaNobodyCam: Can we discuss your review comment on https://review.openstack.org/#/c/107316/ ?23:26
NobodyCamummm23:28
NobodyCamsure23:28
devanandamrda: hi there!23:28
devanandamrda: unfortunately i have about 10 minutes now23:28
mrdaThe reason for the patch is to enable 103165 to land23:28
mrdai.e. to address mikal and dansmith's review comments on the ironic driver23:29
mrdadevananda: sorry, late start today due to personal23:29
devanandamrda: np23:29
devanandamrda: so - what can I help you with?23:29
NobodyCamahh yes23:29
NobodyCammrda: I will look again23:29
devanandaNobodyCam: so i've been doing what mrda just proposed for a while now23:30
devanandathe code proposed to nova should represent current tip of our tree23:30
mrdadevananda: so the reason I didn't implement dan's comment on host_state_cls is that it would be different to the baremetal driver i.e. now we're looking at a common base class, it doesn't make a lot of sense (to me) to differ in implementation too much23:31
devanandawhich means, if we approve of 107316, we should land it ASAP and then update the corresponding proposal to nova (103165)23:31
devanandamrda: right - mikal's suggestion makes more sense, I think, which is what you're saying, yes?23:31
mrdayes, that's the plan.  Once 107316 lands, I'll propose a new 103165 to reflect that and hopefully get Nova reviewer buy in23:31
devanandamrda: great23:32
mrdacorrect, so devananda you're happy with me saying that we'll leave host_state_cls as is since baremetal does it that way23:32
*** malini has joined #openstack-ironic23:32
devanandamrda: well, that in and of itself isn't a good argument23:32
devanandamrda: fix it for nova + ironic in such a way that doesn't break baremetal would be best23:33
mrda...and that there's now commonality in the form of a base class between the two, as per mikal's suggestion23:33
devanandathis existed in the baremetal driver as a hack i nthe first place. I think dan's comment is "don't preserve the hack -- do it right, this time"23:33
*** Penick has quit IRC23:33
devanandamrda: https://review.openstack.org/#/c/107316/1/ironic/nova/scheduler/base_host_manager.py23:34
mrdaI feel like if we change it in ironic, we should change it in baremetal, for consistency23:34
devanandamrda: in that, new_host_state is not a class method -- it's a module method23:34
devanandaso your comment "implement in the subclass" doesn't make sense23:34
mrdacorrect23:34
mrdayou mean my comment here, or in code?23:35
NobodyCammrda: why adding old copy writes to https://review.openstack.org/#/c/107316/1/ironic/nova/scheduler/ironic_host_manager.py23:35
devanandai think /want/ that to be a class method/property23:35
devanandawhich is what dan suggested23:35
devanandaNobodyCam: see mikal's comments23:35
devanandaNobodyCam: we incorrectly removed them in the first place23:35
lifelessthe ironic driver doesn't seem to cache tokens23:35
lifelessits suppper chatty23:35
devanandalifeless: correct. there's a patch (from mrda!) to implement that23:35
lifelessreview # ?23:35
devananda  https://review.openstack.org/#/c/10269523:36
jrolllifeless: https://review.openstack.org/#/c/102695/23:36
mrdalifeless: so please go review https://review.openstack.org/102695 for me :)23:36
jrolllifeless: the bigger issue might be the... for node in icli.node_list(): icli.node_get(node)23:36
jrollonce a minute23:36
mrdadevananda: can you comment on https://review.openstack.org/#/c/107316/ what you'd like done with host_state_cls?23:37
devanandalifeless: you can also adjust the logging level of the nova.virt.ironic driver, eg. stop its DEBUG logging23:37
devanandawithout changing the level for the rest of Nova23:37
mrdaNobodyCam: I'm not sure I understand what your question23:38
devanandamrda: sure.23:38
mrdadevananda: ta23:38
mrda....and any ironic reviewers out there, I'd appreciate eyeballs on https://review.openstack.org/#/c/107316 so we can progress landing the Nova Ironic Driver :)23:39
lifelessmrda: reviewed (-1)23:41
lifelessjroll: so thats way less traffic at pea23:42
lifelesspeak23:42
lifelessjroll: even though its more overall23:42
NobodyCammrda: I can +2 107316 if you can add a quick note in the commit message about adding the old Copyright headers back in23:42
jrolllifeless: what?23:42
mrdaNobodyCam: Sure23:42
lifelessdevananda: the chatty logs are fine, I'm talking about churn in keystone.23:42
mrdaGive me 5 mins23:42
*** mdorman has quit IRC23:43
NobodyCamsure ... :)23:43
lifelessjroll: every 60 seconds it polls all nodes, but its serialised.23:43
jrolllifeless: it's still a lot of traffic / load23:43
lifelessjroll: deploy all your nodes at once, and there are dozens of calls per node, and each one of them makes a new token23:43
lifelessjroll: which is higher peak load23:43
lifelessjroll: because its running in lots of rpc threads in the compute process23:43
lifelessjroll: vs just one23:43
jrolllifeless: we've seen, when performance is degradated for whatever reason, that loop take over 60 seconds :|23:44
jrollbut I do see your point about peak load23:44
lifelessjroll: I can imagine, - but i twon't reenter will it? you don't get two instances running at once ?23:44
jrollI think we just assume our ghetto keystone is always falling over :)23:44
jrolllifeless: it breaks in strange ways23:45
lifelessdon't worry23:45
* jroll tries to remember23:45
lifelessreal keystone does too23:45
jrolloh good23:45
jrollso we won't notice when we switch to real keystone23:45
comstudlifeless: I have a caching patch to fix the problem23:46
devanandamrda: comments pushed23:46
jrolls/patch/hack/23:46
comstudget_available_nodes() is always called immediately before looping through every single node on get_available_resource()23:46
devanandaI gotta run, but will still have gtalk for a while23:46
comstudeh.. patch / hack.. same thing23:46
comstud:)23:46
openstackgerritMichael Davies proposed a change to openstack/ironic: Review fixes from Nova scheduler reviews  https://review.openstack.org/10731623:46
mrdathanks devananda23:47
devanandag'night all! see you all sporadically for the next few days of travel and conferences23:47
mrdahave fun and see you in PODX devananda!23:47
jrolllater deva23:47
mrdas/PODX/PDX23:47
*** malini has quit IRC23:48
mrdaNobodyCam: I'll have a new patch up soon for your consideration - one with devananda's suggestions included23:51
NobodyCamyea I just read that :)23:51
*** malini has joined #openstack-ironic23:57

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