-
Notifications
You must be signed in to change notification settings - Fork 107
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
Compare APS changes in cmsweb with cmsweb-prod #12152
Comments
I decided to write comprehensive details about how to compare APS rules and make it easy for everyone to understand their flow. Maybe we should put it as wmcore document (feel free to vote for it and we can transfer docs below over there). The APS rules are located in cmsweb-k8s/services_config gitlab repository. The APS configuration file can be configured to use either direct rules as list of dictionaries or use ingress files. Currently on cmsweb we adopted use of ingress files where each files contains rules for a given service, e.g.
where:
For complete details of APS and its structure please refer to this document. Please note, that APS executable can be used to dump rules in human readable form using the following command:
The printed rules are shown in exact order as they will be traversed by APS server, and order of rules is important. Now, let's back to the issue in question. Here is my findings about APS rules between cmsweb and cmsweb-prod:
and, then I compared rules from
ObservationThe difference between cmsweb and cmsweb-prod should be only visible for DBS server redirect rules since on cmsweb-prod we use dedicated DBS cluster. Therefore, all other rules should looks alike. But I found the following:
You can see all differences in sorted_rules.diff. |
Impact of the bug
WM central services
Describe the bug
In the past week, we have found wrong APS rules for workqueue/workqueue_inbox, and there could be additional complex urls (couchdb ones) with problems as well.
So we should take advantage that cmsweb-prod is still running with Apache, and compare urls/redirects betweeen the 2 environment (which are actually sharing the same backend database).
How to reproduce it
None
Expected behavior
Behavior and outcome of cmsweb vs cmsweb-prod urls must be exact the same.
Further details in https://gitlab.cern.ch/cmsweb-k8s/services_config/-/issues/3
Additional context and error message
None
The text was updated successfully, but these errors were encountered: