Project

General

Profile

Bug #46033

"AttributeError: 'MixedType' object has no attribute 'wal_vg_extents'" while calling ceph-volume

Added by Thomas Bechtold over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I tried to deploy ceph octopus (on SLE 15 SP2) on a hardware cluster with the following drive_groups spec:

```
service_type: osd
service_id: drive_group_1
placement:
host_pattern: 'blueshark-[4-7]'
data_devices:
model: 'INTEL SSDSC2BA40'
db_devices:
model: SSDPEDMD800G4
wal_devices:
model: SSDPEDMD800G4
block_wal_size: 21474836480
block_db_size: 21474836480
osds_per_device: 1
```

When calling then:

```
ceph orch apply osd -i drive_groups.yml
```

there is nothing happening. But looking at the mgr container log, it shows:

```
Traceback (most recent call last):
File "<stdin>", line 4686, in <module>
File "<stdin>", line 1061, in _infer_fsid
File "<stdin>", line 1138, in _infer_image
File "<stdin>", line 2921, in command_ceph_volume
File "<stdin>", line 839, in call_throws
RuntimeError: Failed command: /usr/bin/podman run --rm --net=host --ipc=host --privileged --group-add=disk -e CONTAINER_IMAGE=registry.suse.de/devel/storage/7.0/containers/ses/7/ceph/ceph:latest -e NODE_NAME=blueshark-4 -v /v
ar/log/ceph/92d2d4c0-af05-11ea-9578-0cc47aaa2edc:/var/log/ceph:z -v /dev:/dev -v /run/udev:/run/udev -v /sys:/sys -v /run/lvm:/run/lvm -v /run/lock/lvm:/run/lock/lvm -v /tmp/ceph-tmpo_wopqh7:/etc/ceph/ceph.conf:z -v /tmp/ceph
-tmpjrrrur2e:/var/lib/ceph/bootstrap-osd/ceph.keyring:z --entrypoint /usr/sbin/ceph-volume registry.suse.de/devel/storage/7.0/containers/ses/7/ceph/ceph:latest lvm batch --no-auto /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf
--wal-devices /dev/nvme0n1 /dev/nvme1n1 --block-wal-size 21474836480 --block-db-size 21474836480 --osds-per-device 1 --yes --no-systemd
Traceback (most recent call last):
File "/usr/share/ceph/mgr/cephadm/module.py", line 1871, in _apply_all_services
if self._apply_service(spec):
File "/usr/share/ceph/mgr/cephadm/module.py", line 1784, in _apply_service
create_func(spec)
File "/usr/share/ceph/mgr/cephadm/services/osd.py", line 37, in create
host, cmd, replace_osd_ids=drive_group.osd_id_claims.get(host, []), env_vars=env_vars
File "/usr/share/ceph/mgr/cephadm/services/osd.py", line 54, in create_single_host
code, '\n'.join(err)))
RuntimeError: cephadm exited with an error code: 1, stderr:INFO:cephadm:/usr/bin/podman:stderr --> AttributeError: 'MixedType' object has no attribute 'wal_vg_extents'
```

History

#1 Updated by Jan Fajerski over 1 year ago

How urgent is a fix for this?

https://github.com/ceph/ceph/pull/34740 will fix this issue, but I have a hard time getting feedback so far. Looking to get it merged next week though.

#2 Updated by Jan Fajerski about 1 year ago

  • Status changed from New to Resolved

Also available in: Atom PDF