Tuesday, 2023-01-24

arne_wiebalckGood morning, Ironic!07:33
rpittaugood morning ironic! o/08:32
opendevreviewRiccardo Pittau proposed openstack/ironic bugfix/20.2: Fix selinux context of published image hardlink  https://review.opendev.org/c/openstack/ironic/+/87105208:48
opendevreviewRiccardo Pittau proposed openstack/ironic bugfix/19.0: Fix selinux context of published image hardlink  https://review.opendev.org/c/openstack/ironic/+/87103808:49
opendevreviewRiccardo Pittau proposed openstack/bifrost stable/zed: Fix CI  https://review.opendev.org/c/openstack/bifrost/+/87104109:01
opendevreviewMerged openstack/sushy stable/xena: Fix volume deletion on newer iDRACs  https://review.opendev.org/c/openstack/sushy/+/86931310:04
opendevreviewVerification of a change to openstack/bifrost stable/yoga failed: Fix CI  https://review.opendev.org/c/openstack/bifrost/+/87104210:15
kubajjdtantsur: should I remove the redundant brackets or is it not worth it to re-run zuul?11:30
iurygregorygood morning Ironic11:44
kubajjdtantsur: I also looked into the swift client api and you were right, it raises an exception if it doesn't exist. Should I wrap it in a try?11:59
adam_Hi Ironic, and happy new year I wasn't here since last year :D12:08
opendevreviewRiccardo Pittau proposed openstack/bifrost stable/yoga: Fix CI  https://review.opendev.org/c/openstack/bifrost/+/87104213:11
opendevreviewRiccardo Pittau proposed openstack/ironic bugfix/20.2: Use cinder from stable/zed for CI jobs  https://review.opendev.org/c/openstack/ironic/+/87160413:15
opendevreviewRiccardo Pittau proposed openstack/ironic bugfix/20.2: Fix selinux context of published image hardlink  https://review.opendev.org/c/openstack/ironic/+/87105213:15
opendevreviewMerged openstack/ironic-prometheus-exporter master: devstack: fix plugin for local usage  https://review.opendev.org/c/openstack/ironic-prometheus-exporter/+/86938514:16
opendevreviewVerification of a change to openstack/ironic bugfix/19.0 failed: Prevent pxe retry when agent token exists  https://review.opendev.org/c/openstack/ironic/+/86802714:57
dtantsurkubajj: nits are usually optional to fix. only if you need to create another revision15:10
dtantsurkubajj: if the swiftclient does not have anything like ignore_missing, yes15:10
opendevreviewJay Faulkner proposed openstack/ironic master: Clarify release docs: bugfix releases optional  https://review.opendev.org/c/openstack/ironic/+/87153716:13
kubajjJayF: or anybody, could I get a second review for https://review.opendev.org/c/openstack/ironic/+/870799 It would make it easier to rebase the other change I'm working on16:20
JayFlookin16:20
JayFif TheJulia is around; it'd be nice to have her look since she's had review comments on that before16:21
JayFif she's out today, I can approve it16:21
TheJuliaStill sick :(16:21
TheJuliaAlthough, on the mend…. I think16:22
JayFI had to cancel my office hours due to a sore throat16:22
JayFhopefully not getting sick16:23
JayFyou keep mending, I'll land this for kuba16:23
TheJuliaAck. My throat wasn’t sore until last night. :( I think I’m going to go back to masking in public.16:24
JayFI have chronic stuff that can cause acute sore throat. So I'm hoping it's just that, and not actual-sickness incoming16:24
TheJuliaI hope so16:42
rpittaugood night! o/16:45
JayFIs there any way to split quotas for Ironic?16:52
JayFe.g. if you have a single nova cluster serving up both VMs and Bare Metal16:52
JayFand you don't want, say, someone to take the giant BM quota they have and use it to run your VM cluster into ruin16:53
TheJuliaSo, technically that is resource class based quotas. I don’t know what the state of that is since prior flavor matching scheduling has changed quite a bit.16:54
TheJuliaarne_wiebalck might be aware of the state of nova quotas.16:54
arne_wiebalckJayF: TheJulia: this is indeed an issue and I have raised this many times16:56
arne_wiebalcka similar problem is access to different BM flavors in the same project16:56
arne_wiebalckor flavors which are shared between projects16:56
arne_wiebalcka constant source of issues :)16:56
arne_wiebalckunified limits is the official answer16:57
TheJuliaWhat if we were to quota check requests ourselves, at least for allowed bare metal nodes?16:57
arne_wiebalck(similar issue for nodes with GPUs)16:57
JayFTheJulia: that explicitly doesn't help this case of a mixed cluster; right? Ironic can't enforce user-facing quotas when a nova user is doing all the work, right?16:58
* JayF not sure if he's missing something16:58
arne_wiebalckTheJulia: this would only solve the BM case, not the general case with GPU nodes, for instance16:58
TheJuliaThe originating project id still gets sent to us16:58
TheJuliaIt is in the auth token payload16:58
JayFah16:58
JayFhard to transmit a reasonable error message back in that case, unless the driver cooperated16:59
arne_wiebalck... and the quota would be on what?16:59
TheJuliaarne_wiebalck: true, but something is better than nothing16:59
TheJuliaOh, super difficult to get a sane error back to the user16:59
JayFyahoo ran a quota patch which measured things at the intersection of AZ, flavor, and rack location16:59
arne_wiebalckTheJulia: I understand unified limits is close to or arrived at "working" 16:59
JayFwhat is unified limits?16:59
TheJuliaarne_wiebalck: ooooh ahhhh17:00
arne_wiebalckour nova just moved to train17:00
arne_wiebalckso, we are not in a position to test17:00
arne_wiebalckJayF: keystone unified limits is supposed to manage quotas and get rid of all these issues17:00
arne_wiebalck(is my understanding)17:00
TheJuliaAnd be at the higher level abstracts17:01
TheJuliaAiui17:01
JayFI don't understand how something at keystone-level could solve this problem17:01
JayFgiven the kind of primitives exposed17:01
JayFbut I'm also weakest in knowledge of keystone/quota management/ this whole problem cset17:01
arne_wiebalcksecond weakest17:02
JayFwhat am I weaker in my knowledge of? 17:03
JayFOh I see, going to judge me for my weak particle physics17:03
JayFtypical CERN :P 17:03
arne_wiebalcknah, I am weakest when it comes to knowledge in this area17:03
TheJuliaAhh, so the tldr aiui is it stores maximums and utilization of resource counts, so user create a vim from flavor bluebaremetal, which maps to resource class say baremetal2, and baremeral2 should be stored as used in keystone and counted17:03
JayFthis exists in zed? or antelope?17:04
JayFor is an *idea*17:04
TheJuliaWhen new user tries to use a baremeral2 resource class again, it *should* be consulted17:04
TheJuliaThat is the general idea when it was proposed back  before train, but I don’t know where it is at17:04
JayFack17:04
TheJuliaI think arne_wiebalck’s last chat with nova early on in the pandemic was 2-3 cycles away or something like that17:05
arne_wiebalckyep, that is about right17:05
arne_wiebalckbut members of my team have checked recently for GPUs in order to decide if we do sth downstream 17:05
arne_wiebalckand IIRC the understanding was unified limits was the way to go17:06
arne_wiebalckbut let me check with them ...17:06
* TheJulia goes back to trying to feel human and failing miserably as cats observe with the “human” why are you laying there look17:07
arne_wiebalckheh 17:08
arne_wiebalckone of our cat is a master in that look as well17:09
arne_wiebalck*cats17:09
arne_wiebalckI sent a message to my colleagues but since EOB has passed here already, I would not expect a reply before tomorrow17:10
JayFwhen I went into the living room earlier, one of my cats was sitting on the chaise, on top of a pillow, looking extremely regal17:10
TheJuliaOf course, it is their bed on their chair, in their home. How could the cat not?17:12
TheJuliaYou know, we will need to dedicate a release to the cats of ironic…17:12
TheJuliaAlso puppies that think they are cats… most of the time :)17:13
JayFThis cat doesn't deserve a dedicated release. He's a bit of a jerk. lol17:13
dtantsur:D17:19
opendevreviewMichal Nasiadka proposed openstack/bifrost master: CI: Rename kolla-ansible-ubuntu-bifrost job  https://review.opendev.org/c/openstack/bifrost/+/87164717:34
opendevreviewVerification of a change to openstack/ironic bugfix/20.2 failed: Use cinder from stable/zed for CI jobs  https://review.opendev.org/c/openstack/ironic/+/87160417:51
opendevreviewMerged openstack/ironic master: Reorganise Inventory Storage  https://review.opendev.org/c/openstack/ironic/+/87079917:59
adam_Hi, do I understand correctly that this https://opendev.org/openstack/oslo.service lib implements the SSL/TLS related functionality for Ironic and this supports up to tls1.2? If that is the case, do you know whether there are plans to add tls1.3 support this year?18:52
opendevreviewMerged openstack/ironic bugfix/19.0: Prevent pxe retry when agent token exists  https://review.opendev.org/c/openstack/ironic/+/86802718:59
JayFhttps://opendev.org/openstack/oslo.service/src/branch/master/oslo_service/sslutils.py AFAICT you are correct19:36
JayFand AFAIK there are not any, but that sounds wrong to me19:36
JayFI would recommend, and this matches what I've seen/done in most Ironic installs I've done, letting a local proxy handle SSL for Ironic19:36
JayFadam_: ^ I'm asking in #openstack-oslo19:37
adam_JayF, Thanks, I'am (metal3 project) also using local proxy at least on Ironic not on IPA, I was just wondering whether something official is brewing related to tls1.3 inside oslo, and thank you for asking it on the openstack-oslo channel :D19:45
JayFyeah, IPA is going to use the TLS in there19:45
JayFwhich is why I'm pursuing19:45
JayFdtantsur and I didn't do all that work for TLS on IPA to let it languish in squalor :D 19:46
adam_nice, is there a story board issue or review branch or blueprint that I can track (related to IPA tls)?19:47
JayFThe feature I talk about is done19:55
JayFas of like X or Y?19:55
JayFIPA supports TLS, via the oslo.service sslutils module as you discovered19:56
JayFand supports automatic configuration and generation of certs on demand from Ironic IIRc19:56
JayFlooks like it was in V / W 19:56
JayFso even earlier than that19:56
adam_yeah I get it, I phrased it incorrectly, I meant I'm looking for a story/blueprint in relation to tls 1.3 support if there is any20:49
JayFOslo is one of the least-populated functional teams in OpenStack, and we may be the only group using that ssl+wsgi support.20:52
JayFI would not expect it's being worked on, and it'd be a new stream of work to do it20:52
JayF(that being said; if it's easy enough I could be tempted to JFDI if oslo folks are onboard)20:52
adam_what I can say is that at least I see interest from downstream on my end from time to time, so there are enterprise users who are interested in this, but ofc all those things are up to openstakc-oslo + openstakc-ironic I don't know enough about this topic to implement and propose myself :(20:58
JayFYou probably know more than you think you do :D 21:16
JayFthat sslutils.py module is exceedingly simple21:16
JayFliterally just creating an ssl socket (monkeypatched by eventlet) and wrapping the existing wsgi server in it21:17
JayFabout three steps beyond "hello world" in python ssl sockets21:17
JayFadam_: I'll make you a deal; if I get a patch that I believe should be working can you help test it?21:36
adam_yeah sure21:37
JayFI'll warn you; we might be too late to get this in before A is cut21:38
JayFI'd have to check when library freeze is21:39
adam_For me it is fine 21:41
JayFack; yeah I'll see what I can do21:42
JayFI think it might be as easy as adding them as potential cipher opts21:42
adam_cool21:43
JayFhmm21:43
JayFso what exactly are you looking for?21:43
JayFTLS 1.2 is supported in sslutils.py21:43
JayFwhich is the least TLS protocol supported by python ssl library afaict21:43
JayFyeah, checked all the way up to python 3.11; ssl.PROTOCOL_TLSv1_2 seems to the be oldest21:45
JayFer, newest21:45
JayFaha21:45
JayFPROTOCOL_TLS_CLIENT represents it21:45
JayFfor TLSVersion.TLSv1_321:45
adam_well my/our goal is if possible make everything communicate via tls1.3 in our metal3 stack, but at the moment we are just writing up all the components and their tls support and when we reached ironic we have seen that 1.3 was not supported and I thought you are the best people to ask here. But tls 1.3 for both Ironic and IPA would be good because I don't know how we would solve tls support for outgoing traffic , for incoming we 21:49
adam_arleady use httpd proxy but I thought that native support would be more elegant than to mess around with reverse proxy or whatnot and putting proxy to IPA .21:49
JayFso what I'm going to do is the following:21:50
JayF- I'm going to spend a short bit of time seeing if I can make support exist in sslutils.py; which would fix the IPA server21:50
JayF- I'll add an item to our bobcat PTG page to evaluate TLS 1.3 support across the stack21:51
JayF- I'll follow up the oslo chat in that IRC channel, if/when someone replies21:51
adam_well that is really all I can ask for and more then I hoped for so thank you very much :D21:52
adam_more than*21:54
adam_I have to go now, but thanks again for the help!21:58
kubajjJayF: if I catch an exception in a try block, but I don't really care what happens with it, do I just say try, or do I say try: something, except <the exception>: pass?22:09
JayFexcept UselessException:22:11
JayF   log.Something("Please log something")22:11
JayF    pass22:11
JayFwith my suggestion obviously inline :D22:12
JayFusually should be accompanied with a comment as to why it's OK that exception threw and why we don't care22:12
JayF(and log.debug if it's a relatively-normal thing)22:12
kubajjthanks22:14
opendevreviewJakub Jelinek proposed openstack/ironic master: Erase swift inventory entry on node deletion  https://review.opendev.org/c/openstack/ironic/+/87139422:30

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