Wednesday, 2021-06-23

iurygregorygood morning Ironic o/06:05
arne_wiebalckGood morning iurygregory and Ironic!06:35
iurygregorymorning arne_wiebalck o/06:36
stendulkerGood morning arne_wiebalck, iurygregory o/06:56
iurygregorymorning stendulker o/06:56
arne_wiebalckGood morning stendulker o/06:56
*** rpittau|afk is now known as rpittau07:07
rpittaugood morning ironic! o/07:07
iurygregorymorning rpittau o/07:07
rpittauhey iurygregory :)07:07
jandershey iurygregory arne_wiebalck stendulker rpittau and Ironic o/07:19
rpittauhey janders :)07:19
stendulkermorning janders o/07:19
iurygregoryhey janders o/07:19
dtantsurgood morning folks10:08
rpittaugood morning dtantsur  :)10:12
jandershey dtantsur10:34
opendevreviewDmitry Tantsur proposed openstack/ironic master: Allow ramdisk_image_download_source in instance_info for ramdisk deploy  https://review.opendev.org/c/openstack/ironic/+/79750810:53
dtantsurrpittau: fixed the typo ^^^10:53
rpittauok :D10:53
opendevreviewDmitry Tantsur proposed openstack/ironic master: Fix ramdisk boot option handling  https://review.opendev.org/c/openstack/ironic/+/79751710:59
janderssee you tomorrow Ironic o/12:04
TheJuliagood morning12:57
rpittaugood morning TheJulia :)13:31
opendevreviewJulia Kreger proposed openstack/ironic-tempest-plugin master: WIP: Secure RBAC support  https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/79752113:32
opendevreviewJulia Kreger proposed openstack/ironic master: WIP Scoped RBAC Devstack Plugin support  https://review.opendev.org/c/openstack/ironic/+/77895713:37
TheJuliagood morning rpittau 13:37
opendevreviewJulia Kreger proposed openstack/ironic-tempest-plugin master: WIP: Secure RBAC support  https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/79752114:04
dtantsurmorning TheJulia 14:06
TheJuliaThe fun of working on the tempest plugin...14:08
TheJuliaall of the waiting :(14:08
TheJuliahttps://imgflip.com/i/5e9kh914:12
arne_wiebalckFor the TLS issue I mentioned, I summarized obserbvations here for the record: https://storyboard.openstack.org/#!/story/200900414:12
arne_wiebalckI tried a couple of things but was not able to get to the bottom of it.14:12
* arne_wiebalck will either disable TLS for the IPA and learn to live with the error in the logs ...14:14
arne_wiebalcks/and/or14:15
TheJuliaI wonder if the ssl library is loading once, and only refreshing certificate caches after failure?14:20
dtantsurarne_wiebalck: could you try $ openssl s_client -showcerts -connect IPA_IP:999914:30
dtantsurthis should give you detailed information about the generated certificate14:30
arne_wiebalckdtantsur: let me try ...14:30
dtantsurwe have a strange problem with TLS on victoria as well, but it is not solved by retrying14:30
arne_wiebalck:(14:31
arne_wiebalckTheJulia: the IPA API is started only after the cert is generated, should there be some SSL caching before?14:33
dtantsurand the certificate is verified on the ironic side, not the IPA side14:34
TheJuliaarne_wiebalck: I think it is likely there could be on library load14:36
opendevreviewJulia Kreger proposed openstack/ironic-tempest-plugin master: WIP: Secure RBAC support  https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/79752114:36
TheJuliaor the file could be open on an old file handler and the failure could close it out?14:37
arne_wiebalckHmm ... I removed the file between runs, but if sth has it still open ...14:40
arne_wiebalckdtantsur: should I look for anything specific in the output of the command you suggested?14:41
arne_wiebalckdtantsur: I see "Verify return code: 18 (self signed certificate)"14:41
arne_wiebalckdtantsur: but this makes sense14:41
dtantsurarne_wiebalck: it should have the IP address in the extended fields IIRC14:41
arne_wiebalckThere is no fallback like: "failure, ok: drop TLS" ... is there?14:41
dtantsurbtw have you tried with 'curl' and providing the certificate path?14:42
arne_wiebalcksuch a fallback would also perfectly match the pattern :-D14:43
arne_wiebalckdtantsur: no, I have not14:43
dtantsurtry it with maximum verbosity, it can also be quite detailed14:48
dtantsurTheJulia may be on to something with the caching idea14:49
dtantsurI'm trying to understand from the requests code if the TLS parameters may be cached in the pool14:49
TheJuliaif there is a pre-existing handler, then it will have the old contents until the file is closed and reopened14:50
dtantsurI don't think it's related to the file, but rather to a connection14:50
dtantsurconnections are reused very explicitly14:50
TheJuliaoh!14:50
TheJuliayes, that could also be14:50
dtantsuron the other hand, requests seem to update the connection with new parameters each time14:52
arne_wiebalckone more data point: it does not happen all the time 14:55
arne_wiebalckI removed the cert and restarted conductor: no error14:55
* arne_wiebalck will repeat that exercise14:55
arne_wiebalckthis would fit the caching/reuse idea14:56
opendevreviewDmitry Tantsur proposed openstack/ironic master: Fix handling driver_info[agent_verify_ca] == False  https://review.opendev.org/c/openstack/ironic/+/79766915:00
dtantsurnot exactly related, just noticed while browsing the code ^^^15:00
dtantsurI wonder if driver_info == False should take priority over the auto-generated certificate in driver_internal_info15:00
dtantsurokay, lemme try something around caching clients15:04
arne_wiebalckTheJulia: you meant caching on the client (conductor) side, right?15:06
TheJuliayes15:06
ygk_12345Hi all15:06
TheJuliahello ygk_12345 15:07
arne_wiebalcksorry, ignore my comment about the IPA API then15:07
JayFdtantsur: arne_wiebalck: I wonder, with metrics we had to ensure we were late loading some stuff so the config actually took effect. Makes me wonder if there could be a similar race for TLS things...15:07
JayFThat's all highly dusty knowledge though so it may not work that way anymore15:07
ygk_12345Does ironic bare metal nodes support tenant networks in open stack ?15:07
TheJuliaygk_12345: you need a neutron ml2 driver and the baremetal node network_interface set to neutron.15:07
TheJuliaygk_12345: give me a minute, I'll get you a link15:07
ygk_12345Sure please15:07
TheJuliahttps://docs.openstack.org/ironic/latest/install/configure-tenant-networks.html and https://docs.openstack.org/ironic/latest/admin/multitenancy.html15:10
TheJuliaygk_12345: ^^^15:10
ygk_12345TheJulia, thank you15:11
TheJuliaThat should provide the context and information requirements your looking for.  https://docs.openstack.org/ironic/latest/admin/multitenancy.html#neutron-network-interface is the most vital step outside of ironic15:11
opendevreviewDmitry Tantsur proposed openstack/ironic master: [WIP] Cache AgentClient on Task, not globally  https://review.opendev.org/c/openstack/ironic/+/79767415:11
dtantsurarne_wiebalck: do you think you can try this patch and see if it changes anything ^^^15:11
arne_wiebalckJayF: or the conductor uses the crt file for the node it had from before and only considers to check if the cert changed on a verification error?15:11
arne_wiebalckdtantsur: sure!15:12
arne_wiebalckI removed the file and restarted the conductor now before cleaning: no SSL error.15:14
arne_wiebalckI repeated this three times, no SSL error.15:14
arne_wiebalckReally looks like re-use/caching more than a race.15:15
dtantsurokay, my patch should remove connection caching between task executions15:17
dtantsurwhich may make performance somewhat worse, but I'm out of better ideas for now15:18
arne_wiebalckdtantsur: thanks, I will need a moment to backport this to victoria15:21
dtantsurthat's going to have a few conflcits..15:22
arne_wiebalckyep, on all files :)15:22
arne_wiebalcknah, 3/4 :)15:22
dtantsurI can try doing it locally if you need me to15:22
dtantsurI assume you're using direct deploy?15:22
arne_wiebalckyes15:23
opendevreviewDmitry Tantsur proposed openstack/ironic stable/victoria: [WIP] Cache AgentClient on Task, not globally  https://review.opendev.org/c/openstack/ironic/+/79767915:27
dtantsurarne_wiebalck: this should be victoria for you ^^^15:27
arne_wiebalckdtantsur: wow, thanks, I will pull that in!15:28
dtantsurI cannot promise I haven't made a silly mistake, don't deploy on prod :)15:28
TheJuliastevebaker: so I was looking at puppet-ironic, and it looks like the knob for ipxe or not with inspector is pxe_transfer_protocol15:29
dtantsurI think this ^^^ is correct15:29
arne_wiebalckdtantsur: ha ha ha ... will try not to :-D15:29
TheJuliadtantsur: do you know if ipxe_enabled influences it, or if tripleo could be using ipxe_enabled in undercloud.conf to infer it ?15:29
arne_wiebalckdtantsur: applies w/o conflicts15:29
dtantsurTheJulia: the latter sounds about right. but note that I haven't seen this code in many months15:30
TheJuliadtantsur: ack, thanks stevebaker ^^15:30
dtantsurpreviously ipxe_enabled would change both this and the ironic's ipxe_enabled15:30
TheJuliayeah15:31
arne_wiebalckdtantsur: pipeline to build test rpms is running ...15:32
dtantsurnice15:33
TheJuliastevebaker: https://review.opendev.org/c/openstack/puppet-ironic/+/797683 <-- in kind of whipping this usp, it looks like templates/inspector_dnsmasq_tftp.erb has no equilvelant transport or option for EFI booting. It does seem that there is an syslinux.efi binary out there for pxelinux.0's uefi replacement. https://wiki.syslinux.org/wiki/index.php?title=PXELINUX#UEFI15:37
opendevreviewJulia Kreger proposed openstack/ironic-tempest-plugin master: WIP: Secure RBAC support  https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/79752116:07
rpittaugood night! o/16:08
*** rpittau is now known as rpittau|afk16:08
dtantsurour boot interface validation still makes me want to cry16:14
dtantsurarne_wiebalck: FYI our problem downstream was indeed clock skew :D16:26
dtantsurI wonder if we should add validation that clocks match between IPA and ironic16:26
dtantsurmaybe on lookup16:26
arne_wiebalckdtantsur: heh ... I was thinking after hours of testing various things: what if dtantsur's first thought about clock skew is true and I did not listen carefully enough :-D16:33
* arne_wiebalck is testing the new RPM since 30 mins ...16:34
*** sshnaidm is now known as sshnaidm|afk16:35
dtantsurhave a good night folks16:48
arne_wiebalckdtantsur: I am not able to reproduce the SSL error 16:49
arne_wiebalckso far16:49
TheJuliagoodnight dtantsur 16:52
opendevreviewJulia Kreger proposed openstack/ironic-tempest-plugin master: WIP: Secure RBAC support  https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/79752117:13
opendevreviewJulia Kreger proposed openstack/ironic-tempest-plugin master: Use get_service_clients framework with basic Secure RBAC  https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/79752118:34
arne_wiebalckbye everyone o/18:50
opendevreviewAde Lee proposed openstack/ironic master: DNM/WIP - Add FIPS jobs  https://review.opendev.org/c/openstack/ironic/+/79773918:55
opendevreviewAde Lee proposed openstack/ironic-python-agent master: WIP/DNM: Add FIPS jobs  https://review.opendev.org/c/openstack/ironic-python-agent/+/79774119:08
opendevreviewAde Lee proposed openstack/ironic-python-agent-builder master: DNM/WIP - Add FIPS job  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/79774319:24
opendevreviewJulia Kreger proposed openstack/ironic-tempest-plugin master: Use get_service_clients framework with basic Secure RBAC  https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/79752120:32
TheJuliaand so, no syslinux.efi. Looks like it was transiently into rawhide, fedora 32, and fedora-33, but didn't go any further.21:10
TheJuliastevebaker: ^^^ which leads to the only available option of including ipxe (easyish I guess) or grub2 for network booting (hey, arm compatible with the right binary)21:12
stevebakerTheJulia: I see21:14
TheJuliawe know the grub pattern+binaries. We have a job in CI for it.21:18
TheJuliaon a plus side, it looks like ironic-tempest-plugin is semi-ready for enforced scopes21:22
TheJuliaat least, with ironic.21:22
opendevreviewJulia Kreger proposed openstack/ironic master: WIP Scoped RBAC Devstack Plugin support  https://review.opendev.org/c/openstack/ironic/+/77895721:33
TheJuliahmm, no dice on standalone test jobs yet21:42
TheJuliabut likely closer21:42
* TheJulia calls it a day21:52
jandersgood morning Ironic o/23:45

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