Comments (6)
@levinwang88 Are you sure you waited enough before running the "accept"
You can also add the option `--wait 60" to wait the CSR.
from clusteradm.
@levinwang88
Could you please provide more info about your env ?
CSR c2-mq8rj already approved
Error: no CSR to approve for cluster c2
For your provided info, if the CSR has been already approved, it will not be approved again.
I have reproduced your error. I try to approve the csr again and got the same error as you.
So I think it should be not an error/bug from clusteradm.
from clusteradm.
I first deleted the previously joined cluster and then rejoined the cluster. This problem occurred.
- I use the command "clusteradm join --hub-token <token_data> --hub-apiserver https://126.0.0.1:39242 --cluster-name <managed_cluster_name>" to I use the command to rejoin the cluster, and the csr pending state will also appear on the hub.
- This problem will occur when I go to the approve cluster, and I find that the previous pending state has indeed been appove, but no cluster was found using the command "kc get managedcluster"
- If the previous managed cluster has been joined to the hub and I want to rejoin, what should I do? Can I delete the cluster from the hub cluster first?
from clusteradm.
@levinwang88 yes you can delete the cluster, and then rerun the join command. There will be a new csr created on the hub.
from clusteradm.
If the csr was already approved, why not succeed with message like:
CSR c2-mq8rj already unchanged
from clusteradm.
the old csr may not work if the agent is restarted. It will try to create a new csr.
from clusteradm.
Related Issues (20)
- no command to remove addon application-manager in hub cluster HOT 2
- clusteradm addon enable does not do any validation or warning about unknown addons HOT 3
- Misleading preflight error message HOT 3
- proxy subcommand doesn't work for the latest cluster-proxy HOT 3
- clusteradm get klusterlet-info fails even with managed cluster context HOT 4
- support install template type addon with clusteradm HOT 3
- clusteradm join for hosted mode does not work HOT 3
- bug report: create more than 1 klusterlet for same managed cluster HOT 1
- clusteradm init failed HOT 3
- join and accept allow duplicate cluster-name HOT 4
- clusteradm init does not respect the --kubeconfig flag HOT 1
- Support proxy settings between hub and managed cluster HOT 2
- clusteradm proxy kubectl does not allow multiple clusters HOT 1
- clusteradm proxy kubectl does not work HOT 1
- Support join cluster with auto-approve HOT 4
- Re-init doesn't work well HOT 3
- Support grant extra permisson for the work agent
- upgrade fails with exception
- Bogus warning "cluster.open-cluster-management.io/v1beta1 ManagedClusterSet is deprecated" HOT 5
- Make `clusteradm accept` idempotent
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 clusteradm.