Bug 1069317
Summary: | mpath pool fails to refresh due to target_type == NULL | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Jeremy Kitchen <kitchen> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | crobinso, rbalakri, shyu |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-04-14 17:29:32 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: |
Description
Jeremy Kitchen
2014-02-24 17:36:35 UTC
Sorry this didn't receive a timely response. Nice job investigating! I agree that it seems reasonable to just ignore target_type=NULL rather than treat it as an error, I've sent a patch to that effect: http://www.redhat.com/archives/libvir-list/2016-April/msg00769.html commit 8f8c0feb113420625f15b7f1e17bfd719c977eeb Author: Cole Robinson <crobinso> Date: Wed Apr 13 17:29:59 2016 -0400 storage: mpath: Don't error on target_type=NULL We use device-mapper to enumerate all dm devices, and filter out the list of multipath devices by checking the target_type string name. The code however cancels all scanning if we encounter target_type=NULL I don't know how to reproduce that situation, but a user was hitting it in their setup, and inspecting the lvm2/device-mapper code shows many places where !target_type is explicitly ignored and processing continues on to the next device. So I think we should do the same https://bugzilla.redhat.com/show_bug.cgi?id=1069317 |