Project

General

Profile

Bug #43844

batch --buestore regression unable to craete OSDs

Added by Jan Fajerski 6 months ago. Updated 5 months ago.

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

0%

Source:
Tags:
Backport:
nautilus, mimic
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

node1:~ # CEPH_VOLUME_DEBUG=true ceph-volume lvm batch --bluestore --yes /dev/vdb /dev/vdc
 stderr: unable to read label for /dev/vdb: (2) No such file or directory
 stderr: unable to read label for /dev/vdc: (2) No such file or directory
Running command: /sbin/vgcreate --force --yes ceph-751048be-848a-464d-b128-aa90e1709b7c /dev/vdb
 stdout: Volume group "ceph-751048be-848a-464d-b128-aa90e1709b7c" successfully created
Running command: /sbin/vgcreate --force --yes ceph-452c398b-0d4d-441b-ab7e-c9dfa06240ea /dev/vdc
 stdout: Volume group "ceph-452c398b-0d4d-441b-ab7e-c9dfa06240ea" successfully created
Traceback (most recent call last):
  File "/usr/sbin/ceph-volume", line 11, in <module>
    load_entry_point('ceph-volume==1.0.0', 'console_scripts', 'ceph-volume')()
  File "/usr/lib/python3.6/site-packages/ceph_volume/main.py", line 39, in __init__
    self.main(self.argv)
  File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line 59, in newfunc
    return f(*a, **kw)
  File "/usr/lib/python3.6/site-packages/ceph_volume/main.py", line 150, in main
    terminal.dispatch(self.mapper, subcommand_args)
  File "/usr/lib/python3.6/site-packages/ceph_volume/terminal.py", line 194, in dispatch
    instance.main()
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/main.py", line 42, in main
    terminal.dispatch(self.mapper, self.argv)
  File "/usr/lib/python3.6/site-packages/ceph_volume/terminal.py", line 194, in dispatch
    instance.main()
  File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line 16, in is_root
    return func(*a, **kw)
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/batch.py", line 325, in main
    self.execute()
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/batch.py", line 288, in execute
    self.strategy.execute()
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/strategies/bluestore.py", line 107, in execute
    lvs = lvm.create_lvs('osd-data', block_uuid, vg=create['vg'], parts=create['parts'])
TypeError: create_lvs() got an unexpected keyword argument 'vg'

Related issues

Copied to ceph-volume - Backport #43871: nautilus: batch --buestore regression unable to craete OSDs Resolved
Copied to ceph-volume - Backport #43872: mimic: batch --buestore regression unable to craete OSDs Resolved

History

#1 Updated by Jan Fajerski 6 months ago

  • Pull request ID set to 32929

#2 Updated by Jan Fajerski 6 months ago

  • Status changed from New to Pending Backport
  • Backport set to nautilus, mimic

#3 Updated by Nathan Cutler 6 months ago

  • Copied to Backport #43871: nautilus: batch --buestore regression unable to craete OSDs added

#4 Updated by Nathan Cutler 6 months ago

  • Copied to Backport #43872: mimic: batch --buestore regression unable to craete OSDs added

#5 Updated by Nathan Cutler 5 months 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".

Also available in: Atom PDF