Friday, 2015-02-20

*** naohirot has joined #openstack-ironic00:03
*** meghal has joined #openstack-ironic00:10
*** meghal has quit IRC00:11
*** ParsectiX has quit IRC00:13
*** ParsectiX has joined #openstack-ironic00:14
jlvillalGheRivero: That's a big patch you got there :)00:17
GheRiverobut only 1-2 lines per file00:19
*** meghal has joined #openstack-ironic00:19
GheRiveroanyway, I just found a typo so...00:20
*** BadCub_ has quit IRC00:20
jlvillalGheRivero: Okay.  https://review.openstack.org/#/c/157602/1/ironic/api/config.py  Intentional deletion?00:21
* jlvillal thinks so00:22
GheRiveroyes and no. I was having some strange behaviour with the oslo_log lib, so with that change it passed all local tests, but wanted to test it in the gate00:24
naohirotgood morning ironic, jlvillal. GheRivero00:25
NobodyCammorning naohirot :)00:26
jlvillalnaohirot: Good morning.  Ohayō.00:26
GheRiveromorning all00:26
naohirotgood evening NobodyCam :)00:27
NobodyCam:) morning GheRivero :) (you up in seattle?00:27
NobodyCamnaohirot: :)00:27
naohirotjlvillal: ohayo :)00:27
GheRiveroNobodyCam: yep00:27
NobodyCam:)00:27
jlvillalnaohirot: I know how to use google translate ;)00:28
naohirotGheRivero: good evening :)00:28
jlvillalNobodyCam: GheRivero : We got people all along the west coast :)  I'm in Oregon.00:29
NobodyCamnice :)00:29
NobodyCamthere is a TripleO meetup in seattle ATm ... that is why I asked00:29
* jlvillal would rather be working in Amsterdam :)00:29
NobodyCamlol00:29
GheRiverojlvillal: I doubt I could do any job from Amsterdam, but now that Seattle has Weed Vending Machines...00:30
NobodyCamomg do they GheRivero :O00:31
GheRiverohttp://www.theatlantic.com/technology/archive/2015/02/the-radical-efficiency-of-the-pot-vending-machine/385165/00:31
NobodyCamROFL00:32
GheRiveroalthough I prefer the coffe shops :)00:32
NobodyCam:-p00:32
openstackgerritMerged openstack/ironic: Add concept of stable states to the state machine  https://review.openstack.org/15552900:37
*** david-lyle is now known as david-lyle_afk00:59
meghalNobodyCam:  sorry I had to step out01:05
meghalNobodyCam:  yes, I wanted to understand how are ironic nodes presented to the scheduler and how is the selection made ?01:05
meghalNobodyCam:  I was under the assumption that nova-compute makes the selection01:05
meghalNobodyCam:  that is what I saw in ironic icehouse01:05
*** alex_xu has quit IRC01:06
NobodyCammeghal: I would start with something like https://github.com/openstack/nova/blob/master/nova/scheduler/ironic_host_manager.py01:07
NobodyCammeghal: have you played with the nova scheduler?01:08
*** alex_xu has joined #openstack-ironic01:09
meghalNobodyCam:  yes, I have played around with it, primarily for vms which pick up a compute node01:09
NobodyCamin a simple form we have ram, cpu, and disk01:10
meghalright01:10
meghalNobodyCam:  so in ironic, I would register ironic node, which would show up in ironic node-list, do I need to do anything special while registering ?01:11
meghalbecause for scheduler it would be looking at picking up nova-compute01:12
NobodyCamso you need to setup a baremetal flavor : http://docs.openstack.org/developer/ironic/deploy/install-guide.html#flavor-creation01:13
meghalahh so cpu_arch is the key, for bm flavor01:14
*** dprince has quit IRC01:15
*** achanda has quit IRC01:16
NobodyCamalso see the enrollment section of that same page on creating a node01:16
NobodyCambut ya we do need a scheduler explanatory doc01:19
meghalNobodyCam:  ok…ahh now I understood, doing above steps registers ironic nodes as hypervisors01:21
*** pcrews has quit IRC01:22
NobodyCamyep01:22
meghalso where does nova-compute fit in boot flow ?01:23
NobodyCambtw.. that whole doc isn't a bad read :)01:23
NobodyCamfor that I would point you to: http://docs.openstack.org/developer/ironic/deploy/user-guide.html01:24
NobodyCam:-p01:24
meghalcool…thanks will go through it01:26
NobodyCam:)01:26
*** killer_prince is now known as lazy_prince01:29
*** saripurigopi has joined #openstack-ironic01:33
meghal"Nova scheduler applies filter and finds the eligible compute node." this statement is what confused me01:33
meghalin reality it is picking up an eligible ironic node and since that ironic node is linked to nova-compute, request goes to appropriate nova-compute01:34
meghalI was talking about step 2. here - http://docs.openstack.org/developer/ironic/deploy/user-guide.html#deploy-process01:35
meghalbut thanks for the explanation and pointers to the docs, will still go through them in detail01:35
meghalbut have gotten the idea01:35
NobodyCamok01:35
NobodyCamremember to take a look at the first link too01:35
meghalyep…that install guide as well01:36
NobodyCamthe nova code01:36
NobodyCam:)01:37
*** penick has quit IRC01:40
meghalahh yes01:40
NobodyCam;)01:40
*** chlong has quit IRC01:40
*** chlong has joined #openstack-ironic01:41
NobodyCamlol it could just that I tend to find reading the code helps a lot (at least for /me)01:41
NobodyCam...could just BE that...01:42
NobodyCam:-p01:42
meghalyes…devs are always curious as to how does it work and tend to read the code01:43
*** ParsectiX has quit IRC01:44
*** ParsectiX has joined #openstack-ironic01:45
meghalI was just looking at wrong place from nova-compute, assuming that request would be reaching nova-compute just like normal vm flow and then nova-compute would be making the decision by calling ironic client, getting list of nodes and taking some decision on the list to select one01:45
NobodyCamahh01:45
*** lazy_prince is now known as killer_prince01:47
*** korekhov_ has quit IRC01:51
*** saripurigopi has quit IRC01:55
*** saripurigopi has joined #openstack-ironic01:55
*** killer_prince is now known as lazy_prince02:10
*** pensu has quit IRC02:13
*** meghal has quit IRC02:29
openstackgerritRuby Loo proposed openstack/python-ironicclient: Consistent names of args and metavars, and help strings  https://review.openstack.org/15503102:34
*** spandhe has quit IRC02:35
*** ramineni has joined #openstack-ironic02:41
*** saripurigopi has quit IRC02:45
*** yuanying has quit IRC02:53
NobodyCamrloo: are you still here?02:55
rlooNobodyCam: sadly yes02:56
NobodyCam:-p me too02:56
NobodyCam:) on the ^^^ patch are you still going thou things?02:56
NobodyCamhttps://github.com/openstack/python-ironicclient/blob/master/ironicclient/tests/test_shell.py#L164-L16802:56
rloodid that fail?02:57
NobodyCamnot sure I just saw it while looking02:57
NobodyCamzuul is passing02:58
rloothe unit tests pass on my dev box.02:59
NobodyCamya they are passing02:59
rlooNobodyCam: if it fails, you have my permission to fix it ;)03:00
NobodyCamthat for bash completion03:00
NobodyCamit is passing ;) hehehe03:00
NobodyCamlgtm :)03:00
rlooAre you actually looking at the output as the tests are being run?03:00
NobodyCamI checked zuul web page and all the tests that had run passed03:01
rloophew. thanks!03:01
NobodyCam:)03:02
*** Nisha has joined #openstack-ironic03:05
rloog'night NobodyCam. I'm off (finally). Talk to you on Monday!03:14
*** rloo has quit IRC03:15
*** coolsvap_ is now known as coolsvap03:15
openstackgerritAnusha Ramineni proposed openstack/ironic-specs: Add get/set boot mode to Management Interface  https://review.openstack.org/12952903:18
*** Marga_ has quit IRC03:26
*** coolsvap is now known as coolsvap_03:34
*** yog_ has joined #openstack-ironic03:34
*** yuanying has joined #openstack-ironic03:38
*** coolsvap_ is now known as coolsvap03:43
*** zz_jgrimm is now known as jgrimm03:46
*** saripurigopi has joined #openstack-ironic03:51
*** pcrews has joined #openstack-ironic04:00
*** rameshg87 has joined #openstack-ironic04:09
openstackgerritRamakrishnan G proposed stackforge/proliantutils: Add Proliant Hardware Manager for IPA  https://review.openstack.org/15729104:20
*** Marga_ has joined #openstack-ironic04:21
*** spandhe has joined #openstack-ironic04:23
*** harlowja is now known as harlowja_away04:28
openstackgerritShivanand Tendulker proposed openstack/ironic: Secure boot support for pxe_ilo driver  https://review.openstack.org/15480804:31
*** lazy_prince is now known as killer_prince04:35
*** killer_prince is now known as lazy_prince04:36
rameshg87goot morning ironic04:36
openstackgerritRamakrishnan G proposed stackforge/proliantutils: Add Proliant Hardware Manager for IPA  https://review.openstack.org/15729104:36
rameshg87i meant good morning :)04:36
mrdahi rameshg8704:40
*** coolsvap is now known as coolsvap_04:41
rameshg87hello mrda04:41
*** coolsvap_ is now known as coolsvap04:48
openstackgerritShivanand Tendulker proposed openstack/ironic: Secure boot support for iscsi_ilo driver  https://review.openstack.org/15481404:49
openstackgerritAnusha Ramineni proposed stackforge/proliantutils: Add Proliant Hardware Manager for IPA  https://review.openstack.org/15729104:50
*** sandhya has joined #openstack-ironic04:58
sandhyadevananda, NobodyCam, dtantsur: Could you suggest points to come to a consensus on the Chassis Discovery tool blueprint - https://review.openstack.org/#/c/134866/05:00
*** spandhe has quit IRC05:01
rameshg87sandhya, i guess better to put in on mailing list once and then add an agenda in next week's team meeting for this05:01
rameshg87sandhya, we have come to consensus on things like this in last few team meetings05:02
sandhyaThank you...05:02
*** achanda has joined #openstack-ironic05:08
*** yog_ has quit IRC05:30
*** cinerama has quit IRC05:42
*** cinerama has joined #openstack-ironic05:43
*** yog_ has joined #openstack-ironic05:46
openstackgerritMerged stackforge/proliantutils: Add Proliant Hardware Manager for IPA  https://review.openstack.org/15729105:51
*** Marga_ has quit IRC05:55
*** ukalifon1 has joined #openstack-ironic06:01
*** mrda is now known as mrda-weekend06:01
*** dlpartain has joined #openstack-ironic06:09
*** lazy_prince is now known as killer_prince06:10
*** killer_prince is now known as lazy_prince06:11
*** sandhya has quit IRC06:28
*** achanda has quit IRC06:35
*** achanda has joined #openstack-ironic06:38
*** ParsectiX has quit IRC06:38
*** ParsectiX has joined #openstack-ironic06:39
openstackgerritShivanand Tendulker proposed openstack/ironic: Secure boot support for agent_ilo driver  https://review.openstack.org/15481606:45
*** dlpartain has quit IRC06:52
*** gridinv has joined #openstack-ironic06:53
*** ParsectiX has quit IRC07:00
*** yog_ has quit IRC07:04
*** ndipanov has quit IRC07:04
openstackgerritAnusha Ramineni proposed openstack/ironic-specs: Add get/set boot mode to Management Interface  https://review.openstack.org/12952907:10
*** yog_ has joined #openstack-ironic07:17
*** ndipanov has joined #openstack-ironic07:20
*** meghal has joined #openstack-ironic07:27
*** ukalifon1 has quit IRC07:29
*** lazy_prince has quit IRC07:29
*** meghal1 has joined #openstack-ironic07:30
*** killer_prince has joined #openstack-ironic07:31
*** killer_prince is now known as lazy_prince07:32
*** meghal has quit IRC07:33
*** andreykurilin_ has joined #openstack-ironic07:40
*** abc_ has joined #openstack-ironic07:47
abc_hi07:47
abc_i m trying to install ironic service using packstack ( RDO-Juno) on a single node (CentOS7)07:48
abc_but the installation failed with some neutron error07:48
abc_as soon as I edited answer file to "not" install ironic and re-run, installation was successful07:49
*** abc_ has quit IRC07:52
*** lazy_prince has quit IRC07:54
*** ndipanov has quit IRC07:57
*** ndipanov has joined #openstack-ironic07:58
*** killer_prince has joined #openstack-ironic08:02
*** killer_prince is now known as lazy_prince08:02
*** athomas has joined #openstack-ironic08:04
*** meghal1 has quit IRC08:06
*** ndipanov has quit IRC08:08
*** yuanying has quit IRC08:15
*** achanda has quit IRC08:15
*** yuanying_ has joined #openstack-ironic08:15
*** dtantsur|afk is now known as dtantsur08:16
dtantsurMorning Ironic08:16
*** stendulker has joined #openstack-ironic08:20
*** ndipanov has joined #openstack-ironic08:20
*** andreykurilin_ has quit IRC08:21
Nishadtantsur, hi08:24
*** ifarkas has joined #openstack-ironic08:24
dtantsuro/08:24
Nishai wanted to disccus your comment on InspectInterface method inspect_hardware()08:25
Nishadtantsur, about what it shall return08:25
dtantsuranything that will allow you distinguish between in-band and OOB case..08:26
Nishadtantsur, now as INSPECTED is not there, does the method need to return anything08:26
Nishadtantsur, we have two options08:27
Nishadtantsur, 1. return MANAGEABLE on success , error on failure08:27
Nishadtantsur, 2. just return failure and on success dont return anything08:28
dtantsurI'm not talking about failure at all (and never did)08:28
Nishayes08:28
dtantsurhow do you distinguish between OOB (proceed with 'done' event) and in-band (do nothing) case?08:28
Nishadtantsur, on succes it can either return manageable or it can return none08:28
*** coolsvap is now known as coolsvap_08:29
Nishadtantsur, why in in-band conductor shouldnt wait for the inband driver method to return?08:29
*** bauzas is now known as bauwser08:29
dtantsurhow can it fail, that's async process08:29
dtantsurwell, we probably could, but that will mean occupying the green thread for indefinite amount of time with polling08:30
dtantsurwhich will limit concurrency of the whole conductor08:31
dtantsur(in first comments s/fail/wait/)08:34
Nishadtantsur, i think then both can follow same correct08:34
Nishaletme explain08:34
*** coolsvap_ is now known as coolsvap08:35
*** coolsvap is now known as coolsvap_08:35
Nishadtantsur, ok before that how does in-band execute 'done' event?08:35
Nishaor 'fail' event?08:36
dtantsurNisha, in a periodic task after it detects that discoverd has finished (by polling it from this periodic task)08:36
Nishadtantsur, so thast done by conductor async method08:37
Nishanot by the inband InspectHardware.inspect_hardware()08:38
Nisha?08:38
dtantsurnot sure I understand you, it's done by a periodic task. that means inspect_hardware() will return much earlier08:38
dtantsurhave a look how deploy is done in Ironic, it's the same stuff08:38
Nishayes the same way i have implemented08:38
Nishaplease see https://review.openstack.org/#/c/149823/18/ironic/conductor/manager.py08:38
Nishathe periodic task is at the end08:40
dtantsurNisha, it's all correct, except for you report error when inspect_hardware returns INSPECTING, that's wrong08:41
* dtantsur left a comment08:41
Nishai dont erro when its INSPECTING08:41
Nishait is when it is not INSPECTING or MANAGEABLE08:41
dtantsurah sorry, I didn't notice it's !=, not ==08:42
* dtantsur has to wake up before discussion stuff08:42
Nishadtantsur, :)08:42
Nishaso to you it looks ok if we return MANAGEABLE?...IMO that is not required. when the async call has finished without raising error, we can directly call event 'done'08:43
dtantsurso the logic seems to be correct08:43
dtantsurno, we can't, it may be not finished (i.e. return INSPECTING)08:43
Nishadtantsur, means "if new_state == states.MANAGEABLE:" this is not required08:43
dtantsurit is08:44
*** yuanying_ has quit IRC08:44
dtantsurin-band inspection won't finish at this point08:44
dtantsurthe code you have now is correct08:44
*** eghobo has joined #openstack-ironic08:44
dtantsursorry, have to run now, see you later08:46
*** dtantsur is now known as dtantsur|bbl08:46
*** jistr has joined #openstack-ironic08:46
Nishai think we can do this way http://paste.openstack.org/show/178238/08:47
dtantsur|bblno, you can't process 'done' before inspection is actually done...08:49
* dtantsur|bbl gone for real08:49
*** romcheg has joined #openstack-ironic08:57
*** jcoufal has joined #openstack-ironic09:07
*** Marga_ has joined #openstack-ironic09:09
*** erwan_taf has joined #openstack-ironic09:12
*** lucasagomes has joined #openstack-ironic09:15
*** MattMan has joined #openstack-ironic09:17
*** pas-ha has joined #openstack-ironic09:21
*** derekh has joined #openstack-ironic09:27
*** eghobo has quit IRC09:29
*** Marga_ has quit IRC09:31
openstackgerritNisha Agarwal proposed openstack/ironic: Add InspectInterface for node-introspection  https://review.openstack.org/14981709:34
rameshg87lucasagomes, hi09:40
rameshg87lucasagomes, i had a question09:40
lucasagomesrameshg87, yes?09:46
rameshg87lucasagomes, yesterday Nisha's patch for nova got merged09:46
rameshg87lucasagomes, with that the selections in flavor will come down to instance_info09:47
lucasagomesright09:47
Nishalucasagomes, how do you expect user to give boot_option in flavor?09:48
rameshg87lucasagomes, for this, first the operator has to put properties/capbilities=boot_option:local09:48
lucasagomesNisha, setting capabilities:boot_option=local in the flavor?09:48
rameshg87lucasagomes, then the node will be matched if user selects a flavor with capbilities:boot_option=local09:48
lucasagomesrameshg87, yes09:48
Nishaand what will node contain?09:49
rameshg87lucasagomes, so if there is nothing in the flavor, then it will be netboot09:49
lucasagomesrameshg87, yeah, that's the fallback to be backwards compat09:49
rameshg87Nisha, node will contain properties/capbilities=boot_option:local09:49
rameshg87lucasagomes, boot_option is not a boolean (eventhough it has only two values)09:50
rameshg87lucasagomes, such a use-case makes more sense for a boolean actually09:50
lucasagomesrameshg87, like local=False or True?09:50
rameshg87lucasagomes, exactly09:50
rameshg87lucasagomes, localboot=True, something like that09:50
rameshg87lucasagomes, doesn't that sound better ?09:51
lucasagomeswell, it could be, I think the boot_option thing came when I took over the spec for local boot09:51
rameshg87lucasagomes, do we expect more ways to boot the machine ? :)09:51
lucasagomesrameshg87, yeah, I wonder if it's flexible enough tho...09:51
lucasagomesfor example and if we want full disk images to be able to choose between pxe and local boot09:51
lucasagomesright now they only do localboot afaict09:51
lucasagomesrameshg87, not of the top of my head really09:52
rameshg87lucasagomes, okay .. do you feel localboot=True is better than current boot_option=local ?09:52
rameshg87lucasagomes, localboot=True sounded better to me.09:53
lucasagomesrameshg87, yes, since we only support 2 options09:53
lucasagomesbut we need to think whether more options can be used there in the future09:53
rameshg87lucasagomes, how about proposing a change to localboot spec to rename it09:53
lucasagomesleaving it flexible local or netboot might be a good thing09:53
lucasagomesrameshg87, idk, like what if people want to have a separated boot partition09:54
lucasagomesso they pass a diff value and we can do that09:54
rameshg87lucasagomes, okay ..09:54
lucasagomesjust an stupid example here, but I think that leaving it flexible is not a bad idea09:54
lucasagomesrameshg87, yeah sure, proposing something is always good09:54
rameshg87lucasagomes, okay ..09:55
lucasagomesbut let's also think about it a little, how it could potentially be used in the future09:55
rameshg87lucasagomes, yeah may be a spec change opens up to get everyone's thoughts09:56
lucasagomesrameshg87, yeah def... the boot_option was in the spec and all proposing a change there is fine09:56
lucasagomes+109:56
rameshg87lucasagomes, okay09:56
rameshg87thanks09:56
lucasagomesrameshg87, yw09:57
*** ndipanov is now known as ndipanoff09:58
vdrokmorning ironic09:59
*** mdbooth has joined #openstack-ironic10:00
*** yog_ has quit IRC10:18
openstackgerritNisha Agarwal proposed openstack/ironic: Generic changes for Node Inspection  https://review.openstack.org/14982310:19
openstackgerritAlexis Lee proposed openstack/ironic: Don't write PXE config during ACTIVE takeover  https://review.openstack.org/15625010:28
openstackgerritNisha Agarwal proposed openstack/ironic: Generic changes for Node Inspection  https://review.openstack.org/14982310:36
*** athomas has quit IRC10:37
*** ukalifon1 has joined #openstack-ironic10:41
*** cinerama has quit IRC10:43
*** cinerama has joined #openstack-ironic10:43
openstackgerritNisha Agarwal proposed openstack/ironic: iLO implementation for hardware inspection  https://review.openstack.org/15159610:44
*** athomas has joined #openstack-ironic10:47
*** Nisha has quit IRC10:48
*** romcheg1 has joined #openstack-ironic10:50
*** romcheg has quit IRC10:51
*** romcheg has joined #openstack-ironic10:53
openstackgerritRamakrishnan G proposed openstack/ironic: Add driver interface for RAID configuration  https://review.openstack.org/15523010:53
*** romcheg1 has quit IRC10:55
*** dlpartain has joined #openstack-ironic10:57
*** dlpartain has left #openstack-ironic10:59
*** viktors is now known as viktors|lunch11:01
openstackgerritAnusha Ramineni proposed openstack/ironic: Implement Cleaning in DriverInterfaces  https://review.openstack.org/15720811:01
openstackgerritAnusha Ramineni proposed openstack/ironic: Implement Cleaning States  https://review.openstack.org/15344411:01
openstackgerritAnusha Ramineni proposed openstack/ironic: Add Cleaning Operations for iLO drivers  https://review.openstack.org/15771511:01
openstackgerritAnusha Ramineni proposed openstack/ironic: Add Cleaning Operations for iLO drivers  https://review.openstack.org/15771511:05
rameshg87lucasagomes, hi11:06
rameshg87lucasagomes, what do you think about jrolls comment on https://review.openstack.org/#/c/156587/1/ironic/drivers/modules/deploy_utils.py11:06
*** ramineni has quit IRC11:06
rameshg87lucasagomes, mbr has bytes 510 and 511 as boot signature11:07
rameshg87lucasagomes, but can't guarantee all bios will honour this11:08
rameshg87lucasagomes, i guess it's better to change bootable=True only for localboot11:08
lucasagomesrameshg87, right, I didn't read. But ok... instead of passing the node_uuid we could pass the node object to the function partitioning the disk11:09
lucasagomesand look if localboot is set11:09
lucasagomesrameshg87, don't get the mbr thing too, its 512 bytes, 440 I think the bootloader code, then 6 bytes are for signature and optional stuff11:10
lucasagomesthan 4 entries of 14 bytes for the part table11:10
lucasagomesIIRC11:10
rameshg87lucasagomes, yeah i think i will change than going round of this.11:13
rameshg87lucasagomes, even i can't guarantee setting bootable=true for all cases will always cause the expected behaviour on all hardware :)11:13
*** ukalifon1 has quit IRC11:15
lucasagomesrameshg87, yeah exactly11:16
lucasagomesrameshg87, commented and changed my vote then11:17
openstackgerritVladyslav Drok proposed openstack/ironic: Support for non-Glance image references  https://review.openstack.org/13674111:18
openstackgerritLucas Alvares Gomes proposed openstack/ironic-python-agent: Add the image extension (for local boot)  https://review.openstack.org/15746911:18
openstackgerritLucas Alvares Gomes proposed openstack/ironic: PXE drivers support for IPA  https://review.openstack.org/15572811:18
openstackgerritLucas Alvares Gomes proposed openstack/ironic: Localboot support for IPA  https://review.openstack.org/15772311:18
rameshg87lucasagomes, okay11:24
* rameshg87 leaves for home11:24
*** rameshg87 has quit IRC11:24
lucasagomesrameshg87, safe trip back home11:24
*** stendulker has quit IRC11:25
*** openstack has joined #openstack-ironic20:23
*** linggao_ has joined #openstack-ironic20:23

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