Friday, 2020-12-04

TheJuliano problem, I do think the change is totally valid, just don't know why chris wanted to check the length field. Maybe the idrac always returns or at least did when he wrote it00:00
rpiosoTheJulia: Isn't it proper to include the Content-Length header when content returned?00:01
rpiosoTheJulia: And that it be non-zero?00:02
TheJuliait is not explicitly required00:02
TheJuliaafaik00:02
TheJuliaBUT HTTP accepted if memory serves is purley optional to have a payload and content00:02
TheJuliapurely00:02
*** rloo has quit IRC00:05
openstackgerritMerged openstack/ironic master: Remove compatibility with conductors that do not support groups  https://review.opendev.org/c/openstack/ironic/+/75441600:08
rpiosoTheJulia: I understand the payload is optional for HTTP ACCEPTED or at least it is in Redfish async operations: http://redfish.dmtf.org/schemas/DSP0266_1.11.0.html#asynchronous-operations00:08
rpiosoTheJulia: "The response to an asynchronous operation shall return the HTTP 202 Accepted status code and set the HTTP Location response header to the URI of a task monitor associated with the task. The response may also include the Retry-After header that defines the amount of time that the client should wait before polling for status. The response body **should** contain a representation of the Task resource."00:09
TheJulianice00:09
TheJuliaso yeah00:10
TheJuliagot to love "should"00:10
TheJuliahmm00:10
TheJuliawonder if the code properly groks that it is "should"00:10
TheJuliaAnyway, I don't have braincells at the moment to context load that back into active memory00:10
rpiosoTheJulia: But my question is, if it does contain payload, shouldn't it contain a non-zero Content-Length header?00:10
TheJuliabased on the table on the header use requirement, I'm guessing no, plus it is still a niceity. Apparently the client can force it with requesting chunked encoding, at least that is the way I'm groking the doucment00:13
TheJuliachunked, I think requires it for offsetting00:14
TheJulia"I got x bytes, I need x+y starting at end of x"00:15
rpiosoTheJulia: Which table and doc are you referring to?00:16
TheJuliathe one you linked to even has the field as not required by clients or servers00:16
rpiosoTheJulia: "field"?00:17
TheJuliaContent-Length00:17
TheJuliathe header00:17
rpiosoTheJulia: ty00:17
rpiosoTheJulia: Where do you see that?00:17
rpiosoTheJulia: Link, please.00:18
TheJuliahttp://redfish.dmtf.org/schemas/DSP0266_1.11.0.html#asynchronous-operations00:18
TheJuliathe One you linked to, section 7.100:18
* TheJulia goes and exercises00:19
*** sshnaidm|afk has joined #openstack-ironic00:20
*** sshnaidm|afk is now known as sshnaidm|off00:20
rpiosoTheJulia: Got it, the table in section 7.1 of the linked doc.00:21
rpiosoTheJulia: TL;DR, I believe the change is good to go re: the question about the guard. If there's not enough data for all of the fields, the Task will be successfully constructed as long as its two (2) required fields, Id and Name, are present. And, if there is no data, its base class will GET it during __init__:00:26
rpiosohttps://github.com/openstack/sushy/blob/af4adf56a665ebf90ccff35e12d1228a4cf91c65/sushy/resources/base.py#L59900:26
rpiosoTheJulia: I'll add a comment to the review.00:26
TheJuliathanks rpioso!00:28
*** guilhermesp has quit IRC00:56
*** jungleboyj has quit IRC00:56
*** jungleboyj has joined #openstack-ironic00:57
*** gouthamr has quit IRC00:57
*** mnasiadka has quit IRC00:57
*** guilhermesp has joined #openstack-ironic00:58
*** gouthamr has joined #openstack-ironic00:58
*** mnasiadka has joined #openstack-ironic00:58
*** tosky has quit IRC01:01
*** ociuhandu has joined #openstack-ironic01:10
*** paras333_ has quit IRC01:15
*** ociuhandu has quit IRC01:15
*** k_mouza has joined #openstack-ironic01:17
*** k_mouza has quit IRC01:21
*** openstackgerrit has quit IRC01:38
rpiosoTheJulia: yw01:38
*** zzzeek has quit IRC02:14
*** zzzeek has joined #openstack-ironic02:15
*** Goneri has quit IRC02:19
*** ociuhandu has joined #openstack-ironic02:59
*** ociuhandu has quit IRC03:03
*** mkrai has joined #openstack-ironic03:58
*** k_mouza has joined #openstack-ironic04:02
*** k_mouza has quit IRC04:06
*** ociuhandu has joined #openstack-ironic04:47
*** ociuhandu has quit IRC04:51
*** k_mouza has joined #openstack-ironic05:07
*** k_mouza has quit IRC05:11
*** mkrai has quit IRC05:42
*** mkrai has joined #openstack-ironic05:42
*** lbragstad has quit IRC06:02
*** lbragstad has joined #openstack-ironic06:03
*** bburns has quit IRC06:28
*** ociuhandu has joined #openstack-ironic06:35
*** ociuhandu has quit IRC06:40
*** ociuhandu has joined #openstack-ironic07:02
*** rcernin has quit IRC07:04
*** ociuhandu has quit IRC07:14
*** rcernin has joined #openstack-ironic07:17
*** rcernin has quit IRC07:18
*** tzumainn has quit IRC07:20
*** uzumaki has joined #openstack-ironic07:38
*** ociuhandu has joined #openstack-ironic07:42
*** mkrai has quit IRC07:43
*** mkrai_ has joined #openstack-ironic07:43
*** mkrai_ has quit IRC07:45
*** ociuhandu has quit IRC07:47
arne_wiebalckGood morning, ironic!07:58
*** ociuhandu has joined #openstack-ironic08:02
*** ociuhandu has quit IRC08:03
*** belmoreira has joined #openstack-ironic08:05
*** k_mouza has joined #openstack-ironic08:08
*** ociuhandu has joined #openstack-ironic08:12
*** k_mouza has quit IRC08:13
*** ociuhandu has quit IRC08:18
*** bburns has joined #openstack-ironic08:21
*** uzumaki has quit IRC08:26
*** tkajinam has quit IRC08:31
*** tkajinam has joined #openstack-ironic08:32
*** ociuhandu has joined #openstack-ironic08:32
*** ociuhandu has quit IRC08:39
*** uzumaki has joined #openstack-ironic08:59
*** tosky has joined #openstack-ironic09:05
*** derekh has joined #openstack-ironic09:09
jandersgood morning arne_wiebalck!09:11
jandersHappy Friday!09:11
arne_wiebalckhey janders, happy Friday to you, too!09:11
*** lourot has quit IRC09:17
*** lourot has joined #openstack-ironic09:18
*** ociuhandu has joined #openstack-ironic09:41
*** ociuhandu has quit IRC09:46
jandersdinner running longer, will be ~15min late to the SPUC09:49
*** k_mouza has joined #openstack-ironic09:50
*** ociuhandu has joined #openstack-ironic10:10
*** ociuhandu has quit IRC10:19
jandersin now if anyone feels like joining :)10:22
*** ociuhandu has joined #openstack-ironic10:25
jandersthis one wasn't too popular... another time! :)10:29
janders(dropping off)10:29
*** ociuhandu has quit IRC10:29
*** ociuhandu has joined #openstack-ironic11:39
*** ociuhandu has quit IRC11:39
iurygregorygood morning Ironic!11:42
*** ociuhandu has joined #openstack-ironic12:11
*** ociuhandu has quit IRC12:20
jandershey iurygregory o/12:33
janderswrapping up for the day, so just dropped in to wish all of you a great weekend12:33
janderssee you next week Ironic o/12:33
janders(bonus: one week closer to Christmas :) )12:34
iurygregoryjanders, you too!12:36
*** zzzeek has quit IRC12:36
iurygregory1 week so I can start going out and see family hehehe12:36
*** uzumaki has quit IRC12:37
*** zzzeek has joined #openstack-ironic12:37
*** tosin has joined #openstack-ironic12:41
*** ociuhandu has joined #openstack-ironic12:51
*** ociuhandu has quit IRC12:59
*** ociuhandu has joined #openstack-ironic13:17
*** ociuhandu has quit IRC13:17
*** paras333 has joined #openstack-ironic13:17
*** paras333 has quit IRC13:21
*** paras333 has joined #openstack-ironic13:30
*** ociuhandu has joined #openstack-ironic13:36
*** ociuhandu has quit IRC13:43
*** rloo has joined #openstack-ironic14:02
*** tkajinam has quit IRC14:07
*** tosin has quit IRC14:15
TheJuliagood morning14:25
*** ociuhandu has joined #openstack-ironic14:33
*** ociuhandu has quit IRC14:33
*** uzumaki has joined #openstack-ironic14:36
*** uzumaki has quit IRC14:37
*** uzumaki has joined #openstack-ironic14:38
*** ociuhandu has joined #openstack-ironic14:38
*** ociuhandu has quit IRC14:43
*** bnemec has joined #openstack-ironic14:44
arne_wiebalckHey TheJulia, good morning!14:46
*** bnemec is now known as beekneemech14:50
*** Goneri has joined #openstack-ironic14:54
*** ociuhandu has joined #openstack-ironic14:56
*** ociuhandu has quit IRC15:03
*** sdanni has joined #openstack-ironic15:05
*** anuradha1904 has joined #openstack-ironic15:13
*** uzumaki has quit IRC15:53
*** ociuhandu has joined #openstack-ironic16:04
*** gyee has joined #openstack-ironic16:07
*** ociuhandu has quit IRC16:09
*** sdanni has quit IRC16:19
*** sdanni has joined #openstack-ironic16:20
*** lmcgann has joined #openstack-ironic16:44
*** openstackgerrit has joined #openstack-ironic16:47
openstackgerritKaifeng Wang proposed openstack/ironic master: [WIP] Support port name: API  https://review.opendev.org/c/openstack/ironic/+/76556916:47
JayFI'm already in the SPUC if anyone else wants to join early o/16:53
JayFTheJulia: dtantsur|afk: anyone else, coming? zbuhman and I are here17:05
TheJuliaohhh completey forgot17:05
TheJuliajoining17:05
TheJuliaSPUC!!!!!17:08
*** ociuhandu has joined #openstack-ironic17:11
*** ociuhandu has quit IRC17:11
*** ociuhandu has joined #openstack-ironic17:12
*** ociuhandu has quit IRC17:16
*** ociuhandu has joined #openstack-ironic17:20
iurygregoryspuc link?17:21
*** ociuhandu has quit IRC17:30
*** ociuhandu has joined #openstack-ironic17:31
*** ociuhandu has quit IRC17:31
*** k_mouza has quit IRC17:39
openstackgerritDhuldev Valekar proposed x/sushy-oem-idrac master: Redfish management clean steps  https://review.opendev.org/c/x/sushy-oem-idrac/+/72159617:40
*** k_mouza has joined #openstack-ironic17:44
*** beekneemech has quit IRC17:49
TheJuliaSPUC has achieved technology nostalgia.... We're talking about serial ports, modems, BBSes17:57
*** k_mouza has quit IRC17:57
TheJuliaand MP3 encoding18:00
*** sdanni has quit IRC18:03
*** derekh has quit IRC18:04
*** k_mouza has joined #openstack-ironic18:34
*** k_mouza has quit IRC18:48
*** anuradha1904 has quit IRC19:43
*** k_mouza has joined #openstack-ironic19:48
*** k_mouza has quit IRC19:52
dkingI think I may have asked before, but is there a good way to unit test a method that uses dispatch_to_managers()?20:16
buhmanI read most of https://review.opendev.org/c/openstack/ironic-specs/+/764070/2/specs/approved/secure-rbac.rst ; I wish it went into more detail on reasoning behind making this change, particularly in the opening paragraphs. It's only later that "System scope" and "Project scope" are defined, and it still takes imagination from the reader to understand the use-cases.20:18
buhmanI also think it would be a nice indicator of policy symmetry if Nova were able to use Project-scoped authorization for most operations, because that would imply the end-user would have been able to make those exact Ironic API calls themselves if they so desired.20:21
buhmanIt would be even cooler if the goal of the spec were restated in terms of that ^ sort of "policy symmetry", rather than the more obscure "Secure RBAC" term that is never actually defined or linked.20:22
buhmanIOW, that all of the cases where Nova is still required to use a System-scoped authorization are considered to be weaknesses/bugs in Ironic.20:25
TheJulialbragstad: ^^^ I keep hearing similar concerns and statements. I Everyone seems to be unable to find and identify the originating community wide driver.20:25
TheJuliaI think the idea, ultimately nova would handle the allocation/reservation as the service account, and then inside the request client it would be able to switch to using exclusively user token data.20:26
TheJuliaBut that is definitely not an interation I spent much time thinking about20:27
*** belmoreira has quit IRC20:46
*** lmcgann has quit IRC20:50
*** jamesdenton has quit IRC20:51
*** ociuhandu has joined #openstack-ironic20:51
*** jamesdenton has joined #openstack-ironic20:52
*** ociuhandu has quit IRC21:16
openstackgerritJulia Kreger proposed openstack/ironic-lib master: Disable output cache  https://review.opendev.org/c/openstack/ironic-lib/+/76538721:36
*** ociuhandu has joined #openstack-ironic21:47
*** k_mouza has joined #openstack-ironic21:57
*** tkajinam has joined #openstack-ironic22:00
*** k_mouza has quit IRC22:01
openstackgerritJulia Kreger proposed openstack/ironic master: IPMI: Handle vendor set boot device differences  https://review.opendev.org/c/openstack/ironic/+/75719822:06
*** ociuhandu has quit IRC22:11
*** ociuhandu has joined #openstack-ironic22:11
*** ociuhandu has quit IRC22:16
*** ociuhandu has joined #openstack-ironic22:22
*** jamesdenton has quit IRC22:40
*** jamesdenton has joined #openstack-ironic22:40
openstackgerritJulia Kreger proposed openstack/ironic master: Guard conductor from consuming all of the ram  https://review.opendev.org/c/openstack/ironic/+/72648322:45
openstackgerritJulia Kreger proposed openstack/ironic master: Set default to prevent out of memory conditions  https://review.opendev.org/c/openstack/ironic/+/76310722:45
buhmanTheJulia: why can't allocation be done with a user/project-scoped token?22:50
TheJuliaWell, the alloation API maybe, but a physical node can't be updated unless a user/project scoped token has access over the hardware, i.e. is a lessee already or it is owned by their project22:51
TheJuliaThe allocation api may be a shortcut around that in ironic, but it is not what nova uses22:51
buhmanYeah, so Nova would need to be updated to use the allocation API22:52
TheJuliacontributions welcome!22:52
TheJuliaIt will likely need to be, or even optionally. I guess that is yet another thing we need to ferret out with this22:52
*** paras333 has quit IRC22:57
TheJuliabuhman: good comments on the spec, thanks!23:00
TheJuliaI may revise this weekend or most likely early monday morning at this rate23:00
buhmanThank Jay, I originally was just going unproductively complain to him privately :)23:01
TheJuliaThanks JayF23:03
* TheJulia thinks it is time to either go exercise or enjoy whiskey23:03
TheJulia(... or both?)23:04
JayF:D I'm an expert at nerd sniping23:04
JayFbut I also nerd sniped myself, I think I reviewed 3 specs today and security interface I'm saving for last23:04
TheJuliaThanks guys!23:04
*** ociuhandu has quit IRC23:29
*** ociuhandu has joined #openstack-ironic23:30
*** ociuhandu has quit IRC23:35
*** Goneri has quit IRC23:50
*** tosky has quit IRC23:54

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!