)]}'
{".zuul.d/jobs.yaml":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"6db9ab7799703fc8d730793aade4a21d402daaac","unresolved":true,"context_lines":[{"line_number":49,"context_line":"        - openeuler-minimal/20.03-LTS-SP2-build-succeeds"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"- job:"},{"line_number":52,"context_line":"    name: dib-functests-centos-8-stream-python3-image"},{"line_number":53,"context_line":"    description: |"},{"line_number":54,"context_line":"      The image tests on a CentOS 8 stream build host with Python 3"},{"line_number":55,"context_line":"    parent: dib-functests"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"5cf8a8d2_8078a2e0","line":52,"updated":"2021-10-21 05:32:38.000000000","message":"I would like to not introduce another platform here and make sure this boots when built via nodepool-builder.\n\nThat is tested in https://review.opendev.org/c/openstack/diskimage-builder/+/814844\n\nAt this stage, it seems the job has timed out, suggesting the build might have worked, but the vm didn\u0027t come up and get a network.  could be glean, could be something else.","commit_id":"5699b5c3c67a9e730e3b2da22772f88ae7300bd2"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"4208481a7cf5b2df2483ce3a8a878fd65e7910c5","unresolved":true,"context_lines":[{"line_number":49,"context_line":"        - openeuler-minimal/20.03-LTS-SP2-build-succeeds"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"- job:"},{"line_number":52,"context_line":"    name: dib-functests-centos-8-stream-python3-image"},{"line_number":53,"context_line":"    description: |"},{"line_number":54,"context_line":"      The image tests on a CentOS 8 stream build host with Python 3"},{"line_number":55,"context_line":"    parent: dib-functests"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"4ed556d8_9dee0fa4","line":52,"in_reply_to":"208a36cc_4564b3a5","updated":"2021-10-21 10:52:06.000000000","message":"That\u0027s interesting!  maybe you have to set hw_machine_type in the glace metadata?\n\nif that were the case, you would want to patch that into the nodepool config at\n\nhttps://opendev.org/zuul/nodepool/src/branch/master/playbooks/nodepool-functional-container-openstack/templates/nodepool.yaml.j2\n\nas that uploads the image.\n\nit would look like the way we set metadata for arm images like at\n\nhttps://opendev.org/openstack/project-config/src/branch/master/nodepool/nb03.opendev.org.yaml#L23","commit_id":"5699b5c3c67a9e730e3b2da22772f88ae7300bd2"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"2320cd4dc21cdf1f4e3e4980dc60d885b9215dd5","unresolved":true,"context_lines":[{"line_number":49,"context_line":"        - openeuler-minimal/20.03-LTS-SP2-build-succeeds"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"- job:"},{"line_number":52,"context_line":"    name: dib-functests-centos-8-stream-python3-image"},{"line_number":53,"context_line":"    description: |"},{"line_number":54,"context_line":"      The image tests on a CentOS 8 stream build host with Python 3"},{"line_number":55,"context_line":"    parent: dib-functests"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"a10780a2_2889837f","line":52,"in_reply_to":"4ed556d8_9dee0fa4","updated":"2021-10-21 11:20:45.000000000","message":"According to nova team, hw_machine_type will not help in this case as the problem is related to the cpu_model parameter.\n\nAccording to the nova logs i see that the job is setting \"cpu_mode\u003dnone\" while the default when using qemu should be host-model [1].\n\nI guess the main issue here is devstack default config of cpu_mode when setting qemu [2].\n\n[1] https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L5032,#L5063\n[2] https://github.com/openstack/devstack/blob/714826d1a27085ba2384ca495c876588d77f0d27/lib/nova#L260-L263","commit_id":"5699b5c3c67a9e730e3b2da22772f88ae7300bd2"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"105e71e223fda2c59f377b35ca2f33cb5d375492","unresolved":true,"context_lines":[{"line_number":49,"context_line":"        - openeuler-minimal/20.03-LTS-SP2-build-succeeds"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"- job:"},{"line_number":52,"context_line":"    name: dib-functests-centos-8-stream-python3-image"},{"line_number":53,"context_line":"    description: |"},{"line_number":54,"context_line":"      The image tests on a CentOS 8 stream build host with Python 3"},{"line_number":55,"context_line":"    parent: dib-functests"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"b9daf9ea_8f86a252","line":52,"in_reply_to":"5cf8a8d2_8078a2e0","updated":"2021-10-21 07:35:53.000000000","message":"Thanks for the pointer, i see:\n\n[    5.407348] traps: dracut-rootfs-g[123] trap invalid opcode ip:7f3f184b0411 sp:7ffe9b0db1a0 error:0 in libc.so.6[7f3f1849d000+176000]\n\nin:\n\nhttps://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_8ce/814844/3/check/dib-nodepool-functional-openstack-centos-9-stream-src/8ceed6b/instances/6518a20c-1564-483f-857d-b956625322f2/console.log\n\nI\u0027ll dig on it.","commit_id":"5699b5c3c67a9e730e3b2da22772f88ae7300bd2"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"946ca1739d9f53e2e337c63994b08d1cb6de25c7","unresolved":true,"context_lines":[{"line_number":49,"context_line":"        - openeuler-minimal/20.03-LTS-SP2-build-succeeds"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"- job:"},{"line_number":52,"context_line":"    name: dib-functests-centos-8-stream-python3-image"},{"line_number":53,"context_line":"    description: |"},{"line_number":54,"context_line":"      The image tests on a CentOS 8 stream build host with Python 3"},{"line_number":55,"context_line":"    parent: dib-functests"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"208a36cc_4564b3a5","line":52,"in_reply_to":"b9daf9ea_8f86a252","updated":"2021-10-21 09:58:41.000000000","message":"I\u0027ve been able to reproduce it in a centos8 host. The problem is that centos/rhel9 have been compiled for x86_64-v2 (1). The test configuration is using qemu basic cpu which provides x86_64 without support for v2.\n\nI\u0027ve tested that using qemu with \u003ccpu mode\u003d\"host-model\" check\u003d\"partial\"/\u003e option, it boots up fine.\n\nAlso I\u0027ve tested that we get the same behavior using the official centos9 cloud image provided by CentOS team, so it\u0027s not something specific of this dib image.\n\nMay we adjust the test scenario to configure nova to use cpu_model\u003dhost-model?\n\n[1] https://developers.redhat.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level#\n[2] https://cloud.centos.org/centos/9-stream/x86_64/images/?C\u003dM;O\u003dD\n[3] https://docs.openstack.org/nova/latest/admin/cpu-models.html","commit_id":"5699b5c3c67a9e730e3b2da22772f88ae7300bd2"}],"/COMMIT_MSG":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"bf1f22d70038c3c965d2f7ad8b7efa01f556e19e","unresolved":true,"context_lines":[{"line_number":18,"context_line":"- A repository `Stream-missing-rdo` is being added which contains some packages"},{"line_number":19,"context_line":"  which are missing in production composes but should land before being pushed to"},{"line_number":20,"context_line":"  mirrors. This is the case for redhat-lsb-core, i.e."},{"line_number":21,"context_line":"- Build c9-stream image on c8-stream image as bionic/focal images"},{"line_number":22,"context_line":"have too old rpm package version which cannot process signed c9 rpms."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Also enable centos-minimal/8-stream-build-succeeds tests."},{"line_number":25,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"d65157ae_7892884e","line":22,"range":{"start_line":21,"start_character":0,"end_line":22,"end_character":69},"updated":"2021-10-17 22:18:31.000000000","message":"It looks like focal has 4.14.2, bionic has 4.14.1 and 8-stream has 4.14.3\n\nhttps://rpm.org/wiki/Releases/4.14.3 has a bunch of stuff some of which mentions signatures, so I guess that must have been the release that fixed this.\n\nAnyway, debian bullseye has 4.16, well beyond this.  so if we can get the nodepool-builder images updated this should be able to run under the devstack functional tests OK, in theory.\n\nI have been working on that in https://review.opendev.org/c/zuul/nodepool/+/806312","commit_id":"ac718db1a0c2449c16ac1073f6cc31166838d9a6"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"bf1f22d70038c3c965d2f7ad8b7efa01f556e19e","unresolved":true,"context_lines":[{"line_number":21,"context_line":"- Build c9-stream image on c8-stream image as bionic/focal images"},{"line_number":22,"context_line":"have too old rpm package version which cannot process signed c9 rpms."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Also enable centos-minimal/8-stream-build-succeeds tests."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"This patch is beint tested together with [2] to apply following list of elements:"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"3066f760_a89f9a44","line":24,"range":{"start_line":24,"start_character":0,"end_line":24,"end_character":57},"updated":"2021-10-17 22:18:31.000000000","message":"I\u0027m also working on moving the functional tests to bullseye with https://review.opendev.org/c/openstack/diskimage-builder/+/814081\n\nI\u0027d prefer to keep testing to the devstack-based test if we can.  it does a more thorough job than this build-only test by actually booting the vm","commit_id":"ac718db1a0c2449c16ac1073f6cc31166838d9a6"}],"/PATCHSET_LEVEL":[{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"dbd376ae20de68e349bd054f9403a062964b53c1","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"1e62ac6b_14398bfc","updated":"2021-10-14 08:22:58.000000000","message":"I\u0027ve reported the issue with rpm signatures to ubuntu in https://bugs.launchpad.net/ubuntu/+source/rpm/+bug/1947120","commit_id":"ac718db1a0c2449c16ac1073f6cc31166838d9a6"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"b2e94ee2c1d434d604d91fa63c64b8309ec66944","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":7,"id":"767b90b9_8fff083d","in_reply_to":"1e62ac6b_14398bfc","updated":"2021-10-14 09:13:11.000000000","message":"This is essentially the same problem we had with Fedora 34.\n\nWe now build this by extracting the container and using that as a chroot, bypassing the need for tools on the build host.  See\n\nhttps://opendev.org/openstack/diskimage-builder/src/branch/master/diskimage_builder/elements/fedora-container\n\nI think that is probably the only practical way forward for 9-stream and dib","commit_id":"ac718db1a0c2449c16ac1073f6cc31166838d9a6"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"d3991db9554252e77b23a81961a2899944b436dc","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":7,"id":"26e745f9_c0d2d681","in_reply_to":"40e5caa0_0ddebf9c","updated":"2021-10-14 12:05:57.000000000","message":"that is accurate\n\nwe do not have centos builders.  we run the zuul:nodepool-builder container (currently debian buster, soon bullseye, built from the dockerfile in nodepool) on a Ubuntu focal node.  I doubt we would want to introduce centos builders.\n\nthe devstack tests in the gate use this too\n\nthe functional tests, that don\u0027t boot images, most run on bionic directly.  these are all due for a refresh, running on debian bullseye to match the nodepool-builder container would make sense I think.","commit_id":"ac718db1a0c2449c16ac1073f6cc31166838d9a6"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"faea9bbabe0aa21a1a222c1aa1f908663ef5d930","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":7,"id":"40e5caa0_0ddebf9c","in_reply_to":"767b90b9_8fff083d","updated":"2021-10-14 11:55:22.000000000","message":"So, IIUC the status to build CS9 images is:\n\n- From scratch with centos-minimal: hitting bug with rpm in ubuntu and working in a CS8 host.\n- From existing cloud image using centos element: problem with XFS filesystem.\n- From container: we\u0027d need a new element similar to fedora-container\n\nIs this correct?\n\nI\u0027d still like to get centos-minimal working. We\u0027ll see how the ubunto bug moves on.\n\nBTW, in opendev you have centos8 nodepool images builders or just ubuntu ones?","commit_id":"ac718db1a0c2449c16ac1073f6cc31166838d9a6"},{"author":{"_account_id":6962,"name":"Kashyap Chamarthy","email":"kchamart@redhat.com","username":"kashyapc"},"change_message_id":"36e125035a94c9f877dde28b2dda873f8438d5b5","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":17,"id":"90b09cd9_f1760f5f","updated":"2021-10-21 12:25:53.000000000","message":"So, I was debugging with Alfredo.  A few summary points:\n\n- DevStack currently defaults to \"cpu_mode\u003dnone\", which on non-KVM systems translate to \"qemu64\" CPU model\n- RHEL9 / CentOS9 GCC switch to x86_64-v2[1]\n- And \"qemu64\" CPU model (which is awful for many reasons[2]) will not work with x86_64-v2\n- So for CentOS9 (and any other systems that\u0027s switching to x86_64-v2), either don\u0027t set `cpu_mode` at all in DevStack, in which case, Nova will default to libvirt\u0027s \"host-model\" CPU mode.  Or: come up with a bespoke model that\u0027ll work across.\n\nPS: One reason why DevStack defaults to \"cpu_mode\u003dnone\" (which means \"qemu64\") is that it lets one live-migrate regardless of host CPUs ... \n\n\n[1] https://developers.redhat.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level#\n[2] https://kashyapc.fedorapeople.org/Secure-CPU-config-for-KVM-based-guests-RHT_TechDay_Brussels_2020.pdf","commit_id":"5699b5c3c67a9e730e3b2da22772f88ae7300bd2"},{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"76a7446980861d86c81ac1fd1992ef8fb5144543","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":17,"id":"e3306755_8ad54997","in_reply_to":"90b09cd9_f1760f5f","updated":"2021-10-21 13:59:19.000000000","message":"This is super useful thank you. Now for some background on why devstack does what it does. The tl;dr is Nova Live Migration testing. A single cloud may give us multiple instances with different host CPUs.\n\nWhen we first started to set up Nova Live Migration testing this was a big issue. To address this the first thing I tried was a custom qemu CPU, but due to bugs in nova/libvirt/qemu (I forget exactly where) the custom CPU model was completely ignored. Eventually (and I think it was kashyap who helped solve this at the time) we realized we could use a consistent cpu model of qemu64 by not setting a value at all.\n\nWhat this means for Devstack is that we need to be careful about changing this default. DIB jobs could override and set up a model specific to those jobs; however, the DIB jobs install a \"default\" devstack and don\u0027t attempt to get too fancy so I think we should avoid this. Eventually devstack will likely need to address this directly anyway.\n\nProbably the best thing would be for devstack (or nova?) to default to an x86_64-v2 CPU model. I suspect that qemu doesn\u0027t actually define one of these? Perhaps CentOS/RHEL 9 should try and correct this issue in those tools before they bump up their CPU requirements? Note, I don\u0027t expect them to change course at this point, but do think it is reasonable to try and update those tools in the interim.\n\nThe last thing we should try to do is set a custom CPU model. It never worked for us in the past and I don\u0027t have high hopes it will be a fun experience today. But if it doesn\u0027t work that is still a bug and we can push on that.","commit_id":"5699b5c3c67a9e730e3b2da22772f88ae7300bd2"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"2ba8b5e5c8566cdb2e8b4835c1ffd6d7f9223cc9","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":18,"id":"264cddde_d07d3cb2","updated":"2021-10-25 10:30:08.000000000","message":"We need https://review.opendev.org/c/zuul/nodepool/+/806312","commit_id":"d215b90dc70777d883ad62bd66eb9309e71b69b6"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"84407845de81a5f338c857f3100ba0acb3702480","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":18,"id":"5a5d8c9a_777a8b44","updated":"2021-10-26 07:22:46.000000000","message":"recheck","commit_id":"d215b90dc70777d883ad62bd66eb9309e71b69b6"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"0b5c11161d0df20168dd951ed6ff361b7504f4cd","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":20,"id":"44022f0f_6e3cc5eb","updated":"2021-10-29 03:56:09.000000000","message":"This failed with mirror errors\n\nhttps://784bcb04b7fa94e88bb5-5f07f27cfda9f7663453c94db6894b0a.ssl.cf2.rackcdn.com/811392/20/gate/dib-nodepool-functional-openstack-centos-9-stream-src/642b21e/nodepool/builds/test-image-0000000001.log","commit_id":"cdff9045c08e825a9367a353ba43df05b3f84bc0"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"360b0d7b510b881c155ea60b17e55213508a9581","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":20,"id":"26e880a9_20c45210","updated":"2021-10-28 04:06:20.000000000","message":"it would be helpful for bigger reviews if you could tick off the comments as resolved, thanks.  generally LGTM but see inline, i would still like a root cause on the package list\n\n","commit_id":"cdff9045c08e825a9367a353ba43df05b3f84bc0"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"8a340a81690b7eee7a395c414f16b7d6b403892d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":20,"id":"3e2e33e4_d81925e8","updated":"2021-10-29 06:53:24.000000000","message":"recheck","commit_id":"cdff9045c08e825a9367a353ba43df05b3f84bc0"}],"diskimage_builder/elements/bootloader/finalise.d/50-bootloader":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"9fb8349b3674bb19b93e7dd3bad7803a0bf23fef","unresolved":true,"context_lines":[{"line_number":165,"context_line":""},{"line_number":166,"context_line":"# When building CentOS9 with centos-minimal /etc/default/grub does not exist"},{"line_number":167,"context_line":"# after grub2-tools installation. However we need CS9 to use grubby."},{"line_number":168,"context_line":"if [[ $DIB_RELEASE \u003d~ 9 ]]; then"},{"line_number":169,"context_line":"    USE_GRUBBY\u003dtrue"},{"line_number":170,"context_line":"fi"},{"line_number":171,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"9af400c3_a257c678","line":168,"range":{"start_line":168,"start_character":0,"end_line":168,"end_character":32},"updated":"2021-10-26 23:11:39.000000000","message":"This is a generic element, so this should also check for $DISTRO","commit_id":"d215b90dc70777d883ad62bd66eb9309e71b69b6"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"a9c7712dd6074445e23fd1e1e1cf77c6ae2052bf","unresolved":false,"context_lines":[{"line_number":165,"context_line":""},{"line_number":166,"context_line":"# When building CentOS9 with centos-minimal /etc/default/grub does not exist"},{"line_number":167,"context_line":"# after grub2-tools installation. However we need CS9 to use grubby."},{"line_number":168,"context_line":"if [[ $DIB_RELEASE \u003d~ 9 ]]; then"},{"line_number":169,"context_line":"    USE_GRUBBY\u003dtrue"},{"line_number":170,"context_line":"fi"},{"line_number":171,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"a4bcdd22_7b2098bc","line":168,"range":{"start_line":168,"start_character":0,"end_line":168,"end_character":32},"in_reply_to":"9af400c3_a257c678","updated":"2021-10-28 07:24:08.000000000","message":"Done","commit_id":"d215b90dc70777d883ad62bd66eb9309e71b69b6"}],"diskimage_builder/elements/yum-minimal/package-installs.yaml":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"9fb8349b3674bb19b93e7dd3bad7803a0bf23fef","unresolved":true,"context_lines":[{"line_number":17,"context_line":"# to facilitate a basic network."},{"line_number":18,"context_line":"NetworkManager:"},{"line_number":19,"context_line":"dhcp-client:"},{"line_number":20,"context_line":"# NOTE(amoralej) CentOS 9 does not provies redhat-lsb package."},{"line_number":21,"context_line":"# Instead we explicit a list of basic utilites that can be"},{"line_number":22,"context_line":"# useful in base images."},{"line_number":23,"context_line":"lsb_release:"},{"line_number":24,"context_line":"  when: DIB_RELEASE !\u003d 9-stream"},{"line_number":25,"context_line":"ed:"},{"line_number":26,"context_line":"  when: DIB_RELEASE \u003d 9-stream"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"5d573837_3d178406","line":23,"range":{"start_line":20,"start_character":0,"end_line":23,"end_character":12},"updated":"2021-10-26 23:11:39.000000000","message":"is there some reference to lsb packages not being available being a concious choice?  this seems weird; fedora has it.\n\nthe idea is that this is a virtual package; if this is really the case and there\u0027s no better \"base\" package to bring in i think it would be better to match on 9-stream in the pkg-map and just list these packages there as implementing lsb_release.  You should be able to list multiple pacakges one after the other\n\nit will look something like\n\n   \"release\": {\n      \"centos\": {\n          \"9-stream\": {\n              \"lsb_release\": \"ed hostname ...\"\n          }\n      }","commit_id":"d215b90dc70777d883ad62bd66eb9309e71b69b6"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"a9c7712dd6074445e23fd1e1e1cf77c6ae2052bf","unresolved":false,"context_lines":[{"line_number":17,"context_line":"# to facilitate a basic network."},{"line_number":18,"context_line":"NetworkManager:"},{"line_number":19,"context_line":"dhcp-client:"},{"line_number":20,"context_line":"# NOTE(amoralej) CentOS 9 does not provies redhat-lsb package."},{"line_number":21,"context_line":"# Instead we explicit a list of basic utilites that can be"},{"line_number":22,"context_line":"# useful in base images."},{"line_number":23,"context_line":"lsb_release:"},{"line_number":24,"context_line":"  when: DIB_RELEASE !\u003d 9-stream"},{"line_number":25,"context_line":"ed:"},{"line_number":26,"context_line":"  when: DIB_RELEASE \u003d 9-stream"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"fae9cacb_a43cc178","line":23,"range":{"start_line":20,"start_character":0,"end_line":23,"end_character":12},"in_reply_to":"5d573837_3d178406","updated":"2021-10-28 07:24:08.000000000","message":"This is the bugzilla about it https://bugzilla.redhat.com/show_bug.cgi?id\u003d2012924.\n\nok, i\u0027ll update pkg-map as proposed.","commit_id":"d215b90dc70777d883ad62bd66eb9309e71b69b6"}],"diskimage_builder/elements/yum-minimal/pkg-map":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"360b0d7b510b881c155ea60b17e55213508a9581","unresolved":true,"context_lines":[{"line_number":21,"context_line":"              \"lsb_release\": \"ed hostname patch postfix tar time\""},{"line_number":22,"context_line":"          }"},{"line_number":23,"context_line":"      }"},{"line_number":24,"context_line":"  },"},{"line_number":25,"context_line":"\"family\": {"},{"line_number":26,"context_line":"    \"redhat\": {"},{"line_number":27,"context_line":"      \"lsb_release\": \"redhat-lsb-core\""}],"source_content_type":"application/octet-stream","patch_set":20,"id":"daeb7e00_0e13759d","line":24,"updated":"2021-10-28 04:06:20.000000000","message":"I\u0027d still like to know how this arbitrary list was generated?  i\u0027m a bit worried because we still have things like iscsi being pulled in 10+ years later a nobody really knows why any more.","commit_id":"cdff9045c08e825a9367a353ba43df05b3f84bc0"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"94d1a721866003617a6d0c7dcd3e82c87c43a520","unresolved":true,"context_lines":[{"line_number":21,"context_line":"              \"lsb_release\": \"ed hostname patch postfix tar time\""},{"line_number":22,"context_line":"          }"},{"line_number":23,"context_line":"      }"},{"line_number":24,"context_line":"  },"},{"line_number":25,"context_line":"\"family\": {"},{"line_number":26,"context_line":"    \"redhat\": {"},{"line_number":27,"context_line":"      \"lsb_release\": \"redhat-lsb-core\""}],"source_content_type":"application/octet-stream","patch_set":20,"id":"28c1d810_4271aaca","line":24,"in_reply_to":"daeb7e00_0e13759d","updated":"2021-10-28 07:31:26.000000000","message":"I got the list of packages that would be pulled as deps from from redhat-lsb-core and simply took the ones that i thought may be useful to have in images ant that users would expect to hav installed. It\u0027s just my own criteria, could be cleaned.","commit_id":"cdff9045c08e825a9367a353ba43df05b3f84bc0"}],"diskimage_builder/elements/yum-minimal/root.d/08-yum-chroot":[{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"35e8868f377e291d99872d6a50383a7d5bc8d4f7","unresolved":true,"context_lines":[{"line_number":88,"context_line":"    if [[ ${DISTRO_NAME} \u003d fedora \u0026\u0026 ${DIB_RELEASE} -gt 29 ]]; then"},{"line_number":89,"context_line":"        packages+\u003d\"fedora-release-cloud fedora-release-common \""},{"line_number":90,"context_line":"    elif [[ ${DISTRO_NAME} \u003d\u003d \u0027centos\u0027 \u0026\u0026 ${DIB_RELEASE} \u003d \u00279-stream\u0027 ]]; then"},{"line_number":91,"context_line":"        packages+\u003d\"bash glibc ncurses-libs \""},{"line_number":92,"context_line":"    elif [[ ${DISTRO_NAME} \u003d\u003d \u0027openeuler\u0027 ]]; then"},{"line_number":93,"context_line":"        packages+\u003d\"openEuler-release \""},{"line_number":94,"context_line":"    else"}],"source_content_type":"application/x-shellscript","patch_set":20,"id":"9aaaa44d_14cec008","line":91,"range":{"start_line":91,"start_character":24,"end_line":91,"end_character":29},"updated":"2021-10-28 22:51:36.000000000","message":"It seems odd that installing centos won\u0027t get you a glibc.","commit_id":"cdff9045c08e825a9367a353ba43df05b3f84bc0"}],"roles/dib-functests/tasks/main.yaml":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"9fb8349b3674bb19b93e7dd3bad7803a0bf23fef","unresolved":true,"context_lines":[{"line_number":51,"context_line":"  become: yes"},{"line_number":52,"context_line":"  when: ansible_os_family \u003d\u003d \u0027Debian\u0027"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"- name: install dnf download from package (redhat)"},{"line_number":55,"context_line":"  package:"},{"line_number":56,"context_line":"    name: yum-utils"},{"line_number":57,"context_line":"    state: present"},{"line_number":58,"context_line":"  become: yes"},{"line_number":59,"context_line":"  when: ansible_os_family \u003d\u003d \u0027RedHat\u0027"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"- name: Run dib functional tests"},{"line_number":62,"context_line":"  shell:"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"94273636_12bbe5fa","line":59,"range":{"start_line":54,"start_character":0,"end_line":59,"end_character":37},"updated":"2021-10-26 23:11:39.000000000","message":"this should be expressed via bindep.txt (it is already in there for redhat platforms).  if there\u0027s some context we\u0027re not pre-installing bindep before running tests that\u0027s a bug, but i think this can probably just be removed.","commit_id":"d215b90dc70777d883ad62bd66eb9309e71b69b6"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"a9c7712dd6074445e23fd1e1e1cf77c6ae2052bf","unresolved":false,"context_lines":[{"line_number":51,"context_line":"  become: yes"},{"line_number":52,"context_line":"  when: ansible_os_family \u003d\u003d \u0027Debian\u0027"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"- name: install dnf download from package (redhat)"},{"line_number":55,"context_line":"  package:"},{"line_number":56,"context_line":"    name: yum-utils"},{"line_number":57,"context_line":"    state: present"},{"line_number":58,"context_line":"  become: yes"},{"line_number":59,"context_line":"  when: ansible_os_family \u003d\u003d \u0027RedHat\u0027"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"- name: Run dib functional tests"},{"line_number":62,"context_line":"  shell:"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"b74a24dd_d7c98dac","line":59,"range":{"start_line":54,"start_character":0,"end_line":59,"end_character":37},"in_reply_to":"94273636_12bbe5fa","updated":"2021-10-28 07:24:08.000000000","message":"Actually, it can be removed.","commit_id":"d215b90dc70777d883ad62bd66eb9309e71b69b6"}],"roles/dib-setup-gate-mirrors/tasks/main.yaml":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"9fb8349b3674bb19b93e7dd3bad7803a0bf23fef","unresolved":true,"context_lines":[{"line_number":38,"context_line":"    - base.repo"},{"line_number":39,"context_line":"    - appstream.repo"},{"line_number":40,"context_line":"    - extras.repo"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"- name: Create centos-minimal 8-stream directory"},{"line_number":43,"context_line":"  file:"},{"line_number":44,"context_line":"    path: \"{{ dib_gate_mirror_repos }}/centos-minimal/8-stream/yum.repos.d\""},{"line_number":45,"context_line":"    state: directory"},{"line_number":46,"context_line":"    mode: 0775"},{"line_number":47,"context_line":"    recurse: yes"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  # Re use CentOS 8 templates"},{"line_number":50,"context_line":"- name: Install centos-minimal 8-stream repo files"},{"line_number":51,"context_line":"  template:"},{"line_number":52,"context_line":"    dest: \"{{ dib_gate_mirror_repos }}/centos-minimal/8-stream/yum.repos.d/dib-mirror-{{ item }}\""},{"line_number":53,"context_line":"    mode: 0644"},{"line_number":54,"context_line":"    src: \"centos-minimal/8/{{ item }}.j2\""},{"line_number":55,"context_line":"  with_items:"},{"line_number":56,"context_line":"    - base.repo"},{"line_number":57,"context_line":"    - appstream.repo"},{"line_number":58,"context_line":"    - extras.repo"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"- name: Create centos-minimal 9-stream directory"},{"line_number":61,"context_line":"  file:"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"18fa4d31_322c1dc9","line":58,"range":{"start_line":41,"start_character":0,"end_line":58,"end_character":17},"updated":"2021-10-26 23:11:39.000000000","message":"please pull the 8-stream related bits out into a prior change, and keep this 9-stream focused","commit_id":"d215b90dc70777d883ad62bd66eb9309e71b69b6"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"a9c7712dd6074445e23fd1e1e1cf77c6ae2052bf","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    - base.repo"},{"line_number":39,"context_line":"    - appstream.repo"},{"line_number":40,"context_line":"    - extras.repo"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"- name: Create centos-minimal 8-stream directory"},{"line_number":43,"context_line":"  file:"},{"line_number":44,"context_line":"    path: \"{{ dib_gate_mirror_repos }}/centos-minimal/8-stream/yum.repos.d\""},{"line_number":45,"context_line":"    state: directory"},{"line_number":46,"context_line":"    mode: 0775"},{"line_number":47,"context_line":"    recurse: yes"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  # Re use CentOS 8 templates"},{"line_number":50,"context_line":"- name: Install centos-minimal 8-stream repo files"},{"line_number":51,"context_line":"  template:"},{"line_number":52,"context_line":"    dest: \"{{ dib_gate_mirror_repos }}/centos-minimal/8-stream/yum.repos.d/dib-mirror-{{ item }}\""},{"line_number":53,"context_line":"    mode: 0644"},{"line_number":54,"context_line":"    src: \"centos-minimal/8/{{ item }}.j2\""},{"line_number":55,"context_line":"  with_items:"},{"line_number":56,"context_line":"    - base.repo"},{"line_number":57,"context_line":"    - appstream.repo"},{"line_number":58,"context_line":"    - extras.repo"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"- name: Create centos-minimal 9-stream directory"},{"line_number":61,"context_line":"  file:"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"b796ebfb_02da8027","line":58,"range":{"start_line":41,"start_character":0,"end_line":58,"end_character":17},"in_reply_to":"18fa4d31_322c1dc9","updated":"2021-10-28 07:24:08.000000000","message":"Done","commit_id":"d215b90dc70777d883ad62bd66eb9309e71b69b6"}]}
