Bug 2119069
| Summary: | Unable to start windows VMs on PSI setups | |||
|---|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | sgott | |
| Component: | Virtualization | Assignee: | Itamar Holder <iholder> | |
| Status: | CLOSED ERRATA | QA Contact: | Denys Shchedrivyi <dshchedr> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 4.11.0 | CC: | acardace, dholler, dshchedr, iholder, kbidarka, mtosatti, rmohr, sgott | |
| Target Milestone: | --- | Keywords: | TestBlocker | |
| Target Release: | 4.12.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | hco-bundle-registry-container- v4.12.0-518 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 2115371 | |||
| : | 2125985 (view as bug list) | Environment: | ||
| Last Closed: | 2023-01-24 13:39:56 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 2115371 | |||
| Bug Blocks: | 2125985 | |||
|
Description
sgott
2022-08-17 12:38:17 UTC
This is to track that the fix for this lands in the latest release as well as z stream. Intel documentation states:
17.12.1 Invariant TSC
The time stamp counter in newer processors may support an enhancement, referred
to as invariant TSC. Processors support for invariant TSC is indicated by
CPUID.80000007H:EDX[8].
The invariant TSC will run at a constant rate in all ACPI P-, C-. and T-states. This is
the architectural behavior moving forward. On processors with invariant TSC
support, the OS may use the TSC for wall clock timer services (instead of ACPI or
HPET timers). TSC reads are much more efficient and do not incur the overhead
associated with a ring transition or access to a platform resource.
-------
Lets consider what needs to be done regarding tsc and VM migration:
1) Invariant TSC (invtsc flag) should only be exposed to a VM if the host
it runs on has Invariant TSC (check /proc/cpuinfo output for "invtsc").
2) Migration of a VM that has invariant TSC flag enabled should be
performed to:
-> A destination host that has invariant TSC.
-> A destination host that is able to execute a guest with
TSC frequency of the source host (which is either
a destination host with the same frequency as the source
host, or a destination host with TSC scaling available).
*** Bug 2125985 has been marked as a duplicate of this bug. *** Verified on v4.12.0-548 Windows VM with HyperV Reenlightenment flag succesfully started on PSI. This VM is not migratable: > Message: HyperV Reenlightenment VMIs cannot migrate when TSC Frequency is not exposed on the cluster: guest timers might be inconsistent > $ virtctl migrate win19-dv > Error migrating VirtualMachine Internal error occurred: admission webhook "migration-create-validator.kubevirt.io" denied the request: Cannot migrate VMI, Reason: NoTSCFrequencyNotLiveMigratable, Message: >HyperV Reenlightenment VMIs cannot migrate when TSC Frequency is not exposed on the cluster: guest timers might be inconsistent Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Virtualization 4.12.0 Images security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:0408 |