Error: module 'ceph_volume.api.lvm' has no attribute 'is_lv'

Julian Lliteras

Renowned Member
Jun 10, 2016
20
0
66
49
With my current version can't add osd to ceph. I reported in this thread: [SOLVED] Problem after upgrade to ceph octopus

but I realised that any other command also raiser error. Next command show same error:

# ceph-volume lvm zap /dev/sdc

--> AttributeError: module 'ceph_volume.api.lvm' has no attribute 'is_lv'


pveversion:
proxmox-ve: 6.3-1 (running kernel: 5.4.78-2-pve)
pve-manager: 6.3-3 (running version: 6.3-3/eee5f901)
pve-kernel-5.4: 6.3-3
pve-kernel-helper: 6.3-3
pve-kernel-5.4.78-2-pve: 5.4.78-2
pve-kernel-5.4.73-1-pve: 5.4.73-1
ceph: 15.2.8-pve2
ceph-fuse: 15.2.8-pve2
corosync: 3.0.4-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.16-pve1
libproxmox-acme-perl: 1.0.7
libproxmox-backup-qemu0: 1.0.2-1
libpve-access-control: 6.1-3
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.3-2
libpve-guest-common-perl: 3.1-4
libpve-http-server-perl: 3.1-1
libpve-storage-perl: 6.3-4
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.3-1
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.0.6-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.4-3
pve-cluster: 6.2-1
pve-container: 3.3-2
pve-docs: 6.3-1
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-3
pve-firmware: 3.1-3
pve-ha-manager: 3.1-1
pve-i18n: 2.2-2
pve-qemu-kvm: 5.1.0-8
pve-xtermjs: 4.7.0-3
qemu-server: 6.3-3
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 0.8.5-pve1
 
Yes, the fix got merged into upstream's master, and now it's scheduled to be merged for octopus and nautilus. So it'll likely be included in the next upstream releases (but it's up to them when they do it) and the PVE releases should follow a bit after those.
 
I'm afraid there is no fixed date for that.
 
The good news is that the fix was merged 8 days ago for octopus. The bad news is that the 15.2.9 release was 16 days ago, so it's not yet in there.
 
The 15.2.10 release is now available in our Ceph Octopus test repository. To install it, you can enable the repository, run apt update && apt full-upgrade and then disable the repository again.