Tuesday, 2025-01-21

*** ykarel_ is now known as ykarel14:33
opendevreviewClark Boylan proposed opendev/system-config master: Handle borg 1.2 rc 1 for warnings behavior  https://review.opendev.org/c/opendev/system-config/+/93966716:09
clarkbthat updated the conditional to be a little less version specific. It isn't perfect and i'm open to suggestions on how to do that better without adding dependencies or making it super complicated16:10
fungiclarkb: question there, i don't think < does what you want16:16
clarkbfungi: yes that is why i isn't perfect. But the newest version we have deployed is 1.2.816:16
clarkbI don't want to worry about oldest versions so < addresses those16:17
clarkbthere is no 1.2.10 or 1.2.11 but there may be 1.1.8 and 1.1.1816:17
fungii'm more worried about future versions16:17
clarkbfungi: maybe just check against 1.2?16:18
fungior != the old version(s)16:18
fungisince we theoretically know which ones we have in use16:18
clarkbI think not less than 1.2 should work actually16:18
clarkbuntil version 1.10 (which won't exist because they are going to 2.016:19
fungiyeah, at least until upstream gets to 1.10.x versions, which will likely take a while16:19
fungior forever ;)16:19
clarkbya they went 1.0 -> 1.1 -> 1.2 -> 1.4 -> 2.016:19
clarkbso I think checking against 1.2 should be sufficient16:20
opendevreviewClark Boylan proposed opendev/system-config master: Handle borg 1.2 rc 1 for warnings behavior  https://review.opendev.org/c/opendev/system-config/+/93966716:20
clarkbalso if we get it wrong it shouldn't break the actual backups just our reporting of them16:22
clarkbside note: its interesting that help test doesn't say anything about escaping < and > when using them as operators. I guess that is implied16:26
fungiif you use [[ ]] in a quoted string as a parameter to bash -c, it's not necessary16:29
fungi$ bash -c "[[ foo < xyzzy ]]" && echo true || echo false16:32
fungitrue16:32
fungi$ bash -c "[[ foo < bar ]]" && echo true || echo false16:32
clarkbya I guess beacuse [/test may not be a builtin but an actual command you need to escape things for compatibility16:32
fungifalse16:32
clarkbwhereas [[ is always a builtin so the shell can do magic16:32
fungiright16:32
clarkboh and test(1) doesn't do < and > that is a bashism in the builtin16:34
clarkbwe explicitly use bash in the shebang so not a problem here16:34
*** eandersson0 is now known as eandersson17:51
tonybFinally caught up on my IRC backlog.  I'm sorry I didn't see the pings WRT the Noble image on RAX, it is identical to others just converted for RAX.20:15
tonybThe reason it wasn't declared as done/blessed was I couldn't get SSH working, but you figured that out and it wasn't a problem with the image.20:16
tonybI ran the image_upload ansible play with `/usr/ansible-venv/bin/ansible-playbook /home/tonyb/image_upload.yaml` as root20:19
tonybIf you look at root's history on bridge (from around 2024-07-26 and  2024-07-31) you'll see most of the testing I did20:20
tonyb... but now I see you found all that20:22
clarkbtonyb: image list never showed the image though. Did you delete it?20:29
clarkbI'm mostly interested in knowing as a way of knowing if the ansible module is capable of uploading to rax20:29
tonybI'm trying to verify that I did delete it but I'm 90% sure I used that ansible play to upload it originally20:30
tonybI can't see the evidence, but I'm also reasonably sure I did delete the image via the Web UI.  I remember talking to support at the time (hence the edit-secrets in history) and when I couldn't get ssh working I deleted the image as I was expecting that I needed to change it to get networking.20:35
fungideleting through the web dashboard would explain the lack of evidence in bash history20:35
tonybYeah, poor choice that with hindsight I won't repeat20:36
clarkbya that may be the missing peice of info20:36
tonybAlso I'm sorry for not seeing the pings, seems my IRC client logged out on my phone and "no notifications" != "no one is pinging" :/20:38
clarkbnah you were on vacation and we made some educated guesses20:38
clarkbtonyb: now that you are back though it might be a good idea to clean up the non qcow2 version of that image to free the disk space ?20:39
tonybYup I think we can remove them all20:39
tonybOr do we need to upload the vhd to other rax regions?20:39
clarkbtonyb: I uploaded to dfw, iad, and ord. But you can double check if you like first20:40
clarkbI don't think I test booted in each region20:40
clarkbI think I test booted in iad and dfw but not ord (because ord's api is slowest)20:40
tonybNoted.20:40
tonybI'll handle the clean up20:41
clarkbtonyb: if you have time for https://review.opendev.org/c/opendev/system-config/+/939667 this should make the paste02 backups less noisy.23:03
clarkbfungi: I reviewed the PBR changes and approved the first. The second needs another reviewer23:03
clarkbI need a break after the meetup block but will get the email out making service coordinator election details official afterwards23:03
clarkbhttps://lists.opendev.org/archives/list/service-discuss@lists.opendev.org/thread/NGS2APEFQB45OCJCQ645P5N6XCH52BXW/ made the election details official23:29
fungithanks!23:34
clarkbI think I just found a bug in the brog backup script change23:38
clarkbI'm going to WIP it while I fix it23:38
fungik23:39
opendevreviewClark Boylan proposed opendev/system-config master: Handle borg 1.2 rc 1 for warnings behavior  https://review.opendev.org/c/opendev/system-config/+/93966723:41
clarkbI needed to default stream_exit to 0 as we may not  have any streams to backup but we use the value later to determine the final rc value. Also we can't reset stream-exit to 0 if a stream succeeds after a stream fails23:41
clarkbso basically just preset the value to success and then only set it to failure later so that we preserve the failure value if some streams succeed23:42
clarkboh wow I just got teh -W in in time to prevent merging. Nice23:46
opendevreviewClark Boylan proposed opendev/system-config master: Reapply "Pull lodgeit from quay.io"  https://review.opendev.org/c/opendev/system-config/+/93976723:49
tonyb^^ and the dependent patch look good to me.  I haven't +A'd https://review.opendev.org/c/opendev/lodgeit/+/939385 just in case23:57
Clark[m]Ack I can deploy them tomorrow morning and check the jobs for what we expect23:58

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