2024-10-09T08:10:58.710Z | <Jonathan Bailey> This issue has now been fixed |
2024-10-09T10:52:50.436Z | <Rost Khudov> Hi team!
I think I have an issue:
```In file included from /ceph-src/src/common/io_exerciser/IoOp.h:5,
from /ceph-src/src/common/io_exerciser/Model.h:3,
from /ceph-src/src/common/io_exerciser/ObjectModel.h:3,
from /ceph-src/src/common/io_exerciser/RadosIo.h:3,
from /ceph-src/src/common/io_exerciser/RadosIo.cc:1:
/ceph-src/src/common/io_exerciser/RadosIo.cc: In member function 'virtual bool ceph::io_exerciser::RadosIo::readyForIoOp(ceph::io_exerciser::IoOp&)':
/ceph-src/src/common/io_exerciser/RadosIo.cc:84:20: error: 'ceph::mutex' {aka 'class std::mutex'} has no member named 'is_locked_by_me'
84 | ceph_assert(lock.is_locked_by_me()); //Must be called with lock held
| ^~~~~~~~~~~~~~~
/ceph-src/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert'
106 | ((expr) \
| ^~~~
In file included from /ceph-src/src/common/io_exerciser/Model.h:7:
/ceph-src/src/librados/librados_asio.h: In instantiation of 'auto librados::async_operate(ExecutionContext&, v14_2_0::IoCtx&, const std::string&, v14_2_0::ObjectWriteOperation*, int, const jspan_context*, CompletionToken&&) [with ExecutionContext = boost::asio::io_context; CompletionToken = ceph::io_exerciser::RadosIo::applyIoOp(ceph::io_exerciser::IoOp&)::<lambda(boost::system::error_code)>&; std::string = std::__cxx11::basic_string<char>; jspan_context = opentelemetry::v1::trace::SpanContext]':
/ceph-src/src/common/io_exerciser/RadosIo.cc:125:30: required from here```
Does anybody have the similar issue? |
2024-10-09T10:54:24.123Z | <Rost Khudov> I don't see any recent changes in [Radoslo.cc](https://github.com/ceph/ceph/blob/main/src/common/io_exerciser/RadosIo.cc) that can cause this issue |
2024-10-09T10:56:04.352Z | <Rost Khudov> Can someone help me here? |
2024-10-09T10:59:18.661Z | <Jonathan Bailey> Hey, this should be fixed by this PR: <https://github.com/ceph/ceph/pull/60211> when it gets merged.
The issue is the is_locked_by_me() function that [RadosIo.cc](http://RadosIo.cc) is calling does not exist when building in release mode - you can just remove that line if you want until the above PR is fixed if you need to unblock yourself, then it should work when building in release mode. |
2024-10-09T11:00:24.537Z | <Rost Khudov> Oh okay, I can wait until this PR is merged
Hope it will be merged soon, since it is only one line change |
2024-10-09T11:00:30.834Z | <Rost Khudov> Thank you for heads up |
2024-10-09T11:00:47.120Z | <Jonathan Bailey> No problem 🙂 |
2024-10-09T11:03:16.269Z | <Rost Khudov> just wonder how CI/CD pipeline is working then🤔 |
2024-10-09T12:50:54.160Z | <Rost Khudov> Hi team, I have a question. I am trying to create iam account, I am executing following command as it is said in the documentation: <https://docs.ceph.com/en/latest/radosgw/account/#create-an-account>
```radosgw-admin account create --account-id=... --account-name=... --email=...```
But I get following error:
```ERROR: invalid flag --account-id=...``` |
2024-10-09T12:54:34.610Z | <Rost Khudov> and when I am trying to get information about iam account by executing following command:
```radosgw-admin account get --account-id=...```
I get the same error:
```ERROR: invalid flag --account-id=...``` |
2024-10-09T12:58:47.937Z | <Rost Khudov> Am I doing something wrong?
For example in vstart, I can see that account-id works fine with account: <https://github.com/ceph/ceph/blob/5463de65348f2e103179ea46953dd4a0e414fd39/src/vstart.sh#L1882> |
2024-10-09T13:04:28.518Z | <Casey Bodley> looks like your radosgw-admin doesn't support accounts? what does `radosgw-admin --version` say? |
2024-10-09T15:26:42.463Z | <Casey Bodley> weekly rgw meeting soon in [ <https://pad.ceph.com/p/rgw-weekly](https://meet.google.com/mmj-uzzv-qce> ) |