Actions
Bug #41293
closedtest failure in simple-centos7-filestore-activate
Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:
Description
https://jenkins.ceph.com/job/ceph-volume-prs-simple-centos7-filestore-activate/11/console
MSG:
non-zero return code
fatal: [osd1]: FAILED! => {
"changed": true,
"cmd": [
"ceph-volume",
"--cluster",
"test",
"lvm",
"batch",
"--filestore",
"--yes",
"--journal-size",
"100",
"/dev/sdb",
"/dev/sdc"
],
"delta": "0:00:00.993097",
"end": "2019-08-15 10:34:58.571335",
"rc": 1,
"start": "2019-08-15 10:34:57.578238"
}
STDERR:
Running command: /usr/sbin/vgcreate -s 1G --force --yes ceph-filestore-72f9fae8-9b4c-45ec-813a-34278ac3750c /dev/sdb
stdout: Physical volume "/dev/sdb" successfully created.
stdout: Volume group "ceph-filestore-72f9fae8-9b4c-45ec-813a-34278ac3750c" successfully created
Running command: /usr/sbin/vgcreate -s 1G --force --yes ceph-filestore-1eaf07f8-b612-426f-b89d-faf09d183c4f /dev/sdc
stdout: Physical volume "/dev/sdc" successfully created.
stdout: Volume group "ceph-filestore-1eaf07f8-b612-426f-b89d-faf09d183c4f" successfully created
Traceback (most recent call last):
File "/sbin/ceph-volume", line 9, in <module>
load_entry_point('ceph-volume==1.0.0', 'console_scripts', 'ceph-volume')()
File "/usr/lib/python2.7/site-packages/ceph_volume/main.py", line 38, in __init__
self.main(self.argv)
File "/usr/lib/python2.7/site-packages/ceph_volume/decorators.py", line 59, in newfunc
return f(*a, **kw)
File "/usr/lib/python2.7/site-packages/ceph_volume/main.py", line 148, in main
terminal.dispatch(self.mapper, subcommand_args)
File "/usr/lib/python2.7/site-packages/ceph_volume/terminal.py", line 205, in dispatch
instance.main()
File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/main.py", line 40, in main
terminal.dispatch(self.mapper, self.argv)
File "/usr/lib/python2.7/site-packages/ceph_volume/terminal.py", line 205, in dispatch
instance.main()
File "/usr/lib/python2.7/site-packages/ceph_volume/decorators.py", line 16, in is_root
return func(*a, **kw)
File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/batch.py", line 325, in main
self.execute()
File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/batch.py", line 288, in execute
self.strategy.execute()
File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/strategies/filestore.py", line 146, in execute
journal_lv_extents = device_vg.sizing(size=self.journal_size.gb.as_int())['extents']
File "/usr/lib/python2.7/site-packages/ceph_volume/api/lvm.py", line 1103, in sizing
size = int(self.free / parts)
TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'
Updated by Jan Fajerski over 6 years ago
The sizing won't work for anything smaller the 1Gb. So a test that tries to create a 100Mb journal partition can not work.
relates to https://tracker.ceph.com/issues/37590
Updated by Jan Fajerski over 6 years ago
- Status changed from New to Duplicate
duplicate of https://tracker.ceph.com/issues/36283
Actions