Installing microceph charm removes symlinks to block devices

Bug #2037608 reported by Marian Gasparovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charmed Operator - MicroCeph
New
Undecided
Unassigned

Bug Description

Before charm is installed

ll /dev/disk/by-dname/
lrwxrwxrwx 1 root root 13 Sep 27 08:55 disk0 -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Sep 27 08:55 disk0-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Sep 27 08:55 disk0-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root 15 Sep 27 08:55 disk0-part3 -> ../../nvme0n1p3
lrwxrwxrwx 1 root root 13 Sep 27 09:59 disk1 -> ../../nvme1n1
lrwxrwxrwx 1 root root 13 Sep 27 08:54 nvme2n1 -> ../../nvme2n1
lrwxrwxrwx 1 root root 13 Sep 27 08:54 nvme3n1 -> ../../nvme3n1
lrwxrwxrwx 1 root root 9 Sep 27 08:54 sda -> ../../sda
lrwxrwxrwx 1 root root 9 Sep 27 08:54 sdb -> ../../sdb
lrwxrwxrwx 1 root root 9 Sep 27 08:54 sdc -> ../../sdc

After charm is installed

ll /dev/disk/by-dname/

lrwxrwxrwx 1 root root 15 Sep 27 10:06 disk0-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Sep 27 10:06 disk0-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root 15 Sep 27 10:06 disk0-part3 -> ../../nvme0n1p3
lrwxrwxrwx 1 root root 9 Sep 27 10:06 sda -> ../../sda
lrwxrwxrwx 1 root root 9 Sep 27 10:06 sdb -> ../../sdb
lrwxrwxrwx 1 root root 9 Sep 27 10:06 sdc -> ../../sdc

Not a one-off event, this is happening on this server every single time.
Logs and configuration files
https://oil-jenkins.canonical.com/artifacts/16f3a7e1-dd44-48d1-897f-8635700be99d/index.html

It works fine with microceph snap, fails only when charm is used.

Tags: cdo-qa
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.