-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Use Khepri to store vhosts, users and runtime parameters #4703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a05ae38
to
cbf4b53
Compare
c651536
to
afc12e3
Compare
0efad05
to
a4eb89f
Compare
3e48687
to
51d56dd
Compare
It is handled by Khepri now.
If we find some crashes after stopping a node, the crash reports are logged in Common Test HTML report and an assertion is fired. Here is an example of a crash report found: The console output: * [khepri_store] policy_ttl (00:00.574) operator_policy_ttl (00:00.178) operator_retroactive_policy_ttl (00:00.154) operator_retroactive_policy_publish_ttl (00:01.677) policy_SUITE > khepri_store {error, {{assertEqual, [{module,rabbit_ct_broker_helpers}, {line,1050}, {expression,"CrashesCount"}, {expected,0}, {value,1}]}, [{rabbit_ct_broker_helpers,find_crashes_in_logs,1, [{file,"rabbit_ct_broker_helpers.erl"},{line,1050}]}, {rabbit_ct_broker_helpers,stop_rabbitmq_nodes,1, [{file,"rabbit_ct_broker_helpers.erl"},{line,1019}]}, {rabbit_ct_helpers,run_steps,2, [{file,"rabbit_ct_helpers.erl"},{line,136}]}, {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]}, {test_server,run_test_case_eval1,6, [{file,"test_server.erl"},{line,1380}]}, {test_server,run_test_case_eval,9, [{file,"test_server.erl"},{line,1224}]}]}} The Common Test HTML (truncated) report: *** User 2022-06-10 14:58:50.687 *** Looking up any crash reports in the node log files. If we find some, they will appear below: *** User 2022-06-10 14:58:50.716 *** gen_server termination: 2022-06-10 14:58:25.785158+02:00 [error] <0.1387.0> ** Generic server rabbit_node_monitor terminating 2022-06-10 14:58:25.785158+02:00 [error] <0.1387.0> ** Last message in was {'DOWN',#Ref<0.2117588230.1026555905.48245>,process, 2022-06-10 14:58:25.785158+02:00 [error] <0.1387.0> {rabbit,'rmq-ct-khepri_store-1-21000@localhost'}, 2022-06-10 14:58:25.785158+02:00 [error] <0.1387.0> normal} (...) *** User 2022-06-10 14:58:50.717 *** Found 1 crash reports
51d56dd
to
f91548d
Compare
…igration function
This phase-1-only pull request was superseded by the full integration in #7206. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TBW; this pull request is mainly to trigger testing in GitHub Actions. A complete description will be written when the work is closer to completion.