Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HELP:Failed : disk create/update failed on ceph-2. Unhandled exception: __init__() got an unexpected keyword argument 'control' #268

Open
cf532088799 opened this issue Sep 30, 2022 · 0 comments

Comments

@cf532088799
Copy link

/disks> create pool=rbd image=disk_1 size=1G
CMD: /disks/ create pool=rbd image=disk_1 size=1G count=1
pool 'rbd' is ok to use
Creating/mapping disk rbd/disk_1
Issuing disk create request
Failed : disk create/update failed on ceph-2. Unhandled exception: init() got an unexpected keyword argument 'control'

log:
(LUN.add_dev_to_lio) Adding image 'rbd/disk_1' to LIO backstore user:rbd
Sep 30 16:21:41 ceph-2 journal: Unhandled Exception#012Traceback (most recent call last):#12 File "/usr/lib/python2site-packages/flask/app.py", line 1475, in full_dispatch_request#012 rv = self.dispatch_request()#12 File "/usr//python2.7/site-packages/flask/app.py", line 1461, in dispatch_request#012 return self.view_functions[rule.endpoin**req.view_args)#12 File "/usr/lib/python2.7/site-packages/ceph_iscsi-3.4-py2.7.egg/EGG-INFO/scripts/rbd-target-apiline 106, in decorated#012 File "/usr/lib/python2.7/site-packages/ceph_iscsi-3.4-py2.7.egg/EGG-INFO/scripts/rbd-targapi", line 1208, in _disk#012 File "build/bdist.linux-x86_64/egg/ceph_iscsi_config/lun.py", line 691, in allocate#01 so = self.add_dev_to_lio(in_wwn)#12 File "build/bdist.linux-x86_64/egg/ceph_iscsi_config/lun.py", line 859, in adev_to_lio#012 new_lun = self._add_dev_to_lio_user_rbd(in_wwn)#12 File "build/bdist.linux-x86_64/egg/ceph_iscsi_cig/lun.py", line 904, in _add_dev_to_lio_user_rbd#012 wwn=in_wwn, control=control_string)#012TypeError: init()t an unexpected keyword argument 'control'

All the service in the cluster is normal,I tried difference version of ceph-iscsi,but it not works。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant