Ceph : Issues
https://tracker.ceph.com/
https://tracker.ceph.com/favicon.ico
2024-01-22T14:09:43Z
Ceph
Redmine
Ceph - Bug #64113 (New): ceph fails to build with Python 3.13: error: there are no arguments to ‘...
https://tracker.ceph.com/issues/64113
2024-01-22T14:09:43Z
Kaleb KEITHLEY
<p>ceph fails to build with Python 3.13.03.</p>
<p>./boost/python/call_method.hpp:61:9: error: there are no arguments to ‘PyEval_CallMethod’ that depend on a template parameter, so a declaration of ‘PyEval_CallMethod’ must be available [-fpermissive]<br /> 61 | PyObject* const result =
| ^<sub>~~~~~~~~~~~~~</sub>~</p>
<p><a class="external" href="https://docs.python.org/3.13/whatsnew/3.13.html">https://docs.python.org/3.13/whatsnew/3.13.html</a></p>
<p>For the build logs, see:<br /><a class="external" href="https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06924129-ceph/">https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06924129-ceph/</a></p>
<p>For all our attempts to build ceph with Python 3.13, see:<br /><a class="external" href="https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/ceph/">https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/ceph/</a></p>
<p>Testing and mass rebuild of packages is happening in copr.<br />You can follow these instructions to test locally in mock if your package builds with Python 3.13:<br /><a class="external" href="https://copr.fedorainfracloud.org/coprs/g/python/python3.13/">https://copr.fedorainfracloud.org/coprs/g/python/python3.13/</a></p>
<p>Let us know here if you have any questions.</p>
<p>Python 3.13 is planned to be included in Fedora 41.<br />To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13.<br />A build failure prevents us from testing all dependent packages (transitive [Build]Requires),<br />so if this package is required a lot, it's important for us to get it fixed soon.</p>
RADOS - Bug #64050 (Fix Under Review): FTBFS on fedora rawhide(f40) with gcc-14
https://tracker.ceph.com/issues/64050
2024-01-16T14:57:39Z
Kaleb KEITHLEY
<p><a class="external" href="https://kojipkgs.fedoraproject.org/work/tasks/8423/111828423/build.log">https://kojipkgs.fedoraproject.org/work/tasks/8423/111828423/build.log</a></p>
Ceph - Bug #63617 (New): ceph-common: CommonSafeTimer<std::mutex>::timer_thread(): python3.12 kil...
https://tracker.ceph.com/issues/63617
2023-11-23T18:40:45Z
Kaleb KEITHLEY
<p><a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=2251165">https://bugzilla.redhat.com/show_bug.cgi?id=2251165</a></p>
<p>Description of problem:</p>
<p>Version-Release number of selected component:<br />ceph-common-2:18.2.1-1.fc39</p>
<p>Additional info:<br />reporter: libreport-2.17.11<br />cmdline: /usr/bin/python3.12 /usr/bin/ceph -s<br />backtrace_rating: 4<br />runlevel: N 5<br />executable: /usr/bin/python3.12<br />journald_cursor: s=9f8a7a66b4194fdcbd75dcd3edf4da87;i=173e8c976;b=a08b8db920744522980a5387af245706;m=2743cc1c;t=60accf74a277f;x=cef1ac3a8dc81a9d<br />comment: <br />cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.konsole-44b42a69b68946748c9899bd38ac8c6d.scope<br />kernel: 6.6.2-200.fc39.x86_64<br />uid: 1000<br />rootdir: /<br />crash_function: CommonSafeTimer<std::mutex>::timer_thread<br />type: CCpp<br />package: ceph-common-2:18.2.1-1.fc39<br />reason: python3.12 killed by SIGSEGV</p>
<p>Truncated backtrace:<br />Thread no. 1 (3 frames)<br /> #0 CommonSafeTimer<std::mutex>::timer_thread at /usr/src/debug/ceph-18.2.1-1.fc39.x86_64/src/common/Timer.cc:103<br /> <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: gpf in tcp_sendpage (Closed)" href="https://tracker.ceph.com/issues/1">#1</a> CommonSafeTimerThread<std::mutex>::entry at /usr/src/debug/ceph-18.2.1-1.fc39.x86_64/src/common/Timer.cc:33<br /> <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: leaked dentry ref on umount (Closed)" href="https://tracker.ceph.com/issues/3">#3</a> clone3 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78</p>
Orchestrator - Bug #63561 (New): cephadm: build time install of dependencies fails on build syste...
https://tracker.ceph.com/issues/63561
2023-11-16T17:31:02Z
Kaleb KEITHLEY
<p>A recent change to .../cephadm/build.py added</p>
<p>...<br />class Config:<br /> def <i>init</i>(self, cli_args):<br /> self.cli_args = cli_args<br /> self._maj_min = sys.version_info[0:2]<br /> self.install_dependencies = True<br /> ^<sup>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</sup>^<br /> if self._maj_min == (3, 6):<br /> self.pip_split = True<br /> self.requirements = PY36_REQUIREMENTS<br /> else:<br /> self.pip_split = False<br /> self.requirements = PY_REQUIREMENTS<br /> self.pip_venv = PipEnv[cli_args.pip_use_venv]<br />...</p>
<p>Which is going to fail on build systems like Fedora mock/koji, Red Hat brew, Debian&Ubuntu pbuilder and Ubuntu launchpad. And no doubt many others.</p>
<p>These build environments preinstall all the dependencies and disable the network to ensure a clean, reproducible build environment.</p>
<p>Even when the dependencies are already provided, the above still will try (and fail) to install over the network, causing the build to fail.</p>
Ceph - Bug #63402 (New): build: more cmake race conditions related to global_legacy_options.h
https://tracker.ceph.com/issues/63402
2023-11-02T13:18:30Z
Kaleb KEITHLEY
<p>I mainly see this on s390x builds for fedora rawhide (f40)</p>
<p>One example is <a class="external" href="https://kojipkgs.fedoraproject.org//work/tasks/6564/108426564/build.log">https://kojipkgs.fedoraproject.org//work/tasks/6564/108426564/build.log</a> (which won't hang around for long)</p>
<p>See the attached patch file that I used to get fedora builds working more reliably.</p>
rbd - Bug #62140 (Resolved): pybind/rbd/rbd.pyx does not build with Cython-3
https://tracker.ceph.com/issues/62140
2023-07-24T17:48:04Z
Kaleb KEITHLEY
<p>Fedora rawhide (a.k.a. f39) has updated Cython to Cython-3 (from Cython-0.29)</p>
<p>Builds now fail with the following errors:<br /><pre>
...
cd /builddir/build/BUILD/ceph-18.1.2/src/pybind/rbd && env CC="/usr/bin/gcc" CFLAGS="" CPPFLAGS="-iquote/builddir/build/BUILD/ceph-18.1.2/src/include -w -D'void0=dead_function(void)' -D'__Pyx_check_single_interpreter(ARG)=ARG##0'" CXX="/usr/bin/g++" LDSHARED="/usr/bin/gcc -shared" OPT="-DNDEBUG -g -fwrapv -O2 -w" LDFLAGS=-L/builddir/build/BUILD/ceph-18.1.2/redhat-linux-build/lib CYTHON_BUILD_DIR=/builddir/build/BUILD/ceph-18.1.2/redhat-linux-build/src/pybind/rbd CEPH_LIBDIR=/builddir/build/BUILD/ceph-18.1.2/redhat-linux-build/lib /usr/bin/python3.12 /builddir/build/BUILD/ceph-18.1.2/src/pybind/rbd/setup.py build --build-base /builddir/build/BUILD/ceph-18.1.2/redhat-linux-build/lib/cython_modules --build-platlib /builddir/build/BUILD/ceph-18.1.2/redhat-linux-build/lib/cython_modules/lib.3
/builddir/build/BUILD/ceph-18.1.2/src/pybind/rbd/setup.py:8: DeprecationWarning: 'pkgutil.find_loader' is deprecated and slated for removal in Python 3.14; use importlib.util.find_spec() instead
if not pkgutil.find_loader('setuptools'):
warning: rbd.pyx:36:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: rbd.pyx:361:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: c_rbd.pxd:596:48: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython.
warning: ../rados/rados.pxd:7:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
Error compiling Cython file:
------------------------------------------------------------
...
"""
name = cstr(name, 'name')
cdef:
rados_ioctx_t _ioctx = convert_ioctx(ioctx)
char *_name = name
librbd_progress_fn_t _prog_cb = &no_op_progress_callback
^
------------------------------------------------------------
rbd.pyx:760:44: Cannot assign type 'int (*)(uint64_t, uint64_t, void *) except -1' to 'librbd_progress_fn_t'
Error compiling Cython file:
------------------------------------------------------------
...
rados_ioctx_t _ioctx = convert_ioctx(ioctx)
char *_name = name
librbd_progress_fn_t _prog_cb = &no_op_progress_callback
void *_prog_arg = NULL
if on_progress:
_prog_cb = &progress_callback
^
------------------------------------------------------------
rbd.pyx:763:23: Cannot assign type 'int (*)(uint64_t, uint64_t, void *) except -1' to 'librbd_progress_fn_t'
Error compiling Cython file:
------------------------------------------------------------
...
image_id = cstr(image_id, 'image_id')
cdef:
rados_ioctx_t _ioctx = convert_ioctx(ioctx)
char *_image_id = image_id
int _force = force
librbd_progress_fn_t _prog_cb = &no_op_progress_callback
^
------------------------------------------------------------
rbd.pyx:868:44: Cannot assign type 'int (*)(uint64_t, uint64_t, void *) except -1' to 'librbd_progress_fn_t'
Error compiling Cython file:
------------------------------------------------------------
...
char *_image_id = image_id
int _force = force
librbd_progress_fn_t _prog_cb = &no_op_progress_callback
void *_prog_arg = NULL
if on_progress:
_prog_cb = &progress_callback
^
------------------------------------------------------------
rbd.pyx:871:23: Cannot assign type 'int (*)(uint64_t, uint64_t, void *) except -1' to 'librbd_progress_fn_t'
Error compiling Cython file:
------------------------------------------------------------
...
"""
image_name = cstr(image_name, 'image_name')
cdef:
rados_ioctx_t _ioctx = convert_ioctx(ioctx)
char *_image_name = image_name
librbd_progress_fn_t _prog_cb = &no_op_progress_callback
^
------------------------------------------------------------
rbd.pyx:1097:44: Cannot assign type 'int (*)(uint64_t, uint64_t, void *) except -1' to 'librbd_progress_fn_t'
Error compiling Cython file:
------------------------------------------------------------
...
rados_ioctx_t _ioctx = convert_ioctx(ioctx)
char *_image_name = image_name
librbd_progress_fn_t _prog_cb = &no_op_progress_callback
void *_prog_arg = NULL
if on_progress:
_prog_cb = &progress_callback
^
------------------------------------------------------------
rbd.pyx:1100:23: Cannot assign type 'int (*)(uint64_t, uint64_t, void *) except -1' to 'librbd_progress_fn_t'
Error compiling Cython file:
------------------------------------------------------------
...
"""
image_name = cstr(image_name, 'image_name')
cdef:
rados_ioctx_t _ioctx = convert_ioctx(ioctx)
char *_image_name = image_name
librbd_progress_fn_t _prog_cb = &no_op_progress_callback
^
------------------------------------------------------------
rbd.pyx:1124:44: Cannot assign type 'int (*)(uint64_t, uint64_t, void *) except -1' to 'librbd_progress_fn_t'
Error compiling Cython file:
------------------------------------------------------------
...
rados_ioctx_t _ioctx = convert_ioctx(ioctx)
char *_image_name = image_name
librbd_progress_fn_t _prog_cb = &no_op_progress_callback
void *_prog_arg = NULL
if on_progress:
_prog_cb = &progress_callback
^
------------------------------------------------------------
rbd.pyx:1127:23: Cannot assign type 'int (*)(uint64_t, uint64_t, void *) except -1' to 'librbd_progress_fn_t'
Error compiling Cython file:
------------------------------------------------------------
...
"""
image_name = cstr(image_name, 'image_name')
cdef:
rados_ioctx_t _ioctx = convert_ioctx(ioctx)
char *_image_name = image_name
librbd_progress_fn_t _prog_cb = &no_op_progress_callback
^
------------------------------------------------------------
rbd.pyx:1151:44: Cannot assign type 'int (*)(uint64_t, uint64_t, void *) except -1' to 'librbd_progress_fn_t'
Error compiling Cython file:
------------------------------------------------------------
...
rados_ioctx_t _ioctx = convert_ioctx(ioctx)
char *_image_name = image_name
librbd_progress_fn_t _prog_cb = &no_op_progress_callback
void *_prog_arg = NULL
if on_progress:
_prog_cb = &progress_callback
^
------------------------------------------------------------
rbd.pyx:1154:23: Cannot assign type 'int (*)(uint64_t, uint64_t, void *) except -1' to 'librbd_progress_fn_t'
Error compiling Cython file:
------------------------------------------------------------
...
cdef:
rbd_completion_t completion
PyObject* p_completion_obj= <PyObject*>completion_obj
with nogil:
ret = rbd_aio_create_completion(p_completion_obj, __aio_complete_cb,
^
------------------------------------------------------------
rbd.pyx:2927:62: Cannot assign type 'void (rbd_completion_t, void *) except * nogil' to 'rbd_callback_t'
Error compiling Cython file:
------------------------------------------------------------
...
if not allow_shrink and old_size > size:
raise InvalidArgument("error allow_shrink is False but old_size > new_size")
cdef:
uint64_t _size = size
bint _allow_shrink = allow_shrink
librbd_progress_fn_t prog_cb = &no_op_progress_callback
^
------------------------------------------------------------
rbd.pyx:3007:43: Cannot assign type 'int (*)(uint64_t, uint64_t, void *) except -1' to 'librbd_progress_fn_t'
Error compiling Cython file:
------------------------------------------------------------
...
"""
name = cstr(name, 'name')
cdef:
char *_name = name
uint32_t _flags = flags
librbd_progress_fn_t prog_cb = &no_op_progress_callback
^
------------------------------------------------------------
rbd.pyx:3511:43: Cannot assign type 'int (*)(uint64_t, uint64_t, void *) except -1' to 'librbd_progress_fn_t'
Error compiling Cython file:
------------------------------------------------------------
...
name = cstr(name, 'name')
cdef:
char *_name = name
uint32_t _flags = flags
librbd_progress_fn_t prog_cb = &no_op_progress_callback
^
------------------------------------------------------------
rbd.pyx:3570:43: Cannot assign type 'int (*)(uint64_t, uint64_t, void *) except -1' to 'librbd_progress_fn_t'
Error compiling Cython file:
------------------------------------------------------------
...
Flatten clone image (copy all blocks from parent to child)
:param on_progress: optional progress callback function
:type on_progress: callback function
"""
cdef:
librbd_progress_fn_t _prog_cb = &no_op_progress_callback
^
------------------------------------------------------------
rbd.pyx:4085:44: Cannot assign type 'int (*)(uint64_t, uint64_t, void *) except -1' to 'librbd_progress_fn_t'
Error compiling Cython file:
------------------------------------------------------------
...
"""
cdef:
librbd_progress_fn_t _prog_cb = &no_op_progress_callback
void *_prog_arg = NULL
if on_progress:
_prog_cb = &progress_callback
^
------------------------------------------------------------
rbd.pyx:4088:23: Cannot assign type 'int (*)(uint64_t, uint64_t, void *) except -1' to 'librbd_progress_fn_t'
Error compiling Cython file:
------------------------------------------------------------
...
@requires_not_closed
def rebuild_object_map(self):
"""
Rebuild the object map for the image HEAD or currently set snapshot
"""
cdef librbd_progress_fn_t prog_cb = &no_op_progress_callback
^
------------------------------------------------------------
rbd.pyx:4112:44: Cannot assign type 'int (*)(uint64_t, uint64_t, void *) except -1' to 'librbd_progress_fn_t'
Compiling rbd.pyx because it changed.
[1/1] Cythonizing rbd.pyx
Traceback (most recent call last):
File "/builddir/build/BUILD/ceph-18.1.2/src/pybind/rbd/setup.py", line 192, in <module>
ext_modules=cythonize(
^^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/Cython/Build/Dependencies.py", line 1134, in cythonize
cythonize_one(*args)
File "/usr/lib64/python3.12/site-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: rbd.pyx
...
</pre></p>
<p>full log at <a class="external" href="https://kojipkgs.fedoraproject.org//work/tasks/4604/103744604/build.log">https://kojipkgs.fedoraproject.org//work/tasks/4604/103744604/build.log</a> for a limited amount of time. Note the warnings too.</p>
<p>I used the following patch:<br /><pre><code class="diff syntaxhl"><span class="CodeRay"><span class="line head"><span class="head">--- </span><span class="filename">ceph-18.1.2/src/pybind/rbd/rbd.pyx.orig 2023-07-21 13:30:08.156825317 -0400</span></span>
<span class="line head"><span class="head">+++ </span><span class="filename">ceph-18.1.2/src/pybind/rbd/rbd.pyx 2023-07-24 09:09:27.930137117 -0400</span></span>
<span class="line change"><span class="change">@@</span> -371,10 +371,10 <span class="change">@@</span></span>
cdef rados_ioctx_t convert_ioctx(rados.Ioctx ioctx) except? NULL:
return <rados_ioctx_t>ioctx.io
<span class="line delete"><span class="delete">-</span>cdef int progress_callback(uint64_t offset, uint64_t total, void* ptr) with gil:</span>
<span class="line insert"><span class="insert">+</span>cdef int progress_callback(uint64_t offset, uint64_t total, void* ptr) <span class="eyecatcher">noexcept </span>with gil:</span>
return (<object>ptr)(offset, total)
<span class="line delete"><span class="delete">-</span>cdef int no_op_progress_callback(uint64_t offset, uint64_t total, void* ptr):</span>
<span class="line insert"><span class="insert">+</span>cdef int no_op_progress_callback(uint64_t offset, uint64_t total, void* ptr)<span class="eyecatcher"> noexcept with gil</span>:</span>
return 0
def cstr(val, name, encoding="utf-8", opt=False):
<span class="line change"><span class="change">@@</span> -426,7 +426,7 <span class="change">@@</span></span>
cdef class Completion
<span class="line delete"><span class="delete">-</span>cdef void __aio_complete_cb(rbd_completion_t completion, void *args) with gil:</span>
<span class="line insert"><span class="insert">+</span>cdef void __aio_complete_cb(rbd_completion_t completion, void *args) <span class="eyecatcher">noexcept </span>with gil:</span>
"""
Callback to oncomplete() for asynchronous operations
"""
</span></code></pre></p>
Ceph - Bug #59690 (New): ceph fails to build, fatal error: global_legacy_options.h: No such file ...
https://tracker.ceph.com/issues/59690
2023-05-09T13:21:28Z
Kaleb KEITHLEY
<p>see <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=2196438">https://bugzilla.redhat.com/show_bug.cgi?id=2196438</a></p>
<p>In file included from /builddir/build/BUILD/ceph-17.2.6/src/common/config_values.h:59,<br /> from /builddir/build/BUILD/ceph-17.2.6/src/common/config.h:27,<br /> from /builddir/build/BUILD/ceph-17.2.6/src/common/config_proxy.h:6,<br /> from /builddir/build/BUILD/ceph-17.2.6/src/common/ceph_context.h:41,<br /> from /builddir/build/BUILD/ceph-17.2.6/src/common/dout.h:29,<br /> from /builddir/build/BUILD/ceph-17.2.6/src/include/Context.h:19,<br /> from /builddir/build/BUILD/ceph-17.2.6/src/mon/mon_types.h:20,<br /> from /builddir/build/BUILD/ceph-17.2.6/src/mon/MonMap.h:28,<br /> from /builddir/build/BUILD/ceph-17.2.6/src/krbd.cc:44:<br />/builddir/build/BUILD/ceph-17.2.6/src/common/options/legacy_config_opts.h:1:10: fatal error: global_legacy_options.h: No such file or directory<br /> 1 | #include "global_legacy_options.h"
| ^<sub>~~~~~~~~~~~~~~~~~~~~~</sub>~<br />compilation terminated.</p>
<p><a class="external" href="https://github.com/ceph/ceph/commit/3b3da64d741960e2ecb217c1990142f4a88f2fa3">https://github.com/ceph/ceph/commit/3b3da64d741960e2ecb217c1990142f4a88f2fa3</a> attempted to fix it but it is still seen occasionally even in 17.2.6 and main.</p>
Ceph - Bug #59660 (Need More Info): Corruption: unknown checksum type 4 (ceph-osd fails to start)
https://tracker.ceph.com/issues/59660
2023-05-05T15:13:15Z
Kaleb KEITHLEY
<p>(Note that ceph-17.2.6 in fedora rawhide is built with the bundled rocksdb.)</p>
<p>After updating ceph packages to ceph-osd-17.2.6-5.fc39.x86_64, OSD no longer starts.<br />Previously working version was ceph-osd-2:17.2.5-13.fc39.x86_64.</p>
<p>Relevant ceph-osd logs (full logfile attached):<br />#v+<br />…<br />2023-05-05T15:49:55.044+0200 7fabe775a6c0 2 rocksdb: [table/block_based/block_based_table_reader.cc:1161] Encountered error while reading data from properties block Corruption: unknown checksum type 4 from footer of db/002868.sst, while checking block at offset 68813363 size 86<br />2023-05-05T15:49:55.044+0200 7fabf99d92c0 4 rocksdb: [db/db_impl/db_impl.cc:446] Shutdown: canceling all background work<br />2023-05-05T15:49:55.044+0200 7fabf99d92c0 4 rocksdb: [db/db_impl/db_impl.cc:625] Shutdown complete<br />2023-05-05T15:49:55.044+0200 7fabf99d92c0 <del>1 rocksdb: Corruption: unknown checksum type 4 from footer of db/002878.sst, while checking block at offset 17055611 size 86<br />2023-05-05T15:49:55.044+0200 7fabf99d92c0 -1 bluestore(/var/lib/ceph/osd/ceph-2) _open_db erroring opening db: <br />2023-05-05T15:49:55.044+0200 7fabf99d92c0 1 bluefs umount<br />2023-05-05T15:49:55.044+0200 7fabf99d92c0 1 bdev(0x55ac9fce9800 /var/lib/ceph/osd/ceph-2/block) close<br />2023-05-05T15:49:55.055+0200 7fabf99d92c0 1 bdev(0x55ac9fce8000 /var/lib/ceph/osd/ceph-2/block) close<br />2023-05-05T15:49:55.316+0200 7fabf99d92c0 -1 osd.2 0 OSD:init: unable to mount object store<br />2023-05-05T15:49:55.316+0200 7fabf99d92c0 -1 <sup>[[0;31m ** ERROR: osd init failed: (5) Input/output error</sup>[[0m<br />#v</del></p>
<p>Reproducible: Always</p>
<p>Steps to Reproduce:<br />1. Start ceph-osd<br />2.<br />3.<br />Actual Results: <br />Ceph-OSD fails to start.</p>
<p>Expected Results: <br />Ceph-OSD running.</p>
Ceph - Bug #58845 (New): ceph dashboard create new admin user
https://tracker.ceph.com/issues/58845
2023-02-24T13:00:11Z
Kaleb KEITHLEY
<p>see <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=2169390">https://bugzilla.redhat.com/show_bug.cgi?id=2169390</a></p>
<p>Description of problem:<br />Is not possible for me to create a admin user with used this command (command by ceph documentation : <a class="external" href="https://docs.ceph.com/en/quincy/mgr/dashboard/#enabling">https://docs.ceph.com/en/quincy/mgr/dashboard/#enabling</a>)<br />for the CEPH Dashboard.</p>
<p>Version-Release number of selected component (if applicable):<br />ceph/ceph-mgr-dashboard.noarch 17.2.5-1 last Fedora 37 update</p>
<p>How reproducible:<br />all time</p>
<p>Steps to Reproduce:<br />1.launch command : ceph dashboard ac-user-create admin -i pass.txt administrator<br />same result with : ceph dashboard ac-user-create admin -i /root/pass.txt administrator<br />2.<br />3.</p>
<p>Actual results:</p>
<p>[root@xxxxx ~]# ceph dashboard ac-user-create admin <del>i pass.txt administrator<br />Inferring fsid 19203ec2-xxxxxx-4c6c-bb6a-xxxxxxx<br />Inferring config /etc/ceph/ceph.conf<br />Using ceph image with id 'xxxxxxx' and tag 'v17' created on 2022-10-17 23:41:41 +0000 UTC<br />quay.io/ceph/ceph@sha256:xxxxxxxxxxxxxxxxxxxxxxxxx<br />Can't open input file pass.txt: [Errno 2] No such file or directory: 'pass.txt'<br />[root@xxxxxxxx ~]# ll<br />total 32<br />-rw------</del>. 1 root root 917 10 févr. 08:42 anaconda-ks.cfg<br /><del>rw-r--r-</del>. 1 root root 2396 10 févr. 10:47 cephmon.mod<br /><del>rw-r--r-</del>. 1 root root 2412 10 févr. 10:47 cephmon.pp<br /><del>rw-r--r-</del>. 1 root root 943 10 févr. 10:47 cephmon.te<br /><del>rw-r--r-</del>. 1 root root 675 13 févr. 04:15 csi-rbd-sc.yaml<br /><del>r--r----</del>. 1 root root 9 13 févr. 08:28 pass.txt</p>
<p>Expected results:
{"username": "admin", "password": "$2b$12$/xxxxxxxx.xxxxxxx", "roles": ["administrator"], "name": null, "email": null, "lastUpdate": xxxxxxx, "enabled": true, "pwdExpirationDate": null, "pwdUpdateRequired": false}</p>
<p>Additional info:</p>
devops - Bug #58519 (New): packaging: Use %_fortify_level to disable fortification
https://tracker.ceph.com/issues/58519
2023-01-20T12:37:12Z
Kaleb KEITHLEY
<p>see <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=2161385">https://bugzilla.redhat.com/show_bug.cgi?id=2161385</a></p>
<p>Instead of twiddling CFLAGS, use the %_fortify_level macro instead, see "Fortification level" in the build flags guide:</p>
<p><a class="external" href="https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/buildflags.md#source-fortification">https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/buildflags.md#source-fortification</a></p>
<p>To disable fortification, simply undefine the %_fortify_level macro:</p>
<p>%undefine _fortify_level</p>
Ceph - Bug #58477 (Pending Backport): gcc-13 and uint{32,64}_t sloppiness
https://tracker.ceph.com/issues/58477
2023-01-17T21:13:28Z
Kaleb KEITHLEY
<p>Fedora 38/rawhide recently updated to gcc-13.</p>
<p>There are a small handful of places where std::uint{32,64}_t is used, but should only be uint{32,64}_t.</p>
<p>There are also a few places where <cstdint> needs to be included in order for the uint{32,64}_t types to be in scope.</p>
<p>ceph-17.2.5 fails to build without the attached patch</p>
Ceph - Bug #58128 (New): FTBFS with fmtlib 9.1.0
https://tracker.ceph.com/issues/58128
2022-11-30T16:03:50Z
Kaleb KEITHLEY
<p>two recent commits:<br /> 01f6bef6e5250bf568d9d5f6acf37de64236159a and<br /> 3f67d67ede11605b78f9e3abeacd9c46c37d3794<br />(contained in ceph-18.0.0-1021.gdaa7502b and later)</p>
<p>break when compiled with fmt-9.1.x on fedora-37 and fedora-38/rawhide</p>
Ceph - Bug #58032 (New): ceph-base: main(): ceph-crash:109:main:TypeError: handler() takes 1 posi...
https://tracker.ceph.com/issues/58032
2022-11-15T18:27:13Z
Kaleb KEITHLEY
<p><a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=2141246">https://bugzilla.redhat.com/show_bug.cgi?id=2141246</a></p>
<p>Description of problem:<br />crash happened in the background</p>
<p>Version-Release number of selected component:<br />ceph-base-2:17.2.5-1.fc37</p>
<p>Additional info:<br />reporter: libreport-2.17.4<br />cgroup: 0::/system.slice/ceph-crash.service<br />cmdline: /usr/bin/python3.11 /usr/bin/ceph-crash<br />crash_function: main<br />exception_type: TypeError<br />executable: /usr/bin/ceph-crash<br />interpreter: python3-3.11.0-1.fc37.x86_64<br />kernel: 5.19.16-301.fc37.x86_64<br />runlevel: N 3<br />type: Python3<br />uid: 0</p>
<p>Truncated backtrace:<br />ceph-crash:109:main:TypeError: handler() takes 1 positional argument but 2 were given</p>
<p>Traceback (most recent call last):<br /> File "/usr/bin/ceph-crash", line 113, in <module><br /> main()<br /> File "/usr/bin/ceph-crash", line 109, in main<br /> time.sleep(args.delay * 60)<br />TypeError: handler() takes 1 positional argument but 2 were given</p>
<p>Local variables in innermost frame:<br />args: Namespace(path='/var/lib/ceph/crash', delay=10.0, name=None, log_level=None)<br />postdir: '/var/lib/ceph/crash/posted'</p>
Ceph - Bug #56610 (New): FTBFS with fmtlib 9.0.0
https://tracker.ceph.com/issues/56610
2022-07-18T17:44:55Z
Kaleb KEITHLEY
<p>Fedora 37/rawhide is updating to fmt 9 and builds fail, see <a class="external" href="https://kojipkgs.fedoraproject.org//work/tasks/6356/89606356/build.log">https://kojipkgs.fedoraproject.org//work/tasks/6356/89606356/build.log</a></p>
<p>Also over in Debian experimental, see <a class="external" href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014549">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014549</a>:<br />In file included from /usr/include/fmt/format.h:48,<br /> from /usr/include/fmt/ostream.h:14,<br /> from /<<PKGBUILDDIR>>/src/seastar/include/seastar/core/print.hh:24,<br /> from /<<PKGBUILDDIR>>/src/seastar/include/seastar/util/backtrace.hh:30,<br /> from /<<PKGBUILDDIR>>/src/seastar/include/seastar/core/task.hh:26,<br /> from /<<PKGBUILDDIR>>/src/seastar/include/seastar/core/future.hh:24,<br /> from /<<PKGBUILDDIR>>/src/seastar/include/seastar/core/seastar.hh:49,<br /> from /<<PKGBUILDDIR>>/src/seastar/include/seastar/core/reactor.hh:24,<br /> from /<<PKGBUILDDIR>>/src/seastar/src/core/exception_hacks.cc:61:<br />/usr/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context<fmt:<br />:v9::appender, char>; T = seastar::tasktrace&]’:<br />/usr/include/fmt/core.h:1753:29: required from ‘constexpr fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::<br />basic_format_context<fmt::v9::appender, char>; fmt::v9::detail::type <anonymous> = fmt::v9::detail::type::custom_type; T = seastar::tasktrace&; typename std::enable_if<IS_<br />PACKED, int>::type <anonymous> = 0]’<br />/usr/include/fmt/core.h:1877:77: required from ‘constexpr fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {seastar::tasktrace&}; Context = <br />fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {seastar::tasktrace}]’<br />/usr/include/fmt/core.h:1894:38: required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ..<br />.> fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {seastar::tasktrace&}]’<br />/usr/include/fmt/core.h:3192:52: required from ‘OutputIt fmt::v9::format_to(OutputIt, fmt::v9::format_string<T ...>, T&& ...) [with OutputIt = seastar::internal::log_buf<br />::inserter_iterator; T = {seastar::tasktrace}; typename std::enable_if<fmt::v9::detail::is_output_iterator<OutputIt, char>::value, int>::type <anonymous> = 0; fmt::v9::for<br />mat_string<T ...> = fmt::v9::basic_format_string<char, seastar::tasktrace>]’<br />/<<PKGBUILDDIR>>/src/seastar/include/seastar/util/log.hh:180:42: required from ‘void seastar::logger::log(seastar::log_level, const char*, Args&& ...) [with Args = {seas<br />tar::tasktrace}]’<br />/<<PKGBUILDDIR>>/src/seastar/include/seastar/util/log.hh:323:12: required from ‘void seastar::logger::trace(const char*, Args&& ...) [with Args = {seastar::tasktrace}]’<br />/<<PKGBUILDDIR>>/src/seastar/src/core/exception_hacks.cc:101:31: required from here<br />/usr/include/fmt/core.h:1733:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: <a class="external" href="https://fmt.dev/latest/api.html#udt">https://fmt.dev/latest/api.html#udt</a><br /> 1733 | formattable,
| ^<sub>~~~~~~~</sub>~<br />/usr/include/fmt/core.h:1733:7: note: ‘formattable’ evaluates to false</p>
Ceph - Bug #56150 (New): Numerous SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' for...
https://tracker.ceph.com/issues/56150
2022-06-21T18:24:45Z
Kaleb KEITHLEY
<p>see <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=2095946Description">https://bugzilla.redhat.com/show_bug.cgi?id=2095946Description</a> of problem:<br />Some commands fail with "SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats". Health is permanently in error:</p>
<ol>
<li>ceph -s<br /> cluster:<br /> id: 128d924d-38ab-4d9b-a4fe-74a59e3ca69c<br /> health: HEALTH_ERR<br /> Module 'devicehealth' has failed: PY_SSIZE_T_CLEAN macro must be defined for '#' formats</li>
</ol>
<ol>
<li>ceph telemetry status<br />Error EINVAL: SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats</li>
</ol>
<p>mgr log:</p>
<p>2022-06-11T00:01:01.048+0200 7f1aa4be7640 -1 mgr handle_command module 'crash' command handler threw exception: PY_SSIZE_T_CLEAN macro must be defined for '#' formats<br />2022-06-11T00:01:01.049+0200 7f1aa4be7640 -1 mgr.server reply reply (22) Invalid argument SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats</p>
<p>Version-Release number of selected component (if applicable):<br />ceph-common-17.2.0-5.fc37.x86_64<br />ceph-mgr-17.2.0-5.fc37.x86_64</p>
<p>How reproducible:<br />Always</p>
<p>Additional info:<br /><a class="external" href="https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1964322">https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1964322</a><br /><a class="external" href="https://bugs.archlinux.org/task/73335">https://bugs.archlinux.org/task/73335</a></p>