frostfs-cli
says "missing port in address" when the RPC endpoint is not defined at all #884
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#884
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Expected Behavior
When no RPC endpoint is defined in the configuration file, frostfs-cli says something to that effect, ex. "RPC endpoint is not defined".
Current Behavior
When no RPC endpoint is defined in the configuration file, frostfs-cli says: "can't create API client: provided RPC endpoint is incorrect: missing port in address".
Possible Solution
No fix can be suggested by a QA engineer. Further solutions shall be up to developers.
Steps to Reproduce (for bugs)
Context
Not a major bug but a little confusing, expecially for novice users who do not yet understand what different endpoints are for (if the control endpoint is present in the file and includes the port number, the error may look like there is something wrong with with that particular endpoint, although there isn't, and the user can waste a lot of time figuring this out).
Regression
No.
Your Environment
Sbercloud.
Let's return more specific error in case the parameter is missing or empty
Don't forger to check both
--endpoint
(control) and--rpc-endpoint
.frostfs-cli says "missing port in address" when the RPC endpoint is not defined at alltofrostfs-cli
says "missing port in address" when the RPC endpoint is not defined at all