ceph - ceph-devel - 2024-07-18

Timestamp (UTC)Message
2024-07-18T01:03:48.413Z
<Md Mahamudur Rahaman Sajib> Hi Everyone,
One of my test is getting continuously failed in widows test. Is there any way to check the result log for that test(It is a very simple test)?
<https://jenkins.ceph.com/job/ceph-windows-pull-requests/43810/consoleFull#212386344640526d21-3511-427d-909c-dd086c0d1034>
```[2024-07-18T00:39:44.000Z] [googletest] unittest_json_formatter failed. Error: Command returned non-zero code(1): "cmd /c 'C:\ceph\unittest_json_formatter.exe --gtest_output=xml:C:\workspace\test_results\out\unittest_json_formatter\unittest_json_formatter_results.xml  >> C:\workspace\test_results\out\unittest_json_formatter\unittest_json_formatter_results.log 2>&1'".```
2024-07-18T01:04:14.455Z
<Md Mahamudur Rahaman Sajib> Hi Everyone,
One of my test is getting continuously failed in widows test. Is there any way to check the result log for that test(It is a very simple test)?
<https://github.com/ceph/ceph/pull/58598>
<https://jenkins.ceph.com/job/ceph-windows-pull-requests/43810/consoleFull#212386344640526d21-3511-427d-909c-dd086c0d1034>
```[2024-07-18T00:39:44.000Z] [googletest] unittest_json_formatter failed. Error: Command returned non-zero code(1): "cmd /c 'C:\ceph\unittest_json_formatter.exe --gtest_output=xml:C:\workspace\test_results\out\unittest_json_formatter\unittest_json_formatter_results.xml  >> C:\workspace\test_results\out\unittest_json_formatter\unittest_json_formatter_results.log 2>&1'".```
2024-07-18T01:04:15.641Z
<Md Mahamudur Rahaman Sajib> Hi Everyone,
One of my test is getting continuously failed in widows test. Is there any way to check the result log for that test(It is a very simple test)?
<https://github.com/ceph/ceph/pull/58598>
<https://jenkins.ceph.com/job/ceph-windows-pull-requests/43810/consoleFull#212386344640526d21-3511-427d-909c-dd086c0d1034>
```[2024-07-18T00:39:44.000Z] [googletest] unittest_json_formatter failed. Error: Command returned non-zero code(1): "cmd /c 'C:\ceph\unittest_json_formatter.exe --gtest_output=xml:C:\workspace\test_results\out\unittest_json_formatter\unittest_json_formatter_results.xml  >> C:\workspace\test_results\out\unittest_json_formatter\unittest_json_formatter_results.log 2>&1'".```
2024-07-18T01:04:23.052Z
<Md Mahamudur Rahaman Sajib> Hi Everyone,
One of my test is getting continuously failed in widows test. Is there any way to check the result log for that test(It is a very simple test)?
<https://github.com/ceph/ceph/pull/58598>
<https://jenkins.ceph.com/job/ceph-windows-pull-requests/43810/consoleFull#212386344640526d21-3511-427d-909c-dd086c0d1034>
```[2024-07-18T00:39:44.000Z] [googletest] unittest_json_formatter failed. Error: Command returned non-zero code(1): "cmd /c 'C:\ceph\unittest_json_formatter.exe --gtest_output=xml:C:\workspace\test_results\out\unittest_json_formatter\unittest_json_formatter_results.xml  >> C:\workspace\test_results\out\unittest_json_formatter\unittest_json_formatter_results.log 2>&1'".```
2024-07-18T01:59:25.122Z
<李保朝> my disk is healthy ,i have checked , now ,Now that I have found that there is a problem with some of the pg, I tried to fix the pg, but it failed: https://files.slack.com/files-pri/T1HG3J90S-F07D0S3J5N0/download/image.png
2024-07-18T01:59:36.487Z
<李保朝> https://files.slack.com/files-pri/T1HG3J90S-F07D0S3J5N0/download/image.png
2024-07-18T01:59:48.723Z
<李保朝> my disk is healthy ,i have checked , now ,Now that I have found that there is a problem with some of the pg, I tried to fix the pg, but it failed
2024-07-18T06:40:20.322Z
<Lucian Petrut> Hi, there's a link to the build artifacts here: <https://jenkins.ceph.com/job/ceph-windows-pull-requests/43810/>

