Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

MountVolume.SetUp failed for volume "azure-kv" #7

Open
snpdev opened this issue Nov 8, 2019 · 1 comment
Open

MountVolume.SetUp failed for volume "azure-kv" #7

snpdev opened this issue Nov 8, 2019 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@snpdev
Copy link
Contributor

snpdev commented Nov 8, 2019

Almost done with my RPSLS deployment. One more open issue (hopefully).

The rpsls-game-game-api deployment pods fail with the following message (masked with X's):

Warning  FailedMount  40s (x7 over 74s)  kubelet, aks-agentpool-96345064-0  MountVolume.SetUp failed for volume "azure-kv" : mount command failed, status: Failure, reason: /etc/kubernetes/volumeplugins/azure~kv/azurekeyvault-flexvolume failed, Access denied. Caller was not found on any access policy. r nCaller: appid=6e2584bf-XXXXXXXXXXXXXXXX;oid=087127d7-XXXXXXXXXXXXXX;numgroups=0;iss=https://sts.windows.net/XXXXXXXXXXXXXXX/ r nVault: rpslskvXXXXXXXXXXX;location=eastus InnerError={code:AccessDenied}

The secret game-api-kv is in place and in Azure Portal I see my cosmos-constr secret and an Access policy for my service principal. The appid is correct. I'll poke around some more over the weekend, but if anyone has a troubleshooting suggestion, please reply. Thanks

@snpdev
Copy link
Contributor Author

snpdev commented Nov 11, 2019

I took the easy way out and re-deployed my images without the key vault requirement. The application is working now 😄

My steps to backtrack:

  1. Delete deployments
    kubectl delete --all deploy --namespace=default

  2. Delete services
    kubectl delete --all srv --namespace=default

  3. Redeploy images
    .\Deploy-Images-Aks.ps1 -resourceGroup $resourceGroup -aksName $myAks -acrName $myAcr -valuesFile $myvaluesFile -kvDeploy 0 -tag 'v1'

@dsanchezcr dsanchezcr added the documentation Improvements or additions to documentation label Nov 19, 2019
eiximenis pushed a commit that referenced this issue Mar 25, 2020
* For multiplayer, use the red astronaut and red hands for the challenger (player2) and blue astronaut for the user (player 1).

* Fix shake hand animation when the astronaut is in the right side. Add animation of the astronaut.

* In the invite page, disable button to play until the user name is not set, following the same behavior as in the main page.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants