Pulling drive causes enclosure management vdev bug

Description

In-use spare causes all drives in vdev and spare to show as unassigned under enclosure managemnt

Pulled drive in bay 11 while testing Enclosure management on 12.0u4 (patched for r10). Instead of just single drive going away entire vdev showed as unassgined

pool: tank
state: DEGRADED
status: One or more devices has been removed by the administrator.
Sufficient replicas exist for the pool to continue functioning in a
degraded state.
action: Online the device using zpool online' or replace the device with
'zpool replace'.
scan: resilvered 28.1M in 00:00:01 with 0 errors on Mon Jun 28 14:24:56 2021
config:

NAME STATE READ WRITE CKSUM
tank DEGRADED 0 0 0
raidz1-0 ONLINE 0 0 0
gptid/77101c31-a85e-11eb-a65a-3cecef0d68cc ONLINE 0 0 0
gptid/77548b0a-a85e-11eb-a65a-3cecef0d68cc ONLINE 0 0 0
gptid/778d1181-a85e-11eb-a65a-3cecef0d68cc ONLINE 0 0 0
gptid/78b23826-a85e-11eb-a65a-3cecef0d68cc ONLINE 0 0 0
gptid/791328d4-a85e-11eb-a65a-3cecef0d68cc ONLINE 0 0 0
raidz1-1 ONLINE 0 0 0
gptid/78305f6b-a85e-11eb-a65a-3cecef0d68cc ONLINE 0 0 0
gptid/78e97fd3-a85e-11eb-a65a-3cecef0d68cc ONLINE 0 0 0
gptid/7b709c9f-a85e-11eb-a65a-3cecef0d68cc ONLINE 0 0 0
gptid/7c3085a9-a85e-11eb-a65a-3cecef0d68cc ONLINE 0 0 0
gptid/7ce57e33-a85e-11eb-a65a-3cecef0d68cc ONLINE 0 0 0
raidz1-2 DEGRADED 0 0 0
gptid/7b4377e1-a85e-11eb-a65a-3cecef0d68cc ONLINE 0 0 0
spare-1 DEGRADED 0 0 0
gptid/7b92df42-a85e-11eb-a65a-3cecef0d68cc REMOVED 0 0 0
gptid/7d2e704d-a85e-11eb-a65a-3cecef0d68cc ONLINE 0 0 0
gptid/7c0de90c-a85e-11eb-a65a-3cecef0d68cc ONLINE 0 0 0
gptid/7c8b256c-a85e-11eb-a65a-3cecef0d68cc ONLINE 0 0 0
gptid/7ca4639c-a85e-11eb-a65a-3cecef0d68cc ONLINE 0 0 0
spares
gptid/7d2e704d-a85e-11eb-a65a-3cecef0d68cc INUSE currently in use

For reference what looks like before drive pulled/after drive reinserted:

Problem/Justification

None

Impact

None

Activity

Show:

Ievgen Stepanovych July 6, 2021 at 11:08 AM

Merged to release/12.0-u4.1

Joe Maloney July 2, 2021 at 4:59 PM

Opening this because we will need the fix merged for 12.0-U4.1.

Branch yet to be defined.

Bug Clerk June 29, 2021 at 6:02 PM

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Time remaining

0m

Fix versions

Affects versions

Priority

Katalon Platform

Created June 28, 2021 at 9:33 PM
Updated July 6, 2022 at 8:58 PM
Resolved July 6, 2021 at 11:08 AM