-
Notifications
You must be signed in to change notification settings - Fork 302
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
DAOS-16840 control: Deprecate access_points in server config #15548
Merged
Merged
Changes from 4 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
45869b0
DAOS-16840 control: Deprecate access_points in server config
mjmac 32dde76
doc updates
mjmac d0aeddb
Rename access_points throughout the rest of the code and tests
mjmac 4485af6
doc fixes
mjmac ae45d06
Example fixups
mjmac 3a874a5
oops, fix config unit tests
mjmac File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be a good idea to clarify here that
access_points
should be a subset of themgmt_svc_replicas
.I wonder if it would also be a good time to add some documentation indicating the behavior under various circumstances, i.e. if the MS leader isn't in the list for some reason, or if the nodes in the list aren't replicas at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we want to put those implementation details in the user documentation. In practice, it really doesn't matter which server addresses go in the agent config. If anything, I'd be inclined to change the guidance to just use a hostlist that covers all of the servers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To expand a bit on this comment, as I've noted elsewhere, longer-term I think we want to move away from exposing a fixed set of server addresses as "special" to the agent. Keeping this somewhat vague now gives us flexibility to change the server side of things without requiring changes to the agent config process.
I've pushed the latest commit with
Features: control
. I was under the impression that the test harness was smart enough to automatically test all changed .py files now, but maybe not?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's only smart enough when you modify specific functional tests.
pr
- not smart!dfs
- slightly smartpr
- not smart!The mapping is here
https://github.com/daos-stack/daos/blob/master/src/tests/ftest/tags.yaml
This hasn't gotten much attention since I originally added it (I haven't had time), but we could add something like this e.g. Or whatever you think makes sense for the code you regularly edit.
But keep in mind with this mapping, even if you modify a single line comment, all
control
tests will be included. So devs should address this for their feature areas.The way to override this behavior would be to use
Test-tag: <specific tests I want to run>
Test-tag
overrides whatever CI auto-determined.Features
is on top of whatever CI auto-determined.