ceph - ceph-devel - 2024-07-11

Timestamp (UTC)Message
2024-07-11T10:39:51.773Z
<Rost Khudov> I have an error during test execution

I am running following command as it is said in [documentation](https://github.com/ceph/ceph/blob/27ff2146568526ba4b350011cc7532376d552974/src/test/rgw/test_multi.md):
```nosetests src/test/rgw/test_multi.py -v -m test_topic_notification_sync```
I got following output:
```Ran 1 test in 104.435s

FAILED (errors=1)```
when looking in logs, I can see following:
```b'<?xml version="1.0" encoding="UTF-8"?><Error><Code>InvalidAccessKeyId</Code><RequestId>tx000006f62743393edabe1-00668fb42a-102f-default</RequestId><HostId>102f-default-default</HostId></Error>'
botocore.hooks: DEBUG: Event needs-retry.sns.CreateTopic: calling handler <botocore.retryhandler.RetryHandler object at 0x7f53badbacf8>```
2024-07-11T10:40:11.647Z
<Rost Khudov> Does it mean that [default](https://github.com/ceph/ceph/blob/27ff2146568526ba4b350011cc7532376d552974/src/test/rgw/test_multi.py#L169) configuration is not enough?
2024-07-11T11:30:54.074Z
<Rost Khudov> Hello, I have a question regarding multisite test suite for rgw
I am following documentation: <https://github.com/ceph/ceph/blob/main/src/test/rgw/test_multi.md>
When running <https://github.com/ceph/ceph/blob/main/src/test/rgw/test_multi.py> it uses `mstart.sh` to start cluster, but does it call `mstop.sh` when tests are finished? when tests are failed?
2024-07-11T11:30:55.993Z
<Rost Khudov> Hello, I have a question regarding multisite test suite for rgw
I am following documentation: <https://github.com/ceph/ceph/blob/main/src/test/rgw/test_multi.md>
When running <https://github.com/ceph/ceph/blob/main/src/test/rgw/test_multi.py> it uses `mstart.sh` to start cluster, but does it call `mstop.sh` when tests are finished? when tests are failed?
2024-07-11T13:46:56.539Z
<Gilad Sid> Hi everyone 🙂
I can see ceph-conf command is giving a wrong output when trying to get the value for the admin_socket of certain daemons:

```[root@deer-noam-allinone-0 bin (Active)]# ceph-conf --show-config-value admin_socket --name osd.0
/var/run/ceph/ceph-osd.0.asok```
the .asok file for osd.0 is located at
```/var/run/ceph/<cluster_fsid>/ceph-osd.0.asok```
Does anyone know generally where we update the db used by the ceph-conf cmd?
2024-07-11T13:47:25.309Z
<Gilad Sid> Hi everyone 🙂
I can see ceph-conf command is giving a wrong output when trying to get the value for the admin_socket of certain daemons:

```[root@deer-noam-allinone-0 bin (Active)]# ceph-conf --show-config-value admin_socket --name osd.0
/var/run/ceph/ceph-osd.0.asok```
the .asok file for osd.0 is located at
```/var/run/ceph/<cluster_fsid>/ceph-osd.0.asok```
Does anyone know generally what db is being used by the ceph-conf cmd?
2024-07-11T14:33:24.218Z
<Rost Khudov> For different test cases do I need to configure something additionally?
For example,
I am running following command:
```nosetests src/test/rgw/test_multi.py:test_replication_status```
with following environment variables:
```MON=1 OSD=3 MDS=0 MGR=0 RGW_PER_ZONE=1```
But I do have an error:
```F
======================================================================
FAIL: test_multi.test_replication_status
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/usr/local/lib/python3.9/site-packages/nose/util.py", line 620, in newfunc
    return func(*arg, **kw)
  File "/src/test/rgw/rgw_multi/tests.py", line 1976, in test_replication_status
    zonegroup_bucket_checkpoint(zonegroup_conns, bucket.name)
  File "/src/test/rgw/rgw_multi/tests.py", line 398, in zonegroup_bucket_checkpoint
    zone_bucket_checkpoint(target_conn.zone, source_conn.zone, bucket_name)
  File "/src/test/rgw/rgw_multi/tests.py", line 390, in zone_bucket_checkpoint
    target_zone.cluster.admin(cmd, debug_rgw=1)
  File "/src/test/rgw/test_multi.py", line 65, in admin
    return bash(cmd, **kwargs)
  File "/src/test/rgw/test_multi.py", line 46, in bash
    assert(process.returncode == 0)
AssertionError:```
Do I need to configure something else?
2024-07-11T16:04:03.004Z
<Casey Bodley> you shouldn't need extra config, no. some of these tests aren't especially reliable
2024-07-11T16:05:34.866Z
<Rost Khudov> okay, it explains a lot 🙂
2024-07-11T16:37:18.621Z
<Suyash Dongre> Hi!
Has the Ceph Infrastructure meet been cancelled?
2024-07-11T16:37:56.987Z
<yuriw> <https://meet.jit.si/ceph-infra>
2024-07-11T16:43:12.983Z
<Suyash Dongre> @yuriw Thankyou
2024-07-11T17:49:39.644Z
<John Mulligan> ugh. I totally missed it.

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