Bug 2089382
| Summary: | [RHOSP 16.1] Live migration is failing when[workarounds]/rbd_volume_local_attach=True is configured | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | cmayapka | |
| Component: | openstack-nova | Assignee: | Artom Lifshitz <alifshit> | |
| Status: | CLOSED ERRATA | QA Contact: | James Parker <jparker> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 16.1 (Train) | CC: | alifshit, astupnik, dasmith, eglynn, eolivare, fgadkano, gkadam, jelynch, jhakimra, jparker, jpretori, jveiraca, kchamart, ltamagno, pjagtap, sbauza, sgordon, smooney, vromanso | |
| Target Milestone: | z9 | Keywords: | Patch, Triaged | |
| Target Release: | 16.1 (Train on RHEL 8.2) | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | openstack-nova-20.4.1-1.20220622143400.1ee93b9.el8ost | Doc Type: | Bug Fix | |
| Doc Text: |
Before this update, block device mapping updates by the libvirt driver on the destination host were not persisted during live migration. With specific storage back ends or configurations, for example, when using the `n[workarounds]/rbd_volume_local_attach=True` config option, certain operations on volume attachments, for example detaching, after a live migration did not work. With this update, the Compute service (nova) correctly persists any block device mapping updates done by the libvirt driver on the destination host. Operations on affected volumes, such as detaching, succeed after live migration.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 2095780 2096418 (view as bug list) | Environment: | ||
| Last Closed: | 2022-12-07 20:27:07 UTC | Type: | Bug | |
| 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: | 2095780, 2096418 | |||
| Bug Blocks: | ||||
|
Description
cmayapka
2022-05-23 14:24:26 UTC
Reproduced it in upstream CI [1] without Barbican. Should be quicker moving forward figuring out what's going on, it's much easier to add logging to a Devstack-based deployment/job than a multinode containerized env. [1] https://review.opendev.org/c/openstack/nova/+/843146 I have a PoC of a fix at [1]. There's still stuff left to be figured out, like making sure we're not accidentally breaking other things, so I want to be clear and set expectations correctly that we're still far from an actual releasable fix, but I did want to at least report progress. [1] https://review.opendev.org/c/openstack/nova/+/843554 After trying to reproduce on master without the workaround using the cryptsetup encryptor and iSCSI volumes that should have triggered this same issue, I tracked down that there is already a fix on master in the form of [1]. I've started the backport to stable/wallaby initially, with the intention of taking it all the way back to stable/train and OSP 16.x eventually. [1] https://review.opendev.org/c/openstack/nova/+/804230 @alifshit when will this fix be available on the 16.2.z line? (In reply to Eoghan Glynn from comment #10) > @alifshit when will this fix be available on the 16.2.z line? Targeted at 16.2.4: https://bugzilla.redhat.com/show_bug.cgi?id=2096418 Small correction: "With this update, you can correctly persist any block device mapping updates done by the libvirt driver on the destination host." should read: "With this update, any block device mapping updates done by the libvirt driver on the destination host are correctly persisted by Nova." The user is not involved in the process at all, this is all internal logic. 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 (Red Hat OpenStack Platform 16.1.9 bug fix and enhancement advisory), 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/RHBA-2022:8795 |