)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"edb6a46674f46331062a6c64faa940b31fa76682","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"eb50b942_c28cdaba","updated":"2026-11-30 13:10:11.000000000","message":"-1 so it\u0027s not merged without tests","commit_id":"4ee9cd1689e247c74cf7b40f9007bc199024c3a9"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"c967cd35d5948ba1091453c66e95f6ef446826d6","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":2,"id":"4c55ffe9_b025c864","updated":"2026-11-30 13:14:46.000000000","message":"Another thing that crossed my mind - why are we removing that file in nova-compute and kerbside? I assume in nova-compute it is required so we don\u0027t end up with the same machine-id","commit_id":"4ee9cd1689e247c74cf7b40f9007bc199024c3a9"},{"author":{"_account_id":17669,"name":"Doug Szumski","email":"doug@stackhpc.com","username":"DougSzumski"},"change_message_id":"d35ea21ecec390d7f9ddbfa6aa84cb9c7fc1a03c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"aaf8c6c1_ad5aa31e","updated":"2026-11-30 11:28:06.000000000","message":"Seems reasonable- triggered via https://review.opendev.org/c/openstack/kolla/+/1015753\naside ^ should fix the journal permission issues bug","commit_id":"4ee9cd1689e247c74cf7b40f9007bc199024c3a9"},{"author":{"_account_id":28048,"name":"Will Szumski","email":"will@stackhpc.com","username":"jovial"},"change_message_id":"4d417a122b27b9798681edb9d72dee751fa3b054","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da1316ac_818c2cde","updated":"2026-11-30 18:39:52.000000000","message":"recheck","commit_id":"4ee9cd1689e247c74cf7b40f9007bc199024c3a9"},{"author":{"_account_id":28048,"name":"Will Szumski","email":"will@stackhpc.com","username":"jovial"},"change_message_id":"4a901b8649b9cb5e15dc79faad724b9a0688bc24","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":2,"id":"c57b06aa_bd425bcf","in_reply_to":"04be3984_45d6e2dc","updated":"2026-11-30 13:52:26.000000000","message":"I\u0027ve proposed: https://review.opendev.org/c/openstack/kolla-ansible/+/1017999. Is that OK?","commit_id":"4ee9cd1689e247c74cf7b40f9007bc199024c3a9"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"31605e4bcd635135ec3af9b774a1f2a0b6bb8c9c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"77d87975_a401b308","in_reply_to":"4c55ffe9_b025c864","updated":"2026-11-30 13:24:49.000000000","message":"Done","commit_id":"4ee9cd1689e247c74cf7b40f9007bc199024c3a9"},{"author":{"_account_id":28048,"name":"Will Szumski","email":"will@stackhpc.com","username":"jovial"},"change_message_id":"65bf7bcc1163d76fca233e5aacaa8cd8472e7b1e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"cf20eef0_838c7cf0","in_reply_to":"77d87975_a401b308","updated":"2026-11-30 13:48:50.000000000","message":"This is an interesting point. Claude analysis:\n\n    It was added for https://bugs.launchpad.net/kolla/+bug/1539064.  Nova\u0027s libvirt\n    driver reads /etc/machine-id directly (_get_host_sysinfo_serial_os and _auto).\n    With [libvirt] sysinfo_serial \u003d auto, a missing file falls back to the hardware\n    UUID, but an empty file raises \"Unable to get host UUID: /etc/machine-id is\n    empty\".  So nova-compute needs it missing rather than empty. The default is\n    unique, which never reads the file.\n\nIt\u0027s not clear for kerbside. It seems like it might have been copied from nova as nothing seems to reference machine id in the codebase.\n\nWorth noting that those two containers still remove machine-id even after this change, since they do rm -rf in later layers.","commit_id":"4ee9cd1689e247c74cf7b40f9007bc199024c3a9"},{"author":{"_account_id":28048,"name":"Will Szumski","email":"will@stackhpc.com","username":"jovial"},"change_message_id":"cb7f3c32d60279dc160f8c3cf2f69bfb98b8d46f","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":2,"id":"cfc437ab_b744b986","in_reply_to":"c57b06aa_bd425bcf","updated":"2026-11-30 14:08:21.000000000","message":"I\u0027m also testing via: https://review.opendev.org/c/openstack/kayobe/+/1017859, which shows that this change fixes the issue.","commit_id":"4ee9cd1689e247c74cf7b40f9007bc199024c3a9"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"df03a48018db24e3e8dafbce13668d2ceff31294","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"16c16bc4_7861e723","in_reply_to":"cfc437ab_b744b986","updated":"2026-11-30 14:34:21.000000000","message":"Done","commit_id":"4ee9cd1689e247c74cf7b40f9007bc199024c3a9"},{"author":{"_account_id":28048,"name":"Will Szumski","email":"will@stackhpc.com","username":"jovial"},"change_message_id":"5c0a241f4576549af1470e0309df7381d30dcca7","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":2,"id":"04be3984_45d6e2dc","in_reply_to":"eb50b942_c28cdaba","updated":"2026-11-30 13:30:16.000000000","message":"Where should I add the tests? And what should we be checking?","commit_id":"4ee9cd1689e247c74cf7b40f9007bc199024c3a9"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"6592059c2ab0e98c5d57deaf0bcff22929f841e9","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"a5faa929_89a291e7","updated":"2026-12-01 22:48:31.000000000","message":"recheck connection failures","commit_id":"8d9fb2c449290ed50cec122ed08310cff802091a"}],"kolla/docker/base/Dockerfile.j2":[{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"3f74e603c2d452c8ae770ce8ce71b39344c0c5f6","unresolved":true,"context_lines":[{"line_number":156,"context_line":"   a missing /etc/machine-id as first boot and enables all units according to"},{"line_number":157,"context_line":"   presets, e.g. firewalld in bifrost. An empty file gets a transient ID. #}"},{"line_number":158,"context_line":"{{ macros.install_packages(base_rocky_packages | customizable(\"rocky_packages\")) }} \\"},{"line_number":159,"context_line":"    \u0026\u0026 truncate -s 0 /etc/machine-id"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{# endif for base_package_type rpm #}"},{"line_number":162,"context_line":"{% elif base_package_type \u003d\u003d \u0027deb\u0027 %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"1bc97c13_e12c04f0","line":159,"updated":"2026-11-30 10:50:55.000000000","message":"I think doing that here is a bit overkill, while you can just do this in the bifrost-deploy image and should work:\n  RUN echo \u0027disable *\u0027 \u003e /etc/systemd/system-preset/00-kolla.preset\n\nCan you try this out?","commit_id":"47db2c131508682cb4cc31cc005cc78f11c3adcb"},{"author":{"_account_id":28048,"name":"Will Szumski","email":"will@stackhpc.com","username":"jovial"},"change_message_id":"5f2802bd7fe2d07e72e4450f72c8485ff6491767","unresolved":true,"context_lines":[{"line_number":156,"context_line":"   a missing /etc/machine-id as first boot and enables all units according to"},{"line_number":157,"context_line":"   presets, e.g. firewalld in bifrost. An empty file gets a transient ID. #}"},{"line_number":158,"context_line":"{{ macros.install_packages(base_rocky_packages | customizable(\"rocky_packages\")) }} \\"},{"line_number":159,"context_line":"    \u0026\u0026 truncate -s 0 /etc/machine-id"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{# endif for base_package_type rpm #}"},{"line_number":162,"context_line":"{% elif base_package_type \u003d\u003d \u0027deb\u0027 %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"734fe8e1_894cedd9","line":159,"in_reply_to":"09318af5_56427d49","updated":"2026-11-30 11:09:50.000000000","message":"Empty file also seems to what the published containers use as well. E.g:\n\n\twill@will-XPS-9315:~$ docker run --rm -it quay.io/rockylinux/rockylinux:10 cat /etc/machine-id\n\twill@will-XPS-9315:~$ docker run --rm -it quay.io/rockylinux/rockylinux:10 stat /etc/machine-id\n\t  File: /etc/machine-id\n\t  Size: 0               Blocks: 0          IO Block: 4096   regular empty file\n\tDevice: 0,156   Inode: 26114567    Links: 1\n\tAccess: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)\n\tAccess: 2025-11-16 00:39:58.000000000 +0000\n\tModify: 2025-11-16 00:39:58.000000000 +0000\n\tChange: 2026-02-12 12:08:57.291030030 +0000\n\t Birth: 2026-02-12 12:08:57.291030030 +0000\n\twill@will-XPS-9315:~$ docker run --rm -it docker.io/library/ubuntu:noble cat /etc/machine-id\n\twill@will-XPS-9315:~$ docker run --rm -it quay.io/rockylinux/rockylinux:10 stat /etc/machine-id\n\t  File: /etc/machine-id\n\t  Size: 0               Blocks: 0          IO Block: 4096   regular empty file\n\tDevice: 0,156   Inode: 26114567    Links: 1\n\tAccess: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)\n\tAccess: 2025-11-16 00:39:58.000000000 +0000\n\tModify: 2025-11-16 00:39:58.000000000 +0000\n\tChange: 2026-02-12 12:08:57.291030030 +0000\n\t Birth: 2026-02-12 12:08:57.291030030 +0000\n\nWas there a particular reason to trigger first boot behavior?","commit_id":"47db2c131508682cb4cc31cc005cc78f11c3adcb"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"5fa1a9005536f1e0f44c03579dd1955baa5c0af6","unresolved":true,"context_lines":[{"line_number":156,"context_line":"   a missing /etc/machine-id as first boot and enables all units according to"},{"line_number":157,"context_line":"   presets, e.g. firewalld in bifrost. An empty file gets a transient ID. #}"},{"line_number":158,"context_line":"{{ macros.install_packages(base_rocky_packages | customizable(\"rocky_packages\")) }} \\"},{"line_number":159,"context_line":"    \u0026\u0026 truncate -s 0 /etc/machine-id"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{# endif for base_package_type rpm #}"},{"line_number":162,"context_line":"{% elif base_package_type \u003d\u003d \u0027deb\u0027 %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"61ffb09e_0332a89f","line":159,"in_reply_to":"1bc97c13_e12c04f0","updated":"2026-11-30 10:51:36.000000000","message":"Not counting that we should have a check in the bifrost CI that ensures firewalld is not started","commit_id":"47db2c131508682cb4cc31cc005cc78f11c3adcb"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"368f7a51cb932f0cf038bccde877f5209c3720ff","unresolved":true,"context_lines":[{"line_number":156,"context_line":"   a missing /etc/machine-id as first boot and enables all units according to"},{"line_number":157,"context_line":"   presets, e.g. firewalld in bifrost. An empty file gets a transient ID. #}"},{"line_number":158,"context_line":"{{ macros.install_packages(base_rocky_packages | customizable(\"rocky_packages\")) }} \\"},{"line_number":159,"context_line":"    \u0026\u0026 truncate -s 0 /etc/machine-id"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{# endif for base_package_type rpm #}"},{"line_number":162,"context_line":"{% elif base_package_type \u003d\u003d \u0027deb\u0027 %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"93c786a3_9e559e8c","line":159,"in_reply_to":"400818ba_2e1427a6","updated":"2026-11-30 13:20:34.000000000","message":"Or maybe we should rather bind mount machine-id in kolla-ansible?","commit_id":"47db2c131508682cb4cc31cc005cc78f11c3adcb"},{"author":{"_account_id":28048,"name":"Will Szumski","email":"will@stackhpc.com","username":"jovial"},"change_message_id":"5c0ac7e339d4bacbd805b8550d70a9ccde5e2543","unresolved":true,"context_lines":[{"line_number":156,"context_line":"   a missing /etc/machine-id as first boot and enables all units according to"},{"line_number":157,"context_line":"   presets, e.g. firewalld in bifrost. An empty file gets a transient ID. #}"},{"line_number":158,"context_line":"{{ macros.install_packages(base_rocky_packages | customizable(\"rocky_packages\")) }} \\"},{"line_number":159,"context_line":"    \u0026\u0026 truncate -s 0 /etc/machine-id"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{# endif for base_package_type rpm #}"},{"line_number":162,"context_line":"{% elif base_package_type \u003d\u003d \u0027deb\u0027 %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"f9be3f8e_d801e308","line":159,"in_reply_to":"61ffb09e_0332a89f","updated":"2026-11-30 10:56:27.000000000","message":"I guess this affects any container that uses systemd for the init process as it causes all of the presets to be enabled.","commit_id":"47db2c131508682cb4cc31cc005cc78f11c3adcb"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"b19b412e46e43c625fabb42036ebff49672d3e50","unresolved":false,"context_lines":[{"line_number":156,"context_line":"   a missing /etc/machine-id as first boot and enables all units according to"},{"line_number":157,"context_line":"   presets, e.g. firewalld in bifrost. An empty file gets a transient ID. #}"},{"line_number":158,"context_line":"{{ macros.install_packages(base_rocky_packages | customizable(\"rocky_packages\")) }} \\"},{"line_number":159,"context_line":"    \u0026\u0026 truncate -s 0 /etc/machine-id"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{# endif for base_package_type rpm #}"},{"line_number":162,"context_line":"{% elif base_package_type \u003d\u003d \u0027deb\u0027 %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"92c3b730_a734211e","line":159,"in_reply_to":"6d06b5d4_773c7eb6","updated":"2026-12-01 06:47:19.000000000","message":"Acknowledged","commit_id":"47db2c131508682cb4cc31cc005cc78f11c3adcb"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"edb6a46674f46331062a6c64faa940b31fa76682","unresolved":true,"context_lines":[{"line_number":156,"context_line":"   a missing /etc/machine-id as first boot and enables all units according to"},{"line_number":157,"context_line":"   presets, e.g. firewalld in bifrost. An empty file gets a transient ID. #}"},{"line_number":158,"context_line":"{{ macros.install_packages(base_rocky_packages | customizable(\"rocky_packages\")) }} \\"},{"line_number":159,"context_line":"    \u0026\u0026 truncate -s 0 /etc/machine-id"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{# endif for base_package_type rpm #}"},{"line_number":162,"context_line":"{% elif base_package_type \u003d\u003d \u0027deb\u0027 %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"400818ba_2e1427a6","line":159,"in_reply_to":"734fe8e1_894cedd9","updated":"2026-11-30 13:10:11.000000000","message":"No reason - but still I\u0027d expect to have tests in place in bifrost role that prevent resurfacing of that bug in future - if no firewalld is what we expect.","commit_id":"47db2c131508682cb4cc31cc005cc78f11c3adcb"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"31605e4bcd635135ec3af9b774a1f2a0b6bb8c9c","unresolved":true,"context_lines":[{"line_number":156,"context_line":"   a missing /etc/machine-id as first boot and enables all units according to"},{"line_number":157,"context_line":"   presets, e.g. firewalld in bifrost. An empty file gets a transient ID. #}"},{"line_number":158,"context_line":"{{ macros.install_packages(base_rocky_packages | customizable(\"rocky_packages\")) }} \\"},{"line_number":159,"context_line":"    \u0026\u0026 truncate -s 0 /etc/machine-id"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{# endif for base_package_type rpm #}"},{"line_number":162,"context_line":"{% elif base_package_type \u003d\u003d \u0027deb\u0027 %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"9c2918d5_1f32f29a","line":159,"in_reply_to":"93c786a3_9e559e8c","updated":"2026-11-30 13:24:49.000000000","message":"Ok, that sounds like the most sensible thing to do - truncate it here, and bind mount it from the host in all container images (or just the ones that need it, but finding out that list is going to be hard)","commit_id":"47db2c131508682cb4cc31cc005cc78f11c3adcb"},{"author":{"_account_id":28048,"name":"Will Szumski","email":"will@stackhpc.com","username":"jovial"},"change_message_id":"8c136f48474e40861e157313f22d8c6e07e0b05c","unresolved":true,"context_lines":[{"line_number":156,"context_line":"   a missing /etc/machine-id as first boot and enables all units according to"},{"line_number":157,"context_line":"   presets, e.g. firewalld in bifrost. An empty file gets a transient ID. #}"},{"line_number":158,"context_line":"{{ macros.install_packages(base_rocky_packages | customizable(\"rocky_packages\")) }} \\"},{"line_number":159,"context_line":"    \u0026\u0026 truncate -s 0 /etc/machine-id"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{# endif for base_package_type rpm #}"},{"line_number":162,"context_line":"{% elif base_package_type \u003d\u003d \u0027deb\u0027 %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"6d06b5d4_773c7eb6","line":159,"in_reply_to":"9c2918d5_1f32f29a","updated":"2026-11-30 15:05:33.000000000","message":"From what I can tell, it\u0027s just nova that reads /etc/machine-id and only if you override: [libvirt]sysinfo_serial to os or auto; the default is unique[1], which means that each instance gets a unique serial (rather than being tied to an ID from the hypervisor). Unique is also the nova recommendation.\n\nHappy to propose the bind mount if we think its necessary, but it only comes in to play if someone explicitly overrides sysinfo_serial. There is also an edge case to aware of of: if someone is already using auto, it would pick machine-id in preference to libvirt derived hardware id, causing a change in serial on next hard reboot.\n\n[1] https://docs.openstack.org/nova/latest/configuration/config.html#libvirt.sysinfo_serial","commit_id":"47db2c131508682cb4cc31cc005cc78f11c3adcb"},{"author":{"_account_id":28048,"name":"Will Szumski","email":"will@stackhpc.com","username":"jovial"},"change_message_id":"1c96f90e101f91867251cb1dc27bfd33be1ac4fb","unresolved":true,"context_lines":[{"line_number":156,"context_line":"   a missing /etc/machine-id as first boot and enables all units according to"},{"line_number":157,"context_line":"   presets, e.g. firewalld in bifrost. An empty file gets a transient ID. #}"},{"line_number":158,"context_line":"{{ macros.install_packages(base_rocky_packages | customizable(\"rocky_packages\")) }} \\"},{"line_number":159,"context_line":"    \u0026\u0026 truncate -s 0 /etc/machine-id"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{# endif for base_package_type rpm #}"},{"line_number":162,"context_line":"{% elif base_package_type \u003d\u003d \u0027deb\u0027 %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"09318af5_56427d49","line":159,"in_reply_to":"f9be3f8e_d801e308","updated":"2026-11-30 11:03:08.000000000","message":"Do we ever want to trigger first boot semantics: https://www.freedesktop.org/software/systemd/man/latest/machine-id.html#First%20Boot%20Semantics","commit_id":"47db2c131508682cb4cc31cc005cc78f11c3adcb"}]}