Here are the test results for that specfic test: [https://jenkins.ceph.com/job/ceph-windows-pull-requests/43810/artifact/artifacts/test[…]/unittest_json_formatter/unittest_json_formatter_results.log](https://jenkins.ceph.com/job/ceph-windows-pull-requests/43810/artifact/artifacts/test_results/out/unittest_json_formatter/unittest_json_formatter_results.log)
2024-07-18T06:40:41.054Z
<Lucian Petrut> Hi, there's a link to the build artifacts: <https://jenkins.ceph.com/job/ceph-windows-pull-requests/43810/>

Here are the test results for that specfic test: [https://jenkins.ceph.com/job/ceph-windows-pull-requests/43810/artifact/artifacts/test[…]/unittest_json_formatter/unittest_json_formatter_results.log](https://jenkins.ceph.com/job/ceph-windows-pull-requests/43810/artifact/artifacts/test_results/out/unittest_json_formatter/unittest_json_formatter_results.log)
2024-07-18T06:41:07.484Z
<Lucian Petrut> Hi, there's a link to the build artifacts: <https://jenkins.ceph.com/job/ceph-windows-pull-requests/43810/>

Here are test results for that specfic test: [https://jenkins.ceph.com/job/ceph-windows-pull-requests/43810/artifact/artifacts/test[…]/unittest_json_formatter/unittest_json_formatter_results.log](https://jenkins.ceph.com/job/ceph-windows-pull-requests/43810/artifact/artifacts/test_results/out/unittest_json_formatter/unittest_json_formatter_results.log)
2024-07-18T11:23:55.574Z
<Armsby> I have been hitting some strange issues with rbd-mirror on by 16.2.10 cluster, as im trying to send images to a new pool running ceph 18.2.2, it was working fine for weeks but yesterday the rbd-mirror on the old cluster keep crashing with this error
```     0> 2024-07-18T11:20:04.446+0000 7f0d16abf700 -1 *** Caught signal (Aborted) **
 in thread 7f0d16abf700 thread_name:io_context_pool

 ceph version 16.2.10 (45fa1a083152e41a408d15505f594ec5f1b4fe17) pacific (stable)
 1: /lib64/libpthread.so.0(+0x12cf0) [0x7f0d24a32cf0]
 2: gsignal()
 3: abort()
 4: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1a9) [0x7f0d255f2e39]
 5: /usr/lib64/ceph/libceph-common.so.2(+0x277002) [0x7f0d255f3002]
 6: /usr/lib64/ceph/libceph-common.so.2(+0x362fd7) [0x7f0d256defd7]
 7: (CommonSafeTimer<std::mutex>::init()+0x1fe) [0x7f0d256e563e]
 8: (journal::Journaler::Threads::Threads(ceph::common::CephContext*)+0x2fc) [0x564755936ddc]
 9: (journal::Journaler::Journaler(librados::v14_2_0::IoCtx&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, journal::Settings const&, journal::CacheManagerHandler*)+0x50) [0x564755936f10]
 10: (librbd::Journal<librbd::ImageCtx>::get_tag_owner(librados::v14_2_0::IoCtx&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >**, librbd::asio::ContextWQ**, Context*)+0x19f) [0x5647555165af]
 11: (librbd:🪞:GetInfoRequest<librbd::ImageCtx>::get_journal_tag_owner()+0x210) [0x5647556f69f0]
 12: (librbd:🪞:GetInfoRequest<librbd::ImageCtx>::handle_get_mirror_image(int)+0x8c8) [0x5647556f9d78]
 13: /lib64/librados.so.2(+0xa8546) [0x7f0d2ec17546]
 14: /lib64/librados.so.2(+0xc17e5) [0x7f0d2ec307e5]
 15: /lib64/librados.so.2(+0xc3742) [0x7f0d2ec32742]
 16: /lib64/librados.so.2(+0xc914a) [0x7f0d2ec3814a]
 17: /lib64/libstdc++.so.6(+0xc2ba3) [0x7f0d2383fba3]
 18: /lib64/libpthread.so.0(+0x81ca) [0x7f0d24a281ca]
 19: clone()
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.```
2024-07-18T11:24:56.703Z
<Armsby> I have been hitting some strange issues with rbd-mirror on by 16.2.10 cluster, as im trying to send images to a new pool running ceph 18.2.2, it was working fine for weeks but yesterday the rbd-mirror on the old cluster keep crashing with this error
```     0> 2024-07-18T11:20:04.446+0000 7f0d16abf700 -1 *** Caught signal (Aborted) **
 in thread 7f0d16abf700 thread_name:io_context_pool

 ceph version 16.2.10 (45fa1a083152e41a408d15505f594ec5f1b4fe17) pacific (stable)
 1: /lib64/libpthread.so.0(+0x12cf0) [0x7f0d24a32cf0]
 2: gsignal()
 3: abort()
 4: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1a9) [0x7f0d255f2e39]
 5: /usr/lib64/ceph/libceph-common.so.2(+0x277002) [0x7f0d255f3002]
 6: /usr/lib64/ceph/libceph-common.so.2(+0x362fd7) [0x7f0d256defd7]
 7: (CommonSafeTimer<std::mutex>::init()+0x1fe) [0x7f0d256e563e]
 8: (journal::Journaler::Threads::Threads(ceph::common::CephContext*)+0x2fc) [0x564755936ddc]
 9: (journal::Journaler::Journaler(librados::v14_2_0::IoCtx&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, journal::Settings const&, journal::CacheManagerHandler*)+0x50) [0x564755936f10]
 10: (librbd::Journal<librbd::ImageCtx>::get_tag_owner(librados::v14_2_0::IoCtx&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >**, librbd::asio::ContextWQ**, Context*)+0x19f) [0x5647555165af]
 11: (librbd:🪞:GetInfoRequest<librbd::ImageCtx>::get_journal_tag_owner()+0x210) [0x5647556f69f0]
 12: (librbd:🪞:GetInfoRequest<librbd::ImageCtx>::handle_get_mirror_image(int)+0x8c8) [0x5647556f9d78]
 13: /lib64/librados.so.2(+0xa8546) [0x7f0d2ec17546]
 14: /lib64/librados.so.2(+0xc17e5) [0x7f0d2ec307e5]
 15: /lib64/librados.so.2(+0xc3742) [0x7f0d2ec32742]
 16: /lib64/librados.so.2(+0xc914a) [0x7f0d2ec3814a]
 17: /lib64/libstdc++.so.6(+0xc2ba3) [0x7f0d2383fba3]
 18: /lib64/libpthread.so.0(+0x81ca) [0x7f0d24a281ca]
 19: clone()
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.```
I have not been able to locate the issue, do anyone has have suggestions to what the problem can be
2024-07-18T12:59:23.912Z
<Rost Khudov> Hello, is it possible to specify Python version when doing rpmbuild?
For example, when I am building I am passing WITH_PYTHON3 parameter
Can I do the same with rpmbuild?
2024-07-18T13:26:54.350Z
<Casey Bodley> maybe try running rpmbuild in a virtualenv with the desired python version
2024-07-18T13:48:08.729Z
<Ashutosh Sharma> Hello,
I am trying to setup a role based access to ceph object gateway.
I have created user using:
radosgw-admin user create --uid="test-user"

and along with that I have created role using:
```radosgw-admin role create --role-name={role-name} [--path=="{path to the role}"] [--assume-role-policy-doc={trust-policy-document}]```
This is the assume-role-policy-doc:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "AWS": [
          "arn:aws:iam:::user/test-user"
        ]
      },
      "Action": [
        "sts:AssumeRole"
      ],
      "Resource": [
        "arn:aws:s3:::test-bucket-1",
        "arn:aws:s3:::test-bucket-1/*"
      ]
    }
  ]
}

