[
https://issues.apache.org/jira/browse/IGNITE-20025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vadim Pakhnushev reassigned IGNITE-20025:
-----------------------------------------
Assignee: Vadim Pakhnushev
> Command 'connect defaultNode' throws error
> ------------------------------------------
>
> Key: IGNITE-20025
> URL: https://issues.apache.org/jira/browse/IGNITE-20025
> Project: Ignite
> Issue Type: Bug
> Components: cli
> Affects Versions: 3.0.0-beta1
> Reporter: Dmitry Baranov
> Assignee: Vadim Pakhnushev
> Priority: Major
> Labels: ignite-3
> Attachments: image-2023-07-23-16-57-58-225.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Steps to reproduce the issue
> 1. from disconnected state execute
> {code:java}
> connect{code}
> Connected to http://localhost:10300
> 2.
> {code:java}
> disconnect{code}
> Disconnected from http://localhost:10300
> 3.
> {code:java}
> connect http://localhost:10300{code}
> Connected to http://localhost:10300
> 4. [admin:defaultNode]>
> {code:java}
> disconnect{code}
> Disconnected from http://localhost:10300
> 5. [disconnected]>
> {code:java}
> connect defaultNode{code}
> *Actual:*
> Invalid value for positional parameter at index 0 (<nodeNameOrUrl>): Node
> defaultNode not found. Provide valid name or use URL
> Usage: connect [-hv] <nodeNameOrUrl>
> Connects to Ignite 3 node
> <nodeNameOrUrl> URL or name of an Ignite node
> -h, --help Show help for the specified command
> -v, --verbose Show additional information: logs, REST calls
> {*}Expected{*}:
> Successful connection to the defaultNode
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)