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

Create exeption with "longobject.c:998: bad argument to internal function" #8

Open
nefelim4ag opened this issue Mar 29, 2015 · 1 comment
Assignees

Comments

@nefelim4ag
Copy link

Ubuntu 15.04 targetcli from ubuntu repos
Same error for any block device

/backstores/iblock> create dev=/dev/rbd/rbd/storage name=storage
Generating a wwn serial.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 990, in run_interactive
self._cli_loop()
File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 820, in _cli_loop
self.run_cmdline(cmdline)
File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 934, in run_cmdline
self._execute_command(path, command, pparams, kparams)
File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 909, in _execute_command
result = target.execute_command(command, pparams, kparams)
File "/usr/lib/python2.7/dist-packages/targetcli/ui_node.py", line 103, in execute_command
pparams, kparams)
File "/usr/lib/python2.7/dist-packages/configshell/node.py", line 1416, in execute_command
result = method(_pparams, *_kparams)
File "/usr/lib/python2.7/dist-packages/targetcli/ui_backstore.py", line 394, in ui_command_create
raise exception
SystemError: ../Objects/longobject.c:998: bad argument to internal function

@tramjoe tramjoe self-assigned this May 12, 2015
@tramjoe
Copy link
Contributor

tramjoe commented May 12, 2015

Need to install ubuntu and reproduce, bust most likely a python ubuntu-related breakage. Will investigate anyway in case it is something from our side, but seems related to a known bug in python 2.7.9:

https://bugs.python.org/issue23842
https://hg.python.org/cpython/file/default/Objects/longobject.c#l998

What is the version of python that you use, and can you retest with an older or more recent one?

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

2 participants