Wednesday, 2020-08-26

jandersdtantsur|afk regarding backport of https://review.opendev.org/#/c/747815/ - will do, on it.00:09
patchbotpatch 747815 - bifrost - Explicitly set permissions on /httpboot contents (MERGED) - 8 patch sets00:09
openstackgerritJacob Anders proposed openstack/bifrost stable/ussuri: Explicitly set permissions on /httpboot contents  https://review.opendev.org/74805400:18
*** uzumaki has quit IRC00:23
*** gyee has quit IRC00:26
openstackgerritJacob Anders proposed openstack/bifrost stable/ussuri: Explicitly set permissions on /httpboot contents  https://review.opendev.org/74805400:27
*** Lucas_Gray has quit IRC00:33
openstackgerritJacob Anders proposed openstack/bifrost bugfix/8.3: Explicitly set permissions on /httpboot contents  https://review.opendev.org/74805800:50
*** rloo has quit IRC00:59
jandersdtantsur|afk I hope ^^^^ make sense - let's chat when you're online01:00
*** Goneri has quit IRC01:01
*** hjensas has quit IRC01:05
*** JamesBenson has joined #openstack-ironic01:38
*** JamesBenson has quit IRC01:42
*** Qianbiao has joined #openstack-ironic02:13
*** chenhaw has quit IRC02:51
*** chenhaw has joined #openstack-ironic02:52
*** rh-jelabarre has quit IRC03:08
*** stevebaker has quit IRC03:17
*** rcernin_ has joined #openstack-ironic03:25
*** rcernin has quit IRC03:25
*** JamesBenson has joined #openstack-ironic03:39
*** JamesBenson has quit IRC03:44
*** stevebaker has joined #openstack-ironic03:46
*** chenhaw has quit IRC04:00
*** chenhaw has joined #openstack-ironic04:00
*** ijw has quit IRC04:05
*** mkrai has joined #openstack-ironic04:05
*** tzumainn has quit IRC04:06
*** dmellado has quit IRC04:31
*** ijw has joined #openstack-ironic04:36
*** ijw has quit IRC04:41
*** Qianbiao has quit IRC04:45
*** Qianbiao has joined #openstack-ironic04:47
*** stevebaker has quit IRC04:52
openstackgerritwu.chunyang proposed openstack/ironic master: Remove the unused coding style modules  https://review.opendev.org/74757804:56
*** ijw has joined #openstack-ironic05:07
*** ijw has quit IRC05:12
*** Qianbiao has quit IRC05:21
openstackgerritvinay kumar muddu proposed openstack/ironic master: Adds ilo-uefi-https boot interface to ilo5  https://review.opendev.org/74550105:25
*** ijw has joined #openstack-ironic05:39
*** JamesBenson has joined #openstack-ironic05:45
*** belmoreira has joined #openstack-ironic05:46
*** belmoreira has quit IRC05:47
*** ijw has quit IRC05:49
*** JamesBenson has quit IRC05:50
*** ijw has joined #openstack-ironic06:11
*** ijw has quit IRC06:16
*** Qianbiao has joined #openstack-ironic06:26
*** jtomasek has joined #openstack-ironic06:35
*** ijw has joined #openstack-ironic06:43
michchapAnyone know what might cause failures like this? https://36e67bad41869ee0bc5d-99456abad161e1f28f9c3ec49cb7f2f5.ssl.cf1.rackcdn.com/745318/3/gate/ironic-tempest-ipa-wholedisk-direct-tinyipa-networking-ansible/64e3790/controller/logs/ironic-bm-logs/node-0_console_2020-08-25-18:51:55_log.txt06:44
michchapRAMDISK: Couldn't find valid RAM disk image starting at 0.06:44
michchapVFS: Cannot open root device "(null)" or unknown-block(0,0): error -606:44
michchapStarted seeing this in the networkin ansible gate job some time in the last week or two06:44
*** mkrai_ has joined #openstack-ironic06:45
*** ijw has quit IRC06:48
*** mkrai has quit IRC06:48
arne_wiebalckGood morning, ironic!07:05
*** belmoreira has joined #openstack-ironic07:12
*** ijw has joined #openstack-ironic07:14
*** ijw has quit IRC07:19
rpittaugood morning ironic! o/07:34
*** tosky has joined #openstack-ironic07:40
*** ijw has joined #openstack-ironic07:45
*** ijw has quit IRC07:50
*** hjensas has joined #openstack-ironic07:55
iurygregorygood morning arne_wiebalck rpittau and Ironic o/07:56
iurygregoryTheJulia, ack I will look at it07:56
rpittauhey iurygregory :)07:58
arne_wiebalckHey iurygregory o/08:04
Qianbiaohello ironic.08:07
QianbiaoHi, i have install a devstack without ironic plugin.08:07
QianbiaoAnd if i want to enable ironic part, how to do it.08:08
QianbiaoOr i just need to reinstall whole devstack with a new local.conf08:08
*** mgoddard has quit IRC08:10
*** mgoddard has joined #openstack-ironic08:11
rpittauQianbiao: ideally you would install directly with ironic enabled08:11
rpittauQianbiao: https://docs.openstack.org/ironic/latest/contributor/dev-quickstart.html#deploying-ironic-with-devstack08:11
Qianbiaorpittau I found this document too late.08:12
QianbiaoI have install a devstack without ironic.08:12
Qianbiaoand now, i want to add ironic plugin. should i reinstall whole devstack, or there has a method that could only install addition ironic part.08:13
ajyaQianbiao: restack should be enough08:13
Qianbiao<ajya> ok08:13
ajyathere is ./unstack.sh, then ./clean.sh and then ./stack.sh08:14
Qianbiaook, I hoped there has a way to void unstack and clean :)08:14
rpittauQianbiao: as ajya wrote, with the config for ironic before running stack.sh again :)08:14
rpittauQianbiao: you could also try without clean.sh if you don't touch services that you already deployed08:16
*** lucasagomes has joined #openstack-ironic08:16
Qianbiaorpittau ajya sure, thanks.08:16
*** ijw has joined #openstack-ironic08:17
*** dougsz has joined #openstack-ironic08:19
*** Lucas_Gray has joined #openstack-ironic08:20
*** jtomasek has quit IRC08:21
*** dougsz has quit IRC08:21
*** ijw has quit IRC08:22
*** dougsz has joined #openstack-ironic08:24
iurygregorymichchap, we had a few problems with the memory on tinyipa jobs, maybe you can try to increase and tell us how it goes?08:24
michchapiurygregory: yeah I bumped it to 512 the same as the ironic jobs but I seem to have gotten the same result so I figured I'd see if there was something I'd missed08:25
iurygregorymichchap, do you have a link for the patch?08:26
michchapiurygregory: https://review.opendev.org/#/c/748100/1/zuul.d/jobs.yaml08:26
patchbotpatch 748100 - x/networking-ansible - Tinyipa needs more memory in gate jobs - 1 patch set08:26
*** dougsz has quit IRC08:27
rpittaumichchap: you might want to increase the size on L43 as well08:28
michchaprpittau: thanks08:30
iurygregoryyeah08:30
iurygregorythe job is not with 51208:30
iurygregorymichchap, also please increase then number of VMs08:31
iurygregoryto 208:31
iurygregoryIRONIC_VM_COUNT L4008:31
michchapI think it was working with 1 before, but I can bump it and see. Thanks for the reivew :)08:32
*** tosky has quit IRC08:32
iurygregoryplease bump because we did changes on the tempest plugin08:32
*** tosky has joined #openstack-ironic08:33
iurygregoryand now we require more VM's08:33
*** johnhaan_ has quit IRC08:33
*** rajinir has quit IRC08:33
*** arne_wiebalck has quit IRC08:33
*** arne_wiebalck has joined #openstack-ironic08:35
jandersg'day Ironic o/08:36
iurygregoryhey janders o/\08:37
*** derekh has joined #openstack-ironic08:37
iurygregorylol an extra \08:37
*** rajinir has joined #openstack-ironic08:37
rpittauhey janders :)08:37
iurygregoryany with some ideas on how I can make the uefi jobs happy on https://review.opendev.org/741886 ? no luck so far =(08:38
patchbotpatch 741886 - ironic - Add tempest default_boot_option and altflavor - 12 patch sets08:38
openstackgerritMerged openstack/ironic master: driver_internal_info in provision notifications  https://review.opendev.org/74799608:39
*** ijw has joined #openstack-ironic08:48
*** strigazi has joined #openstack-ironic08:51
*** ijw has quit IRC08:52
*** dtantsur|afk is now known as dtantsur09:09
dtantsurmorning ironic09:09
iurygregorymorning dtantsur09:11
dtantsurJayF: metalsmith is a user-friendly CLI tool for ironic[+neutron+glance]. the thing about its CI job, however, is that it's the only job on IPA that tests 1. local boot, 2. streaming raw images09:14
dtantsurI think the latter is the difference that is important for you09:14
Qianbiaohello, when install devstack with ironic plugin, it starts a node. And it has been in clean wait status for a long time.09:16
QianbiaoCan i see what the node is doing now?09:16
Qianbiaolike remote login or something.09:16
*** ijw has joined #openstack-ironic09:19
QianbiaoAnd it seems it uses KVM to virtual node. But my server does not support virtual(it's a virtual itself, and not config to support virtual), not sure how it starts a virtual node.09:20
jandersgood morning dtantsur09:23
*** ijw has quit IRC09:24
*** k_mouza has joined #openstack-ironic09:26
dtantsurJayF: https://github.com/eventlet/eventlet/issues/147 \o/09:29
dtantsurthere are more issues. tl;dr: eventlet+multiprocessing=sadness09:31
Qianbiaoit seems ironic start a node using qemu. And clean step fails, the error output in ironic-bm-logs is: end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)09:34
QianbiaoAny ideas to fix this issue09:34
dtantsurQianbiao: do you have enough RAM? the default (DIB-based ramdisk) requires at least 3G09:36
Qianbiaooh god...09:37
Qianbiaodtantsur should RAM size the same as image file? i found it's 12G09:39
Qianbiaodefault qcow2 file is /var/lib/libvirt/images/node-0.qcow209:39
*** rcernin_ has quit IRC09:39
openstackgerritDmitry Tantsur proposed openstack/ironic-python-agent master: Eventlet should be monkey patched as early as possible  https://review.opendev.org/74677409:40
*** k_mouza has quit IRC09:40
dtantsurfolks, could you please review https://review.opendev.org/#/c/747960/ ?09:41
patchbotpatch 747960 - sushy - Less scary warning when GET /redfish/v1/SessionSer... - 1 patch set09:41
dtantsurQianbiao: no, but IPA has to fit into it09:41
dtantsurmeaning, at least 3G of RAM09:41
Qianbiaook thanks09:41
openstackgerritDmitry Tantsur proposed openstack/ironic-python-agent master: Eventlet should be monkey patched as early as possible  https://review.opendev.org/74677409:43
openstackgerritDmitry Tantsur proposed openstack/sushy stable/train: Do not log passwords and auth tokens when using SessionService  https://review.opendev.org/74814509:46
openstackgerritDmitry Tantsur proposed openstack/sushy stable/stein: Do not log passwords and auth tokens when using SessionService  https://review.opendev.org/74814709:47
openstackgerritDmitry Tantsur proposed openstack/sushy stable/rocky: Do not log passwords and auth tokens when using SessionService  https://review.opendev.org/74814909:49
openstackgerritDmitry Tantsur proposed openstack/sushy stable/queens: Do not log passwords and auth tokens when using SessionService  https://review.opendev.org/74815009:51
*** ijw has joined #openstack-ironic09:51
*** ijw has quit IRC09:56
*** k_mouza has joined #openstack-ironic09:57
*** gryf has quit IRC09:58
*** mkrai_ has quit IRC09:58
*** mkrai__ has joined #openstack-ironic09:58
*** gryf has joined #openstack-ironic10:00
*** mkrai has joined #openstack-ironic10:02
*** mkrai__ has quit IRC10:02
rpittauno ussuri? :)10:07
dtantsurhas merged already?10:08
dtantsurhttps://review.opendev.org/#/c/747956/10:08
patchbotpatch 747956 - sushy (stable/ussuri) - Do not log passwords and auth tokens when using Se... (MERGED) - 1 patch set10:08
rpittauyeah, didn't see in the list and forgot about it10:09
iurygregoryhehehe10:17
*** ijw has joined #openstack-ironic10:22
openstackgerritMerged openstack/ironic master: Enforce autospec in ilo tests  https://review.opendev.org/74798310:24
*** ijw has quit IRC10:27
*** vmud213 has joined #openstack-ironic10:30
openstackgerritMerged openstack/bifrost stable/ussuri: Explicitly set permissions on /httpboot contents  https://review.opendev.org/74805410:34
openstackgerritMerged openstack/bifrost bugfix/8.3: Explicitly set permissions on /httpboot contents  https://review.opendev.org/74805810:40
*** ijw has joined #openstack-ironic10:53
*** mkrai has quit IRC10:55
*** ijw has quit IRC10:58
dtantsurrpittau: could you check https://review.opendev.org/#/c/747960/ please?11:12
patchbotpatch 747960 - sushy - Less scary warning when GET /redfish/v1/SessionSer... - 1 patch set11:12
dtantsurand when it merges, we should request a master release11:12
rpittaudtantsur: ack11:12
openstackgerritMerged openstack/sushy stable/stein: Do not log passwords and auth tokens when using SessionService  https://review.opendev.org/74814711:21
*** ijw has joined #openstack-ironic11:25
*** ijw has quit IRC11:30
*** JamesBenson has joined #openstack-ironic11:33
*** JamesBenson has quit IRC11:40
*** JamesBenson has joined #openstack-ironic11:40
*** rh-jelabarre has joined #openstack-ironic11:50
*** sshnaidm|afk is now known as sshnaidm|mtg11:56
*** ijw has joined #openstack-ironic11:56
openstackgerritMerged openstack/sushy stable/train: Do not log passwords and auth tokens when using SessionService  https://review.opendev.org/74814511:59
*** dougsz has joined #openstack-ironic12:08
openstackgerritvinay kumar muddu proposed openstack/ironic master: Adds ilo-uefi-https boot interface to ilo5  https://review.opendev.org/74550112:10
janderstime to get some sleep - see you tomorrow Ironic o/12:14
jandershave a good day everyone12:14
Qianbiaodtantsur I have increase vm memory to 32Gb, still the same error occurs.12:15
Qianbiaoend Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)12:15
iurygregorybye janders12:25
vmud213Hey iurygregory!12:26
vmud213Hello Ironic12:26
iurygregoryQianbiao, how much memory for the virtual baremetal?12:26
iurygregoryhey vmud213 o/12:27
*** aedc has joined #openstack-ironic12:27
Qianbiaoiurygregory dtantsur no worry, it seems i should update local.conf, but not just increase vm memory size. :)12:27
Qianbiaoreinstall now.12:27
iurygregoryyeah =)12:28
iurygregoryIRONIC_VM_SPECS_RAM12:28
Qianbiaosure.12:32
openstackgerritMerged openstack/sushy master: Less scary warning when GET /redfish/v1/SessionService fails  https://review.opendev.org/74796012:36
openstackgerritRiccardo Pittau proposed openstack/ironic-python-agent master: [WIP] Move ironic-standalone-ipa-src to Ubuntu Focal  https://review.opendev.org/74821312:36
*** thiagop has joined #openstack-ironic12:38
*** rloo has joined #openstack-ironic12:39
rpittaudtantsur: https://review.opendev.org/74821412:41
patchbotpatch 748214 - releases - Release Sushy 3.3.1 for victoria - 1 patch set12:41
*** mkrai has joined #openstack-ironic12:42
*** alexmcleod has quit IRC12:52
*** alexmcleod has joined #openstack-ironic12:53
*** ijw has quit IRC12:55
*** ijw has joined #openstack-ironic12:55
dtantsurthanks!12:56
*** ftarasenko has quit IRC12:58
*** bnemec has joined #openstack-ironic12:59
*** ftarasenko has joined #openstack-ironic13:00
*** mkrai has quit IRC13:02
*** mkrai has joined #openstack-ironic13:02
iurygregorydtantsur, if we are doing netboot for partition images the flavor needs an ephemeral partition?13:03
TheJuliagood morning13:04
iurygregorygood morning TheJulia =)13:06
*** alexmcleod has quit IRC13:07
TheJuliaI may need to lay back down, I'msuper tired13:07
dtantsurmorning TheJulia13:08
dtantsuryep, get some rest13:08
TheJuliaI started hacking on a patch yesterday with the aim of preserving /boot/efi contents from a partition image and re-using them13:09
TheJulianext step would be to also add retention of the uefi partition to /etc/fstab. Any thoughts/objections on such changes?13:10
*** alexmcleod has joined #openstack-ironic13:10
iurygregorygo get some rest =)13:10
TheJuliagah, okay.13:11
* TheJulia takes the fresh cup of coffee and goes and hides in the darkness for a little while and hopes that cat gravity does not capture her13:11
* arne_wiebalck wonders if that was iurygregory 's answer to TheJulia 's question13:11
dtantsurTheJulia: I guess we don't mind that it's linux-specific because partition images are linux specific?13:11
dtantsurI'd honestly read an RFE on it first before judging13:11
iurygregoryarne_wiebalck, lol13:12
iurygregoryI still need to look at the patch =)13:12
iurygregoryit's on my list13:12
TheJuliaYeah, that was kind of what I was thinking but more as a bug handling sort of thing since people are trying ot apparently upgrade grub on partition images and are hitting issues13:12
TheJuliabbiab13:12
openstackgerritDmitry Tantsur proposed openstack/bifrost master: Move services to internal_ip by default and refactor endpoint creation  https://review.opendev.org/74823013:31
dtantsurfeels suitable for the upcoming major release ^^13:31
openstackgerritIsaac Prior proposed openstack/bifrost master: Allow custom elements by appending existing ELEMENTS_PATH var if exists  https://review.opendev.org/74823113:34
openstackgerritIsaac Prior proposed openstack/bifrost master: Allow custom elements by appending existing ELEMENTS_PATH var  https://review.opendev.org/74823113:36
openstackgerritIury Gregory Melo Ferreira proposed openstack/ironic master: Add tempest default_boot_option and altflavor  https://review.opendev.org/74188613:36
* TheJulia needs new sinuses13:40
dtantsur:(13:41
TheJuliadtantsur: I'll put something in storyboard once I have a call with one of the grub folks in about an hour13:42
dtantsur++13:42
dtantsuroh, my naive attempt to create endpoints does not work :(13:43
Qianbiaohello, how to source ironic devstack envs in a fresh session.13:43
*** tzumainn has joined #openstack-ironic13:43
iurygregoryQianbiao, . openrc admin admin13:43
TheJuliadtantsur: doh13:43
iurygregoryinside the devstack dir13:43
* dtantsur shakes fist at no_log13:43
Qianbiaoiurygregory seems not work, echo $DEFAULT_IMAGE_NAME is empty13:45
TheJuliaDo you guys see any issue if I take Thursday/Friday off?13:45
TheJuliaI promise I'll do spec reviews later today :)13:45
Qianbiaoecho $IRONIC_IMAGE_NAME is empty too, those should be provided by ironic devstack. iurygregory13:46
openstackgerritDmitry Tantsur proposed openstack/bifrost master: Trivial: remove a reference to update-rc.d  https://review.opendev.org/74823713:46
TheJuliaI have short shifters and replacement motor mounts arriving ?today? so a mechanical project should be kind of refreshing13:46
iurygregorythe image is not uploaded or available you mean?13:46
dtantsurTheJulia: distraction is always helpful. we did end up going climbing yesterday, it was a huge relief.13:47
rpittauTheJulia: you should, we'll hold the fort against Zuul :)13:47
QianbiaoI am following doc: https://docs.openstack.org/ironic/train/contributor/dev-quickstart.html13:47
TheJuliadtantsur: awesome!13:47
*** Goneri has joined #openstack-ironic13:47
Qianbiaowhen run "image=$(openstack image show $DEFAULT_IMAGE_NAME -f value -c id)" could not load the env.13:47
iurygregorywell you can try openstack image list13:48
iurygregoryand check if you have a cirros image there13:49
Qianbiao<iurygregory> checked, yes13:49
iurygregoryso you can just use the information instead of the variable13:49
QianbiaoI know the env value is: cirros-0.5.1-x86_64-uec, and it exists in image list command.13:50
iurygregorynot sure why it didn't set but you have the img =)13:50
Qianbiao~ ok13:50
dtantsur"Service baremetal does not exist". we... create it.. in the previous task...13:50
iurygregoryhuh13:51
iurygregoryO.o13:51
iurygregoryseems like ironic is not installed...13:52
dtantsurit's not about ironic, it's pure keystone13:52
TheJuliahmm13:52
*** mkrai has quit IRC13:52
*** sshnaidm|mtg is now known as sshnaidm13:52
TheJuliacheck endpoint names for unicode chars?13:53
dtantsurmaybe? trying to print the result of the service creation now13:53
dtantsurTheJulia: do we have any reasons to keep rabbitmq support in bifrost?13:57
iurygregoryI would say no13:59
TheJuliaThe hope was to eventually add neutron support13:59
TheJuliabut I never got those patches out of WIP13:59
TheJuliaso *shrug*14:00
dtantsurI hope with OVN we won't need rabbitmq14:00
dtantsuralso, WTF?? http://paste.openstack.org/show/797172/14:00
* TheJulia shrugs14:00
TheJuliacould it be because your enabling it before it is created?14:01
iurygregorydtantsur, lol14:01
Qianbiaohello, when using nova to deploy bm, how nova know it should use ironic driver?14:05
Qianbiaocould not find a doc talk about this.14:05
Qianbiaoshould any metadata be set14:05
dtantsurTheJulia: figured it, the module does not work with names, only IDs..14:07
TheJuliaugh14:07
openstackgerritIsaac Prior proposed openstack/bifrost master: Allow custom elements by appending existing ELEMENTS_PATH var  https://review.opendev.org/74823114:09
*** jtomasek has joined #openstack-ironic14:10
*** mkrai has joined #openstack-ironic14:11
openstackgerritDmitry Tantsur proposed openstack/bifrost master: Move services to internal_ip by default and refactor endpoint creation  https://review.opendev.org/74823014:14
dtantsurokay, this works locally ^^^14:22
dtantsurworks around the problem by using service ID14:22
JayFdtantsur: thanks for the updates to my patch, I read the changes... interesting about lower-requirements ending up differently, it was absolutely the same locally, I thought14:26
dtantsursigh14:27
dtantsurunfortunately, my updates don't seem to work14:27
JayFdtantsur: they are a MUCH better failure14:28
JayFIPA in metalsmith didn't hard-freeze, it didn't pass verification14:28
JayFI put relevant logs in zuul comments14:28
JayFdtantsur: it's a little frustrating that we picked up an eventlet dep by proxy, but it looks like none of IPA has been written with eventlet-safety in mind :|14:30
dtantsuryep :)14:32
*** derekh has quit IRC14:32
dtantsur:(14:32
*** derekh has joined #openstack-ironic14:32
JayFdtantsur: are you sure in your change, threading=False is the right thing to do?14:33
dtantsurbool(are you sure.*eventlet.*) == False14:33
JayFreading those issues, it looks like the workaround was just to pass that threading state around14:33
dtantsuri.e. no, shooting in darkness14:33
JayFI'm glad I'm not the only one14:33
JayFI'm going to drop the thread=False14:33
openstackgerritwu.chunyang proposed openstack/ironic-lib master: Remove the unused coding style modules  https://review.opendev.org/74824614:34
JayFhmm, it also seems that that problem was fixed14:34
JayFfrom the linked bug14:34
JayFdtantsur: WDYT about going the other direction: just only patching the modules in eventlet needed to make SSL work14:35
dtantsurJayF: as long as it works, I guess14:35
JayFI'm a little afraid that's going to leave little bugs throughout the code, but they'd be preexisting and I'm THRILLED to dodge them at this point14:35
JayFIt sounds like the "real fix" is to audit IPA overall for uses of libraries that are not well-supported by eventlet, and purge them14:36
JayFwhich is a more significant undertaking than I think any of us want to take on14:36
*** dustinc has joined #openstack-ironic14:37
*** janders has quit IRC14:37
openstackgerritDmitry Tantsur proposed openstack/bifrost master: [WIP] TLS support for API services  https://review.opendev.org/74792114:41
openstackgerritJay Faulkner proposed openstack/ironic-python-agent master: Eventlet should be monkey patched as early as possible  https://review.opendev.org/74677414:44
*** Qianbiao has quit IRC14:46
*** ijw has quit IRC14:50
* TheJulia needs to find a different coffeeeeeeeeee14:52
iurygregorywhat coffee usually you have TheJulia ?14:53
TheJuliaI vary from month to month14:53
TheJuliaRight now I'm drinking Pete's something14:53
TheJuliahouse blend I think14:53
iurygregorynice =)14:53
TheJuliadone as drip coffee14:53
TheJuliaI need something less acidic14:54
iurygregoryhttps://www.littlecoffeeplace.com/low-acid-coffee/ maybe it would help14:54
*** ijw has joined #openstack-ironic14:56
*** tkajinam has quit IRC14:57
dtantsurwe're boring people and just buy locally roasted coffee from a supermarket14:57
*** trandles has joined #openstack-ironic14:59
JayFI recently switched to cold brew.14:59
JayFI haven't figured out how to do it with "good" coffee yet, I just buy the preground, prebagged stuff. It's alright.14:59
TheJuliadtantsur: I need locally roasted, but sadly this is like a myth here15:01
*** ijw has quit IRC15:01
TheJuliaeverytime my stomach says it needs low acid coffee, it typically switch to a kona/maui blend15:02
*** janders has joined #openstack-ironic15:02
trandlesdtantsur, I rebooted my bifrost ironic host today, which put selinux back in enforcing mode from permissive. in.tftpd got whacked as a result. Details at http://paste.openstack.org/show/797177/15:04
trandlesdtantsur, I _think_ you were the one who asked to let them know if selinux caused any issues...15:04
trandlesworked fine after the actions in the paste15:05
dtantsuryes, I was, thank you!15:07
openstackgerritRiccardo Pittau proposed openstack/sushy master: Use Sessions URL from root service if it's provided  https://review.opendev.org/74825615:08
dtantsurIf you want to allow tftp to read and write files in the user home directories, you must turn on the tftp_home_dir boolean. Disabled by default.15:10
dtantsurthis is weird, we shouldn't require that..15:10
JayFWhere does bifrost keep the tftp files/root? Is it under the httpd-user's homedir? like /var/www/tftproot or similar?15:11
* JayF has seen that configuration in places before, but I don't know how bifrost sets it up15:12
dtantsurJayF: nope, /tftpboot15:12
dtantsurI suspect it's because the labelling is wrong on it15:12
trandleslet me know if you want me to run anything else to add to the paste15:13
trandlesI did _not_ do the actions under the lower confidence suggestion (the dac_read_search capability)15:15
dtantsuryeah. I have a gut feeling that `setsebool -P tftp_home_dir 1` is not exactly right, but I cannot prove it15:15
dtantsurokay, I can reproduce the problem15:16
dtantsurmmm, after turning the variable on and off, the problem no longer reproduces Oo15:18
dtantsurtrandles: could you check if this solves you problem (with the home_dir var disabled)? sudo chcon -t tftpdir_rw_t /tftpboot/15:22
trandlesdtantsur, did you say `setsebool -P tftp_home_dir 0` didn't cause the problem to reappear?15:23
trandlesI'm on a physical host, not a VM :(15:23
trandlesso resetting isn't trivial15:23
dtantsurtrandles: it didn't for me :(15:23
dtantsuryeah.. I can probably reboot myself to see15:23
trandlessorry15:23
*** gyee has joined #openstack-ironic15:26
*** ijw has joined #openstack-ironic15:29
openstackgerritDmitry Tantsur proposed openstack/bifrost master: Add correct SELinux context for /tftpboot and fix map-file ACL  https://review.opendev.org/74825815:31
dtantsurtrandles: I presume ^^^15:31
openstackgerritRiccardo Pittau proposed openstack/sushy master: Use Sessions URL from root service if it's provided  https://review.opendev.org/74825615:33
*** ijw has quit IRC15:33
trandles+1 - I might do a redeploy of things later this week. I'll let you know if problems persist. :)15:34
dtantsurcool, yeah. lemme know if you have other problems with selinux15:35
dtantsurI hope not many - other code paths should be covered by the CI15:35
* dtantsur ponders a sanity check that uses the tftp command15:36
openstackgerritJulia Kreger proposed openstack/ironic-python-agent master: WIP: Support partition image efi contents  https://review.opendev.org/74804915:36
openstackgerritJulia Kreger proposed openstack/ironic-python-agent master: WIP: Add fstab pointer to EFI partition  https://review.opendev.org/74826015:36
*** belmoreira has quit IRC15:36
TheJuliahttps://storyboard.openstack.org/#!/story/2008070 <-- dtantsur the issue I was speaking of. Which is largely more in combined bug territory since they are inter-twined issues. hjensas This is the story I mentioned downstream that I would tag you on.15:36
trandlesI've successfully deployed hosts today so I don't _think_ I'll see any other problems related to selinux15:37
dtantsur\o/15:37
dtantsurTheJulia: I'll read a bit later if you're not in a hurry. I need to dive into TLS again.15:37
TheJuliadtantsur: no worries, I told them this wouldn't be a quick turnaround on our end15:37
TheJulialargely because of complexity and the fact that we'll need to backport fixes and yeah15:37
TheJuliathis sort of stuff is never fun to handle15:38
* TheJulia remembers the last time iurygregory delved into this code15:38
iurygregoryit was funny15:42
iurygregorymuch better than grenade =D15:42
* TheJulia wonders if iurygregory is going to share the uefi pain beverage that apparently makes it funny :)15:42
iurygregoryhahaha15:43
iurygregoryuefi beer15:43
TheJuliai hope this is a thing15:43
iurygregorygrenade is 5L of vodka15:43
JayFuefi beer makes you FAT15:44
iurygregorybios beer returns some interesting beers on google images15:45
iurygregoryuefi/efi beer nope =(15:45
JayFbios beer comes in small servings and is always a bit stale15:45
iurygregorywe need the ironic beer (please don't tell me that IPA counts lol)15:46
openstackgerritDmitry Tantsur proposed openstack/bifrost master: [WIP] TLS support for API services  https://review.opendev.org/74792115:46
TheJuliawe clearly need to become friends with a brewmaster in some city in some country that can export their fine products to all of us15:49
JayFPixie Bruus15:50
iurygregory++15:51
openstackgerritDmitry Tantsur proposed openstack/bifrost master: Let us finish the rabbit hunt  https://review.opendev.org/74826515:53
dtantsurhere goes ^^^15:53
* dtantsur has resisted using commit summary "die, rabbit, die"15:53
*** vmud213 has quit IRC15:53
* TheJulia wonders if that could be in german instead.15:54
TheJuliahttps://twitter.com/ashinclouds/status/129864979655983104015:54
iurygregorylike + RT #done15:56
openstackgerritDmitry Tantsur proposed openstack/bifrost master: [WIP] TLS support for API services  https://review.opendev.org/74792115:56
dtantsurthis ^^ is very close for ironic and inspector, but I'm afraid to try it with keystone :D15:56
JayFI see, no credit for Jay :P not even a Co-Authored-By on the tweet! /s15:57
*** ijw has joined #openstack-ironic16:00
*** lucasagomes has quit IRC16:01
openstackgerritMerged openstack/ironic master: Remove the unused coding style modules  https://review.opendev.org/74757816:02
openstackgerritDmitry Tantsur proposed openstack/bifrost master: [WIP] TLS support for API services  https://review.opendev.org/74792116:03
*** Lucas_Gray has quit IRC16:03
openstackgerritDmitry Tantsur proposed openstack/sushy stable/ussuri: Less scary warning when GET /redfish/v1/SessionService fails  https://review.opendev.org/74826616:03
JayFOK so with no thread=False, os=False, and the threading _active fix, we still get a hang in IPA16:04
openstackgerritDmitry Tantsur proposed openstack/sushy stable/train: Less scary warning when GET /redfish/v1/SessionService fails  https://review.opendev.org/74826716:04
JayFwith those three combined, we get no deadlock but image downlaods fail16:04
TheJuliaO.O16:04
dtantsurwonderful..16:04
JayFthe only other string I know to pull would be to look at changing how heartbeats work, like TheJulia and I talked about yesterday16:05
JayFbut I'm starting to wonder if I should just circle back, find the minimum possible change to prevent ssl from causing deadlocks, and climb out of the rabbithole16:05
TheJuliaYeah16:05
*** ijw has quit IRC16:05
JayFwhich option do you all think I should pursue?16:06
* TheJulia ponders16:06
TheJuliathe reason for using select was wallclock vs system time based sleeps right?16:07
TheJuliabecause time resets would cause wonkiness?16:07
TheJulia(which is like... now a feature of the ramdisk...)16:07
JayFyes16:07
JayFI wonder if now that it's an active feature of the ramdisk16:07
JayFas long as it's timed so that we do it before the heartbeater begins16:08
JayFthat we can just completely punt that requirement16:08
JayFsince we know time will be synced before heartbeating begins16:08
JayFthe other piece though, is forcing heartbeats16:08
JayFusing select() gave us a mechanism to force a heartbeat, and have that forced heartbeat "reset" the interval16:08
* TheJulia looks16:09
TheJulialine 44016:10
TheJuliawe try with what we have config wise before we start the hearbteater16:10
*** ijw has joined #openstack-ironic16:10
TheJuliaheartbeater16:11
TheJuliaand then afterwards before we tear things down we try again so the system hardware clock is synced16:11
openstackgerritRiccardo Pittau proposed openstack/ironic-python-agent master: [DNM] log du /opt  https://review.opendev.org/74826916:11
*** Lucas_Gray has joined #openstack-ironic16:12
openstackgerritRiccardo Pittau proposed openstack/ironic-python-agent master: [WIP] Move ironic-standalone-ipa-src to Ubuntu Focal  https://review.opendev.org/74821316:12
JayFTheJulia: where is the "afterwards", can you link it?16:12
rpittaugoodnight, see you on Friday o/16:12
JayFo/16:13
TheJuliaJayF: one moment16:13
JayFfwiw I'm also available to do a short sync meeting to look at this together if you want, I'm also OK to keep going async on irc16:13
TheJuliahttps://github.com/openstack/ironic-python-agent/blob/00ad03b709275e185ccb5b8e80cb7db4b9071d56/ironic_python_agent/extensions/standby.py#L73016:13
JayFcalendar is clear for another ~45m16:13
JayFso it looks like, to me, we can completely punt on having to use non-clock-based means for heartbeating16:14
JayFand likely can solve the "force a heartbeat" problem using other means (like just resetting a "time_last_heartbeated" variable or similar)16:14
JayFhonestly, even if it doesn't fix the eventlet code, it'd made that a lot less complex for something that doesn't need to be complex anymore16:14
openstackgerritDmitry Tantsur proposed openstack/bifrost master: [WIP] TLS support for API services  https://review.opendev.org/74792116:15
TheJuliaI'm not entirely sure why force a heartbeat would be needed?16:16
JayFit's a time-saving measure: when IPA completes a command, it forces a heartbeat16:16
dtantsurhuge +1 to ^^^16:16
JayFthis prevents a cleaning step (such as erase_device_metadata) which might literally take 10 seconds, from effectively taking a multiple of heartbeat_interval seconds16:17
dtantsurit will speed up fast-track as well16:17
TheJuliaoh yeah, that I think would be a great idea16:17
dtantsurbecause now we have to wait for the next heartbeat to get to write_image16:17
JayFwe already do that, fwiw16:17
JayFforcing a heartbeat when a command is complete16:17
dtantsureven though the deploy.deploy step takes a second16:17
JayFfast track likely needs *two* heartbeats16:17
JayFone to complete the previous command, one to begin the next one16:17
JayFwhich is why you're seeing that behavior16:17
dtantsurit's the same heartbeat16:17
dtantsurno, not because of this16:18
JayFokay; I'm confused now then :D16:18
dtantsurbecause when fast-track deployment starts, we're somewhere between two heartbeats16:18
*** naved001 has quit IRC16:18
dtantsurbut I honestly no longer remember details16:18
dtantsurI remember it takes surprisingly long to get to the first actual deploy step16:18
JayFAh, so with fast track deployment, you have an agent sitting there, in available, you tell it to deploy16:19
JayFdeploy doesn't start until next heartbeat, which could be up to max(heartbeat_interval) seconds later16:19
JayFthere's no way to fix that unless you added a commmand to IPA to force a heartbeat, which is possible but sorta starts to make the Ironic<->IPA dance a little strange16:20
*** naved001 has joined #openstack-ironic16:20
JayFthis is why when we did this (hackily) at Rackspace, we had very small heartbeat_intervals, to avoid this problem16:20
dtantsurmaybe we need to make them smaller indeed16:21
JayFit's a direct tradeoff between speed and resources16:21
TheJuliaperhaps we should jump on a call16:21
JayFI'm available until 10am pst16:21
JayFlet me get my headset hooked up, you wanna start up a bluejeans call? I can do a meet if you prefer too16:21
TheJulialets use meetpad16:22
JayFjust link it and I'll click it16:22
JayFgoing to grab a soda first16:22
TheJuliahttps://meetpad.opendev.org/ironic16:22
*** Lucas_Gray has quit IRC16:23
openstackgerritDmitry Tantsur proposed openstack/bifrost master: Disable DHCP on the libvirt network rather than doing `killall dnsmasq`  https://review.opendev.org/74827216:30
dtantsurhas been annoying me for some time ^^^16:30
*** mkrai has quit IRC16:38
*** k_mouza has quit IRC16:41
openstackgerritJay Faulkner proposed openstack/ironic-python-agent master: Eventlet should be monkey patched as early as possible  https://review.opendev.org/74677416:43
openstackgerritJay Faulkner proposed openstack/ironic-python-agent master: Eventlet and heartbeat compatability fixes  https://review.opendev.org/74677416:43
*** k_mouza has joined #openstack-ironic16:44
*** k_mouza has quit IRC16:48
*** mkrai has joined #openstack-ironic16:53
*** mkrai has quit IRC16:55
*** johnthetubaguy has joined #openstack-ironic16:56
*** dtantsur is now known as dtantsur|afk16:57
dtantsur|afko/16:57
*** dougsz has quit IRC17:00
*** mkrai has joined #openstack-ironic17:02
*** mkrai has quit IRC17:07
*** derekh has quit IRC17:08
openstackgerritvinay kumar muddu proposed openstack/ironic master: Suffix the ISO names with '.iso'  https://review.opendev.org/74827717:09
trandlesin baremetal cli prompt, if I do something that generates a usage message it kicks me back to my shell prompt...maybe that's something to do with my terminal and not the baremetal cli17:11
trandleshttp://paste.openstack.org/show/797183/17:11
TheJuliaor we explicitly exit on error17:12
TheJuliaI bet it is the calls that are made :\17:12
trandlesjust a nag, maybe a feature ;)17:17
TheJuliaI'd file a bug17:18
*** bnemec has quit IRC17:18
TheJuliait is likely something silly and easy17:18
trandleswill do17:20
openstackgerritVishal Manchanda proposed openstack/ironic-ui master: [goal] Migrate testing to ubuntu focal  https://review.opendev.org/74470817:21
*** k_mouza has joined #openstack-ironic17:22
*** k_mouza has quit IRC17:26
*** aedc_ has joined #openstack-ironic17:42
*** aedc has quit IRC17:45
*** k_mouza has joined #openstack-ironic17:56
*** belmoreira has joined #openstack-ironic17:57
*** ijw has quit IRC17:59
*** ijw has joined #openstack-ironic18:00
*** k_mouza has quit IRC18:01
*** ijw has quit IRC18:01
*** ijw has joined #openstack-ironic18:02
*** sshnaidm is now known as sshnaidm|afk18:11
*** aedc_ has quit IRC18:15
*** belmoreira has quit IRC18:30
*** belmoreira has joined #openstack-ironic18:32
openstackgerritVishal Manchanda proposed openstack/ironic-ui master: [goal] Migrate testing to ubuntu focal  https://review.opendev.org/74470818:33
JayFTheJulia: heartbeat change passed all of the integration tests ... except for metalsmith, which fails in the "frozen" manner as before18:36
TheJuliaugh18:38
openstackgerritJulia Kreger proposed openstack/ironic-python-agent master: WIP: Add fstab pointer to EFI partition  https://review.opendev.org/74826018:39
TheJuliaI need to lay down for a little bit and then I'll switch gears to talking a look at that directly :(18:40
TheJuliaand CI can run on that18:40
JayFI'm going to dig thru the imagedownload code18:40
JayFand google around18:40
JayFsee if maybe I can put an eventlet.sleep() in the right place18:40
JayFTBH the most helpful thing would be a reproducing unit or integration18:40
JayFso we can tighten up the testing cycle18:41
JayFhttps://opendev.org/openstack/ironic-python-agent/src/branch/master/ironic_python_agent/extensions/standby.py#L356 /me wonders if that needs an else: eventlet.sleep(0)18:41
JayFhttps://opendev.org/openstack/ironic-python-agent/src/branch/master/ironic_python_agent/extensions/standby.py#L408 or somewhere around here18:44
*** antotala has joined #openstack-ironic18:47
guilhermesphey there! yeah i raised up the question here before but, we are struggling a bit to apply a plugin we have written to inspector to collect custom data18:50
guilhermespive head JayF have done something similar in CERN18:50
guilhermespwe have here antotala that could also provide some more details on his methods of writing the plugin18:51
*** sradhakrishna has joined #openstack-ironic18:52
*** antotala94 has joined #openstack-ironic18:53
guilhermespJayF: sorry, verizon :P18:54
JayFCERN has adapted some of my code for $things, but I've not written anything that works with inspector; nor do I work for cern18:54
JayFI don't use anything inspector.18:54
JayFIf you can summarize your problem, I can attempt to help, although I'm deep into a bugfix myself18:54
*** antotala has quit IRC18:55
guilhermespok sorry for the confusion JayF , basically:18:57
guilhermespwe have a downstream plugin for ironic-inspector, we need to add an extra element to the image path to properly collect our custom data18:57
*** antotala has joined #openstack-ironic19:00
*** sradhakrishna has quit IRC19:01
guilhermespand also how do we add the custom element so I can have an image that will allow inspector to collect the new data.19:02
antotala94I am using ironic-python-agent-builder to build the custom ramdisk image,19:03
JayFAssuimng you do that via a hardware manager, I'm not 100% sure for inspector, then you can use these exmaples for how to build a hardware manager https://opendev.org/openstack/ironic-python-agent/src/branch/master/examples19:04
guilhermespbtw that's antotala94 which is working with me on that matter. antotala94 mind provided which steps you did to build the images?19:04
JayFas far as getting it into the ramdisk, you can develop a diskimage-builder element to co-install the hardware manager package you create alongside IPA in the ramdisk19:05
antotala94we need to have some binaries to be present in the custom image, I am putting those binaries here https://github.com/openstack/ironic-python-agent-builder/tree/master/dib/ironic-python-agent-ramdisk/static/usr/local/bin19:05
JayFhttps://docs.openstack.org/diskimage-builder/latest/developer/developing_elements.html19:05
JayFas far as I'm aware, we do not have an example of installing a separate pip package using IPA-builder19:05
JayFbut it's all well documented and relatively simple19:05
antotala94for installing a separate pip package I am putting a command in this script https://github.com/openstack/ironic-python-agent-builder/blob/master/dib/ironic-python-agent-ramdisk/install.d/ironic-python-agent-ramdisk-source-install/60-ironic-python-agent-ramdisk-install19:06
JayFthose are likely reasonable places to put them, if you're willing to directly edit the repo19:07
*** zzzeek has quit IRC19:07
*** zzzeek has joined #openstack-ironic19:09
antotala94JayF and guilhermesp is there any default passowrd for the rescue user ? To make sure the binaries are present and the package is installed I have created an iso and booted a vm, but couldn't login  :(19:11
*** belmoreira has quit IRC19:12
JayFhttps://docs.openstack.org/ironic-python-agent/latest/admin/troubleshooting.html This page covers getting access to a ramdisk running IPA in detail, I don't know anything about that that's not documented here.19:12
antotala94tried following this https://docs.openstack.org/ironic-python-agent/latest/admin/troubleshooting for custom user/password  creation while creating the image19:12
antotala94but it doesn't seems to work19:12
*** zzzeek has quit IRC19:25
openstackgerritJay Faulkner proposed openstack/ironic-python-agent master: DNM Eventlet and heartbeat compatability fixes  https://review.opendev.org/74677419:26
JayFTheJulia: ^ added a couple of eventlet.sleep(0) calls, as well as some debugging prints19:27
JayFTheJulia: if it fixes, I can see which sleep fixes it. If it doesn't, we should at least have a better idea if it's freezing in the image download code19:27
*** zzzeek has joined #openstack-ironic19:28
openstackgerritJay Faulkner proposed openstack/ironic-python-agent master: DNM Eventlet and heartbeat compatability fixes  https://review.opendev.org/74677419:29
*** zzzeek has quit IRC19:35
*** zzzeek has joined #openstack-ironic19:36
*** stevebaker has joined #openstack-ironic19:37
*** tosky has quit IRC19:38
*** antotala94 has quit IRC19:43
*** antotala has quit IRC19:43
*** thiagop has quit IRC19:47
TheJuliablarg, I don't know what was up with my sinuses today but at least I feel somewhat better19:47
*** thiagop has joined #openstack-ironic19:48
TheJuliaanlooks like antolala94 left, oh well19:49
*** hjensas has quit IRC19:55
*** k_mouza has joined #openstack-ironic19:57
*** hjensas has joined #openstack-ironic19:59
trandlesTheJulia, you have smoke from the fires out there? My allergies have been off the charts due to a couple wildfires near Santa Fe :(20:00
TheJuliawe did a few days ago but clear skies today,but today I jsut feel like I've been run over20:00
TheJuliaokay, maybe a little more haze than normal, but yeah20:01
*** k_mouza has quit IRC20:01
trandlesToday is the first day everything doesn't smell like fire. I can breathe!20:02
TheJulia\o/20:06
thiagopHello folks! Long time no see, how is everyone doing around here?20:08
thiagopI'm looking for something to stretch my community contribution muscles after 4 years away, but so much have changed... :)20:08
TheJuliahey thiagop20:15
TheJuliathiagop: any specific problem that is interesting you?20:15
TheJuliaor problem space?20:15
thiagopTheJulia: o/20:15
thiagopNot exactly, maybe a low hanging fruit to start getting the hang of it. It's being a while I used gerrit20:16
TheJuliaso trandles actualy ran into somethign earlier20:17
trandleshttps://storyboard.openstack.org/#!/story/200807120:17
TheJuliahttp://paste.openstack.org/show/797183/20:17
TheJulia\o/20:17
thiagopCool! Let me take a look at it then... :)20:18
TheJulia\o/20:18
*** Lucas_Gray has joined #openstack-ironic20:21
TheJuliatrandles: of course, my wife says things are smokey outside, so maybe that is it20:35
trandlesIf I wanted to track the status of an ironic-provisioned node through it's `lifetime` would it be abusive to use traits for this? I'm thinking something like "BURNED_IN"...a way to denote "this node has passed some milepost in its lifecycle"20:37
trandlesTheJulia, we've been lucky and not had any smokey summers for 5 or so years. Our luck ran out last weekend.20:37
trandlesmaybe setting a property would be more appropriate for what I'm thinking20:38
*** jtomasek has quit IRC20:38
TheJuliatrandles: traits seem like a perfect case20:38
TheJuliabecause if your using nova could youd schedule on a trait20:39
trandlesyeah although I'm not using nova that came to mind20:39
TheJuliaCUSTOM_I_HAVE_MADE_THIS_MACHINE_SUFFER_EXTENSIVE_BENCHMARKS20:39
trandlesit would ease acceptance workflow for our burn-in racks of spare nodes20:40
*** bnemec has joined #openstack-ironic20:40
trandleswe could automate the process from first power-up to ready for deployment into production by tracking what steps have been performed successfully20:41
TheJuliastevebaker: have you thought about metalsmith firing up a uefi job?20:48
TheJuliatrandles: ++20:48
stevebakerTheJulia: I have not thought about that20:49
TheJuliaso I'm thinking centos8+uefi20:49
TheJuliaI'm also thinking diskimage-builder20:50
TheJulialooks like we _should_ have it20:52
stevebakeryeah, that seems reasonable21:10
* TheJulia is hacking on a job definition21:11
JayFTheJulia: it failed, but this is not at all what I expected to see: https://3293bb8ceefb436e626f-9f324d44a8b8b4bcaa74562bb2dc2591.ssl.cf1.rackcdn.com/746774/17/check/metalsmith-integration-ipa-src/c716eb4/controller/ironic-bm-logs/node-0_console_2020-08-26-20%3A43%3A27.log21:20
JayF(see the change for details on where I added those prints)21:20
JayFfrankly, I'm surprised to see >1 of any of them print21:21
trandlesI'm so full of fun today! So...I powered up a node, it went through inspection and landed in enroll state, all good. Then I added an introspection rule (to define deploy info) and did `baremetal introspection start <nodeid>`. The node rebooted and went back through inspection. Everything looked fine until I started paying attention to the IPA output and see that the heartbeats are producing a traceback, return code of 400 from the inspecto21:22
trandlesr. Deleting the node, ipmi power cycle, inspection happy and heartbeats are fine.21:22
openstackgerritJulia Kreger proposed openstack/metalsmith master: Add a centos8/uefi job  https://review.opendev.org/74831521:28
TheJuliawow :(21:29
TheJuliaJayF: ^^21:29
JayFyeah21:29
TheJuliawith how it is spitting out entries, doesn't look like buffered io, so we can be fairly sure it died right there21:31
JayFso I wonder if it's something about sizing21:32
JayFe.g. if it gets a <max(chunk_size)21:32
*** k_mouza has joined #openstack-ironic21:33
JayFit's deadlocking or something21:33
JayFTheJulia: unless you have a direction to suggest, I'm going to revert to plan B: try to find the minimal possible fix for the ssl deadlock and punt the rest21:39
TheJuliaYeah, I'd revert to plan b at this point21:41
TheJuliaI'm fairly sure it is mid-stream based upon the chunk count too :(21:41
JayFperhaps when a heartbeat triggers?21:42
*** bnemec has quit IRC21:42
JayFhmm21:42
*** naved002 has joined #openstack-ironic21:43
*** naved001 has quit IRC21:43
*** zzzeek has quit IRC21:45
*** zzzeek has joined #openstack-ironic21:48
TheJuliayeah, that could likely be it21:49
TheJuliathat _would_ be the only thing occuring21:49
TheJuliathe only other thing that could cause that is the conenction stalling21:49
TheJuliabut we have a timer around that and under normal circumstances we would handle that21:49
JayF I wonder if we need an `eventlet.sleep(0)` after do_heartbeat?21:49
JayFwe do that in serve_api21:50
TheJuliait is worth a try21:50
TheJuliathat would enable rescheduling the thread21:50
TheJuliawhich would be what we need actually21:50
TheJuliabecause it is not going to do ti for us21:50
openstackgerritJay Faulkner proposed openstack/ironic-python-agent master: DNM Eventlet and heartbeat compatability fixes  https://review.opendev.org/74677421:51
TheJuliaironic_python_agent/extensions/standby.py line 363 most likely as well21:51
TheJuliaafter yeild, when returning21:51
JayFafter yield; it's going to return to the top of the loop21:52
JayFthere will be no chunk and it'll hit the else21:52
JayFright?21:52
JayFyield should do the equivalent to the eventlet.sleep(0), it's explicitly yielding execution back to the caller21:52
*** bnemec has joined #openstack-ironic21:52
TheJuliayeah, it should21:52
JayFand I did see the else case being hit21:53
* TheJulia wonders if it is not actually21:53
JayFactaully that's wrong21:53
JayF'no chunk' doesn't show at all in that log21:53
JayFso going to also drop that else; move an eventlet.sleep(0) after the yield21:54
JayFalthough tbh I think it's /probably/ not needed, if we toss them everywhere and make them work21:54
JayFwe can remove them until it breaks again :D21:54
openstackgerritJay Faulkner proposed openstack/ironic-python-agent master: DNM Eventlet and heartbeat compatability fixes  https://review.opendev.org/74677421:54
TheJuliak, the elif code is only if the thing times out completely and the interator returns21:55
JayFI am pretty convinced the heartbeater was the thing21:55
JayFbecause if that takes over execution, there's zero reason for it to ever give it back21:55
TheJuliayeah21:55
TheJuliathiagop: another thing that would be super helpful is reviews :)21:57
thiagopSure, that would indeed get me up to speed with the changes. I'm kinda struggling to get bifrost going here (never tried it)21:58
thiagopBut I gotta call it a day in 2min, tomorrow I'll check out some reviews21:59
JayFthe best thing you can do is become an expert on greenthreading and deadlocks in IPA /s21:59
JayFTheJulia: that's 100% the problem. It's the only time in any test job we have a thing happening that takes longer than a heartbeat21:59
TheJuliathiagop: have a wonderful evening22:00
TheJuliaJayF: greenthreading + deadlocks + socketio22:01
TheJuliasince socket io is the root of all evil22:01
JayFsprinkle in DNS and networking22:01
JayFand you'll summon one of the old computer-gods22:01
TheJuliaIt is all socket IO22:01
TheJuliaall the way down!22:01
TheJuliawell, at least to the operating system22:02
JayFthis will be the #2 most impressive bug I've helped fix if we figure this out22:02
thiagopTheJulia: you too!22:02
* TheJulia gets out the god of something touching the thinnet cable22:02
JayF#1 was also a threading issue :|22:02
thiagopJayF: HAHAHA, that would be a life achievement22:03
JayF$lastJob had a custom log handler, used multithreading.Queue to queue up log messages for http-upload to a log collector. There was a race on shutdown, where the thread that did the work emptying the queue would get shutdown BEFORE the queue was closed to new entries. and a multithreading.Queue by default will persist until empty22:03
JayFand so you'd end up with that multithreading.Queue handler thread stuck open forever22:03
JayFthat was maybe even less complex than this, because at least for that I got a pretty tight reproduction loop going22:04
TheJuliaWell, this takes much more to reproduce22:05
*** k_mouza has quit IRC22:06
JayFTheJulia: I'm going to suggest, if we end up finding this is the problem, that we may want to run a job with an obscenely-short heartbeat interval22:08
JayFas an additional testing dimension22:08
*** bnemec has quit IRC22:09
openstackgerritMerged openstack/sushy stable/ussuri: Less scary warning when GET /redfish/v1/SessionService fails  https://review.opendev.org/74826622:13
jandersgood morning Ironic o/22:13
TheJuliaJayF: we could actually use it for some cases as a semi-standard operating mode22:16
TheJuliaJayF: just I see it also tuning all the retry timeouts upward automagically22:16
*** ftarasenko has quit IRC22:17
JayFI mean, we just hit one: for testing fast-track deployment mode22:18
JayFbut IDK if you all even have a test for that in CI right now22:18
TheJuliabifrost I believe22:19
JayFthat should /probably/ be tested in IPA/Ironic as well then IMHO22:20
openstackgerritMerged openstack/sushy stable/train: Less scary warning when GET /redfish/v1/SessionService fails  https://review.opendev.org/74826722:20
TheJuliaI actually think the job is the one we cross gate22:20
TheJuliajust we also use cirros in those22:20
TheJuliametalsmith is the only larger one we have afaik22:20
JayFironic-standalone-ipa-src is bifrost?22:21
TheJuliano22:21
* TheJulia has to go look22:21
JayFthen there is no bifrost test in ipa gate22:21
*** bnemec has joined #openstack-ironic22:21
TheJuliaoh :\22:21
TheJuliawell we need to fix that then22:21
JayFespecially if it's the only one doing fast track22:21
TheJuliaI can fix that a little later22:21
JayFhell, might wanna hook that up before I figure this eventlet stuff out22:21
JayFor else I can sneaky a bug in :-|22:21
TheJuliathe reason I did the metalsmith chagne earlier weas because I noticed we don't actually test uefi in the ipa gate :(22:21
trandlesgonna quit on a high note: `| traits                 | ['CUSTOM_BURN_IN_REQUIRED']`22:29
trandleshave a great day/night everyone22:29
*** trandles is now known as trandles|AFK22:29
*** janders has quit IRC22:31
*** janders has joined #openstack-ironic22:31
*** thiagop has quit IRC22:32
openstackgerritJulia Kreger proposed openstack/ironic-python-agent master: Add fast-track CI job to IPA  https://review.opendev.org/74832122:34
openstackgerritJulia Kreger proposed openstack/ironic-python-agent master: Add bifrost integration CI job to IPA  https://review.opendev.org/74832222:34
TheJuliagoodnight trandles|AFK22:34
TheJuliaso I ahve no idea if both of those job changes will work, but it should cover it if they do22:34
JayFnice22:35
JayFTheJulia: hmm... unless those jobs already build a ramdisk from source, don't we need to specify to build a deploy ramdisk ?22:39
*** rcernin has joined #openstack-ironic22:40
*** janders has quit IRC22:40
JayFe.g. https://github.com/openstack/ironic-python-agent/blob/master/zuul.d/ironic-python-agent-jobs.yaml#L14922:40
TheJuliaso I _think_ the bifrost one does, I just don't remember off-hand22:40
TheJuliaif it doesn't, I need to get way more creative22:40
JayFack; I'll look real quick22:40
JayFI think I know which way is up for zuul stuff now22:40
JayFmayb.e22:40
TheJuliaok, I'm trying to polish this ipa patch I've been working on22:41
TheJulia:)22:41
*** janders has joined #openstack-ironic22:42
*** trandles|AFK has quit IRC22:42
JayFhttps://github.com/openstack/bifrost/blob/master/zuul.d/bifrost-jobs.yaml#L54 looks like not that particular one22:42
TheJuliajoy22:43
TheJuliaso that will take a new job definition then :\22:43
JayFyeah, I can take a stab at it22:43
*** bnemec has quit IRC22:44
openstackgerritSteve Baker proposed openstack/metalsmith master: metalsmith_deployment role switch to metalsmith_instances  https://review.opendev.org/73788822:46
*** bnemec has joined #openstack-ironic22:48
*** rloo has quit IRC22:48
*** JamesBenson has quit IRC22:50
openstackgerritJulia Kreger proposed openstack/ironic-python-agent master: WIP: Support partition image efi contents  https://review.opendev.org/74804922:52
TheJuliawell, that still needs negative path testing, but not bad22:52
*** bnemec has quit IRC22:54
openstackgerritJulia Kreger proposed openstack/ironic-python-agent master: WIP: Add fstab pointer to EFI partition  https://review.opendev.org/74826022:58
openstackgerritJay Faulkner proposed openstack/ironic-python-agent master: Add fast-track CI job to IPA  https://review.opendev.org/74832122:59
openstackgerritJay Faulkner proposed openstack/ironic-python-agent master: Add bifrost integration CI job to IPA  https://review.opendev.org/74832222:59
openstackgerritJulia Kreger proposed openstack/metalsmith master: Add a centos8/uefi job  https://review.opendev.org/74831522:59
TheJuliagah, that should d oit22:59
JayFTheJulia: those ^ assume that `vars: devstack_localrc: [list of vars]` is additive, which appears to be justified by the evidence22:59
TheJuliathat _should_ do it I think23:00
JayFthe hardest part was the git dance for two commits in the same changes lol23:00
*** tkajinam has joined #openstack-ironic23:01
TheJulia:)23:02
* TheJulia goes and starts working on a pizza for dinner23:03
*** zzzeek has quit IRC23:10
*** zzzeek has joined #openstack-ironic23:11
JayFTheJulia: instead of a busy loop for heartbeats, I wonder if using eventlet.spawn_after() is the better way. We could cancel it when forcing a heartbeat, then restart it. https://eventlet.net/doc/modules/greenthread.html#eventlet.greenthread.spawn_after23:15
JayFjust a thought, going to leave now though23:15
*** Goneri has quit IRC23:17
*** Lucas_Gray has quit IRC23:18
*** bnemec has joined #openstack-ironic23:21
*** bnemec has quit IRC23:28
*** jamesdenton has quit IRC23:36
JayFTheJulia: even with those changes, it died *in the middle of printing a log message*. So I think I'm going to go to a change that just monkey patches socket in api.app :(23:45
* TheJulia blinks repeatedly23:46
TheJuliaJayF: got a link handy?23:46
*** bnemec has joined #openstack-ironic23:50
*** stevebaker has quit IRC23:59

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