Error when bootstrapping cache OSD on NVMe drive.
Bug #1847014 reported by
Eddie Yen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Medium
|
Eddie Yen | ||
Rocky |
Fix Released
|
Medium
|
Unassigned | ||
Stein |
Fix Released
|
Medium
|
Unassigned | ||
Train |
Fix Released
|
Medium
|
Eddie Yen |
Bug Description
When I trying to deploy Ceph with cache tier, I got an error when bootstrapping cache OSDs on NVMe drive.
The error is inside the attachment.
I think the root cause is the partition number. The nornal drive using "1, 2, ..." as partition number, like "sda1, sda2, ...".
But the NVMe drive using "p1, p2, ..." as partition number, like "nvme0n1p1, nvme0n1p2".
Kolla-ansible just "forget" to add "p" into device path. It went to "nvme0n11, nvme0n12" output when generating the command, then caused the error because the path is not exist.
But Idk how to fix it, because Idk where the value generated.
Please help.
OS: Ubuntu 18.04
Kolla Release: stable-rocky
no longer affects: | kolla-ansible/stein |
no longer affects: | kolla-ansible/rocky |
Changed in kolla: | |
importance: | Undecided → Medium |
no longer affects: | kolla-ansible/train |
no longer affects: | kolla-ansible |
Changed in kolla: | |
status: | Fix Committed → Fix Released |
milestone: | 9.0.0 → none |
To post a comment you must log in.
I have seen bugs like this before. It's not just NVMe, it happens with loopbacks too. The rule is "if the device ends in a number, add a 'p' before the partition number".