Just have run an 'udevadm trigger' before Vault unlocking and looks like
it's getting that links back:

$ juju run --application ceph-osd 'sudo udevadm trigger -ubuntu@ln-sv-infr01:~$ 
juju run --application ceph-osd 'sudo udevadm trigger --subsystem-match=block 
--action=add'
- Stdout: ""
  UnitId: ceph-osd/1
- Stdout: ""
  UnitId: ceph-osd/2
- Stdout: ""
  UnitId: ceph-osd/3
- Stdout: ""
  UnitId: ceph-osd/6
- Stdout: ""
  UnitId: ceph-osd/7
- Stdout: ""
  UnitId: ceph-osd/8
- Stdout: ""
  UnitId: ceph-osd/0
- Stdout: ""
  UnitId: ceph-osd/4
- Stdout: ""
  UnitId: ceph-osd/5

And links are there:

$ juju run --application ceph-osd 'ls -lah /dev/disk/by-dname | wc -l'
- Stdout: |
    21
  UnitId: ceph-osd/0
- Stdout: |
    21
  UnitId: ceph-osd/1
- Stdout: |
    21
  UnitId: ceph-osd/2
- Stdout: |
    21
  UnitId: ceph-osd/3
- Stdout: |
    21
  UnitId: ceph-osd/4
- Stdout: |
    21
  UnitId: ceph-osd/5
- Stdout: |
    21
  UnitId: ceph-osd/6
- Stdout: |
    21
  UnitId: ceph-osd/7
- Stdout: |
    21
  UnitId: ceph-osd/8


Also - later, when Vault unseal is in progress, I did this:

$ for x in $(seq 0 8); do juju ssh $x 'hostname; ls -lah /dev/disk/by-dname/' 
>> out.txt; done
http://paste.ubuntu.com/p/5Mb9Hz8b7s/

All OSDs are up: https://paste.ubuntu.com/p/ffnbGcBXTN/
But some of links are not back after charm execution: 
https://paste.ubuntu.com/p/TMdHKS84jf/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1812925

Title:
  No OSDs has been initialized in random unit with "No block devices
  detected using current configuration"

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-ceph-osd/+bug/1812925/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to