```
/home/jenkins-build/build/workspace/ceph-pull-requests/src/fmt/include/fmt/core.h:1756:3: error: static_assert failed due to requirement 'formattable' "Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt"
static_assert(
^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/fmt/include/fmt/core.h:1777:10: note: in instantiation of function template specialization 'fmt::detail::make_value<fmt::basic_format_context<fmt::appender, char>, const hobject_t &>' requested here
return make_value<Context>(val);
^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/fmt/include/fmt/core.h:1899:23: note: in instantiation of function template specialization 'fmt::detail::make_arg<true, fmt::basic_format_context<fmt::appender, char>, fmt::detail::type::custom_type, const hobject_t &, 0>' requested here
data_{detail::make_arg<
^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/fmt/include/fmt/core.h:1918:10: note: in instantiation of function template specialization 'fmt::format_arg_store<fmt::basic_format_context<fmt::appender, char>, hobject_t, unsigned int, unsigned int, bool, unsigned long>::format_arg_store<const hobject_t &, unsigned int &, unsigned int &, const bool &, unsigned long &>' requested here
return {FMT_FORWARD(args)...};
^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/fmt/include/fmt/core.h:3206:28: note: in instantiation of function template specialization 'fmt::make_format_args<fmt::basic_format_context<fmt::appender, char>, const hobject_t &, unsigned int &, unsigned int &, const bool &, unsigned long &>' requested here
return vformat(fmt, fmt::make_format_args(args...));
^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/crimson/common/tri_mutex.h:136:14: note: in instantiation of function template specialization 'fmt::format<const hobject_t &, unsigned int, unsigned int, const bool &, unsigned long>' requested here
os << fmt::format("tri_mutex {} writers {} readers {}"
^
```
Patrick Donnelly [Tue, 23 Jul 2024 20:07:16 +0000 (16:07 -0400)]
script/backport-create-issue: retry without if assignee is invalid
Resolves:
WARNING:root:Missing issues will be created in Backport tracker of the relevant Redmine project
INFO:root:Redmine key was read from '$REDMINE_API_KEY'; using it
INFO:root:Processing 35 issues with status Pending Backport
Traceback (most recent call last):
File "/home/runner/work/ceph/ceph/src/script/backport-create-issue", line 411, in <module>
iterate_over_backports(redmine, issues, dry_run=args.dry_run)
File "/home/runner/work/ceph/ceph/src/script/backport-create-issue", line 354, in iterate_over_backports
update_relations(r, issue, dry_run)
File "/home/runner/work/ceph/ceph/src/script/backport-create-issue", line 242, in update_relations
other = r.issue.create(project_id=issue['project']['id'],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/redminelib/managers/base.py", line 187, in create
response = self.redmine.engine.request(self.resource_class.http_method_create, url, data=request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/redminelib/engines/base.py", line 83, in request
return self.process_response(self.session.request(method, url, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/redminelib/engines/base.py", line 178, in process_response
raise exceptions.ValidationError(', '.join(': '.join(e) if isinstance(e, list) else e for e in errors))
redminelib.exceptions.ValidationError: Assignee is invalid
Examining issue#66797 (1/35)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Samuel Just [Tue, 2 Jul 2024 22:27:55 +0000 (15:27 -0700)]
crimson/osd: execute PGListener async operations in order
- Adds ShardServices::singleton_orderer_t mechanism to ensure that
OSDSingleton calls are completed in order.
- Updates ShardServices accessors invoked from PeeringListener handlers
to use orderer.
- Updates PGListener handlers and complete_rctx to use orderer.
Fixes: https://tracker.ceph.com/issues/66316 Signed-off-by: Samuel Just <sjust@redhat.com>
myoungwon oh [Thu, 13 Jun 2024 06:07:56 +0000 (06:07 +0000)]
crimson/os/seastore: remove multistream related codes
Current codes allow the device to allocate multiple namespace without specific policy
if the nvme device report that it is capable of mutistream functionality.
So, this commit removes the multistream related code, leaving it as a TODO.
erasure-code/clay: cleanup unused but set variable count_retrieved_sub_chunks
Addresses clang 17 error:
/home/rocky/ceph/src/erasure-code/clay/ErasureCodeClay.cc:481:7: error: variable 'count_retrieved_sub_chunks' set but not used [-Werror,-Wunused-but-set-variable]
qa/workunits/rbd: avoid caching effects in luks-encryption.sh
Commit 40f6f5224bce ("qa/workunits/rbd: fix issues in
luks-encryption.sh") did the right thing for reads, which solved
most of the issue. However, it actually made a step in the opposite
direction for writes -- depending on the RBD cache settings, rbd-nbd
virtual devices can behave as physical devices with a volatile write
cache, so fsync is required.
While at it, involving O_DIRECT for reads isn't needed outside of
test_encryption_format().
J. Eric Ivancich [Thu, 18 Jul 2024 21:48:56 +0000 (17:48 -0400)]
test/rgw: address potential race condition in reshard testing
The testing code does a `reshard add` followed by a `reshard list`. On
the narrow chance that the reshard was completed between those two
commands, we need to be able to handle the case where the reshard list
is empty. In that case we'll do a `bucket stats` to verify the reshard
completed successfully.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
Nizamudeen A [Fri, 19 Jul 2024 13:44:36 +0000 (19:14 +0530)]
mgr/test_orchestrator: add apply_mds command in the test_orch
so that when we are testing things with test_orchestrator as the orch
back-end and do volume creation, it won't raise the below error
```
2024-07-19T13:40:46.349+0000 7f2d11a00640 0 [test_orchestrator ERROR orchestrator._interface]
Traceback (most recent call last):
File "/ceph/src/pybind/mgr/orchestrator/_interface.py", line 139, in wrapper
return OrchResult(f(*args, **kwargs))
File "/ceph/src/pybind/mgr/orchestrator/_interface.py", line 618, in apply
return raise_if_exception(reduce(merge, [fns[spec.service_type](spec) for spec in specs], OrchResult([])))
File "/ceph/src/pybind/mgr/orchestrator/_interface.py", line 618, in <listcomp>
return raise_if_exception(reduce(merge, [fns[spec.service_type](spec) for spec in specs], OrchResult([])))
File "/ceph/src/pybind/mgr/orchestrator/_interface.py", line 762, in apply_mds
raise NotImplementedError()
NotImplementedError
2024-07-19T13:40:46.349+0000 7f2d11a00640 0 [volumes ERROR volumes.fs.fs_util] Failed to create MDS daemons
Traceback (most recent call last):
File "/ceph/src/pybind/mgr/volumes/fs/fs_util.py", line 55, in create_mds
orchestrator.raise_if_exception(completion)
File "/ceph/src/pybind/mgr/orchestrator/_interface.py", line 242, in raise_if_exception
raise e
NotImplementedError
2024-07-19T13:40:46.350+0000 7f2d11a00640 0 [volumes INFO volumes.module] Finishing _cmd_fs_volume_create(name:foo, placement:1 ) < "None"
2024-07-19T13:40:46.350+0000 7f2d11a00640 0 [dashboard ERROR exception] Internal Server Error
Traceback (most recent call last):
File "/ceph/src/pybind/mgr/dashboard/services/exception.py", line 47, in dashboard_exception_handler
return handler(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
return self.callable(*self.args, **self.kwargs)
File "/ceph/src/pybind/mgr/dashboard/controllers/_base_controller.py", line 263, in inner
ret = func(*args, **kwargs)
File "/ceph/src/pybind/mgr/dashboard/controllers/_rest_controller.py", line 193, in wrapper
return func(*vpath, **params)
File "/ceph/src/pybind/mgr/dashboard/controllers/cephfs.py", line 65, in create
raise RuntimeError(
RuntimeError: Error creating volume foo with placement {'placement': {}, 'unmanaged': False}:
```
Fixes: https://tracker.ceph.com/issues/67044 Signed-off-by: Nizamudeen A <nia@redhat.com>