Ceph failed to create osd

damu2025

New Member
Jan 19, 2025
1
0
1
Hello,
I changed the public_network and cluster_network in my cluster(pve 8.3.2 ceph 19.2.0),before that, i destoried all the osds in web ui.However,when I tried to recreate the osds,two of three nodes given me a strange error message.

Code:
Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.
  WARNING: scan of VG vgubuntu from /dev/zd208 mda1 found mda_checksum 89a5bb4 mda_size 2038 vs 997f18e3 2038
  WARNING: Scanning /dev/zd208 mda1 found mismatch with other metadata.
  WARNING: scan failed to get metadata summary from /dev/zd208 PVID Aba4jmoGujHEkpMJQc4YJKk4hQTpQoXC
  WARNING: VG name vgubuntu is used by VGs d5eFx3-UeHB-a2BB-iw2H-Vm4f-qEGC-Ii0sWP and GR8kvD-eStv-gqJy-8tz6-yGAd-7Okq-kgWtQf.
  Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.
  WARNING: VG name ubuntu-vg is used by VGs 6Jf5f7-jVL1-5Dce-NfQ2-KLrM-CB9u-BCt2FS and fFXpWz-ZDum-7R8a-T2j5-GrT4-nCi2-ZU6dmi.
  Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.
  WARNING: Not using device /dev/zd64p3 for PV mliyjz-rOY9-zab8-ZJ93-rFVg-7WHh-3IVoeW.
  WARNING: Not using device /dev/zd384p3 for PV bFyMiu-0CtK-2jG6-HSxu-Hpb1-W8BS-FgSBgJ.
  WARNING: PV mliyjz-rOY9-zab8-ZJ93-rFVg-7WHh-3IVoeW prefers device /dev/zd0p3 because device was seen first.
  WARNING: PV bFyMiu-0CtK-2jG6-HSxu-Hpb1-W8BS-FgSBgJ prefers device /dev/zd80p3 because device was seen first.
create OSD on /dev/sda (bluestore)
wiping block device /dev/sda
200+0 records in
200+0 records out
209715200 bytes (210 MB, 200 MiB) copied, 0.722457 s, 290 MB/s
-->  AttributeError: 'NoneType' object has no attribute 'startswith'
TASK ERROR: command 'ceph-volume lvm create --data /dev/sda' failed: exit code 1

After some searching, it seems that the vgrename problem has no effect on osd create.Is it right?And how to fix the osd create problem?

Thanks a lot!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!