ceph - ceph-devel - 2024-08-27

Timestamp (UTC)Message
2024-08-27T06:21:16.838Z
<Afreen> cc @JuanMi
2024-08-27T06:48:33.457Z
<JuanMi> @Ivveh, the CephFs daemon must take care of that first. Please Open a FR in <https://tracker.ceph.com/projects/cephfs>
2024-08-27T07:04:23.221Z
<Rico> hi @Ernesto Puerta. can't find any changelog / news related to this problem. do you have informations ?
2024-08-27T08:53:44.610Z
<Rost Khudov> Hello, I am trying to run rgw notification tests
I am following [documentation for rabbitmq](https://github.com/ceph/ceph/tree/main/src/test/rgw/bucket_notification#rabbitmq-tests), before running tests itself I am install following [requirements](https://github.com/ceph/ceph/blob/main/src/test/rgw/bucket_notification/requirements.txt)
But after executing command from the doc:
```BNTESTS_CONF=bntests.conf python -m nose -s /path/to/ceph/src/test/rgw/bucket_notification/test_bn.py -v -a 'amqp_ssl_test'```
I have such error:
```from http.server import ThreadingHTTPServer, BaseHTTPRequestHandler
ImportError: cannot import name 'ThreadingHTTPServer'```
I have this behaviour for `squid` branch
Could you please help me here?
2024-08-27T08:59:48.419Z
<bl___> google is not indexing tracker.ceph.com ("site:tracker.ceph.com") finds almost nothing - it used to work before, wondering if robots.txt has been altered or something?
2024-08-27T12:19:34.012Z
<Matt Vandermeulen> I'm not sure if that changed during the redmine update, but it looks like the robots.txt is disallowing most things.
2024-08-27T14:43:51.511Z
<Adam Kraitman> Looking at the modification date the robots.txt didn't change since 29/03/2023, the tracker upgrade didn't change it
2024-08-27T14:46:03.694Z
<Adam Kraitman> Looking at the modification date the robots.txt didn't change since 29/03/2023, the tracker upgrade didn't changed it
2024-08-27T16:12:05.783Z
<Rost Khudov> Hi @Casey Bodley
I have a question regarding your [changes](https://bbgithub.dev.bloomberg.com/ceph/ceph/commit/cdd75b499f7fe944906d863b9933e8d3aff95e5f) to `src/test/rgw/bucket_notification/test_bn.py`
Before it was possible to run tests using localhost, but now it is using some IP to pass successfully in Teuthology
But how it should be configured if I am running it locally?
2024-08-27T16:13:59.488Z
<Rost Khudov> Hi @Casey Bodley
I have a question regarding your [changes](https://github.com/ceph/ceph/commit/cdd75b499f7fe944906d863b9933e8d3aff95e5f) to `src/test/rgw/bucket_notification/test_bn.py`
Before it was possible to run tests using localhost, but now it is using some IP to pass successfully in Teuthology
But how it should be configured if I am running it locally following [documentation](https://github.com/ceph/ceph/tree/main/src/test/rgw/bucket_notification#rabbitmq-tests)
2024-08-27T16:17:56.414Z
<Casey Bodley> what error are you seeing?
2024-08-27T16:18:19.575Z
<Casey Bodley> seems like you should still be able to use `host = localhost` in the config file
2024-08-27T16:21:15.310Z
<Rost Khudov> It can't establish connection with my local rabbitmq-server
```failed to connect to rabbitmq (remaining retries 9): ConnectionClosedByBroker: (403) 'ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.'```
I am using [default configuration file](https://github.com/ceph/ceph/blob/main/src/test/rgw/bucket_notification/bntests.conf.SAMPLE)
Before that commit it connected sucessfully, because it was using `localhost`, but now it doesn't
2024-08-27T16:21:20.733Z
<Rost Khudov> It can't establish connection with my local rabbitmq-server
```failed to connect to rabbitmq (remaining retries 9): ConnectionClosedByBroker: (403) 'ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.'```
I am using [default configuration file](https://github.com/ceph/ceph/blob/main/src/test/rgw/bucket_notification/bntests.conf.SAMPLE)
Before that commit it connected successfully, because it was using `localhost`, but now it doesn't
2024-08-27T16:24:31.647Z
<Casey Bodley> cc @Yuval Lifshitz
2024-08-27T16:30:41.328Z
<Rost Khudov> I did a bit of debugging
I run [test_ps_s3_notification_filter_on_master](https://github.com/ceph/ceph/blob/main/src/test/rgw/bucket_notification/test_bn.py#L1037)
```hostname = get_ip()```
returns `10.34.14.193` which might work for run in Teuthology, but don't work for local testing
2024-08-27T16:33:03.703Z
<Rost Khudov> so it is just some static IP for private network
2024-08-27T17:54:17.899Z
<Yuval Lifshitz> the issue is that, by default, the rabbitmq-server allow the default "guest" user to connect only to localhost
2024-08-27T17:55:45.284Z
<Yuval Lifshitz> please see the change here: <https://github.com/ceph/ceph/commit/cdd75b499f7fe944906d863b9933e8d3aff95e5f#diff-5a6fe80a23fea39efdd849f5f89152763fbff745fa6df8405ce55de12bec430f>

you need to add the line `loopback_users.guest = false` to the rabbirmq config file
usually at: `/etc/rabbitmq/rabbitmq.conf`
2024-08-27T18:00:03.555Z
<Rost Khudov> let me try this one
2024-08-27T18:26:07.478Z
<Frank Filz> @gregsfortytwo I've got the NVME fix to remove shallow = true but I still get the following error from CMake:

CMake Error at src/CMakeLists.txt:913 (find_package):
  Could not find a package configuration file provided by "gRPC" with any of
  the following names:

    gRPCConfig.cmake
    grpc-config.cmake

  Add the installation prefix of "gRPC" to CMAKE_PREFIX_PATH or set
  "gRPC_DIR" to a directory containing one of the above files.  If "gRPC"
  provides a separate development package or SDK, be sure it has been
  installed.
2024-08-27T18:26:54.684Z
<gregsfortytwo> I haven’t done any of my own builds in a while so I don’t know why it’s broken
2024-08-27T18:27:02.448Z
<gregsfortytwo> maybe the squid branch is in better shape?
2024-08-27T18:43:45.111Z
<Rost Khudov> Yes, it works. Thank you
2024-08-27T18:44:21.810Z
<Rost Khudov> But I don't understand how it connects to `10.34.14.193` ?
2024-08-27T18:47:59.848Z
<Yuval Lifshitz> this is probably the ip address of the host on which you are running the test and the rabbitmq-server
2024-08-27T18:49:27.988Z
<Rost Khudov> oh okay, so it takes local address
I got it
2024-08-27T20:48:38.342Z
<Yonatan Zaken> Hi All 🙂
Has anyone managed to successfully execute `./intall-deps.sh` on WSL Ubuntu?
2024-08-27T20:50:53.126Z
<Yonatan Zaken> Hi All 🙂
Has anyone managed to use the `./intall-deps.sh` to install all the build dependencies on WSL Ubuntu?

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