Code Monkey home page Code Monkey logo

Comments (6)

pcuzner avatar pcuzner commented on August 13, 2024

with the failure in rtslib, you should check the versions of the kernel, python-rtslib and tcmu-runner are all correct.

from ceph-iscsi-cli.

vatelzh avatar vatelzh commented on August 13, 2024

Try using pdb to debug step by step to find out the root cause :)

from ceph-iscsi-cli.

liushaobot avatar liushaobot commented on August 13, 2024

When I use targetcli to create iscsi target, everything is OK. However, I get the above error when using gwcli.

And I get following error in /var/log/tcmu-runner.log

2017-11-21 09:58:09.601 894 [WARN] timer_check_and_set_def:229 rbd/iscsi-pool.ha-image: osd op timeout ((null)) must be larger than osd heartbeat grace (20) + interval (6)!
2017-11-21 09:58:09.601 894 [WARN] timer_check_and_set_def:248 rbd/iscsi-pool.ha-image: Will set the osd op timeout to 31 instead!
2017-11-21 09:58:09.641 894 [ERROR] tcmu_rbd_image_open:298 rbd/iscsi-pool.ha-image: Could not open image ha-image/osd_op_timeout=30. (Err -2)
2017-11-21 09:58:09.645 894 [ERROR] add_device:496: handler open failed for uio0

@pcuzner

from ceph-iscsi-cli.

liushaobot avatar liushaobot commented on August 13, 2024

The image name should be ha-image. However, there is a suffix /osd_op_timeout=30.

What is it? How could I solve the problem? Thanks!

from ceph-iscsi-cli.

pcuzner avatar pcuzner commented on August 13, 2024

the osd_op_timeout is picked out by tcmu-runner. Again I'm wondering if this is a version mismatch issue. the tcmu-runner code has a change which updated the format of the config string passed from rtslib - and if that doesn't match properly it will be a malformed request to tcmu-runner.

from ceph-iscsi-cli.

liushaobot avatar liushaobot commented on August 13, 2024

Thanks a lot! @pcuzner

from ceph-iscsi-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.