cloud-native-toolkit / cloud-native-toolkit/planning

icc command fails to generate config if user does not have permission for satellite

Open
#709 1 comment 0 reactions 1 assignee Claimed by @seansund View on GitHub
bug cli
Dominant language
No language data
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

From @bwoolf1

```
$ icc --generate
Generate config for accounts: bwoolf-amol
Logging in to account: bwoolf-amol
Processing provider: classic
Processing provider: vpc-gen2
Processing provider: satellite
FAILED
Not authorized to use this command. Only a limited group of early adopters have access to this feature. If you are sure that you are part of the limited group of early adopters, contact IBM Cloud support. (E0163)
Incident ID: e04ef573-3190-4d07-afe9-bd79a2d9aad6
Config file generated/updated: /Users/bwoolf/ibmcloud.yaml
Next steps:
- Run '/Users/bwoolf/bin/icc' to list the clusters
- Run '/Users/bwoolf/bin/icc {nickname}' to log into a cluster
- Run '/Users/bwoolf/bin/icc --nickname' to update the nickname for a cluster
```

When the user is not authorized for satellite the command fails and then wipes out the `ibmcloud.yaml` file

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.