# Welcome to the Azure Kubernetes Service on Azure Stack HCI repo This is where the AKS-HCI team will track features and issues with AKS-HCI. We will monitor this repo in order to engage with our community and discuss questions, customer scenarios, or feature requests. Checkout our projects tab to see the roadmap for AKS-HCI!
MIT License
109
stars
45
forks
source link
[BUG] AksHci/Moc commands fail with rpc error: code = Unknown desc = Location 'MocLocation' doesn't expose any nodes to create #365
Describe the bug
If the wssdagent tokens expires and wssdagent restarts it fails to join the cloudagent. This causes the wssdcloudagent to have any node resources active within the location, leaving the wssdcloudagent to not find a node to place the resources.
Expected behavior
The following error would happen when we try to create new cluster, scale existing cluster, etc.
rpc error: code = Unknown desc = Location 'MocLocation' doesn't expose any nodes to create ****
Solution
We should run the below command to fix the wssdagent tokens.
Repair-Moc
Describe the bug If the wssdagent tokens expires and wssdagent restarts it fails to join the cloudagent. This causes the wssdcloudagent to have any node resources active within the location, leaving the wssdcloudagent to not find a node to place the resources.
Expected behavior The following error would happen when we try to create new cluster, scale existing cluster, etc.
rpc error: code = Unknown desc = Location 'MocLocation' doesn't expose any nodes to create ****
Solution We should run the below command to fix the wssdagent tokens.
Repair-Moc