Repository navigation
Conversation
This patch enables user access to multiprovider functionality. Multi-provider access may be configured in the server and agent configuration files. Features: control Signed-off-by: Kris Jacque <kris.jacque@hpe.com>
|
Ticket title is 'Enable multiprovider configuration and user-facing output' |
|
Test stage Functional Hardware Medium MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-19346/1/execution/node/1948/log |
|
Failures: The support collect log error is legitimate. I think this (otherwise unrelated) code is keying off from user-readable system query output instead of JSON. Will fix. |
Features: control Signed-off-by: Kris Jacque <kris.jacque@hpe.com>
Features: control
|
Test stage Functional Hardware Medium MD on SSD completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-19346/2/testReport/ |
|
GHA failure is unrelated: DAOS-19821 The only CI test failure is unrelated: https://daosio.atlassian.net/browse/DAOS-15518 |
Features: control Signed-off-by: Kris Jacque <kris.jacque@hpe.com>
Features: control Signed-off-by: Kris Jacque <kris.jacque@hpe.com>
|
Test stage Functional Hardware Medium MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-19346/4/execution/node/1845/log |
Features: control Signed-off-by: Kris Jacque <kris.jacque@hpe.com>
tanabarr
left a comment
There was a problem hiding this comment.
Is the administration guide up-to-date with multi- provider documentation? The config file updates look non- intuitive for the administrator and will needs clear instructions.
The comments I have made are nonblocking but could be considered for a future code improvements to improve clarity within the code.
| [0-1] Joined | ||
| 2 Stopped | ||
|
|
||
| System property self_heal flags disabled: exclude, pool_exclude, pool_rebuild |
There was a problem hiding this comment.
nit, I think this probably would look better with the system property flags printed after the provider table
| return strings.Join(result, MultiProviderSeparator) | ||
| } | ||
|
|
||
| fc.Provider = normalizeMultiprov(fc.Provider) |
There was a problem hiding this comment.
shouldn't we be changing the names to plurals to make sure the naming continues to be accurate and intuitive? if the user could expect the strings to indicate multiple providers then we should be calling the struct field "Providers" so as with Interfaces and InterfacePorts.
| if trimmed != "" { | ||
| result = append(result, trimmed) | ||
| } | ||
| if len(strs) == 1 && strs[0] == "" { |
There was a problem hiding this comment.
maybe this could be handled with a "MultiValueString" type that handed the serialisation/deserialisation internally that we could apply to values like Providers/Interfaces/InterfacePorts that had this behaviour rather than sprinkling around the normalize and split helper functions?
This patch enables user access to multiprovider functionality. Multi-provider access may be configured in the server and agent configuration files.
Features: control
Steps for the author:
After all prior steps are complete: