Thursday, 2022-01-13

*** dviroel|afk is now known as dviroel00:31
*** dviroel is now known as dviroel|out00:35
ecsantos[m]clarkb: I managed to build Leap 15.3 using the opensuse element. openSUSE stopped providing root filesystem images starting with 15.2 (I asked for confirmation on #opensuse-factory but still waiting on an answer)00:51
ecsantos[m]So I did what the DIB devs did to Red Hat-based distro elements, to download the QCOW2 image and run the extract-image script. It worked fine, tested the built image on VirtualBox00:51
clarkboh interesting00:51
ecsantos[m]My only concern is that the extract-image script is in the redhat-common element, and redhat-common installs some SELinux packages not available on openSUSE00:52
clarkbthe only gotcha with those extractions has been when the distros use very new qcow2 compression or very new filesystem flags. It limits where you can do the extraction, but given prior art I think this is fine00:52
clarkbya might want to make it more generic? and then have red hat specific otpions for red hat images00:52
ecsantos[m]Yeah maybe put the script in a more generic element and make redhat-common depend on it00:53
ecsantos[m]Not sure if it's the right approach but it's an idea00:54
clarkbdepending on how different the two distros are a new separate script might be fine too00:54
clarkbI've got to go help with dinner now, but this sounds like good progress00:54
ecsantos[m]Oh, sorry to ping you at this hour! Didn't know your time zone xD00:55
ecsantos[m]Let's discuss tomorrow00:55
clarkbno problem. My day is just ending. And now need to make food before the kids start complainig :)00:55
*** ysandeep|out is now known as ysandeep05:16
*** bhagyashris_ is now known as bhagyashris07:52
whoami-rajathi #openstack-infra , review.opendev seems to be down for sometime, any hints regarding it or when it will be resolved?07:56
*** jcapitao_off is now known as jcapitao08:07
*** bhagyashris__ is now known as bhagyashris08:07
fricklerwhoami-rajat: no issue for me, possibly your local connection? can you ping the host with either v4 or v6?08:07
whoami-rajatfrickler, yeah, seems to be issue on my end, working for some of my colleagues but not for some08:09
whoami-rajatwill try things on my end thanks frickler 08:09
*** jpena|off is now known as jpena08:38
*** mnasiadka_ is now known as mnasiadka08:43
*** ysandeep is now known as ysandeep|lunch08:46
*** sshnaidm|afk is now known as sshnaidm08:49
*** bhagyashris_ is now known as bhagyashris09:20
*** ysandeep|lunch is now known as ysandeep09:23
*** ykarel is now known as ykarel|away09:47
*** jcapitao is now known as jcapitao_lunch11:03
*** dviroel|out is now known as dviroel11:15
*** rlandy|out is now known as rlandy|ruck11:15
*** bhagyashris_ is now known as bhagyashris11:21
*** arxcruz is now known as arxcruz|ruck11:25
*** bhagyashris_ is now known as bhagyashris11:45
*** outbrito_ is now known as outbrito12:02
*** dasm|off is now known as dasm12:08
*** jcapitao_lunch is now known as jcapitao12:27
*** anbanerj is now known as frenzyfriday12:57
*** anbanerj is now known as frenzyfriday13:08
*** emilien-oftc is now known as EmilienM13:35
*** frenzyfriday is now known as frenzyfriday|ruck14:18
*** akekane_ is now known as abhishekk14:29
opendevreviewGustavo Sanchez proposed openstack/project-config master: Add the cinder-nimblestorage charm to Openstack charms  https://review.opendev.org/c/openstack/project-config/+/82458414:34
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: Change container image build workflow  https://review.opendev.org/c/openstack/ci-log-processing/+/82458914:56
*** rlandy_ is now known as rlandy|ruck15:13
*** ysandeep is now known as ysandeep|out15:54
opendevreviewMerged openstack/project-config master: Add the cinder-solidfire charm to Openstack charms  https://review.opendev.org/c/openstack/project-config/+/82380316:02
*** dviroel is now known as dviroel|lunch16:05
opendevreviewMerged openstack/project-config master: Add the cinder-nimblestorage charm to Openstack charms  https://review.opendev.org/c/openstack/project-config/+/82458416:08
*** sshnaidm is now known as sshnaidm|afk16:18
*** dviroel|lunch is now known as dviroel17:00
*** jpena is now known as jpena|off17:31
abishopclarkb: hi, we chatted earlier about a node being held for ade_lee17:53
abishopit's the cinder-tempest-plugin-lvm-lio-barbican-fips job triggered by https://review.opendev.org/c/openstack/cinder/+/79053517:53
abishopwe'd like to release that node, and hold one again to capture some fresh data17:53
fungiabishop: i can do that, just a moment18:09
fungiabishop: ade_lee: i've deleted the old hold and set a new one for the same parameters18:10
fungiabishop: ade_lee: once your job fails again, let me know what ssh keys you want added to the held node18:11
abishopfungi: thx!18:16
fungiyw18:18
*** dviroel is now known as dviroel|out21:36
*** dasm is now known as dasm|off21:45
priteauHello. Were there new centos-8-stream images released today on zuul infra by any chance? We're seeing some odd CI failures with "ping: socket: Operation not permitted"22:00
clarkbpriteau: the most recent image was built 2 hours and 50 minutes ago. Uploads to clouds would happen after that. Prior to that is a day and 4 hours old22:02
clarkb(we build each image daily)22:02
priteauDo you have a backdoor to spin up one and check if ping is functional without sudo?22:03
priteauI've seen such issues before, when a capability is missing on the ping binary22:04
clarkbpriteau: http://nl01.opendev.org/dib-image-list is where you can access this info. You can also download the image from https://nb01.opendev.org/images/ to test22:04
clarkb(note the first url indicates which builder built the image then you use that to construct the second url)22:05
priteauThanks!22:05
clarkb"when a capability is missing on the ping binary" you mean via selinux?22:06
clarkbI thought capabilities were typically assigned to processes but not directly to their binaries22:06
clarkbselinux applies to contents on disk though22:06
priteauhttp://unixetc.co.uk/2016/05/30/linux-capabilities-and-ping/22:07
clarkbTIL capabilites can apply to files22:08
clarkbpriteau: https://mirror.bhs1.ovh.opendev.org/centos/8-stream/BaseOS/x86_64/os/Packages/iputils-20180629-8.el8.x86_64.rpm is a new package so your hunch is probably correct. Something updated and broke that22:16
clarkbhttps://centos.pkgs.org/8-stream/centos-baseos-x86_64/iputils-20180629-8.el8.x86_64.rpm.html changelog says it is making ping unprivileged22:17
clarkbI wonder if this was a problem previously but you didn't notice, and now the latest image build should address it?22:17
priteauInteresting, good find22:18
clarkbor they broke it22:18
clarkbhttps://git.centos.org/rpms/iputils/c/efa64b5e05ccb2c1332304ad493acc874b61e13a?branch=c8s thats the actual update22:19
priteauhttps://bugs.launchpad.net/tripleo/+bug/195779222:19
clarkbThat git diff seems to show exactly what you suspected. They made it unprivileged meaning you need privilege to run it now22:21
clarkbit isn't clear to me why this was done and the commit message isn't helpful22:21
priteauThanks. I left a message on #centos-devel on Libera.22:25
priteauApparently there are unprivileged ICMP Echo sockets in Linux, there's a sysctl to manage access22:29
priteauhttps://opennms.discourse.group/t/how-to-allow-unprivileged-users-to-use-icmp-ping/157322:29
clarkbhttps://bugzilla.redhat.com/show_bug.cgi?id=1840190 ya I was just finding that22:29
clarkbbut why are they not toggling that if it is necessary by the package?22:29
clarkbpriteau: we don't seem to override any sysctl defaults in our image builds (we do set some things but in a separate file and not the ping group)22:32
clarkbI suspect the bug here is that they aren'22:32
clarkber they aren't ensuring that the sysctl is configured to allow ping in that manner via the iputils package22:32
clarkb(it should drop a file in /usr/lib/sysctl.d/ or something)22:32
priteauSo apparently there was a similar change in Fedora a while ago, but it included setting the sysctl: https://fedoraproject.org/wiki/Changes/EnableSysctlPingGroupRange22:41
clarkbya. The only other thing I see is https://codesearch.opendev.org/?q=vm.swappiness&i=nope&literal=nope&files=&excludeFiles=&repos= where jobs specifically update sysctls and that seems to edit /etc/sysctl.conf22:42
clarkbbut /usr/lib/sysctl.d/50-default.conf lacks the ping group sysctl entries on those hosts22:43
priteauThanks for the help. We'll see how to work around it tomorrow.22:45
clarkbhttps://src.fedoraproject.org/rpms/iputils/c/84948e9f8ffacd36875356f920533497a9d20e18?branch=rawhide that is where fedora did the same thing. It isn't clear to me yet where fedora added the sysctl update. I suspect centos 8 stream just neglected to do that too22:45
fungionce again i miss all the fun when i wander off to make dinner22:45
fungi"ping now requires root" is an extra fun regression22:45
priteauAh, someone on #centos-devel mentioned https://bugzilla.redhat.com/show_bug.cgi?id=203780722:46
priteauhttps://github.com/redhat-plumbers/systemd-rhel8/pull/246/files22:46
clarkbthe bugzilla busg don't really link to the changes which is annoying22:47
priteauSo hopefully it will be fixed soon-ish22:47
fungii remember when /bin/ping used to be setuid 0 in order to be able to open a raw socket22:47
fungiwe would ping uphill both ways in the snow every day22:48
fungi/sbin/ping is sill setuid on my openbsd systems22:48
fungi-r-sr-xr-x  2 root  bin  355952 Sep 30 20:01 /sbin/ping22:49
clarkbhttps://git.centos.org/rpms/systemd/commits/c8s no pending import there22:51
clarkbso ya they just got the order here backwards I think22:51
clarkbif only they had a zuul :)22:51
abishopfungi, clarkb: looks like my cinder-tempest-plugin-lvm-lio-barbican-fips job triggered by https://review.opendev.org/c/openstack/cinder/+/790535 finished22:51
abishopshould I pm one of you my pub key?22:52
clarkbabishop: sure22:52
clarkbabishop: root@198.72.124.18522:54
abishopawesome, I'm in, many thx!22:55
clarkbhttps://github.com/redhat-plumbers/systemd-rhel8/releases/tag/v239-55 appears to include the fix for sysctl and ping and that is one digit larger than the package in centos 8 stream. So ya hopefully when they import that it will be good to go (though maybe they should pull the ping update and do the package updates in the right order)23:05
*** rlandy|ruck is now known as rlandy|ruck|bbl23:45

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