Tuesday, 2020-07-07

*** Lucas_Gray has joined #openstack-ironic00:05
*** Lucas_Gray has quit IRC00:12
*** Lucas_Gray has joined #openstack-ironic00:14
*** ociuhandu has joined #openstack-ironic01:01
openstackgerritVerification of a change to openstack/ironic failed: Follow up of fix uefi jobs with ovmf native ubuntu package  https://review.opendev.org/73924401:03
*** ociuhandu has quit IRC01:05
*** cdearborn has quit IRC01:15
*** diurnalist has quit IRC01:56
*** cp- has quit IRC01:57
*** cp- has joined #openstack-ironic01:59
*** diurnalist has joined #openstack-ironic02:06
*** diurnalist has quit IRC02:11
*** rcernin has quit IRC02:22
*** rcernin has joined #openstack-ironic02:22
*** rloo has quit IRC02:29
*** diurnalist has joined #openstack-ironic03:00
*** diurnalist has quit IRC03:05
*** dsneddon has quit IRC03:06
*** yaawang has quit IRC03:17
*** yaawang has joined #openstack-ironic03:21
*** diurnalist has joined #openstack-ironic03:55
*** diurnalist has quit IRC04:00
*** Lucas_Gray has quit IRC04:13
*** diurnalist has joined #openstack-ironic04:47
*** diurnalist has quit IRC04:52
*** abdysn has joined #openstack-ironic05:18
*** diurnalist has joined #openstack-ironic05:24
*** yaawang has quit IRC05:27
*** yaawang has joined #openstack-ironic05:27
*** diurnalist has quit IRC05:29
*** janders has joined #openstack-ironic05:30
arne_wiebalckGood morning, ironic!06:01
jandersg'day Arne06:02
*** brtknr has quit IRC06:15
*** diurnalist has joined #openstack-ironic06:21
*** brtknr has joined #openstack-ironic06:24
prometheanfiredtantsur|afk: you every make a review for jsonpatch===1.25 causes test failures for ironic, fyi https://zuul.opendev.org/t/openstack/build/ff068dc014be42aabde51f95c8c9828e06:24
prometheanfiredtantsur|afk: asking for https://review.opendev.org/73965206:24
patchbotpatch 739652 - requirements - manual generate-constraints run - 1 patch set06:24
*** diurnalist has quit IRC06:26
rpittauprometheanfire: I think that issue is not related to jsonpatch, was fixed by https://review.opendev.org/73941807:06
patchbotpatch 739418 - ironic - Use unittest mock instead of 3rd party mock in tes... (MERGED) - 1 patch set07:06
rpittaugood morning ironic! o/07:06
*** dtantsur|afk is now known as dtantsur07:18
dtantsurmorning ironic07:18
dtantsurprometheanfire: what rpittau said07:18
openstackgerritzhufl proposed openstack/ironic master: Fix missing print format in log message  https://review.opendev.org/73966707:19
openstackgerritRiccardo Pittau proposed openstack/ironic-python-agent master: Use ubuntu focal for ipa src  https://review.opendev.org/72579407:21
dtantsurhuh, what's wrong with the ussuri CI again?07:21
rpittauheh07:22
iurygregorygood morning arne_wiebalck rpittau dtantsur and Ironic o/07:22
dtantsur\o07:22
rpittauhey iurygregory :)07:22
dtantsurwe've merged quite a few useful things to ironic train, does anyone want to propose a release?07:26
dtantsursame with IPA once https://review.opendev.org/739553 merges07:26
patchbotpatch 739553 - ironic-python-agent (stable/train) - Fix serializing ironic-lib exceptions - 1 patch set07:26
rpittaudtantsur: yep07:26
dtantsurlet's do it as a warm-up :) then we can look into master releases07:28
rpittausounds good :)07:29
rpittaualso good for what I'm writing on how to propose a release07:29
dtantsuryup07:29
rpittauso I think release notes and patches are ok, I'll go directly to releases07:30
arne_wiebalckhey iurygregory rpittau dtantsur o/07:31
rpittauhey arne_wiebalck :)07:31
*** diurnalist has joined #openstack-ironic07:32
rpittauwow there's a bunch of stuff for train07:33
*** diurnalist has quit IRC07:37
*** dsneddon has joined #openstack-ironic07:39
jandershi team! :)07:40
jandersdo we have plans to support Bifrost on FC32?07:40
rpittaujanders: I think we do :)07:40
jandersin release notes I see FC30 is supported.. trying to get it up on my FC32 and hitting minor issues (renamed packages) which I am happy to fix07:41
jandersok! great07:41
rpittaujanders: the point now is that the base os in CI is Fedora 3007:41
rpittaujanders: patches are welcome! :)07:41
janders:)07:42
*** dsneddon has quit IRC07:44
dtantsurjanders: hey! we do intend that, but nobody has tried yet. patches welcome (or just use CentOS 8 which is supported)07:49
iurygregoryF32 you need to remove one package from the list of fedora packages07:49
iurygregoryI've tired once07:49
rpittauI also tried a couple times, didn't propose any change as CI is on FC30 still07:50
iurygregoryyup07:50
janderslibselinux-python is the problem package, right?07:55
*** rcernin has quit IRC07:57
iurygregoryjanders, yup =)07:57
jandersiurygregory thank you07:57
iurygregoryyou can just remove and it should just work =)07:57
iurygregoryremove the line hehe XD07:58
jandersdoes equivalent package get pulled in automatically?07:58
iurygregorypython3-libselinux should take care07:58
iurygregoryI think we have on the list07:59
jandersI will look through my mods when the playbook concludes - I think there are two files, one is exactly as you described, another needed a swap07:59
iurygregoryI checked with a fedora package maintainer07:59
iurygregoryI think I only had to change in the bifrost-ironic-install /defaults/required_defaults_Fedora.yml08:01
jandershere are my two mods on the working copy08:01
jandersdiff --git a/playbooks/roles/bifrost-create-vm-nodes/defaults/required_defaults_Fedora.yml b/playbooks/roles/bifrost-create-vm-nodes/defaults/required_defaults_Fedora.ymlindex 6a5ef12..719525e 100644--- a/playbooks/roles/bifrost-create-vm-nodes/defaults/required_defaults_Fedora.yml+++08:02
jandersb/playbooks/roles/bifrost-create-vm-nodes/defaults/required_defaults_Fedora.yml@@ -11,4 +11,5 @@ required_packages:  - libvirt-daemon  - pkgconfig  - libvirt-devel- - libselinux-python+# - libselinux-python+ - python3-libselinuxdiff --git a/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Fedora.yml08:02
jandersb/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Fedora.ymlindex 21a7be4..9a83eb6 100644--- a/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Fedora.yml+++ b/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Fedora.yml@@ -14,7 +14,7 @@ required_packages:   - ipxe-bootimgs   - kpartx   -08:02
janderslibffi-devel-  - libselinux-python+#  - libselinux-python   - libxml2-devel   - libxslt-devel   - mariadb-server[and512@xps bifrost]$08:02
jandersoops thats not very readable08:02
iurygregoryhehehe08:02
iurygregorypaste.openstack.org08:02
* iurygregory facepalm just saw that the meetup was yesterday =(08:03
jandershttp://paste.openstack.org/show/795596/08:07
jandersit seems there are two yaml files - one in bifrost-create-vm-nodes and one in bifrost-ironic-install08:07
iurygregoryyeah there are two, I only had to change the /bifrost-ironic-install/defaults/required_defaults_Fedora.yml08:08
jandersright - and with the latter, there is no need to add the new package, just remove the old08:08
janderswith the former, I didn't see anything FC32 like so I added python3-libselinux. Unsure what it would do without, I might test that08:09
iurygregoryyou just need to remove/comment the line, the thing is that the package doesn't exist in F32 so it fails during bifrost-ironic-install08:10
jandersack! thank you iurygregory08:10
iurygregoryand python3-libselinux is required already https://github.com/openstack/bifrost/blob/4e83214d37adc213138d240c55e063508c26a19e/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Fedora.yml#L2808:11
dtantsurwill the change work for 30 as well? would be handy not to duplicate the packages08:14
iurygregorydtantsur, I haven't tested with F30...08:14
*** lucasagomes has joined #openstack-ironic08:14
jandersgood question dtantsur... I was wondering if we need a conditional08:14
* dtantsur tries in podman08:14
dtantsura handy trick for testing various OS, e.g. F30: podman run -it fedora:30 /bin/bash08:15
iurygregoryif python3-libselinux pulls libselinux-python in F30 we should be fine08:15
*** rcernin has joined #openstack-ironic08:15
iurygregorylet me check in my F30 NUC08:15
dtantsurpython3-libselinux seems to be a thing in F3008:16
dtantsurlibselinux-python3 is already an alias08:16
rpittauI geuss firing it up in the CI could give us a good answer :)08:16
dtantsurjanders: you can just replace libselinux-python with python3-libselinux08:17
dtantsuractually, libselinux-python is for Python 2, we don't need it :)08:17
janderswell spotted! :)08:18
iurygregoryburn with fire08:18
jandersI was considering looking up the commit that added that line to get context, but in this case I won't08:18
janderskill -10! :)08:18
dtantsurI suspect it was cargo-culted from python 2 times08:19
iurygregoryyup08:19
iurygregoryand since F30 has py27 support they have the lib08:19
dtantsurright08:20
iurygregoryis just me or is strange that the huawei CI provides results very fast?08:23
dtantsurit surprises me too08:24
*** rcernin has quit IRC08:29
*** Lucas_Gray has joined #openstack-ironic08:29
*** derekh has joined #openstack-ironic08:30
*** antonym has quit IRC08:38
openstackgerritRiccardo Pittau proposed openstack/ironic master: Add documentation on how to propose a release  https://review.opendev.org/73967808:38
openstackgerritRiccardo Pittau proposed openstack/ironic master: Add documentation on how to propose a release  https://review.opendev.org/73967808:40
*** bfournie has quit IRC08:41
*** rcernin has joined #openstack-ironic08:44
openstackgerritRiccardo Pittau proposed openstack/ironic-python-agent master: Refactor part of image module  https://review.opendev.org/73925108:44
*** rcernin has quit IRC08:45
*** diurnalist has joined #openstack-ironic08:46
*** janders has quit IRC08:48
*** priteau has joined #openstack-ironic08:49
*** diurnalist has quit IRC08:51
*** janders has joined #openstack-ironic08:52
dtantsurrpittau: to follow up on https://review.opendev.org/#/c/739439/ do you think a reno is necessary? we don't usually tend to have them for cosmetic changes.08:54
patchbotpatch 739439 - ironic - Do not put the whole JSON error from the agent in ... - 1 patch set08:54
rpittaudtantsur: I was thinking if we want to backport that maybe we need a reno even if it's mostly a cosmetic change, since there is the fix for the error detection for TypeError08:56
*** yaawang has quit IRC08:57
rpittaudtantsur: I trust you and TheJulia though, if you think it's not necessary I'm ok with that, maybe I'm just being too strict :)08:57
*** yaawang has joined #openstack-ironic08:57
dtantsurI don't care much, just don't want to respin the patch given the CI state :)08:57
openstackgerritMerged openstack/ironic-python-agent stable/ussuri: Fix serializing ironic-lib exceptions  https://review.opendev.org/73955208:58
rpittaudtantsur: I get that, I'll approve it, if it's needed we can add one as a follow up08:58
openstackgerritMerged openstack/ironic-python-agent stable/train: Fix serializing ironic-lib exceptions  https://review.opendev.org/73955308:58
* dtantsur has just learned oslo.config has an 'advanced' flag for options08:59
*** k_mouza has joined #openstack-ironic08:59
rpittauuuuuh we can ask a release for ipa train ?08:59
dtantsuryup09:02
*** bfournie has joined #openstack-ironic09:02
*** diurnalist has joined #openstack-ironic09:02
openstackgerritRiccardo Pittau proposed openstack/ironic master: Add documentation on how to propose a release  https://review.opendev.org/73967809:04
*** diurnalist has quit IRC09:07
dtantsurTheJulia: it doesn't seem like oslo.config supports groups with freeform options :( I've updated https://storyboard.openstack.org/#!/story/1618014 to use MultiOpt which looks a bit nicer09:08
*** hjensas has quit IRC09:13
dtantsurI don't want to bring bad news, but https://zuul.openstack.org/builds?job_name=ironic-tempest-ipa-partition-uefi-pxe_ipmitool09:15
rpittauI was looking at that too...09:15
iurygregoryouch09:16
dtantsurwhat I've seen was kernel not booting, you?09:16
rpittausame09:17
rpittauit fails on second pass09:17
rpittauand actually I see kernel panic too09:17
rpittau[   25.864622] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)09:18
openstackgerritRiccardo Pittau proposed openstack/ironic master: migrate testing to ubuntu focal  https://review.opendev.org/73944809:19
rpittauit's interesting as it's not always09:19
* rpittau meditates on writing a guide on the meaning of 'interesting'09:20
*** yaawang has quit IRC09:23
dtantsurwe use "interesting" in the ironic sense!09:25
*** yaawang has joined #openstack-ironic09:25
*** ricolin has quit IRC09:27
*** hjensas has joined #openstack-ironic09:34
*** diurnalist has joined #openstack-ironic09:38
*** ociuhandu has joined #openstack-ironic09:42
*** diurnalist has quit IRC09:43
rpittauI was starting to be worried it was the change for the ovmf issue, but it's not, it's failing also in ussuri and we still have the xenial trick in palce09:43
rpittauplace*09:43
openstackgerritDmitry Tantsur proposed openstack/bifrost master: Do not use 'sudo pip install' when venv is used  https://review.opendev.org/73969309:44
dtantsurrpittau: FYI ^^09:44
rpittauah lol09:44
rpittauwe should probably use the module command09:45
dtantsurthis code will be much nicer when we drop support for non-venv installations09:46
rpittauyeah09:46
dtantsurby the way, we can probably do it after the upcoming release09:47
dtantsursince the deprecation landed in Ussuri09:47
rpittauoh yeah, we can release bifrost too I guess, do we want to wait for this to merge ?09:47
dtantsurwe should release bifrost actually. I'd like to get this in if possible.09:48
rpittauok, let's give it some time09:48
dtantsurthe bifrost CI is fast if not broken :)09:49
rpittaudtantsur: did we change ipa ramdisk recently?09:57
rpittauoh but even that, it doesn't make sense, the other uefi job is working fine09:57
dtantsurrpittau: we do change it from time to time09:57
rpittauok I think I know what's happening09:59
*** Qianbiao has joined #openstack-ironic10:02
*** k_mouza has quit IRC10:02
openstackgerritRiccardo Pittau proposed openstack/ironic master: Follow up of fix uefi jobs with ovmf native ubuntu package  https://review.opendev.org/73924410:05
rpittaudtantsur ^ this now includes also the memory increase for the other uefi job that was not included in the original patch10:05
rpittauthat should fix the issue10:05
rpittauthe dib based image requires much more space10:06
rpittauwe should probably apply the same to ussuri10:06
rpittaulet's see how the CI goes10:06
dtantsuryup10:08
*** k_mouza has joined #openstack-ironic10:10
iurygregoryso if I got right some dib jobs work fine with 3GB but other jobs we need 4GB?10:13
dtantsurUEFI jobs, specifically10:13
*** diurnalist has joined #openstack-ironic10:14
iurygregorygotcha10:14
iurygregory=)10:14
*** hjensas is now known as hjensas|afk10:15
*** diurnalist has quit IRC10:19
janderssometimes it seems to me that the "U" in UEFI stands for Unusable...10:21
*** yaawang has quit IRC10:21
jandersbut - I hit a particularly hard to run batch of UEFI kit on a past project, so I'm totally biased :)10:21
*** yaawang has joined #openstack-ironic10:23
dtantsurheh10:26
openstackgerritDmitry Tantsur proposed openstack/ironic master: Do not validate driver on changing non-driver fields  https://review.opendev.org/73969910:26
jandersI'm trying to progress my FC32 bifrost install, hitting issues with DB stuff:10:26
jandershttp://paste.openstack.org/show/795599/10:26
jandersreal weird thing is it seems to me that db-sync is doing it's job, DB and tables do exist10:27
jandersand schema creation fails with no error10:27
jandershave you seen anything similar?10:27
jandersI'd really appreciate a pointer or two :)10:28
jandersIn this particular output I set ignore_errors to true for DB Schema tasks, just to see what happens. Prior to that it would fail out a task or two earlier than in this output.10:29
dtantsurI wonder if we need more hacks for F3210:32
jandersyeah I'd love to spin up a C8 somewhere and see if I hit any of these10:33
janders(or a clean FC32)10:33
openstackgerritVerification of a change to openstack/ironic failed: Do not put the whole JSON error from the agent in last_error  https://review.opendev.org/73943910:37
openstackgerritDmitry Tantsur proposed openstack/ironic master: Allow deleting nodes with a broken driver  https://review.opendev.org/73970210:38
dtantsurjanders: you need to check the mysql socket path on your system10:41
dtantsurwe currently assume /var/lib/mysql/mysql.sock for RH systems10:41
janders[root@xps ~]# ls -alZ /var/lib/mysql/mysql.sock srwxrwxrwx. 1 mysql mysql system_u:object_r:mysqld_var_run_t:s0 0 Jul  7 20:23 /var/lib/mysql/mysql.sock[root@xps ~]#10:42
jandersthat does exist on mine, too10:42
janders\/etc/my.cnf.d/mariadb-server.cnf:socket=/var/lib/mysql/mysql.sock10:43
jandersinterestingly it's intermittent10:44
jandersnow it passed the task with DB connection10:44
jandersand failed on inspector DB creation10:45
dtantsuryup, noticed that as well10:45
jandershttp://paste.openstack.org/show/795603/10:46
jandersat least we have an error this time10:46
iurygregoryjanders, I will give a try on a F32 server after lunch to see10:52
jandersgreat, thank you iurygregory10:52
iurygregoryyw10:52
jandersI will also try to test on a clean machine when I get more hardware (hopefully later this week)10:53
jandersmeanwhile added another ignore_errors and will kick off the final attempt for the day I suppose10:53
jandersit really feels like something related to hardware somehow. The intermittent weirdness.. The laptop's running fine other than that though!10:54
dtantsurclean machine ++10:54
*** priteau has quit IRC11:00
openstackgerritMerged openstack/bifrost master: Do not use 'sudo pip install' when venv is used  https://review.opendev.org/73969311:02
*** tkajinam has quit IRC11:04
*** ociuhandu has quit IRC11:05
*** ociuhandu has joined #openstack-ironic11:06
arne_wiebalckTheJulia: I had a look at the memory guard patch and left a question on the review.11:18
openstackgerritDerek Higgins proposed openstack/ironic master: CI: Make ipv6 job to voting  https://review.opendev.org/73971511:25
*** hjensas|afk is now known as hjensas11:30
openstackgerritMerged openstack/ironic-python-agent stable/ussuri: Limit Inspection->Lookup->Heartbeat lag  https://review.opendev.org/73956911:49
openstackgerritDmitry Tantsur proposed openstack/bifrost stable/ussuri: Do not use 'sudo pip install' when venv is used  https://review.opendev.org/73971811:50
*** derekh has quit IRC11:50
jandersto wrap up my FC32 bifrost install blues - I got it running in the end. Needed ignore_errors in all ironic and inspector DB tasks and a couple re-runs. I have no reason to think those are coding issues though, it seems the only change needed is removing libselinux-python.11:52
janderswill re-test on better hardware later in the week hopefully and report back. I'm happy to submit that one-line change, it will be good contributing practice for me :)11:54
jandersthanks for all your help and will keep you posted11:54
*** priteau has joined #openstack-ironic11:55
*** yaawang has quit IRC11:58
*** yaawang has joined #openstack-ironic11:59
*** janders has quit IRC12:01
*** rh-jelabarre has joined #openstack-ironic12:02
*** priteau has quit IRC12:12
dtantsur\o/12:15
*** Qianbiao has quit IRC12:20
*** priteau has joined #openstack-ironic12:20
maelkHi! Do you think the underlying error in https://github.com/metal3-io/baremetal-operator/issues/578 would need to be fixed in Ironic side ? basically, when IPA is booted out of turn, i.e. node is already introspected and powered off by ironic, but then powered on by BMO in this case and restrict_lookup is true, it somehow starts again an introspect12:22
maelkion, reports to inspector and makes it throw an exception, and loop until another operation is performed from ironic side. Is this worth a story ? or do you consider that the node should not boot IPA anyways ?12:22
rpittaumaelk: just my opinion but in theory it should not boot in IPA again12:29
*** Qianbiao has joined #openstack-ironic12:29
* rpittau is the king of typos12:30
*** diurnalist has joined #openstack-ironic12:32
openstackgerritRiccardo Pittau proposed openstack/ironic master: migrate testing to ubuntu focal  https://review.opendev.org/73944812:33
dtantsuriurygregory: could you approve https://review.opendev.org/#/c/739244/ please?12:34
patchbotpatch 739244 - ironic - Follow up of fix uefi jobs with ovmf native ubuntu... - 2 patch sets12:34
iurygregorydtantsur, sure12:35
*** diurnalist has quit IRC12:37
openstackgerritRiccardo Pittau proposed openstack/ironic stable/ussuri: Increase vm ram size in uefi netoobted jobs  https://review.opendev.org/73972812:39
openstackgerritRiccardo Pittau proposed openstack/ironic stable/ussuri: Increase vm ram size in uefi netbooted jobs  https://review.opendev.org/73972812:41
openstackgerritDmitry Tantsur proposed openstack/ironic-inspector master: Use node.id instead of node.uuid in record_node  https://review.opendev.org/73973012:41
dtantsurrpittau: ^^12:41
dtantsurmaelk: what would be the expected behavior?12:42
maelkthat inspector would not throw an exception at least, and either discard the input ( to avoid some kind of spoofing maybe) or update it if it is changed (but how to make sure that it is not spoofed ? )12:44
openstackgerritDmitry Tantsur proposed openstack/ironic master: Stop using md5 for __repr__ of objects  https://review.opendev.org/73973512:53
arne_wiebalckdtantsur: maelk: why does the node start another inspection after booting into the IPA? The state in the cache should be finished, no?12:59
dtantsurarne_wiebalck: it doesn't, it fails because of a bug in the code that checks for active node introspection13:00
dtantsursee the patch above13:00
arne_wiebalckdtantsur: ah, ok, sorry, I missed this13:00
rpittauthat's probably a leftover from the openstacksdk migration13:00
dtantsurit is13:01
maelkwe can see that the IPA reports its introspection data after being booted13:01
maelkwhen calling /v1/continue13:01
dtantsurthat's expected, IPA has no way to know that it's not supposed to run13:01
maelkok, good13:02
TheJuliagood morning13:02
rpittaugood morning TheJulia :)13:03
dtantsurTheJulia: morning!13:05
maelkdtantsur thank you for the fix.13:05
dtantsurwill you believe if I tell you that the CI got broken on the release day?13:05
iurygregoryit's normal for us13:08
TheJuliadtantsur: seriously??13:08
iurygregorynot the 1st time =X13:08
* TheJulia sighs13:08
*** diurnalist has joined #openstack-ironic13:08
iurygregorygood morning TheJulia =)13:09
TheJuliabtw: re fips, there is some chatter out there about crc32 needing to be replaced with sha referecing the fips 140-3 standard, however the standard just says "go look at these documents"13:09
iurygregoryfacepalm13:12
dtantsurTheJulia: I hope it's not shutting down usages of crc32, otherwise anything using ZIP and many other algos is screwed13:13
dtantsurand yes, we have a CI problem. the fix has been approved already.13:13
*** diurnalist has quit IRC13:13
TheJuliadtantsur: the comments were it is, but I'll keep digging once I have coffee13:18
*** Goneri has joined #openstack-ironic13:18
TheJuliaarne_wiebalck: replied to your comment on https://review.opendev.org/#/c/726483/5 I think you missed the maximum loop count. :)13:18
patchbotpatch 726483 - ironic - Guard conductor from consuming all of the ram - 5 patch sets13:18
*** derekh has joined #openstack-ironic13:19
arne_wiebalckTheJulia: The operation will time out, but the memory will never become free again I think.13:19
*** moguimar has joined #openstack-ironic13:20
TheJuliadid you see my comment as to what memory_available is?13:20
* TheJulia goes and grabs coffee13:20
dtantsurcrc32 is not allowed to be used for cryptography, but if it's disabled completely.. many things won't work13:21
*** moguimar has left #openstack-ironic13:21
arne_wiebalckFrom what I see (and tested), the available memory is what is available immediately (so not buffered/cached). Won't this go down over time as caches fill up?13:21
*** rloo has joined #openstack-ironic13:22
dtantsurbut honestly, there is no reason to use even crc32 in this patch13:22
TheJuliahmm, that is problematic then13:23
TheJuliathat was for arne_wiebalck13:23
TheJuliaarne_wiebalck: I guess at worst we could always look at available + cache13:24
arne_wiebalckTheJulia: maybe I am mixing up definitions and understanding13:26
arne_wiebalckTheJulia: I was just wondering if it is enough to wait for RAM to become free or whether we should consider to drop caches regularly13:27
*** Qianbiao has quit IRC13:27
*** Qianbiao has joined #openstack-ironic13:27
arne_wiebalckTheJulia: I think you are right: available includes the caches which could be dropped. So dropping caches will not change available.13:28
openstackgerritDmitry Tantsur proposed openstack/ironic master: Stop using md5 for __repr__ of objects  https://review.opendev.org/73973513:28
dtantsureven simpler ^^13:28
arne_wiebalckTheJulia: 'free' should drop when caches are flushed13:29
arne_wiebalckTheJulia: yes, just confirmed this on an Ironic controller: 'available' does not change when the caches are dropped13:32
*** cdearborn has joined #openstack-ironic13:32
*** Goneri has quit IRC13:33
TheJuliadtantsur: FIPS 140-3 is super vague. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-140C.pdf is what is only permitted in the context/confines of security. However that too is kind of vague. CRC may fall into a bit of a gray area13:33
TheJuliaarne_wiebalck: we shouldn't try to drive the cache to drop, that is super bad and technically you have to touch the tunables to suggest to the kernel to do it13:34
TheJuliaarne_wiebalck: simple enough to change13:34
arne_wiebalckTheJulia: I think we are good with available, I mixed this with free (which will go down with time)13:35
TheJuliaarne_wiebalck: but I wonder if we should be using free13:36
TheJuliayay for words!13:36
*** ricolin has joined #openstack-ironic13:36
arne_wiebalckTheJulia: If we were to use free, we would need to free up memory ourselves.13:37
dtantsurTheJulia: what can be better than a vague guideline for security? :) anyway, I've updated the patch to not use crc3213:37
TheJuliaarne_wiebalck: "Do not set this too high!" warning sounds in order13:38
arne_wiebalckTheJulia: At least this is my understanding, since the kernel will make use of all memory over time, for caching. So free will become very small. I think available is the correct metric.13:38
arne_wiebalckTheJulia: Did you test this with real hardware?13:38
TheJuliamemory exhaustion, no but I'm poking at my desktop's memory freeness now13:39
*** Qianbiao has quit IRC13:39
TheJuliaI can load it up on the nuc and and see if it complains if I slowly turn down the amount of available free memory13:39
*** Qianbiao has joined #openstack-ironic13:39
TheJuliamy desktop currently reports 13 GB free, 17 GB available (which is surprising, tbh)13:40
TheJuliayeah, and the difference is if the buffer/cache is released13:41
openstackgerritMerged openstack/bifrost stable/ussuri: Do not use 'sudo pip install' when venv is used  https://review.opendev.org/73971813:41
arne_wiebalckwhich the kernel will do if the conductor asks for it13:41
TheJuliayup13:41
arne_wiebalckI think we're good, sorry for the noise.13:42
TheJulia"Please tune wisely" note seems super applicable though13:42
arne_wiebalckYes. In particular in view of the RSS footprint kaifeng and I have seen/discussed. So, if the conductor is run alongside the API, we may run out of steam quite quickly.13:45
TheJuliacan we put a picture of a light colored unix beard in the documents suggesting "consult with the unix bearded one" before making arbitrary memory setting changes13:46
arne_wiebalck:-D13:46
openstackgerritRiccardo Pittau proposed openstack/ironic master: Follow up of enforce autospec in test_manager  https://review.opendev.org/73906313:46
openstackgerritRiccardo Pittau proposed openstack/ironic master: Enforce autospec in test_task_manager  https://review.opendev.org/73975813:46
TheJulia"consult your available unix beards or grumpy unix ladies before tuning memory"13:47
TheJuliaarne_wiebalck: are there memory issues in the API?13:47
arne_wiebalckTheJulia: the footprint is surprisingly big, yes13:48
TheJuliahmm13:48
arne_wiebalckTheJulia: we observe RSS a few times the size of the entire DB13:48
* TheJulia blinks13:48
TheJuliadb + indexes, or raw data in the bd?13:49
TheJuliadb13:49
arne_wiebalckTheJulia: this can be influenced with the processes/workers13:49
*** tzumainn has joined #openstack-ironic13:49
TheJuliaoh yeah13:49
TheJuliaeach process will cary a copy of the hash ring13:49
TheJuliacarry13:49
arne_wiebalckTheJulia: well, a dump of our DB is around 60MB or so13:49
arne_wiebalckTheJulia: somewhere I have notes about process and threads per process along with their RSS footprint13:50
TheJuliaI think the last time I looked we were at like ~230mb with an empty database13:50
arne_wiebalckYeah, that sounds familiar.13:51
arne_wiebalckBut with a few processes and threads this multiplies quite quickly13:51
arne_wiebalckAnd when you then start image conversion ...13:52
arne_wiebalckI have not split the API from the conductors, they run in pairs on each host.13:52
arne_wiebalckAnd the inspector is there as well, to make the Ironic party complete and exclude noone.13:54
TheJuliaYeah, so I could see you hitting memory issues super easily in that case with increased load because depending on how your running webserver processes you may find yourself with more being spawned13:54
arne_wiebalckYeah, maybe it is time to split the services.13:56
TheJuliaI would say that depends on your burst load :)13:58
*** Goneri has joined #openstack-ironic14:02
arne_wiebalckit is bursty, calm for weeks/months, then hundreds of nodes in quick succession14:02
arne_wiebalckthis is why I have the "wing" conductors14:02
arne_wiebalckthe leading conductor group has more conductors than the other ones14:02
arne_wiebalcksince the activity is in this group14:03
arne_wiebalckand I planned to add two more upon delivery arrival14:04
arne_wiebalcksince they are all equal and on VMs, this is pretty quick and easy14:04
*** abdysn has quit IRC14:20
openstackgerritMerged openstack/ironic master: Follow up of fix uefi jobs with ovmf native ubuntu package  https://review.opendev.org/73924414:32
rpittauI can go on vacation now14:33
openstackgerritRiccardo Pittau proposed openstack/ironic master: Use assertCountEqual instead of assertItemsEqual, part 2  https://review.opendev.org/73977614:33
rpittauok, after this ^14:34
iurygregoryrpittau, enjoy! =)14:35
rpittaueheh14:36
openstackgerritDmitry Tantsur proposed openstack/ironic master: [WIP] Add an option to choose the hash ring algorithm  https://review.opendev.org/73977914:39
*** diurnalist has joined #openstack-ironic14:47
TheJuliaarne_wiebalck: I'm typing up a quick doc on tuning, if you have thoughts feel free to add to it but hopefully it gets a lot of it out of my head14:48
arne_wiebalckTheJulia: +114:49
openstackgerritJulia Kreger proposed openstack/ironic master: Add some tuning documentation  https://review.opendev.org/73978314:49
*** hjensas has quit IRC14:50
*** hjensas has joined #openstack-ironic14:52
* dtantsur wonders why his server machine has firefox installed14:53
iurygregoryO.o14:58
iurygregorywow14:58
TheJuliadtantsur: anything install selenium?14:58
dtantsurthat's a possibility14:58
* dtantsur starts a deployment that is doomed to fail14:58
iurygregory=(14:59
dtantsurmmmm, I did not expect it to fail SO quickly15:02
iurygregoryenr bifrost failed on F32 [bifrost-ironic-install : Create ironic DB Schema]15:06
*** k_mouza_ has joined #openstack-ironic15:11
dtantsurouch? so there is actually a problem with mysql?15:12
*** k_mouza has quit IRC15:13
iurygregoryseems to be .-.15:17
iurygregoryI had no problem 1month ago...15:17
TheJuliaiurygregory: can you put the errors in a paste?15:21
iurygregoryhttp://paste.openstack.org/show/795623/15:22
TheJuliaiurygregory: do you get any errors if you manually try to create the schema?15:23
iurygregoryTheJulia, I was about to try this =)15:23
TheJuliait seems SUPER weird that you have no output15:25
iurygregoryyeah15:25
iurygregorydoesn't help =(15:25
TheJuliadoes anything get written to the journal or syslog facility?15:26
dtantsurTheJulia: janders had exactly the same problem today15:26
prometheanfiredtantsur: rpittau: looks like it might be a new mock issue then? https://ba29496b3bf7c2dae4e1-b2ee54f1bb7128298daf0c74e8f5e0db.ssl.cf2.rackcdn.com/739652/1/check/cross-ironic-py38/f8eea70/testr_results.html15:28
iurygregoryouch!15:29
iurygregorythis doesn't look good15:29
dtantsurprometheanfire: that's the price we pay for verifying error messages from a 3rd party library15:29
iurygregoryhttp://paste.openstack.org/show/795626/15:29
rpittauok, that looks like jsonpatch15:29
iurygregoryprobably py38 problems...15:29
TheJuliaiurygregory: that is chilling15:30
dtantsurshould be a simple fix, anyone doing it or should I?15:30
prometheanfiredtantsur: :D15:30
rpittaudtantsur: go ahead :)15:30
iurygregorydtantsur, you talking about bifrost or about the mock issue?15:31
dtantsuriurygregory: the unit test issue15:31
dtantsur(it's not related to mock any more)15:31
iurygregoryI can take care =)15:31
iurygregoryif you don't mind ofc15:31
TheJuliaiurygregory: is mysqld-safe running after the failure? Has it logged anything?15:32
iurygregoryTheJulia, let me check15:33
* TheJulia really should get checked for adult ADD15:35
TheJuliaor I should just juggle less15:35
iurygregoryTheJulia, couldn't find anything for mysqld-safe, I've found some mariadb logs http://paste.openstack.org/show/795627/15:38
TheJuliawow15:40
TheJuliathat is bad15:40
TheJuliais this a brand new mariadb rpm?15:40
iurygregorymysql  Ver 15.1 Distrib 10.4.13-MariaDB, for Linux (x86_64)15:41
iurygregorythe version that got installed in F3215:41
iurygregorylet me check the rpm info15:41
TheJuliaiurygregory: also, anything in the kernel log?15:41
TheJuliathe kernel often doesn't issue sig11 on it's own...15:41
iurygregorywill check15:41
*** ociuhandu_ has joined #openstack-ironic15:43
openstackgerritDmitry Tantsur proposed openstack/ironic master: Do not verify error messages from jsonpatch in unit tests  https://review.opendev.org/73980315:44
dtantsurprometheanfire: ^^15:44
prometheanfirecool :D15:46
*** ociuhandu has quit IRC15:46
*** ociuhandu_ has quit IRC15:47
rpittauwell, at least we know that the cross-test works :D15:47
openstackgerritJulia Kreger proposed openstack/ironic master: Provide a path to set explicit ipxe bootloaders  https://review.opendev.org/72831515:47
prometheanfirerpittau: true, it has proved useful15:48
*** dtantsur is now known as dtantsur|brb15:49
iurygregorystrange, it seems that the version installed is not even listed in https://fedora.pkgs.org/32/fedora-x86_64/mariadb-server-10.4.12-3.fc32.x86_64.rpm.html O.o15:49
*** tzumainn has quit IRC15:50
iurygregorymariadb-server-10.4.13-2.fc32.x86_64 O.o15:50
rpittauiurygregory: that's kind of weird, let me check on a clean F32 machine15:51
TheJulia++15:51
openstackgerritMerged openstack/ironic-inspector master: Use node.id instead of node.uuid in record_node  https://review.opendev.org/73973015:51
iurygregoryrpittau, well this was on a clean F32... =(15:51
TheJuliaerr15:51
iurygregory.-.15:52
TheJuliais this the first time on F32, or is this a brand new thing on FC32 + updates15:52
*** tzumainn has joined #openstack-ironic15:52
rpittauiurygregory:  did you run dnf ugprade after teh install ?15:52
iurygregoryrpittau, nope, only dnf install git, dnf install @virtualization15:53
*** Qianbiao has quit IRC15:55
TheJuliaDid the upgrade still get pulled in?15:55
iurygregorymaybe they change the image I've tired (1month ago)15:56
TheJuliaWhere was this image from?15:56
iurygregoryinternal repos15:57
TheJuliarpittau: pulling down public?15:59
rpittauI'm checking the version locally and also in one of my testing vms, I have mariadb-server-3:10.4.13-2.fc32.x86_6416:00
rpittauso I guess a rebuild is needed there16:00
rpittauplus a dnf ugprade16:00
rpittauor upgrade is better :)16:01
* rpittau particularly dyslexic today16:01
*** lucasagomes has quit IRC16:01
TheJuliaiurygregory: nothing in the kernel log?16:04
* TheJulia hopes for a double free() message16:05
iurygregoryTheJulia, sorry >.< let me copy to a paste16:05
TheJuliano worries16:05
*** tzumainn has quit IRC16:05
rpittauI confirm that the installer is fetching mariadb-server-3:10.4.13-2.fc32.x86_6416:07
rpittauI'm running the bifrost installer playbook now16:07
openstackgerritRiccardo Pittau proposed openstack/ironic master: migrate testing to ubuntu focal  https://review.opendev.org/73944816:10
TheJuliarpittau: is it getting glibc at all?16:12
iurygregorydmesg http://paste.openstack.org/show/795630/16:13
TheJuliaiurygregory: looks like it got truncated?16:14
iurygregoryyeah =(16:14
iurygregorylet me see if I can do something about it16:14
iurygregoryI can give you access to the machine TheJulia if you have a key16:15
TheJuliaiurygregory: sending16:15
*** ricolin has quit IRC16:17
* iurygregory needs to prepare a fast dinner (meeting in a few minutes)16:18
TheJuliaheh, it has a wifi adapter16:20
TheJulialooks like a minor selinux issue but it still looks permissive16:21
TheJulianothing in kernel log to indicate the kernel killed it :\16:22
TheJuliaso I guess it must have internallyf aulted16:22
TheJuliafaulted16:22
*** ociuhandu has joined #openstack-ironic16:22
iurygregory=(16:22
TheJuliaI guess we can wait for rpittau to report back what he encounters. Hopefully we have enough info to make a cogent bug16:26
*** ociuhandu has quit IRC16:26
*** tzumainn has joined #openstack-ironic16:28
* rpittau reports back16:29
rpittauit works on my vm :)16:29
TheJuliais selinux disabled or enabled?16:30
rpittauEnforcing16:30
TheJuliarpittau: did you already have an ironic database?16:31
TheJuliaiurygregory: same question^16:31
rpittauno, this is a fresh new F32 machine, I ran dnf upgrade, rebooted and then ran the bifrost installer16:31
iurygregoryTheJulia, nope it was a fresh env16:32
* iurygregory didn't run dnf upgrade...16:32
* TheJulia goes and reads the discussion with janders16:32
rpittauI just modified the selinux package cause as we know it throws an error16:32
TheJuliajacob said it was intermittent16:34
TheJuliaiurygregory: just to double confirm, the 10.4.13-2 rpm was what was installed?16:37
iurygregoryTheJulia, correct16:37
TheJulialooks like the main rpm was updated, but the "updates" repo has 10.4.13-2 as the latest16:39
rpittauI will run it again16:40
TheJuliaThe changelog shows 10.4.13-2 was last updated, at least before the rpm was built on 6/5/202016:41
TheJulia5th of last month16:41
*** dtantsur|brb is now known as dtantsur16:41
dtantsurTheJulia: Jacob did manage to get a working environment by inserting a lot of ignore_errors and retrying many times16:42
*** SpamapS has quit IRC16:42
TheJuliayeah16:43
TheJuliaiurygregory: could you try putting the latest 10.4.13-3 rpm on there and giving it a try16:43
TheJuliaThe C client library connector code was rebased to fix https://jira.mariadb.org/browse/CONC-44116:44
TheJuliawhile seemingly unrelated, I'm wondering if things maically work16:45
TheJuliasince effective and db user used can differ16:45
dtantsurrpittau: cannot figure out from release notes, when was the switch to openstacksdk for inspector: ussuri or victoria?16:45
rpittauussuri16:45
dtantsurk thx16:46
openstackgerritDmitry Tantsur proposed openstack/ironic-inspector stable/ussuri: Use node.id instead of node.uuid in record_node  https://review.opendev.org/73981316:46
rpittaudtantsur: https://opendev.org/openstack/ironic-inspector/commit/3accdfbbc6cf7176f9ff8b4967195cb4e2036cea16:46
dtantsuryeah16:46
*** Lucas_Gray has quit IRC16:47
openstackgerritDmitry Tantsur proposed openstack/ironic-inspector master: Add release version to release notes  https://review.opendev.org/73981416:48
*** diurnalist has quit IRC16:50
rpittauok so now I'm seeing the error16:51
rpittauexactly the same one16:52
TheJuliasounds like it is time for a very verbose BZ16:54
rpittauit crashes and recover16:56
rpittauthis is not nice16:56
rpittau [ 2712.243361] mysqld[17777]: segfault at 8 ip 00005632a0d0706b sp 00007fb7100d23b0 error 4 in mysqld[5632a087f000+8b9000]16:56
dtantsurugh16:56
rpittauTheJulia: do you want the stack trace from journalctl ?16:57
TheJuliawell, at least your machine logged it16:57
TheJuliarpittau: is it the same as what iurygregory got?16:57
iurygregoryTheJulia, will give a try16:58
iurygregoryI was having dinner16:58
TheJuliaoh no worries16:58
rpittauoh, not sure, this is from systemd-coredump16:58
rpittauhttp://paste.openstack.org/show/795634/16:59
*** diurnalist has joined #openstack-ironic17:02
*** sziviani has quit IRC17:19
*** sziviani has joined #openstack-ironic17:20
*** SpamapS has joined #openstack-ironic17:20
*** derekh has quit IRC17:27
*** dtantsur is now known as dtantsur|afk17:38
dtantsur|afkg'night!17:38
TheJuliao/17:40
TheJuliarpittau: that is no good :(17:41
TheJuliabut it aligns17:41
TheJuliaanyone already started on a bugzilla?17:41
*** k_mouza_ has quit IRC17:49
*** priteau has quit IRC17:52
arne_wiebalckBye everyone o/17:52
openstackgerritMerged openstack/ironic master: Use assertCountEqual instead of assertItemsEqual, part 2  https://review.opendev.org/73977617:56
iurygregoryseems like ironic-tempest-ipa-partition-pxe_ipmitool didn't like basic_ops running with partition/wholedisk .-.17:56
TheJuliaiurygregory: huh?18:31
*** ociuhandu has joined #openstack-ironic18:40
*** ociuhandu has quit IRC18:45
*** aedc has joined #openstack-ironic19:04
openstackgerritJulia Kreger proposed openstack/ironic master: Provide a path to set explicit ipxe bootloaders  https://review.opendev.org/72831519:35
TheJuliagah!19:35
TheJuliascrewed up19:35
openstackgerritJulia Kreger proposed openstack/ironic master: Provide a path to set explicit ipxe bootloaders  https://review.opendev.org/72831519:38
openstackgerritJulia Kreger proposed openstack/ironic master: Add ``ipxe_template`` override option  https://review.opendev.org/73984119:44
TheJuliamuch better19:44
iurygregoryTheJulia, yeah, I'm going to try to reproduce locally tomorrow morning but seems that ironic-tempest-ipa-partition-pxe_ipmitool is the only job that is unhappy with basic_ops for wholedisk (since I have the change that adds partition/wholedisk test to basic_ops) https://review.opendev.org/735960 https://review.opendev.org/71445319:52
patchbotpatch 735960 - ironic-tempest-plugin - Improve test_baremetal_basic_ops - 5 patch sets19:52
patchbotpatch 714453 - ironic - add tempest boot_mode config - 17 patch sets19:52
TheJuliaOkay, have a wonderful evening20:02
*** Lucas_Gray has joined #openstack-ironic20:31
openstackgerritMerged openstack/ironic master: Do not put the whole JSON error from the agent in last_error  https://review.opendev.org/73943920:50
openstackgerritMerged openstack/ironic master: Fix missing print format in log message  https://review.opendev.org/73966721:05
*** hjensas has quit IRC21:21
*** hjensas has joined #openstack-ironic21:52
openstackgerritJulia Kreger proposed openstack/ironic master: Add some tuning documentation  https://review.opendev.org/73978321:52
openstackgerritJulia Kreger proposed openstack/ironic master: Add ``ipxe_template`` override option  https://review.opendev.org/73984122:00
openstackgerritMerged openstack/ironic-inspector stable/ussuri: Use node.id instead of node.uuid in record_node  https://review.opendev.org/73981322:17
*** dsneddon has joined #openstack-ironic22:25
*** rloo has quit IRC22:26
*** jungleboyj has quit IRC22:43
*** samueldmq has quit IRC22:44
*** erbarr has quit IRC22:45
*** jungleboyj has joined #openstack-ironic22:45
*** antonym has joined #openstack-ironic22:46
*** seongsoocho has quit IRC22:47
*** gmann has quit IRC22:47
*** vkmc has quit IRC22:47
*** m1p has quit IRC22:47
*** phrobb has quit IRC22:48
*** erbarr has joined #openstack-ironic22:48
*** samueldmq has joined #openstack-ironic22:48
*** tonyb[m] has quit IRC22:50
*** mnaser has quit IRC22:50
*** vdrok has quit IRC22:50
*** TheJulia has quit IRC22:50
*** rpioso has quit IRC22:50
*** buhman has quit IRC22:50
*** portdirect has quit IRC22:51
*** ildikov has quit IRC22:51
*** johnsom has quit IRC22:51
*** andrein has quit IRC22:51
*** johnhaan has quit IRC22:51
*** rpittau has quit IRC22:51
*** pas-ha has quit IRC22:52
*** arne_wiebalck has quit IRC22:52
*** NobodyCam has quit IRC22:52
*** cdearborn has quit IRC22:52
*** erbarr has quit IRC22:52
*** rajinir_ has quit IRC22:52
*** samueldmq has quit IRC22:53
*** jungleboyj has quit IRC22:53
*** v1k0d3n has quit IRC22:53
*** donnyd has quit IRC22:53
*** tkajinam has joined #openstack-ironic22:54
*** rcernin has joined #openstack-ironic23:17
*** Goneri has quit IRC23:25
*** Lucas_Gray has quit IRC23:51

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