Project

General

Profile

Actions

Bug #64557

open

Error in rgw python bindings

Added by Taha Jahangir 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
python_binding
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Using python binding for rgw fails with this error:


$ python3
>>> import rgw as librgwfs
>>> librgwfs.LibRGWFS("testid", "", "")
python3: /home/jenkins-build/build/workspace/ceph-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/18.2.1/rpm/el8/BUILD/ceph-18.2.1/src/common/ceph_argparse.cc:131: std::vector<const char*> argv_to_vec(int, const char* const*): Assertion `argc > 0' failed.

Aborted (core dumped)

See:
https://github.com/ceph/ceph/blob/main/src/test/pybind/test_rgwfs.py
https://github.com/ceph/ceph/blob/main/src/pybind/rgw/rgw.pyx#L181

Actions #1

Updated by Casey Bodley 2 months ago

  • Assignee set to Matt Benjamin
Actions #2

Updated by Ilya Dryomov about 2 months ago

  • Target version deleted (v18.2.2)
Actions

Also available in: Atom PDF