Bug 2116529

Summary: [RHOS 17 beta known issue] For live-migration to execute with post copy need to enable vm.unprivileged_userfaultfd
Product: Red Hat OpenStack Reporter: Artom Lifshitz <alifshit>
Component: documentationAssignee: RHOS Documentation Team <rhos-docs>
Status: CLOSED CURRENTRELEASE QA Contact: RHOS Documentation Team <rhos-docs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 17.0 (Wallaby)CC: bdobreli, dasmith, eglynn, igallagh, jamsmith, jhakimra, kchamart, sbauza, sgordon, vromanso
Target Milestone: betaKeywords: Regression, Triaged
Target Release: 17.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Live migration fails when executing the QEMU command `migrate-set-capabilities`. This is because the post-copy feature that is enabled by default is not supported. + Choose one of the following workaround options: * Workaround Option 1: Set `vm.unprivileged_userfaultfd = 1` on Compute nodes to enable post-copy on the containerized libvirt: ** Make a new file: `$ touch /etc/sysctl.d/50-userfault.conf`. ** Add `vm.unprivileged_userfaultfd = 1` to `/etc/sysctl.d/50-userfault.conf`. ** Load the file: `$ sysctl -p /etc/sysctl.d/50-userfault.conf`. * Workaround Option 2: Set the `sysctl` flag through director, by setting the `ExtraSysctlSettings` parameter. * Workaround Option 3: Disable the post-copy feature completely, by setting the `NovaLiveMigrationPermitPostCopy` parameter to `false`.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-12 15:19:12 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:

Comment 7 Artom Lifshitz 2022-08-10 18:53:27 UTC
LGTM.

Comment 10 Artom Lifshitz 2022-09-12 15:19:12 UTC
The release notes automation will pick up BZs with the right flags even if they're closed. With the doc text done and requires_doc_text set to +, we can close this.