Actions
Bug #44148
closedstrategy/filstore.py don't pass journal_size as string
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
nautilus, mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Running command: /sbin/vgcreate --force --yes ceph-journals-335801ec-14e2-4c99-b6fb-3bba446cc735 /dev/nvme0n1 /dev/nvme1n1 stdout: Physical volume "/dev/nvme0n1" successfully created. stdout: Physical volume "/dev/nvme1n1" successfully created. stdout: Volume group "ceph-journals-335801ec-14e2-4c99-b6fb-3bba446cc735" successfully created Running command: /sbin/vgcreate --force --yes ceph-data-cb539b4f-acb4-4345-ad60-7eed9dd79678 /dev/sdb stdout: Physical volume "/dev/sdb" successfully created. stdout: Volume group "ceph-data-cb539b4f-acb4-4345-ad60-7eed9dd79678" successfully created Running command: /sbin/vgcreate --force --yes ceph-data-63d5f9bb-20e1-4141-86bb-897c19346bed /dev/sdc stdout: Physical volume "/dev/sdc" successfully created. stdout: Volume group "ceph-data-63d5f9bb-20e1-4141-86bb-897c19346bed" successfully created Running command: /sbin/lvcreate --yes -l 3071 -n osd-data-409d60d3-edb3-4d45-bed4-dd4ad9b926a3 ceph-data-cb539b4f-acb4-4345-ad60-7eed9dd79678 stdout: Logical volume "osd-data-409d60d3-edb3-4d45-bed4-dd4ad9b926a3" 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 39, 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 150, in main terminal.dispatch(self.mapper, subcommand_args) File "/usr/lib/python2.7/site-packages/ceph_volume/terminal.py", line 194, in dispatch instance.main() File "/usr/lib/python2.7/site-packages/ceph_volume/devices/lvm/main.py", line 42, in main terminal.dispatch(self.mapper, self.argv) File "/usr/lib/python2.7/site-packages/ceph_volume/terminal.py", line 194, 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 376, in execute size=journal_size) File "/usr/lib/python2.7/site-packages/ceph_volume/api/lvm.py", line 1157, in create_lv extents = vg.bytes_to_extents(size) File "/usr/lib/python2.7/site-packages/ceph_volume/api/lvm.py", line 646, in bytes_to_extents return int(size / int(self.vg_extent_size)) TypeError: unsupported operand type(s) for /: 'str' and 'int'
Updated by Jan Fajerski about 4 years ago
- Status changed from New to Pending Backport
Updated by Jan Fajerski about 4 years ago
- Copied to Backport #44151: mimic: strategy/filstore.py don't pass journal_size as string added
Updated by Jan Fajerski about 4 years ago
- Copied to Backport #44152: nautilus: strategy/filstore.py don't pass journal_size as string added
Updated by Nathan Cutler about 4 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Actions