Actions
Bug #22879
closed(luminous) ceph-volume filestore creation stopped with 'TypeError: sequence item 5: expected string, list found' under ubuntu xenial
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
ceph-disk
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Hi,
i'm not able to create a simple filestore under ubuntu xenial...
root@luminous-node3:~# python2.7 -d /usr/sbin/ceph-volume lvm prepare --filestore --data /dev/sdb --journal /dev/sdc1 Running command: sudo vgcreate --force --yes ceph-1da14634-950f-4ebf-90c5-6dd7d906c071 /dev/sdb stdout: Physical volume "/dev/sdb" successfully created stdout: Volume group "ceph-1da14634-950f-4ebf-90c5-6dd7d906c071" successfully created Running command: sudo lvcreate --yes -l 100%FREE -n osd-data-7eff74e8-2bd5-48fa-8503-7248a6d2769f ceph-1da14634-950f-4ebf-90c5-6dd7d906c071 stdout: Logical volume "osd-data-7eff74e8-2bd5-48fa-8503-7248a6d2769f" created. Running command: sudo mkfs -t xfs -f -i size=2048 /dev/ceph-1da14634-950f-4ebf-90c5-6dd7d906c071/osd-data-7eff74e8-2bd5-48fa-8503-7248a6d2769f stdout: meta-data=/dev/ceph-1da14634-950f-4ebf-90c5-6dd7d906c071/osd-data-7eff74e8-2bd5-48fa-8503-7248a6d2769f isize=2048 agcount=4, agsize=65280 blks = sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=1, sparse=0 data = bsize=4096 blocks=261120, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0 ftype=1 log =internal log bsize=4096 blocks=864, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 --> TypeError: sequence item 5: expected string, list found <-- here root@luminous-node3:~# sgdisk -p /dev/sdc Disk /dev/sdc: 2097152 sectors, 1024.0 MiB Logical sector size: 512 bytes Disk identifier (GUID): CC7C111C-16D9-4669-A615-87299DC87CC1 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 2097118 Partitions will be aligned on 2048-sector boundaries Total free space is 2014 sectors (1007.0 KiB) Number Start (sector) End (sector) Size Code Name 1 2048 2097118 1023.0 MiB 8300 ceph journal
Best regards
Enrico
Files
Updated by Greg Farnum about 6 years ago
- Project changed from Ceph to ceph-volume
- Category deleted (
ceph cli)
Updated by Alfredo Deza about 6 years ago
- Status changed from New to Need More Info
By default ceph-volume omits sending full tracebacks to the terminal. They are always persisted to a log file at /var/log/ceph/ceph-volume.log
Could you attach the full output of when the error appeared?
Updated by Enrico Labedzki about 6 years ago
- File ceph-volume.log ceph-volume.log added
Hi Alfredo,
Could you attach the full output of when the error appeared?
here they are, hope it helps.
Updated by Alfredo Deza about 6 years ago
Ok, yes this helps. Am I correct in assuming that you have osd_mount_options_xfs configured? If so, this is causing the error (confirming this bug).
Updated by Alfredo Deza about 6 years ago
- Status changed from Need More Info to Fix Under Review
PR open at https://github.com/ceph/ceph/pull/20408
Updated by Alfredo Deza about 6 years ago
- Status changed from Fix Under Review to Resolved
merged commit 9bc0b8b into master
Actions