[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
Just closing the loop of an internal discussion, Alan tested booting a VM in bionic-ussuri with the fix applied. The VM booted successfully and in virsh dumpxml output we could see it was using CascadeLake CPU settings -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
This bug was fixed in the package nova - 3:25.2.1-0ubuntu2.7~cloud0 --- nova (3:25.2.1-0ubuntu2.7~cloud0) focal-yoga; urgency=medium . * New update for the Ubuntu Cloud Archive. . nova (3:25.2.1-0ubuntu2.7) jammy; urgency=medium . [ Chengen Du ] * d/p/lp2024258-database-Archive-parent-and-child-rows-trees-one-at-.patch: Performance degradation archiving DB with large numbers of FK related records (LP: #2024258) . [ Rodrigo Barbieri ] * d/p/lp1999814.patch: Rework CPU comparison at startup and add ability to skip it. Addresses CascadeLake incompatibility with IceLake. (LP: #1999814) ** Changed in: cloud-archive/yoga Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
Alan successfully tested on bionic-ussuri as well ** Attachment added: "alan_bug_1999814_bionic_ussuri_verification.txt" https://bugs.launchpad.net/nova/+bug/1999814/+attachment/5821877/+files/alan_bug_1999814_bionic_ussuri_verification.txt ** Tags added: verification-ussuri-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
** Tags removed: verification-yoga-needed ** Tags added: verification-yoga-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
Hello @James I just tested the Focal Proposed packages on my Sapphire Rapids Compute Node: $ juju config nova-compute-focal cpu-mode custom $ juju config nova-compute-focal cpu-model Cascadelake-Server-noTSX $ juju config nova-compute-focal cpu-model-extra-flags -mpx Before Upgrade: ubuntu@nova-compute-7:~$ dpkg -l | grep nova ii nova-common 3:25.2.1-0ubuntu2.6~cloud0 all OpenStack Compute - common files ii nova-compute 3:25.2.1-0ubuntu2.6~cloud0 all OpenStack Compute - compute node base ii nova-compute-kvm 3:25.2.1-0ubuntu2.6~cloud0 all OpenStack Compute - compute node (KVM) ii nova-compute-libvirt 3:25.2.1-0ubuntu2.6~cloud0 all OpenStack Compute - compute node libvirt support ii python3-nova 3:25.2.1-0ubuntu2.6~cloud0 all OpenStack Compute Python 3 libraries ii python3-novaclient2:17.6.0-0ubuntu1~cloud0 all client library for OpenStack Compute API - 3.x Refer to http://libvirt.org/html/libvirt-libvirt-host.html#virCPUCompareResult 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service Traceback (most recent call last): 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 986, in _check_cpu_compatibility 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service self._compare_cpu(cpu, self._get_cpu_info(), None) 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 9770, in _compare_cpu 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service raise exception.InvalidCPUInfo(reason=m % {'ret': ret, 'u': u}) 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service nova.exception.InvalidCPUInfo: Unacceptable CPU info: CPU doesn't have compatibility. 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service 0 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service Refer to http://libvirt.org/html/libvirt-libvirt-host.html#virCPUCompareResult 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service During handling of the above exception, another exception occurred: 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service Traceback (most recent call last): 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/oslo_service/service.py", line 806, in run_service 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service service.start() 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/nova/service.py", line 159, in start 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service self.manager.init_host() 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/nova/compute/manager.py", line 1526, in init_host 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service self.driver.init_host(host=self.host) 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 814, in init_host 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service self._check_cpu_compatibility() 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 992, in _check_cpu_compatibility 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service raise exception.InvalidCPUInfo(msg) 2024-09-21 01:15:28.274 89833 ERROR oslo_service.service nova.exception.InvalidCPUInfo: Configured CPU model: Cascadelake-Server-noTSX is not compatible with host CPU. Please correct your config and try again. Unacceptable CPU info: CPU doesn't have compatibility. After Upgrade: ubuntu@nova-compute-7:~$ dpkg -l | grep nova ii nova-api-metadata 3:25.2.1-0ubuntu2.7~cloud0 all OpenStack Compute - metadata API frontend ii nova-common 3:25.2.1-0ubuntu2.7~cloud0 all OpenStack Compute - common files ii nova-compute 3:25.2.1-0ubuntu2.7~cloud0 all OpenStack Compute - compute node base ii nova-compute-kvm 3:25.2.1-0ubuntu2.7~cloud0 all OpenStack Compute - compute node (KVM) ii nova-compute-libvirt 3:25.2.1-0ubuntu2.7~cloud0 all OpenStack Com
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
Hello Paul, or anyone else affected, Accepted nova into yoga-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository. Please help us by testing this new package. To enable the -proposed repository: sudo add-apt-repository cloud-archive:yoga-proposed sudo apt-get update Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-yoga-needed to verification-yoga-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-yoga-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Also affects: cloud-archive Importance: Undecided Status: New ** Also affects: cloud-archive/ussuri Importance: Undecided Status: New ** Also affects: cloud-archive/yoga Importance: Undecided Status: New ** Changed in: cloud-archive Status: New => Invalid ** Changed in: cloud-archive/yoga Status: New => Fix Committed ** Tags added: verification-yoga-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
This bug was fixed in the package nova - 3:25.2.1-0ubuntu2.7 --- nova (3:25.2.1-0ubuntu2.7) jammy; urgency=medium [ Chengen Du ] * d/p/lp2024258-database-Archive-parent-and-child-rows-trees-one-at-.patch: Performance degradation archiving DB with large numbers of FK related records (LP: #2024258) [ Rodrigo Barbieri ] * d/p/lp1999814.patch: Rework CPU comparison at startup and add ability to skip it. Addresses CascadeLake incompatibility with IceLake. (LP: #1999814) -- Mauricio Faria de Oliveira Fri, 26 Jul 2024 17:05:44 -0300 ** Changed in: nova (Ubuntu Jammy) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
This bug was fixed in the package nova - 2:21.2.4-0ubuntu2.13 --- nova (2:21.2.4-0ubuntu2.13) focal; urgency=medium * d/p/lp2024258-database-Archive-parent-and-child-rows-trees-one-at-.patch: Fix package install/autopkgtests (IndentationError in test_archive.py:172) (LP: #2024258) nova (2:21.2.4-0ubuntu2.12) focal; urgency=medium [ Chengen Du ] * d/p/lp2024258-database-Archive-parent-and-child-rows-trees-one-at-.patch: Performance degradation archiving DB with large numbers of FK related records (LP: #2024258) [ Mauricio Faria de Oliveira ] * Extend the behavior of 'libvirt.cpu_model_extra_flags' for '[+-]flag' (backward compatible) to configure CPU flags as required or disabled. This is increasingly important for migration as hypervisors with the same processor but different stable kernel level might get different CPU flags (e.g., AMD EPYC Rome without 'xsaves' per AMD Erratum 1386, and PKRU/'xsave' changes), without CPU model updates in libvirt/qemu. (LP: #2048517) - d/p/lp2048517-1-libvirt-Dont-drop-disabled-CPU-flags-from-XML.patch - d/p/lp2048517-2-libvirt-Allow-disabling-CPU-flags.patch [ Rodrigo Barbieri ] * d/p/lp1999814.patch: Rework CPU comparison at startup and add ability to skip it. Addresses CascadeLake incompatibility with IceLake. (LP: #1999814) -- Mauricio Faria de Oliveira Thu, 02 Aug 2024 10:29:57 -0300 ** Changed in: nova (Ubuntu Focal) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
I realized I forgot to check the output on step (d) of the verification. I just went back to the logs and confirmed: in jammy-yoga: 2024-08-07 20:06:27.202 1385017 DEBUG nova.virt.libvirt.driver [-] cpu compare xml: Cascadelake-Server-noTSX in focal-ussuri: 2024-08-07 20:06:25.697 1295031 DEBUG nova.virt.libvirt.driver [-] cpu compare xml: Cascadelake-Server-noTSX -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
** Attachment added: "bug_1999814_focal_ussuri_verification.txt" https://bugs.launchpad.net/nova/+bug/1999814/+attachment/5803607/+files/bug_1999814_focal_ussuri_verification.txt ** Tags removed: verification-needed verification-needed-focal verification-needed-jammy ** Tags added: verification-done verification-done-focal verification-done-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
** Attachment added: "bug_1999814_jammy_yoga_verification.txt" https://bugs.launchpad.net/nova/+bug/1999814/+attachment/5803606/+files/bug_1999814_jammy_yoga_verification.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
The autopkgtests regression was due to a transient infrastructure issue, and has cleared with a retry. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
The autopkgtests regression was due to a transient infrastructure issue, and has cleared with a retry. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
The Focal package nova (2:21.2.4-0ubuntu2.12) has installation issues, and will be fixed shortly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
Hello Paul, or anyone else affected, Accepted nova into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nova/3:25.2.1-0ubuntu2.7 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-jammy. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: nova (Ubuntu Jammy) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-jammy ** Changed in: nova (Ubuntu Focal) Status: In Progress => Fix Committed ** Tags added: verification-needed-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
Uploaded a combined SRU for Focal (ubuntu2.12) on top of the latest security update. Build-time test suite passes: == Totals == Ran: 17503 tests in 769.9099 sec. - Passed: 17448 - Skipped: 54 - Expected Fail: 1 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 3012.8493 sec. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
Uploaded a combined SRU for Jammy (ubuntu2.7) with bug 1999814 (previously in jammy-proposed; ubuntu2.4) and bug 2024258 (previously in jammy's unapproved queue; ubuntu2.5), which were superseded by security upload (jammy-security; ubuntu2.6). Build-tested (with build-time unit tests) in a PPA. ** Changed in: nova (Ubuntu Jammy) Status: Fix Committed => In Progress ** Tags removed: verification-needed verification-needed-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
Unfortunately the nova package in jammy-proposed got superseded by a security update and will have to be re-uploaded. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
Likewise for Focal. Uploaded! ** Changed in: nova (Ubuntu Focal) Importance: Undecided => Medium ** Changed in: nova (Ubuntu Focal) Status: New => In Progress ** Changed in: nova (Ubuntu Focal) Assignee: (unassigned) => Rodrigo Barbieri (rodrigo-barbieri2010) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
** Changed in: nova (Ubuntu Jammy) Importance: Undecided => Medium ** Changed in: nova (Ubuntu Jammy) Assignee: (unassigned) => Rodrigo Barbieri (rodrigo-barbieri2010) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
Hello Paul, or anyone else affected, Accepted nova into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nova/3:25.2.1-0ubuntu2.4 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-jammy. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: nova (Ubuntu Jammy) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
Hi Rodrigo, Thanks for the debdiffs and SRU template! I've had minor changes to the Jammy upload, and build-tested it in a PPA [1]. It looks good; uploading! (I'm looking into/building Focal.) [1] https://launchpad.net/~mfo/+archive/ubuntu/lp1999814 ** Changed in: nova (Ubuntu Jammy) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
** Patch added: "lp1999814_focal.debdiff" https://bugs.launchpad.net/nova/+bug/1999814/+attachment/5795887/+files/lp1999814_focal.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
** Patch added: "lp1999814_jammy.debdiff" https://bugs.launchpad.net/nova/+bug/1999814/+attachment/5795868/+files/lp1999814_jammy.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
** Description changed: SRU TEMPLATE AT THE BOTTOM *** Hello, This is very similar to pad.lv/1852437 (and the related blueprint at https://blueprints.launchpad.net/nova/+spec/allow-disabling-cpu-flags), but there is a very different and important nuance. A customer I'm working with has two classes of blades that they're trying to use. Their existing ones are Cascade Lake-based; they are presently using the Cascadelake-Server-noTSX CPU model via libvirt.cpu_model in nova.conf. Their new blades are Ice Lake-based, which is a newer processor, which typically would also be able to run based on the Cascade Lake feature set - except that these Ice Lake processors lack the MPX feature defined in the Cascadelake-Server-noTSX model. The result of this is evident when I try to start nova on the new blades with the Ice Lake CPUs. Even if I specify the following in my nova.conf: [libvirt] cpu_mode = custom cpu_model = Cascadelake-Server-noTSX cpu_model_extra_flags = -mpx That is not enough to allow Nova to start; it fails in the libvirt driver in the _check_cpu_compatibility function: 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service Traceback (most recent call last): 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 771, in _check_cpu_compatibility 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service self._compare_cpu(cpu, self._get_cpu_info(), None) 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 8817, in _compare_cpu 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service raise exception.InvalidCPUInfo(reason=m % {'ret': ret, 'u': u}) 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service nova.exception.InvalidCPUInfo: Unacceptable CPU info: CPU doesn't have compatibility. 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service 0 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service Refer to http://libvirt.org/html/libvirt-libvirt-host.html#virCPUCompareResult 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service During handling of the above exception, another exception occurred: 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service Traceback (most recent call last): 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/oslo_service/service.py", line 810, in run_service 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service service.start() 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/nova/service.py", line 173, in start 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service self.manager.init_host() 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/nova/compute/manager.py", line 1404, in init_host 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service self.driver.init_host(host=self.host) 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 743, in init_host 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service self._check_cpu_compatibility() 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service File "/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 777, in _check_cpu_compatibility 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service raise exception.InvalidCPUInfo(msg) 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service nova.exception.InvalidCPUInfo: Configured CPU model: Cascadelake-Server-noTSX is not compatible with host CPU. Please correct your config and try again. Unacceptable CPU info: CPU doesn't have compatibility. 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service 0 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service Refer to http://libvirt.org/html/libvirt-libvirt-host.html#virCPUCompareResult 2022-12-15 17:20:59.562 1836708 ERROR oslo_service.service If I make a custom libvirt CPU map file which removes the "" feature and specify that as the cpu_model instead, I am able to make Nova start - so it does indeed seem to specifically be that single feature which is blocking me. However, editing the libvirt CPU mapping files is probably not the right way to fix this - hence why I'm filing this bug, for discussion of how to support cases like this. Currently
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
The patch cannot be applied to Ubuntu Bionic (18.04), since its libvirt version is older than the minimum required (mentioned in the patch). The Ubuntu Cloud Archive for Bionic (eg, from Focal / Ussuri) can be used/patched though, as it provides a sufficiently newer version of libvirt. `QEMU >=2.9 and libvirt >= 4.4.0 are the mininum required versions` $ rmadison -a source libvirt -s bionic-updates # ubuntu archive libvirt | 4.0.0-1ubuntu8.21 | bionic-updates | source $ cmadison libvirt | grep bionic-updates # cloud archive libvirt | 5.0.0-1ubuntu2.6~cloud3 | stein | bionic-updates | source libvirt | 5.4.0-0ubuntu5.4~cloud1.1 | train | bionic-updates | source libvirt | 6.0.0-0ubuntu8.16~cloud0 | ussuri | bionic-updates | source ** Changed in: nova (Ubuntu Bionic) Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
The patch is present in Ubuntu Mantic and later. $ git grep skip_cpu_compare_at_startup pkg/ubuntu/oracular-devel -- nova/conf/workarounds.py pkg/ubuntu/oracular-devel:nova/conf/workarounds.py: cfg.BoolOpt('skip_cpu_compare_at_startup', $ git grep skip_cpu_compare_at_startup pkg/ubuntu/noble-devel -- nova/conf/workarounds.py pkg/ubuntu/noble-devel:nova/conf/workarounds.py: cfg.BoolOpt('skip_cpu_compare_at_startup', $ git grep skip_cpu_compare_at_startup pkg/ubuntu/mantic-devel -- nova/conf/workarounds.py pkg/ubuntu/mantic-devel:nova/conf/workarounds.py: cfg.BoolOpt('skip_cpu_compare_at_startup', $ git grep skip_cpu_compare_at_startup pkg/ubuntu/jammy-devel -- nova/conf/workarounds.py $ $ git grep skip_cpu_compare_at_startup pkg/ubuntu/focal-devel -- nova/conf/workarounds.py $ $ git grep skip_cpu_compare_at_startup pkg/ubuntu/bionic-devel -- nova/conf/workarounds.py $ ** Also affects: nova (Ubuntu Jammy) Importance: Undecided Status: New ** Changed in: nova (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1999814] Re: [SRU] Allow for specifying common baseline CPU model with disabled feature
** Also affects: nova (Ubuntu) Importance: Undecided Status: New ** Also affects: nova (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: nova (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: nova/victoria Importance: Undecided Status: New ** Also affects: nova/ussuri Importance: Undecided Status: New ** Also affects: nova/xena Importance: Undecided Status: New ** Also affects: nova/yoga Importance: Undecided Status: New ** Also affects: nova/wallaby Importance: Undecided Status: New ** Tags added: sts sts-sru-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1999814 Title: [SRU] Allow for specifying common baseline CPU model with disabled feature To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1999814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs