Comments (4)
Validated this issue using the Rancher CLI v2.8.4-rc1
. See details below:
ENVIRONMENT DETAILS
- Rancher install: Docker
- Rancher version:
v2.8-head
a49ebe3. - Rancher CLI version:
v2.8.4-rc1
TEST RESULT
# | Scenario | Test Case | Result |
---|---|---|---|
1 | cli2.json created after logging in with CMD |
Run rancher login command, validate login is successful and cli2.json file exists |
✅ |
2 | cli2.json created after logging in with Powershell |
Run rancher login command, validate login is successful and cli2.json file exists |
✅ |
REPRO STEPS
- Downloaded Rancher CLI.
- In CMD, ran the following command:
>rancher.exe login --token <removed> <Rancher server URL>
...
time="2024-04-05T19:48:16Z" level=info msg="Saving config to C:\\Users\\Administrator\\.rancher\\cli2.json"
C:\Users\Administrator\Downloads\rancher-windows-amd64-v2.8.4-rc1\rancher-v2.8.4-rc1>dir C:\Users\Administrator\.rancher\
Volume in drive C has no label.
Volume Serial Number is A6F0-A5C4
Directory of C:\Users\Administrator\.rancher
04/05/2024 07:48 PM <DIR> .
04/05/2024 07:48 PM <DIR> ..
04/05/2024 07:48 PM 1,059 cli2.json
1 File(s) 1,059 bytes
2 Dir(s) 89,619,906,560 bytes free
Scenario 2
- Repeated scenario 1, but used Powershell instead of CMD - same successful results.
from rancher.
QA TEST PLAN
# | Scenario | Test Case |
---|---|---|
1 | cli2.json created after logging in with CMD |
Run rancher login command, validate login is successful and cli2.json file exists |
2 | cli2.json created after logging in with Powershell |
Run rancher login command, validate login is successful and cli2.json file exists |
from rancher.
Reproduced this issue using the Rancher CLI v2.8.0. See details below:
ENVIRONMENT DETAILS
- Rancher install: Docker
- Rancher version:
v2.8-head
6732909. - Rancher CLI version:
v2.8.0
TEST RESULT
# | Scenario | Test Case | Result |
---|---|---|---|
1 | cli2.json created after logging in with CMD |
Run rancher login command, validate login is successful and cli2.json file exists |
❌ |
REPRO STEPS
- Downloaded Rancher CLI on Windows client machine.
- In CMD, ran the following command:
>rancher.exe login --token <removed> <Rancher server URL>
...
Do you want to continue connecting (yes/no)? yes
NUMBER CLUSTER NAME PROJECT ID PROJECT NAME PROJECT DESCRIPTION
1 auto-ec2-mgxkr <removed> System System project created for the cluster
2 auto-ec2-mgxkr <removed> Default Default project created for the cluster
3 mew-test <removed> Default Default project created for the cluster
4 mew-test <removed> System System project created for the cluster
5 local <removed> Default Default project created for the cluster
6 local <removed> System System project created for the cluster
Select a Project:5
time="2024-03-28T18:46:30Z" level=info msg="Saving config to \\.rancher\\cli2.json"
time="2024-03-28T18:46:30Z" level=fatal msg="open \\.rancher\\cli2.json: The system cannot find the path specified."
Now that this is reproduced, I will await for an RC so that I can properly validate this.
from rancher.
RC v2.8.4-rc1
has been created so this issue is now ready to be tested
from rancher.
Related Issues (20)
- Update main branch to point to dashboard main branch
- [RFE] Move bcrypt password hash off of the user object.
- [BUG] rancher-monitoring kubelet servicemonitor
- [BUG] Error Logs spam after Cluster Deletion
- Bump v2.10 dynamiclistener consumers to use release v0.6.1
- Bump v2.9 dynamiclistener consumers to use release v0.6.1
- [v2.9] [BUG] SAML provider search always returns users
- [BUG]: 2.9 : Rancher Logs filled with errors related to auth-user-info-resync-cron for every 2mins HOT 5
- [main] [BUG] CATTLE_AGENT_FALLBACK_PATH environment variable is way too prominent for custom clusters and can lead to confusion
- [BUG] [v2.9.1] Can not upgrade downstream cluster to new RKE template revision
- [2.10] Rancher Logs filled with errors related to auth-user-info-resync-cron for every 2mins HOT 1
- [BUG] ImagePullBackOff Error for rancher-alerting-drivers-sachet Due to Unsupported ARM64 Architecture
- Upgrade gomock dependency HOT 1
- [BUG]
- [BUG]Rancherv2.8.5 Server, After installation, the web interface displays garbled English text. HOT 3
- [BUG] Exoscale driver doesn't work because of deprecated API HOT 1
- [BUG] Error adding OCI repo from ECR as ClusterRepo HOT 3
- [BUG] rancher-kiali-server-crd chart no longer exists on rancher:latest repository HOT 1
- [BUG] Windows Exporter CrashLoopBackoff on windows node HOT 2
- [BUG] Cert-rotation fails, with the following error: `Failing etcd machine(s)` on downstream HA K3s clusters HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rancher.