Skip to content

error on rbd-target-gw restart affects second gateway #148

Description

@blballa

Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: Processing Gateway configuration
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: (Gateway.create_tpg) created TPG '1' for target iqn 'iqn.2003-01.com.redhat.iscsi-gw:iscsi-igw'
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: (Gateway.create_tpg) created TPG '2' for target iqn 'iqn.2003-01.com.redhat.iscsi-gw:iscsi-igw'
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: (Gateway.create_target) created an iscsi target with iqn of 'iqn.2003-01.com.redhat.iscsi-gw:iscsi-igw'
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: Processing LUN configuration
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: (LUN.add_dev_to_lio) Adding image 'rbd.disk_2' to LIO
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: Removing iSCSI target from LIO
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: Removing LUNs from LIO
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: Traceback (most recent call last):
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: File "/usr/bin/rbd-target-gw", line 5, in
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: pkg_resources.run_script('ceph-iscsi==3.0', 'rbd-target-gw')
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 540, in run_script
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: self.require(requires)[0].run_script(script_name, ns)
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1462, in run_script
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: exec_(script_code, namespace, namespace)
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 41, in exec_
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: exec("""exec code in globs, locs""")
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: File "", line 1, in
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: File "/usr/lib/python2.7/site-packages/ceph_iscsi-3.0-py2.7.egg/EGG-INFO/scripts/rbd-target-gw", line 451, in
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: File "/usr/lib/python2.7/site-packages/ceph_iscsi-3.0-py2.7.egg/EGG-INFO/scripts/rbd-target-gw", line 382, in main
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: File "/usr/lib/python2.7/site-packages/ceph_iscsi-3.0-py2.7.egg/EGG-INFO/scripts/rbd-target-gw", line 323, in apply_config
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: File "build/bdist.linux-x86_64/egg/ceph_iscsi_config/lun.py", line 1046, in define_luns
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: File "build/bdist.linux-x86_64/egg/ceph_iscsi_config/lun.py", line 641, in allocate
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: File "build/bdist.linux-x86_64/egg/ceph_iscsi_config/lun.py", line 797, in add_dev_to_lio
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: TypeError: init() got an unexpected keyword argument 'control'
Jan 27 22:52:52 ceph3 rbd-target-gw[17827]: Active Ceph iSCSI gateway configuration removed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions