Your message dated Fri, 06 Oct 2023 08:42:26 +0000 with message-id <[email protected]> and subject line Bug#1053514: fixed in openstack-cluster-installer 42.3.0 has caused the Debian Bug report #1053514, regarding openstack-cluster-installer-agent: (oci-system-serial) Bugfix for handling NICs which do not report a speed to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 1053514: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053514 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: openstack-cluster-installer-agent Version: 42.3.0~bpo12+1 The command used in openstack-cluster-installer-agent to determine the speed of a NIC can in some cases return the string "null", but the script only checks for an empty response when checking if no speed could be determined # ip link show dev ens3 | grep 'link/ether' | awk '{print $2}' 52:54:00:55:74:03 # lshw -class network -json 2>/dev/null | jq '.[] | select(.serial == "'52:54:00:55:74:03'") | .capacity' | head -n 1 null This prevents installations as OCI cannot find a matching NIC to configure the network. I've attached a patch which updates openstack-cluster-installer-agent to handle the "null" response -- Regards Jimdiff --git a/common/usr/bin/openstack-cluster-installer-agent b/common/usr/bin/openstack-cluster-installer-agent index 85df5d6e..22f30999 100755 --- a/common/usr/bin/openstack-cluster-installer-agent +++ b/common/usr/bin/openstack-cluster-installer-agent @@ -194,7 +194,7 @@ for i in $(ip link show | grep -v '^ ' | grep -v 'lo:' | cut -d' ' -f2 | cut -d: fi NET_DRIVER_NAME=$(ethtool -i $i | grep driver | sed -e 's/driver: //' | awk '{print $1}') LSHW_SPEED=$(lshw -class network -json 2>/dev/null | jq '.[] | select(.serial == "'${MAC_ADDR}'") | .capacity' | head -n 1) - if [ -n "${LSHW_SPEED}" ] ; then + if [ -n "${LSHW_SPEED}" ] && [ "${LSHW_SPEED}" != "null" ] ; then ETH_SPEED=$(( ${LSHW_SPEED} / 1000000 )) else # If we can't find a speed, let's report it as 100 MBits/s
--- End Message ---
--- Begin Message ---Source: openstack-cluster-installer Source-Version: 42.3.0 Done: Thomas Goirand <[email protected]> We believe that the bug you reported is fixed in the latest version of openstack-cluster-installer, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Thomas Goirand <[email protected]> (supplier of updated openstack-cluster-installer package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 06 Oct 2023 10:00:43 +0200 Source: openstack-cluster-installer Architecture: source Version: 42.3.0 Distribution: unstable Urgency: medium Maintainer: Debian OpenStack <[email protected]> Changed-By: Thomas Goirand <[email protected]> Closes: 1028457 1039302 1053506 1053507 1053510 1053513 1053514 Changes: openstack-cluster-installer (42.3.0) unstable; urgency=medium . [ Thomas Goirand ] * Use a new field for the Designate ptr_zone_email. * Disable amphora logging in Octavia. * Depends on default-mysql-server | mariadb-server, not just default-mysql-server. * openstack-cluster-installer-build-live-image: do not attempt to install megactl, megamgr and dellmgr when installing megacli in the live image. * openstack-cluster-installer-agent: use first RAID controller (head -n 1). * oci-block-device-udev-sorting: Add ProLiant DL365 Gen10 Plus support. * Add support for using storcli instead of megacli. * Set keystone_authtoken/service_type in cinder.conf. * Add support for puppet-openstack Antelope. * network.pp: rotate /var/log/conntrackd-stats.log daily. * Fix: new compute not being discovered automatically (because of a not defined $clusterid in a MySQL query). * New ocicli feature to re-assign the IPMI address of a server. * Add support for HPE ProLiant DL345 Gen11. * Swiftstores: do not attempt to XFS format nvme0n1 if nvme0 is the system disk. * lldpd: list existing NICs instead of just eth*, which doesn't work with BIOS names. * Agent: report version of MegaRAID 12GSAS/PCIe Secure SAS39xx controller. * Fix handling of CPU model extra flags params. * Add oci-poc-virtual-network.service (Closes: #1039302). * Increased the size of the BIOS version field to 64 chars (Closes: #1028457). * Correctly transmit "$self_signed_api_cert" to messaging nodes. * Applied patches sent by Jim Scadden to the Debian BTS. Thanks a lot to him for his bugfix contributions: - fix ocicli machine-guess-racking returns error when no match found (Closes: #1053506). - fix 500 error on oci agent first report (Closes: #1053507). - fix puppetserver sign command needs updating for puppet 7 (Closes: #1053510). - Use "dmidecode -s system-uuid" on QEMU VMs in some cases (Closes: #1053513). - Bugfix for handling NICs which do not report a speed (Closes: #1053514). * Cleans better. . [ Axel Jacquet ] * Use a new field for managed_resource_tenant_id. * Add deployment of MySQL server + rally in the Tempest role. Checksums-Sha1: 0ea04a03f03aadeb65aa06f7d3b19b1818f29e02 2514 openstack-cluster-installer_42.3.0.dsc 7823f07c4e1bc2358a19c89901186f55062868d3 377412 openstack-cluster-installer_42.3.0.tar.xz 4f5b8603806b1a2abe0d0969070eb97cfcd45a0e 9383 openstack-cluster-installer_42.3.0_amd64.buildinfo Checksums-Sha256: 92e2f6bf19115d87910d7b01cf136f8378b4bb02d3fc954f4eba68953c83d146 2514 openstack-cluster-installer_42.3.0.dsc d55132f2e46c8754cd9063b317d89f23fec53133f340fd4ec97769f5ac7f4a01 377412 openstack-cluster-installer_42.3.0.tar.xz 88995551fd6e937173cb4ffea5fdadee558c71f4ec72cae03bded824cb9b3488 9383 openstack-cluster-installer_42.3.0_amd64.buildinfo Files: 52e8ed7dbcc8824b868ced6509814f05 2514 net optional openstack-cluster-installer_42.3.0.dsc f58db1d3de73aa8bccd3178a3d110cc2 377412 net optional openstack-cluster-installer_42.3.0.tar.xz 89222d6b702957af3af9134bcd9dddb8 9383 net optional openstack-cluster-installer_42.3.0_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmUfwe4ACgkQ1BatFaxr Q/4IUA//bixlt4Tqsu4OK7J7hlyr5G+yKBIh7ZHs8FQj3pAk8NzgTGO6H/zel8s5 Xl7TLbSy9TDix0lxhl0RvJVLZI5p+DC2FzQGQ+P4VMr+OFawL4LnrMRTy6LHYWO3 zWJ7Bm04U501nx6RLgsc+ZSqT5vQRYPpmkBTdmzAbSIoLpSdj2NwidXhXhmbH9ye hVrnTHdbB0TQQdR2dSM+iRE2TW4UamFLyrDOOitc+EZoO5FyfIFEzZLIb7jc7S8r nOWVKW3ATKTs0GS1J/+ImufaIpEc5qJDdbkcpziQ0CIf66fSxQ5YycuD/mcuF2ED y40/gu1Unt/bdmCZQwyFHCRTkzryiBYxuh2WwJ/7RwEBqgpVcwJVGOqnhc+ZQoNG W8gsOQKNSjlWK0i29cyWPPCNyPDkESG+ejj4H4hRdvtjb1PdCOc+PjB3K0nFzshZ pbPsGMdvkS/aiofrplFaVgBrUG9o3msZb9mxtNvHWByx0YzkgGOaNwo+QnUHboRW gDdg++kqIpGEZDW/i8vx0qv1Z8SNEDeOVxUuXSaUVilCY1Xbf6oSmGpadZldKybN qBlwjtRxKeChAH7XbmYjwxLtaZw47yfG84cC5dGZnIxAY60RVMXYfJxTw2py+1fN GSa+onC+LIvKj6l5FSXKXKZs1NQYvoeSOCPyul8xHVEkd6rgsiw= =xA7Y -----END PGP SIGNATURE-----
--- End Message ---

