Monday, 2015-03-09

*** igordcard has joined #openstack-ironic00:02
*** achanda has quit IRC00:04
*** romcheg has quit IRC00:07
openstackgerritGhe Rivero proposed openstack/ironic: Use oslo_context package  https://review.openstack.org/16249900:32
*** achanda has joined #openstack-ironic00:39
*** igordcard has quit IRC00:41
*** naohirot has joined #openstack-ironic00:44
*** oomichi has joined #openstack-ironic00:47
*** anderbubble has quit IRC01:03
openstackgerritGhe Rivero proposed openstack/ironic: Use oslo_policy package  https://review.openstack.org/16250101:10
*** achanda has quit IRC01:25
openstackgerritGhe Rivero proposed openstack/ironic: Use oslo_log lib  https://review.openstack.org/15760201:39
openstackgerritGhe Rivero proposed openstack/ironic: Use oslo_policy package  https://review.openstack.org/16250101:39
openstackgerritGhe Rivero proposed openstack/ironic: Use strutils from oslo_utils  https://review.openstack.org/16249701:39
openstackgerritGhe Rivero proposed openstack/ironic: Use oslo_context package  https://review.openstack.org/16249901:39
openstackgerritGhe Rivero proposed openstack/ironic: Sync from oslo.incubator  https://review.openstack.org/16250501:39
*** Haomeng|2 has joined #openstack-ironic01:40
*** Haomeng has quit IRC01:42
*** zer0c00l has joined #openstack-ironic01:46
*** krtaylor has quit IRC02:04
*** achanda has joined #openstack-ironic02:31
*** Krast has joined #openstack-ironic02:32
*** coolsvap has joined #openstack-ironic02:34
*** achanda has quit IRC02:38
*** achanda has joined #openstack-ironic02:38
*** achanda has quit IRC02:42
*** achanda has joined #openstack-ironic02:42
*** krtaylor has joined #openstack-ironic02:55
*** chenglch has joined #openstack-ironic03:07
openstackgerritSHIGEMATSU Mitsuhiro proposed openstack/ironic-specs: Cinder integration  https://review.openstack.org/14960603:18
openstackgerritTan Lin proposed openstack/ironic: Tiny improvement of efficient  https://review.openstack.org/16251503:21
*** achanda has quit IRC03:31
openstackgerritjiangfei proposed openstack/python-ironicclient: Log token with sha1  https://review.openstack.org/16251703:40
*** jerryz has joined #openstack-ironic03:53
*** jmccrory has joined #openstack-ironic03:59
*** achanda has joined #openstack-ironic04:04
*** achanda has quit IRC04:16
*** achanda has joined #openstack-ironic04:20
*** ramineni has joined #openstack-ironic04:27
*** kalpase has joined #openstack-ironic04:30
*** jmccrory has quit IRC04:30
*** chenglch has quit IRC04:31
*** chenglch has joined #openstack-ironic04:32
*** Haomeng has joined #openstack-ironic04:38
*** Haomeng|2 has quit IRC04:40
*** achanda has quit IRC04:46
*** achanda has joined #openstack-ironic04:48
*** achanda has quit IRC04:57
*** sandhya has joined #openstack-ironic04:59
*** Marga_ has quit IRC05:15
*** oomichi has quit IRC05:30
*** Marga_ has joined #openstack-ironic05:32
*** achanda has joined #openstack-ironic05:40
*** anderbubble has joined #openstack-ironic05:41
*** stendulker has joined #openstack-ironic05:57
*** pradipta has joined #openstack-ironic05:58
*** chenglch has quit IRC06:04
*** ParsectiX has quit IRC06:16
*** chenglch|2 has joined #openstack-ironic06:20
*** huangkai2 has joined #openstack-ironic06:21
openstackgerritRamakrishnan G proposed openstack/ironic: Add label to virtual floppy image  https://review.openstack.org/16238706:28
*** yog_ has joined #openstack-ironic06:30
*** achanda has quit IRC06:37
*** achanda has joined #openstack-ironic06:44
*** huangkai2 has quit IRC06:49
*** Nisha has joined #openstack-ironic06:50
*** chenglch|2 has quit IRC06:52
*** chenglch has joined #openstack-ironic06:53
openstackgerritRamakrishnan G proposed openstack/ironic: Refactor agent iscsi deploy out of pxe driver  https://review.openstack.org/16240806:56
*** huangkai2 has joined #openstack-ironic06:56
*** rwsu has joined #openstack-ironic06:57
*** rwsu is now known as rwsu-afk06:58
openstackgerritRamakrishnan G proposed openstack/ironic: Refactor agent iscsi deploy out of pxe driver  https://review.openstack.org/16240806:59
*** gridinv has quit IRC07:00
openstackgerritRamakrishnan G proposed openstack/ironic: iscsi_ilo driver to support agent ramdisk  https://review.openstack.org/16244907:03
*** Marga_ has quit IRC07:26
*** anderbubble has quit IRC07:37
*** achanda has quit IRC07:40
*** jcoufal has joined #openstack-ironic07:43
*** ukalifon1 has joined #openstack-ironic07:46
*** achanda has joined #openstack-ironic07:52
*** sandhya has quit IRC08:02
*** chlong has quit IRC08:07
*** achanda has quit IRC08:14
*** achanda has joined #openstack-ironic08:16
*** ifarkas has joined #openstack-ironic08:19
*** achanda has quit IRC08:28
openstackgerritSHIGEMATSU Mitsuhiro proposed openstack/ironic: Fix wrong log output in ironic/ironic/conductor/manager.py  https://review.openstack.org/16256008:34
*** enikanorov_ has joined #openstack-ironic08:35
*** andreykurilin_ has joined #openstack-ironic08:41
*** erwan_taf has joined #openstack-ironic08:51
*** bauwser is now known as bauzas08:53
GheRiveromorning all08:56
KinnisonMorning GheRivero08:57
openstackgerritAnusha Ramineni proposed openstack/ironic: Add Cleaning Operations for iLO drivers  https://review.openstack.org/15771509:02
*** early has quit IRC09:04
*** huangkai2 has quit IRC09:05
*** early has joined #openstack-ironic09:06
*** dlpartain has joined #openstack-ironic09:06
*** athomas has quit IRC09:11
*** athomas has joined #openstack-ironic09:11
*** lucasagomes has joined #openstack-ironic09:12
*** jistr has joined #openstack-ironic09:13
*** dlpartain has left #openstack-ironic09:14
*** mgoddard has joined #openstack-ironic09:15
*** andreykurilin_ has quit IRC09:21
*** MattMan has joined #openstack-ironic09:24
*** lynxman has quit IRC09:27
openstackgerritSHIGEMATSU Mitsuhiro proposed openstack/ironic-specs: Fix a lot of typos in ironic-specs/specs/kilo/drac-bios-mgmt.rst  https://review.openstack.org/16257809:28
*** lynxman has joined #openstack-ironic09:28
*** lynxman has quit IRC09:34
*** lynxman has joined #openstack-ironic09:40
*** romcheg has joined #openstack-ironic09:46
*** naohirot has quit IRC09:51
*** MattMan has left #openstack-ironic09:51
*** tiagogomes_ has joined #openstack-ironic09:52
openstackgerritGhe Rivero proposed openstack/ironic: Use oslo_log lib  https://review.openstack.org/15760209:57
openstackgerritGhe Rivero proposed openstack/ironic: Sync from oslo.incubator  https://review.openstack.org/16250509:57
openstackgerritGhe Rivero proposed openstack/ironic: Use oslo_policy package  https://review.openstack.org/16250109:57
openstackgerritGhe Rivero proposed openstack/ironic: Use strutils from oslo_utils  https://review.openstack.org/16249709:57
openstackgerritGhe Rivero proposed openstack/ironic: Use oslo_context package  https://review.openstack.org/16249909:57
*** pelix has joined #openstack-ironic10:02
*** dlpartain has joined #openstack-ironic10:04
*** dlpartain has left #openstack-ironic10:04
*** Nisha has quit IRC10:07
*** athomas has quit IRC10:10
*** athomas has joined #openstack-ironic10:15
*** coolsvap has quit IRC10:17
openstackgerritSHIGEMATSU Mitsuhiro proposed openstack/ironic-specs: Fix typo in ironic-specs/specs/kilo/uefi-secure-boot.rst  https://review.openstack.org/16259010:19
*** kalpase has quit IRC10:21
*** kalpase has joined #openstack-ironic10:22
openstackgerritLucas Alvares Gomes proposed openstack/ironic: Make sure we don't log the full content of the config drive  https://review.openstack.org/16225210:26
openstackgerritSHIGEMATSU Mitsuhiro proposed openstack/ironic-specs: Fix typo in ironic-specs/specs/kilo/partition-image-support-for-agent-driver.rst  https://review.openstack.org/16259310:28
openstackgerritMerged openstack/ironic: Fix wrong log output in ironic/ironic/conductor/manager.py  https://review.openstack.org/16256010:31
*** erwan_taf has quit IRC10:36
*** MattMan has joined #openstack-ironic10:46
*** yog_ has quit IRC10:49
*** andreykurilin_ has joined #openstack-ironic10:53
openstackgerritGhe Rivero proposed openstack/ironic: WIP: oslo.log  https://review.openstack.org/16260010:55
d0ugalIs the next Ironic meeting today or tomorrow?10:58
d0ugalOh, it's today, I think10:59
d0ugalGreat :D10:59
*** chlong has joined #openstack-ironic11:03
*** yog_ has joined #openstack-ironic11:05
*** yuanying has quit IRC11:08
*** ramineni has quit IRC11:08
lucasagomesyup today :) 5pm utc11:12
*** stendulker has quit IRC11:12
*** yog_ has quit IRC11:12
*** romcheg has quit IRC11:14
*** romcheg has joined #openstack-ironic11:23
*** yog_ has joined #openstack-ironic11:25
openstackgerritSHIGEMATSU Mitsuhiro proposed openstack/ironic-specs: Fix typo in ironic-specs/specs/kilo/automate-uefi-bios-iso-creation.rst  https://review.openstack.org/16260511:28
*** tiagogomes_ has quit IRC11:30
openstackgerritSHIGEMATSU Mitsuhiro proposed openstack/ironic-specs: Fix typo in ironic-specs/specs/kilo/non-glance-image-refs.rst  https://review.openstack.org/16260611:32
*** kejiahu has left #openstack-ironic11:34
openstackgerritSHIGEMATSU Mitsuhiro proposed openstack/ironic-specs: Fix typo in ironic-specs/specs/kilo/new-ironic-state-machine.rst  https://review.openstack.org/16260711:37
*** tiagogomes_ has joined #openstack-ironic11:38
openstackgerritSHIGEMATSU Mitsuhiro proposed openstack/ironic-specs: Fix typo in ironic-specs/specs/kilo/local-boot-support-with-partition-images.rst  https://review.openstack.org/16260811:43
*** huangkai2 has joined #openstack-ironic11:45
openstackgerritSHIGEMATSU Mitsuhiro proposed openstack/ironic-specs: Fix typo in ironic-specs/specs/kilo/ironic-node-properties-discovery.rst  https://review.openstack.org/16261011:49
*** jcoufal_ has joined #openstack-ironic11:52
*** jcoufal has quit IRC11:52
openstackgerritSHIGEMATSU Mitsuhiro proposed openstack/ironic-specs: Fix typo in ironic-specs/specs/kilo/cisco-ucs-pxe-driver.rst  https://review.openstack.org/16261311:53
*** romcheg has quit IRC11:54
openstackgerritSHIGEMATSU Mitsuhiro proposed openstack/python-ironicclient: Encode exception on cli for UnicodeDecodeError  https://review.openstack.org/15315511:55
*** dprince has joined #openstack-ironic12:14
*** romcheg has joined #openstack-ironic12:18
*** lazy_prince is now known as killer_prince12:27
*** yog_ has quit IRC12:37
*** lucasagomes is now known as lucas-hungry12:44
*** andreykurilin_ has quit IRC12:48
*** romcheg has quit IRC12:49
*** yog_ has joined #openstack-ironic12:51
*** yog__ has joined #openstack-ironic12:52
*** ndipanov has joined #openstack-ironic12:53
*** ndipanov has quit IRC12:53
*** romcheg has joined #openstack-ironic12:56
jrollmorning all :)13:00
*** yog__ has quit IRC13:01
jrollthat's a lot of specs typos, do we care about those? :/13:01
*** chlong has quit IRC13:04
*** rloo has joined #openstack-ironic13:13
*** chlong has joined #openstack-ironic13:17
*** mjturek1 has joined #openstack-ironic13:19
*** kkoski has joined #openstack-ironic13:20
Shrewsjroll: i feel like that was discussed on the ML recently... but i still have morning brain fog13:26
Shrewsi think need to dedicate today to reviewing all the things. been too busy with other stuff lately  :(13:28
jrollShrews: it was. for code and stuff. to me specs are pretty meh for typos, though I guess they're kinda like release notes13:34
*** romcheg1 has joined #openstack-ironic13:35
*** romcheg has quit IRC13:35
Shrewsjroll: my thought would be to go ahead and accept them, but redirect the author to something more helpful and a bit more challenging13:35
*** stendulker has joined #openstack-ironic13:35
jrollShrews: easy review points then :)13:36
Shrewslhf bugs, etc13:36
jrollI'll look up to you for an example of a good comment to that effect then :P13:37
rloowrt specs, I don't even bother with nits about grammatical stuff. Seems like specs are meant for developers. If the update helps to understand, then that is good. but otherwise. Anyway, I'm ignoring those. too many reviews too look at.13:37
rloomorning everyone ;)13:38
TheJuliaGood morning13:38
jrollmorning rloo and TheJulia :)13:38
Shrewsjroll: i'm not core on specs, but i have total faith in you  :-P13:38
jrollrloo: yeah, though I've heard PM types read them to see what's up with new big feature things13:39
* rloo likes TheJulia. Maybe I'll change to TheRuby ;)13:39
jrollShrews: dang.13:39
Shrewshey rloo, TheJulia13:39
jrollTheJulia: have y'all thought about running ironic in containers at all?13:39
rloojroll: if we want the specs to be grammatical etc, just let us know, and I'll nit. I stopped cuz I didn't think people wanted it and I didn't think it was something that was expected.13:40
jrollrloo: I personally don't care about it and don't think we should nit on it, my question is if we should bother with these changes13:41
* Shrews gives a nod toward dockstack (https://github.com/Shrews/dockstack), designed to run ironic in containers13:41
jrollat any rate, there's more important things to review, as you said13:41
rloojroll: good question. I only asked wrt code. You core reviewers can decide for specs ;)13:41
jrollShrews: ready for production?13:42
jrollor is it meant for dev stuff13:42
Shrewsjroll: targeted toward dev13:43
jrollShrews: right on, I want to do this in prod, and it's pretty dang simple13:43
jrolllike a 10 line dockerfile, upload to swift, deploy is pull it down and run it13:44
Shrewsjroll: may or may not ever be useful for people, but i had fun writing it13:44
jroll(and build a config file, I guess)13:44
jrollyeah, seems cool, I'd love to replace devstack with docker containers13:44
jrollmostly so I don't have to blow away an entire OS when things go bad13:44
TheJuliajroll: Honestly had not tought about it13:47
jrollTheJulia: ah, that's one of my goals right now, I'll let you know how it goes :)13:48
TheJuliarloo: I couldn't think of anything to use on freenode when some friends finally got me be on freenode all the time, and I was Julia on another network, so I figured why not. :)13:48
rlooTheJulia: I think it is an awesome nick :-)13:49
jrollnot just a Julia, but *the* Julia. I like it too.13:49
TheJuliaHehe13:49
* TheJulia is reminded of a side comment she overheard when a mental connection of stores was made to my name13:51
*** stendulker has quit IRC13:52
TheJuliaShrews: I like the FAQ :)13:57
*** stendulker has joined #openstack-ironic14:00
Shrews:)14:00
*** lucas-hungry is now known as lucasagomes14:01
*** stendulker_ has joined #openstack-ironic14:05
*** Nisha has joined #openstack-ironic14:06
*** chenglch has quit IRC14:06
trownShrews: thats pretty neat :), I had not heard of Fig either14:06
*** stendulker has quit IRC14:07
lucasagomesmorning trown jroll TheJulia Shrews rloo :)14:09
TheJuliagood morning lucasagomes14:09
GheRiveromorning all14:09
trownmorning lucasagomes14:09
jrollmorning lucasagomes and GheRivero :)14:12
rloohi lucasagomes, GheRivero14:13
*** ChuckC_ has joined #openstack-ironic14:13
*** ChuckC has quit IRC14:14
*** ChuckC_ has quit IRC14:18
*** erwan_taf has joined #openstack-ironic14:25
*** stendulker_ has quit IRC14:26
*** huangkai2 has quit IRC14:28
*** r-daneel has joined #openstack-ironic14:28
openstackgerritMerged openstack/ironic: Tiny improvement of efficient  https://review.openstack.org/16251514:28
*** kalpase has left #openstack-ironic14:31
*** achanda has joined #openstack-ironic14:33
openstackgerritNisha Agarwal proposed openstack/ironic: ironic port deletion fails even if node is locked by same process  https://review.openstack.org/16186114:34
NobodyCamgood morning Ironic14:36
lucasagomespxe_ipa now running on gate \o/14:40
lucasagomesNobodyCam, GheRivero morning14:40
GheRivero\o/14:42
jrollmorning NobodyCam :)14:42
jrolllucasagomes: nice! voting or no?14:42
NobodyCammorning lucasagomes GheRivero jroll :)14:42
lucasagomesjroll, not yet, we need data first14:42
jrollyeah14:42
*** mtanino has joined #openstack-ironic14:42
jrollstill awesome, just curious :)14:42
*** achanda has quit IRC14:42
NobodyCamya14:42
NobodyCam:)14:42
lucasagomesbut still good, at least I don't have to keep posting "check experimental" on the patches14:42
*** zz_jgrimm is now known as jgrimm14:43
jrollheh, yeah14:44
*** beekneemech is now known as bnemec14:49
*** erwan_taf has quit IRC14:53
*** ChuckC_ has joined #openstack-ironic14:54
*** ChuckC_ has quit IRC14:54
*** ChuckC_ has joined #openstack-ironic14:54
*** Nisha has quit IRC14:54
*** ndipanov has joined #openstack-ironic14:56
*** Nisha has joined #openstack-ironic14:59
*** mgoddard has quit IRC15:00
openstackgerritGhe Rivero proposed openstack/ironic: WIP: oslo.log  https://review.openstack.org/16260015:00
*** mgoddard has joined #openstack-ironic15:02
*** ndipanov has quit IRC15:02
victor_lowtherhmmm...15:03
openstackgerritOpenStack Proposal Bot proposed openstack/ironic: Updated from global requirements  https://review.openstack.org/16181115:04
victor_lowtherso I am fixing up my DRAC bios config patch to be i18n compliant15:04
victor_lowtherbut the i18n module seems to assume ascii instead of utf-815:04
*** ukalifon2 has joined #openstack-ironic15:04
*** achanda has joined #openstack-ironic15:04
NobodyCammornign victor_lowther :)15:05
victor_lowtherSpecifically, I get 'UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)' when running unit tests15:05
victor_lowtherwhere I specifically want to test that the validators are rejecting invalid input correctly.15:06
Shrewsjroll: 162408 looks like a nice refactor. would be good if you could take a look, particularly the agent stuff.15:06
*** ukalifon1 has quit IRC15:07
MattManProbably a real noob question but... trying to enable console support using ipmitool.IPMIShellinaboxConsole() however from CLI trying to set driver_info/ipmi_terminal_port is always failing with a wsme type error... it won't let me set an integer value...15:08
MattMane.g. Client-side error: Invalid input for field/attribute value. Value: '80'. Wrong type. Expected '<type 'unicode'>', got '<type 'int'>'15:08
MattManSetting via command : ironic-client node-update $NODE add driver_info/ipmi_terminal_port=8015:09
*** achanda has quit IRC15:09
jrollShrews: sure thing15:09
jrollMattMan: have you tried with quotes? (I've never used that field so not sure if that's ever worked)15:10
MattManquotes fail15:10
jrollugh.15:10
MattManin fact trying to set any driver_info property throws the same error, not just ipmi_terminal_port so it's not specific to property name, just don't like integers... which seems a bit cracked..15:11
jrollyeah, I agree15:12
jrolldevananda: ^^ more stupid things our client does15:12
*** hj-hp has joined #openstack-ironic15:12
jrollalso true != True for cli things, which is bonkers15:13
jrollfound that one the other day15:13
*** yog_ has quit IRC15:13
MattManSo any idea of a workaround ?15:13
jrollMattMan: it's a horrible answer, but use curl?15:14
jrollusing the client with --debug will give you an approximate curl command, assuming validation passes and it actually makes a request15:14
MattMannod... I was just about to say that.... but as you say not exactly ideal... didn't know about --debug... thanks15:15
jrollso you could do: ironic --debug node-update $uuid replace driver_info/ipmi_terminal_port=wat15:15
jrolland go from there15:15
jroll(replace wat with 80 in the curl command)15:15
*** anderbubble has joined #openstack-ironic15:15
MattManyep will give that spin, thanks again15:15
Shrewssort of sounds like a server side bug15:15
rloojroll: there's a bug for true !=True thingy. I was going to fix it but decided reviews were more important now; going to fix after k-315:15
Shrewsnot sure curl will work, but /me crosses fingers15:16
jlvillalMattMan: Can you http://paste.openstack.org/ the output from your run?  Maybe we can use that info to fix it.15:16
jlvillalOr a bug report :)15:16
jrollrloo: ah, I see15:16
jrollShrews: no, that's a client-side error15:16
jrolldoing validation15:16
*** stendulker has joined #openstack-ironic15:16
*** ndipanov has joined #openstack-ironic15:17
MattManOutput from --debug : http://paste.openstack.org/show/190998/15:18
MattManKey portion is : -d '[{"path": "/driver_info/ipmi_terminal_port", "value": 80, "op": "add"}]15:19
devanandajroll: that sounds like a straight-up bug somewhere15:19
jrolloh, interesting.15:19
jrollthat is a server side bug15:19
MattMannotice how value us 80, if I put quotes around 80 on CLI it still remains as 8015:20
*** dmellado has quit IRC15:20
devanandawell15:20
jrolldevananda: sure, I think all stupid things our client does are bugs15:20
devanandathat's a client bug, no? shouldn't all values in the JSON string be quoted?15:20
MattMandevananda: that's what I thought15:20
jrollidk, I tend to think integers in JSON is a sane thing15:20
*** BadCub has joined #openstack-ironic15:20
*** dmellado has joined #openstack-ironic15:21
BadCubMorning Ironic15:21
jlvillaldevananda: jroll: The server should accept both in my opinion.  Be tolerant in what you will accept.15:22
jrolland like. it's json. integers are a part of the json spec.15:22
Shrewsdevananda: at one point, you specifically pulled methods like _do_node_tear_down() out of the manager and made them module level methods, but i can't remember why. I see we're reversing that now?15:27
jrollI think we only did that because they no longer needed 'self'. and maybe now they do? I think cleaning needed that15:28
MattManFYI: amending curl request s/80/"80"/ works...15:28
*** hj-hp has quit IRC15:28
lucasagomesMattMan, odd15:28
Shrewsjroll: yeah, i was reviewing that merged change... not sure why we're doing that yet15:28
*** dmellado has quit IRC15:28
* lucasagomes looks what's wrong15:28
lucasagomesyou should be able to input any json primitives to the driver_info15:29
*** hj-hp has joined #openstack-ironic15:29
lucasagomesint, bool, list, string etc15:29
MattManlucasagomes: I'm running juno bits15:29
lucasagomesoh15:29
jrollohhh.15:29
lucasagomesok that explains a lot :)15:29
jrollI thought we had ints in juno but maybe not15:29
MattManSo juno only bug... apologies for lack of info15:30
devanandaShrews: reversing that where?15:30
Shrewsdevananda: https://review.openstack.org/#/c/153444/24/ironic/conductor/manager.py15:31
*** dmellado has joined #openstack-ironic15:31
openstackgerritSyed Ismail Faizan Barmawer proposed openstack/ironic: Add support for partition images in agent driver  https://review.openstack.org/16200815:31
*** Nisha has quit IRC15:31
devanandaShrews: so yea, I did that for two reasons. a) making them reusable, as some of them needed to be called from different places. b) making them more testable. c) making them invokable by callback from spawn_worker()15:31
devanandaok, three reasons15:31
MattManlucasagomes / jroll : Is this something easily back ported perhaps ?....15:31
devanandaum15:32
lucasagomesMattMan, hmm /me thinking15:32
jrollmy first instinct says no15:33
rloohey, qq. If you have a config max_retries=2, would you think it meant do something 2 times max, or 3 times max?15:33
jrollrloo: I would read the help :)15:33
lucasagomesthat's the patch adding json types15:34
lucasagomeshttps://review.openstack.org/#/c/137762/15:34
rloojroll: "Maximum number of times to retry an AMT operation, before failing"15:34
lucasagomesbut I don't think we will port api changes like that15:34
jrollrloo: reading that probably 3 times max but idk15:34
rloojroll: yeah, that's what I think too, but code does 2 times.15:34
jrollrloo: the word "retries" sucks, we should use "attempts"15:34
jrollsigh.15:34
rloojroll: thx. either help changes or code changes. i don't want to go through all other 'retry' like configs to see what we do.15:35
lucasagomesMattMan, not sure, but if you do ironic-client node-update $NODE add driver_info/ipmi_terminal_port="80" does it works?15:35
lucasagomeswith 80 quoted15:35
jlvillaljroll: rloo: +1 on 'attempts' vs 'retries'15:36
MattManlucasagomes: afraid not,15:36
rloojlvillal, jroll: thx. I'll mention that in my comment ;)15:36
jrollrloo: imo code should change15:37
lucasagomes:(15:37
MattManIt still get's passed to curl request as 8015:37
rloojroll: oh. I thought you didn't like 'retries'. but then, maybe the config should be max_attempts. Sigh.15:37
lucasagomesMattMan, not ideal, but you could do15:37
lucasagomes"\"80\""15:37
jrollrloo: well, if we can change the config to attempts, that's the best imo15:38
lucasagomes.. add driver_info/ipmi_terminal_port="\"80\""15:38
rloojroll: you'll like this one 'node_locked_retry_attempts'15:38
* lucasagomes we need a fix for that15:38
MattManescaping the quotes... now that does work...15:38
jroll:|15:38
lucasagomesMattMan, x.x yeah15:38
*** david-lyle_afk is now known as david-lyle15:38
rloojroll: I'll suggest changing the config name then.15:38
* MattMan somewhat happy now... thanks lucasagomes15:38
lucasagomesMattMan, well it's not ideal at all15:38
jlvillalAny unittest gurus around?  Curious the best way to test a context manager function?  e.g. 'with some_context_manager_function():'  Wanted to test how it handles exceptions.15:38
MattManlucasagomes: better than running --debug to get curl and re-submitting the curl...15:39
lucasagomestrue15:39
lucasagomesheh15:39
jlvillalI wanted to write a good test case for my patch: https://review.openstack.org/16180315:39
jrollrloo: awesome15:40
jrolljlvillal: make a test function, decorate it, test?15:40
*** stendulker has quit IRC15:41
*** rwsu-afk is now known as rwsu15:41
jlvillaljroll: Okay.  so make some helper function that will use the context manager function and do the exception.  Call the helper function with a self.assertRaises().15:42
* jlvillal thinks that would work. Not as elegant as he hoped but workable :)15:42
jrolljlvillal: yeah, I think so15:43
jlvillaljroll: Okay.  And the helper function could be a closure function....15:43
jrolljlvillal: idk why you would make it hard on yourself like that :P15:43
* jlvillal has learned fancy new terms :)15:43
jlvillaljroll: :D15:43
*** romcheg1 has quit IRC15:44
* jlvillal hopes someday he will actually write the unittests first....15:44
jrollmeh.15:45
jroll:)15:45
*** BadCub02 has joined #openstack-ironic15:45
pshigejroll, sorry for a lot of specs typos. I don't know how to report them in a better way.15:50
*** rameshg87 has joined #openstack-ironic15:51
jrollpshige: it's ok, I'd just rather dedicate efforts to things with more impact :)15:51
devanandareminder for US folks - we switched to DST yesterday, so our meeting is in one hour, not 10 minutes15:51
*** Nisha has joined #openstack-ironic15:51
* jlvillal Finishes updating Outlook to use UTC time for calendar meeting :) Had already done that for Google Calendar reminder.15:53
*** BadCub02 has quit IRC15:53
openstackgerritVictor Lowther proposed openstack/ironic: Add DRAC BIOS config vendor passthru API  https://review.openstack.org/15048815:58
*** romcheg has joined #openstack-ironic15:59
Shrewsdevananda: doh! TZs suck15:59
jrolltime zones are awesome, I get to put off being locked in a channel with y'all :P16:00
clif_hlocked in channel16:03
clif_hhah16:03
Shrewswow. the operator meetup is quite large16:04
Shrewshttps://twitter.com/amitry/status/57494244137306931216:04
devanandaShrews: .. damn. that is large16:07
devanandaShrews: are ya'll getting any work done?16:07
Shrewsdevananda: i'm not there16:07
devanandaoh16:07
devanandaTheJulia: ^ full house, eh?16:07
*** stendulker has joined #openstack-ironic16:11
*** absubram has quit IRC16:11
*** Marga_ has joined #openstack-ironic16:12
*** stendulker has quit IRC16:13
*** stendulker has joined #openstack-ironic16:13
pshigejroll; Ok. I am relatively new, so I am now checking specs, first. I am interested in network-provider and cinder-integration and so on, so I'd like to dive into them next.16:14
*** stendulker has quit IRC16:17
*** stendulker has joined #openstack-ironic16:17
openstackgerritTan Lin proposed openstack/ironic: Add AMT-PXE-Driver Power&Management&Vendor Interface  https://review.openstack.org/15285816:18
jrollpshige: great :)16:20
jrollShrews: wow... /me wonders if the far right is jlk and notices much beard growth16:22
openstackgerritJohn L. Villalovos proposed openstack/ironic: Update unittests for _make_password_file  https://review.openstack.org/16267216:25
*** _lintan has joined #openstack-ironic16:27
*** jmccrory has joined #openstack-ironic16:27
*** ukalifon2 has quit IRC16:28
*** ChuckC_ has quit IRC16:34
*** andreykurilin_ has joined #openstack-ironic16:35
*** krtaylor has quit IRC16:36
*** stendulker_ has joined #openstack-ironic16:39
*** stendulker has quit IRC16:41
*** Marga_ has quit IRC16:42
openstackgerritJohn L. Villalovos proposed openstack/ironic: Update unittests for _make_password_file  https://review.openstack.org/16267216:42
*** Marga_ has joined #openstack-ironic16:43
*** dprince has quit IRC16:43
*** krtaylor has joined #openstack-ironic16:48
*** ramineni has joined #openstack-ironic16:52
*** Krast has quit IRC16:55
*** Krast has joined #openstack-ironic16:56
TheJuliadevananda: yes, very full16:56
devanandaTheJulia: i dont see any tables or white boards. therefor I am dubious as to whether anywork will happen :)16:57
devanandaalso folks - reminder - meeting in 2 minutes16:57
*** faizan has joined #openstack-ironic16:57
*** ijw has quit IRC16:58
TheJuliadevananda: There is a wall that will be going up any moment that becomes a giant whiteboard16:58
devanandaoooh16:58
*** ijw has joined #openstack-ironic16:58
*** absubram has joined #openstack-ironic17:01
*** _lintan is now known as lintan_17:01
*** jerryz has quit IRC17:02
*** ramineni has quit IRC17:03
*** ramineni has joined #openstack-ironic17:04
*** Marga_ has quit IRC17:04
lucasagomesBadCub, so I would change it now, because the spec says that the uefi bit is not included17:09
lucasagomeshttp://specs.openstack.org/openstack/ironic-specs/specs/kilo/local-boot-support-with-partition-images.html17:09
BadCublucasagomes: will change it for you now :-)17:10
lucasagomeswany<tab>17:10
lucasagomeswe do have a patch for the uefi and Im confident it will merge, but as it's not part of the spec I don't think we should block it because of it17:10
lucasagomeshttps://review.openstack.org/#/c/159855/ (uefi patch)17:11
*** yog_ has joined #openstack-ironic17:11
lucasagomesBadCub, thanks much!17:12
BadCublucasagomes: you are most welcome! :-)17:12
pshigeg'night!17:19
NobodyCamnight pshige17:19
*** dprince has joined #openstack-ironic17:21
*** anderbubble_ has joined #openstack-ironic17:25
*** anderbubble has quit IRC17:27
*** anderbubble_ is now known as anderbubble17:27
openstackgerritMerged openstack/ironic: Refactor agent iscsi deploy out of pxe driver  https://review.openstack.org/16240817:32
*** Marga_ has joined #openstack-ironic17:36
*** harlowja has joined #openstack-ironic17:40
*** harlowja_ has joined #openstack-ironic17:43
*** stendulker_ has quit IRC17:44
*** stendulker_ has joined #openstack-ironic17:45
*** ndipanov has quit IRC17:45
*** harlowja has quit IRC17:45
*** tiagogomes_ has quit IRC17:53
*** ijw has quit IRC17:58
*** jistr has quit IRC17:59
* rameshg87 goes to sleep18:00
rameshg87good night ironic18:00
jrollnight!18:00
*** rameshg87 has quit IRC18:00
lucasagomesright folks I have to go, have a good night everyone!!18:00
jrolldevananda: did you see my conversation with jamielennox yesterday? if not, you should read it :)18:00
BadCubnight lucasagomes18:00
rloonight lucasagomes18:00
jrolllucasagomes: have a good one :)18:00
lintan_good night guys18:00
devanandajroll: nope. time?18:00
jlvillallucasagomes: lintan: Good night18:00
rloonight lintan_18:00
jrolldevananda: dunno, 4-5pm our time?18:01
* BadCub will be in and out today dealing with house things.18:01
*** lintan_ has quit IRC18:01
jrolldevananda: it's the only conversation in here yesterday18:01
*** lucasagomes is now known as lucas-dinner18:01
*** ramineni has quit IRC18:01
*** comstud has joined #openstack-ironic18:01
*** Haomeng|2 has joined #openstack-ironic18:01
devanandak18:02
* devananda scrolls18:02
*** pradipta has quit IRC18:03
devanandajroll: 5) passing token to deploy -- I saw a patch to remove this need. IIRC it made all the endpoints needed by IPA and DIB's ramdisk to be publicby-default18:04
*** Haomeng has quit IRC18:04
jrollyeah, yuriy did a thing18:04
devanandaso in general i think jamielennox is on the right path. yes, we (like many other servives) abuse keystone tokens and generate far, far too many of them18:05
*** chlong has quit IRC18:05
devanandaand yes, that's terrible and should be fixed18:05
devanandathough I thought we already had a config option for keystone user stuff ....18:06
jrollyeah, I'm not up to speed on everything, were hoping you might know more :)18:06
devanandaso I'm inclined to think that we dont need new options, but perhaps we aren't using them properly. or perhaps it's not documented properly18:06
devanandamaybe our use of that option doesn't cache hte token and so we generate lots of them18:06
jrollwell, I think the intention was to encourage having a different user to talk to each service18:07
devanandaI'm referring to 2,3,4 in your list, btw18:07
devanandaerm18:07
openstackgerritShivanand Tendulker proposed openstack/ironic: Ilo drivers sets capabilities:boot_mode in node  https://review.openstack.org/15573118:07
devanandathat's .... different18:07
*** jcoufal_ has quit IRC18:07
jrollright18:07
jrollok18:07
devanandaI didnt get that from skimming your conversation. so in THAT case, nope, we dont have anything like that today18:08
devanandajroll: fixed typos on that wiki, btw18:09
jrollthanks18:10
faizandevananda: BadCub: jroll: regarding partition image support for agent driver18:10
faizanironic-lib project got submitted in openstack18:11
devanandafaizan: yup. let the refactoring begin :)18:12
openstackgerritShivanand Tendulker proposed openstack/ironic: Common changes for secure boot support  https://review.openstack.org/15397418:12
faizanI have missed to include pypi-jobs in the jenkins, I have raised a review for that - https://review.openstack.org/16201018:12
devanandafaizan: also, it's quite late in this cycle now, so I would not anticipate landing any big changes related to ironic-lib until Liberty opens18:12
devanandafaizan: but any preliminary work is good, and once ironic-lib is set up, you can propose and W-1 a patch back to ironic and ipa to start using it18:13
devanandait just shouldn't land until after Kilo is released18:13
faizanAlso need to add .getreivew to ironic-libc along with some minor changes - https://review.openstack.org/16216218:13
faizanBut we can still use it in IPA, I guess and make necessary changes to ipa driver to support partition images18:14
* devananda breaks for breakfast18:15
faizanwe need not refactor ironic to use ironic-lib at this stage and can take up early in L18:15
*** penick has joined #openstack-ironic18:15
*** ifarkas has quit IRC18:16
*** ChuckC has joined #openstack-ironic18:17
*** hj-hp has quit IRC18:18
*** achanda has joined #openstack-ironic18:18
*** achanda has quit IRC18:19
*** achanda has joined #openstack-ironic18:19
openstackgerritShivanand Tendulker proposed openstack/ironic: Secure boot support for pxe_ilo driver  https://review.openstack.org/15480818:21
openstackgerritShivanand Tendulker proposed openstack/ironic: Secure boot support for iscsi_ilo driver  https://review.openstack.org/15481418:23
openstackgerritShivanand Tendulker proposed openstack/ironic: Secure boot support for agent_ilo driver  https://review.openstack.org/15481618:23
openstackgerritShivanand Tendulker proposed openstack/ironic: Enable uefi boot mode for agent_ilo driver  https://review.openstack.org/16204318:24
*** stendulker_ has quit IRC18:31
openstackgerritClif Houck proposed openstack/ironic: Added support for image caching for the agent driver  https://review.openstack.org/16183218:31
*** mgagne is now known as mgagne_PHL18:42
*** penick has quit IRC18:47
*** penick has joined #openstack-ironic18:48
*** pelix has quit IRC18:53
*** jrist has quit IRC19:01
*** spandhe has joined #openstack-ironic19:01
openstackgerritGhe Rivero proposed openstack/ironic: WIP: oslo.log  https://review.openstack.org/16260019:02
*** ijw has joined #openstack-ironic19:11
*** jrist has joined #openstack-ironic19:14
*** jmccrory has quit IRC19:19
*** erwan_taf has joined #openstack-ironic19:42
openstackgerritSyed Ismail Faizan Barmawer proposed openstack/ironic: Add support for partition images in agent driver  https://review.openstack.org/16200819:49
*** achanda has quit IRC19:49
*** athomas has quit IRC19:50
*** jmccrory has joined #openstack-ironic19:56
*** kkoski has quit IRC19:58
*** athomas has joined #openstack-ironic19:59
*** athomas has quit IRC19:59
*** athomas has joined #openstack-ironic20:00
*** kkoski has joined #openstack-ironic20:01
*** achanda has joined #openstack-ironic20:01
*** kkoski1 has joined #openstack-ironic20:01
*** kkoski has quit IRC20:01
*** faizan has quit IRC20:04
*** ndipanov has joined #openstack-ironic20:08
*** erwan_taf has quit IRC20:10
*** achanda has quit IRC20:11
*** achanda has joined #openstack-ironic20:14
*** dprince has quit IRC20:15
*** penick has quit IRC20:15
*** andreykurilin_ has quit IRC20:16
*** andreykurilin_ has joined #openstack-ironic20:17
*** kkoski1 has quit IRC20:23
*** penick has joined #openstack-ironic20:24
*** kkoski has joined #openstack-ironic20:24
*** gridinv has joined #openstack-ironic20:27
*** achanda has quit IRC20:28
*** Nisha has quit IRC20:28
*** Nisha has joined #openstack-ironic20:31
*** igordcard has joined #openstack-ironic20:33
openstackgerritAdam Gandelman proposed openstack/python-ironicclient: Adds basic ironicclient functional testing  https://review.openstack.org/16197620:34
*** achanda has joined #openstack-ironic20:38
openstackgerritAdam Gandelman proposed openstack/python-ironicclient: Adds basic ironicclient functional testing  https://review.openstack.org/16197620:44
mrdaMorning Ironic20:45
*** Nisha_away has joined #openstack-ironic20:48
devanandag'morning, mrda20:49
mrdahey devananda - just reading backlog from the meeting today re: microversions.  Thanks for bringing that up as discussion.20:49
devanandacertainly20:50
devanandathere's also a little chatter on the ML20:50
* mrda goes looking20:50
mrdaI can see the nova discussion on microversions20:51
mrdaoh, and python client ux discussion20:51
*** Nisha has quit IRC20:52
*** gridinv has quit IRC20:52
devanandayah20:52
mrdaI'll spend some time going thorugh all that this morning20:55
*** penick has quit IRC20:55
rloohi mrda. did you want me to add comments to the spec about me being ok with defaulting to some max version?20:56
rloomrda: or just update it and my -1 will disappear20:56
mrdarloo: I don't mind, tbh.  If you want to update.... feel free.20:56
mrdaI've had a long weekend, so need to catch up with all that's going on (it was my birthday :)20:57
rloomrda: i don't want to update although I feel like i ought to. i'll comment on your next version then ;)20:57
mrdaok20:57
devanandarloo: even a tiny note on the spec might be helpful for later referencing ?20:57
mrdarloo: even if you add what you want where as a comment20:57
mrdathen I can update and reissue today20:58
rloodevananda, mrda: i'll add a comment. well, let me see where my comments are. give me 5.20:58
mrdaSo can I get a sense of a tl;dr for this?  Do you want to land the spec and code for K?20:59
mrdaOr is the proposed client work too expansive?21:00
mrdayour thoughts devananda and rloo?21:00
rloomrda: yes, we need to do something in K (I mean, in code) and so yes, we should land the spec if we can.21:00
mrdaok, thanks21:01
*** ijw has quit IRC21:04
*** ijw has joined #openstack-ironic21:07
*** kkoski has quit IRC21:07
*** kkoski has joined #openstack-ironic21:09
*** kkoski has quit IRC21:10
*** kkoski has joined #openstack-ironic21:10
*** Nisha_away has quit IRC21:11
*** jcoufal has joined #openstack-ironic21:17
*** jxiaobin_ has joined #openstack-ironic21:18
*** yog_ has quit IRC21:24
jamielennoxdevananda, jroll: i'm here if you have any ideas21:26
*** penick has joined #openstack-ironic21:29
*** ChuckC has quit IRC21:31
*** chlong has joined #openstack-ironic21:45
*** achanda has quit IRC21:48
*** achanda has joined #openstack-ironic21:52
*** chlong has quit IRC21:57
*** chlong has joined #openstack-ironic21:57
*** kkoski has quit IRC21:59
*** ChuckC has joined #openstack-ironic22:02
*** ijw has quit IRC22:02
*** ijw has joined #openstack-ironic22:03
*** chlong has quit IRC22:04
*** jcoufal has quit IRC22:09
*** ijw has quit IRC22:11
*** andreykurilin_ has quit IRC22:11
*** andreykurilin_ has joined #openstack-ironic22:11
*** ijw has joined #openstack-ironic22:11
*** jgrimm is now known as zz_jgrimm22:15
*** ChuckC has quit IRC22:16
devanandaadam_g: so I didn't finish my POC yet for functional testing sans keystone22:22
devanandaadam_g: is it clear how that'd be done // is it worthwhile for me to post it?22:23
*** openstack has joined #openstack-ironic22:25
*** romcheg has quit IRC22:26
*** anderbubble has quit IRC22:26
*** romcheg has joined #openstack-ironic22:26
*** romcheg has quit IRC22:27
openstackgerritGhe Rivero proposed openstack/ironic: Use oslo_log lib  https://review.openstack.org/15760222:33
openstackgerritGhe Rivero proposed openstack/ironic: Sync from oslo.incubator  https://review.openstack.org/16250522:33
openstackgerritGhe Rivero proposed openstack/ironic: Use oslo_policy package  https://review.openstack.org/16250122:33
openstackgerritGhe Rivero proposed openstack/ironic: Use strutils from oslo_utils  https://review.openstack.org/16249722:33
openstackgerritGhe Rivero proposed openstack/ironic: Use oslo_context package  https://review.openstack.org/16249922:33
openstackgerritOpenStack Proposal Bot proposed openstack/ironic: Updated from global requirements  https://review.openstack.org/16181122:42
*** lucas-dinner has quit IRC22:52
*** Marga_ has quit IRC23:01
openstackgerritGhe Rivero proposed openstack/ironic-python-agent: Use oslo_log lib  https://review.openstack.org/16279023:02
openstackgerritGhe Rivero proposed openstack/ironic-python-agent: Sync from oslo.incubator  https://review.openstack.org/16279123:02
*** penick has quit IRC23:04
*** jerryz has joined #openstack-ironic23:04
*** penick has joined #openstack-ironic23:09
*** ChuckC has joined #openstack-ironic23:12
*** ijw has quit IRC23:12
pshigegood morning!23:12
devanandamorning23:12
devanandajamielennox: hi there! I'm sorta here if you have thoughts to bounce off me23:12
*** ijw has joined #openstack-ironic23:13
*** ijw has quit IRC23:14
jamielennoxdevananda: so it feels to me like we should be using the user token catalog for this stuff rather than the auth_token catalog, do you know if there was a reason for this?23:14
*** ijw has joined #openstack-ironic23:15
jamielennoxdevananda: also i'm wondering how much i should look at changing - particularly given we're getting close to k323:15
jamielennoxi can quickly add auth to the [keystone] section which solves the immediate problem, but leaves ironic with the same over generation of tokens23:15
devanandajamielennox: at the moment, i'm not recalling what the user_token catalog is23:16
devananda*is for, or how it would address this23:16
jamielennoxdevananda: so by that i mean the catalog that is attached to the token that the user is presenting23:16
devanandajamielennox: so there are many operations that occur where there is no user23:17
jamielennoxat the moment ironic is taking authenticating (again) the auth_token user (the one that we use for token validation) and using that catalog23:17
devanandajamielennox: ie, ironic-conductor autonomously takes an action and requests another service t odo something23:17
*** Marga_ has joined #openstack-ironic23:17
*** Marga_ has quit IRC23:18
devanandajamielennox: ditto for nova -- it sometimes calls ironc on behalf of a user, and sometimes on behalf of a periodic task23:18
*** yuanying has joined #openstack-ironic23:18
jrollI don't believe nova ever calls ironic on behalf of a user23:19
jrollmaybe as a result of a user request23:19
jamielennoxright, i know nova has it's own user that it sometimes does things as23:19
jrollbut it's always an admin token, never a user token23:19
devanandahm. that's what i mean23:19
devananda"in direct response to a user's request"23:19
jamielennoxis there a permissions reason why this shouldn't use trusts?23:19
jrollk23:19
devanandajroll: the nova.virt.ironic driver uses this call: nova_context.get_admin_context()23:20
devanandajamielennox: trusts?23:20
jamielennoxlol - i thought that might have been the answer there as well23:21
devanandajamielennox: is that a keystone v3 thing? (sorry, haven't followed v3 closely enough)23:21
jrollthat's where a service gets a user token on behalf of the user, no?23:21
jamielennoxessentially allow a user to delegate certain roles to another user, heat is the primary use where heat has to spin up vms and do things on behalf of a user long after the user left23:21
jamielennoxjroll: more or less23:22
devanandaah. so aiui that, there's a really good reason for this23:22
devanandamost users of a cloud should NOT have access to ironic23:22
devanandathus they can't delegate trust to Nova23:22
jamielennoxthe difference is the token is on behalf of the user and ownership of objects belongs, rather than the service user23:22
jamielennoxok23:22
jrollnor most of the things ironic does, e.g. configure dhcp23:23
jroll(I think)23:23
devanandajamielennox: so, ironic doesn't record tenant, owner, etc, of resources23:23
devanandaall of thta is done by nova23:23
*** openstack has joined #openstack-ironic23:25
*** oomichi has joined #openstack-ironic23:25
devanandajamielennox: sorry, I'm still missing something. at what point does nova provide a catalog to ironic?23:25
jamielennoxor even reuse the service catalog that the ironic user got?23:25
jamielennoxso tokens should all come with a catalog, this is all handled by the auth_token middleware23:26
devanandaahhh23:26
devanandadidn't know that23:26
jamielennoxif you look at https://github.com/openstack/keystonemiddleware/blob/master/keystonemiddleware/auth_token/__init__.py#L6323:26
devanandaso - yes - and that'll help any calls that have the nova-supplied context23:27
jamielennoxthere is a whole list of things that auth_token middleware adds to each request23:27
jamielennoxhttps://github.com/openstack/keystonemiddleware/blob/master/keystonemiddleware/auth_token/__init__.py#L128 is the catalog23:27
jamielennoxbut depending on the version there are other ways23:27
jamielennoxhttps://github.com/openstack/keystonemiddleware/blob/master/keystonemiddleware/auth_token/__init__.py#L172 being preferred23:27
jamielennoxbecause then you don't need to rebuild a plugin at all you just pass it to the next client you are going to call23:28
*** igordcard has quit IRC23:29
*** igordcard has joined #openstack-ironic23:31
devanandaok - so doing that in places where we can sounds good23:32
jamielennoxi think so, it's a whole lot more work than the basic replace though :)23:35
*** chlong has joined #openstack-ironic23:43
openstackgerritGhe Rivero proposed openstack/python-ironicclient: Use oslo.i18n lib  https://review.openstack.org/16279723:44
openstackgerritGhe Rivero proposed openstack/python-ironicclient: Use oslo.i18n lib  https://review.openstack.org/16279723:47
openstackgerritGhe Rivero proposed openstack/python-ironicclient: Clean openstack-common module list  https://review.openstack.org/16279923:47
devanandajamielennox: in all the other places (ie, where periodic tasks, or service startup, are triggering ironic to call other services) how would we improve this?23:49
*** igordcard has quit IRC23:49
devanandajamielennox: generate the token, cache it $somewhere, and regenerate on demand?23:49
jamielennoxdevananda: essentially yes, just caching should speed things up23:49
jamielennoxthere's only two places i've come across so far where you do auth23:50
jamielennoxtalking to neutron, and i've got a patch up there: https://review.openstack.org/#/c/162037/23:50
jamielennoxand in the common/keystone stuff23:50
devanandafetching an image from glance23:51
*** igordcard has joined #openstack-ironic23:52
jamielennoxin glance you are reusing the user (nova) token: https://github.com/openstack/ironic/blob/master/ironic/common/glance_service/base_image_service.py#L8323:53
jamielennoxyou should probably use the catalog there as well rather than get a URL from the CONF file - but you're not the only service making that mistake23:53
openstackgerritGhe Rivero proposed openstack/python-ironicclient: Sync oslo.incubator  https://review.openstack.org/16280623:54
jamielennoxdevananda: i think even a good start (and what would fix my problem) is that we re-use the same 'ironic' user and authentication between the dhcp stuff and the keystone common23:55
devanandathat usually has a nova context passed in (eg, from nova boot) but it can also be triggered from take_over23:56
devanandaalso - yes, we should not have URLs for that in the config file23:56
devanandaif glance is present, one should assume keystone is present - and just get the catalog23:56
jrolldevananda: I (unfortunately) don't trust my service catalog and would be -1 to that change23:58
jrollit's probably fine but I honestly have no idea23:59
jrolland I know that's not ironic's problem but...23:59
devanandajroll: your service catalog is lame23:59
jrollyes.23:59
jrollit is.23:59
devanandasomeone should fix it :(23:59

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