Repository navigation
test/rgw/notifications: do not delay http responses to notifications - #55663
Conversation
|
jenkins test make check |
|
test is still failing with the fix. see: https://pulpito.ceph.com/yuvalif-2024-03-14_08:49:41-rgw:notifications-wip-yuval-63909-distro-default-smithi/ |
7218d77 to
2c18817
Compare
@yuvalif i am trying to remember, i had done some analysis on this and i am trying to remember where i put those analysis. |
CC @AliMasarweh thanks for the input. i looked into the cls call that removes from the queue and update the count: could not see any race condition there. only issue is thet deletion from the queue may succeed while updating the count in the head may fail. but in such a case, we should see this failure reflected in the rgw log (which i don't see). maybe ther issue is in the notification manager code: https://github.com/ceph/ceph/blob/main/src/rgw/driver/rados/rgw_notify.cc#L469 btw, could not reproduce that locally, even with multisite and multiple RGWs runing. |
| if record['s3']['bucket']['name'] == key.bucket.name and \ | ||
| record['s3']['object']['key'] == key.name: | ||
| # Assertion Error needs to be fixed | ||
| #assert_equal(key.etag[1:-1], record['s3']['object']['eTag']) |
There was a problem hiding this comment.
why are we doing [1:-1], are we cutting the brackets at the start and the end?
There was a problem hiding this comment.
not sure about that. this function needs some cleanup anyway.
will take that to a separate PR
this is for tests that are skipped |
|
@yuvalif did you try running your fix against a multisite cluster ? |
i ran that locally against mulltisite, did not observe issues. |
81f2cb2 to
be1b1e6
Compare
we also increase the wating time after rerunning the http server to allow fo the persistent notifications retries to finish Fixes: https://tracker.ceph.com/issues/63909 Signed-off-by: Yuval Lifshitz <[email protected]>
this may happen when a test fails, and does not cleanup topics it created. other tests that verify the number of topics may fail because of that. all tests that verify number of topics, should delete all topics at the start of the test. Signed-off-by: Yuval Lifshitz <[email protected]>
when checking persistent stats queue length Signed-off-by: Yuval Lifshitz <[email protected]>
|
another teuthology job: https://pulpito.ceph.com/yuvalif-2024-04-09_11:31:02-rgw:notifications-wip-yuval-63909-distro-default-smithi/ |
|
i had seen the same crash on the account topic branch: cbodley#7 (comment) |
|
after this merges, it might be worth doing some rgw/notifications runs with valgrind enabled |
test_ps_s3_persistent_topic_stats may delete boto client threads before they are done. also, no need to run the http server twice Fixes: https://tracker.ceph.com/issues/63909 Signed-off-by: Yuval Lifshitz <[email protected]>
|
teuthology is mostly passing: https://pulpito.ceph.com/yuvalif-2024-04-10_09:16:59-rgw:notifications-wip-yuval-63909-distro-default-smithi/ constantly crashing when doing realm reload while failing to send notifications to an http server. this is tracked here: https://tracker.ceph.com/issues/65337 |
Fixes: https://tracker.ceph.com/issues/63909
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e