I am trying to assign "test-user" the access to "test-bucket-1", whose owner is someone else. But I am unable to do so.

Can someone explain how to do this or if assigning multiple roles to object gateway users is even possible in ceph.
2024-07-18T13:48:47.968Z
<Ashutosh Sharma> Hello,
I am trying to setup a role based access to ceph object gateway.
I have created user using:
radosgw-admin user create --uid="test-user"

and along with that I have created role using the below given command:
```radosgw-admin role create --role-name={role-name} [--path=="{path to the role}"] [--assume-role-policy-doc={trust-policy-document}]```
This is the assume-role-policy-doc:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "AWS": [
          "arn:aws:iam:::user/test-user"
        ]
      },
      "Action": [
        "sts:AssumeRole"
      ],
      "Resource": [
        "arn:aws:s3:::test-bucket-1",
        "arn:aws:s3:::test-bucket-1/*"
      ]
    }
  ]
}

I am trying to assign "test-user" the access to "test-bucket-1", whose owner is someone else. But I am unable to do so.

Can someone explain how to do this or if assigning multiple roles to object gateway users is even possible in ceph.
2024-07-18T13:56:12.428Z
<Casey Bodley> that policy document is just about permissions for the `sts:AssumeRole` action, so shouldn't mention bucket resources. you'll want to create a separate role policy with PutRolePolicy to add permissions to the role (ie which actions the role can perform against which resources)
2024-07-18T13:58:08.031Z
<Casey Bodley> there's a `radosgw-admin role policy put` command for that
2024-07-18T13:59:04.353Z
<Ashutosh Sharma> Thanks for answering, I'll trying using this and let you know.

Any issue? please create an issue here and use the infra label.