{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/acs-engine/issues/2768","repository_url":"https://api.github.com/repos/Azure/acs-engine","labels_url":"https://api.github.com/repos/Azure/acs-engine/issues/2768/labels{/name}","comments_url":"https://api.github.com/repos/Azure/acs-engine/issues/2768/comments","events_url":"https://api.github.com/repos/Azure/acs-engine/issues/2768/events","html_url":"https://github.com/Azure/acs-engine/issues/2768","id":317638671,"number":2768,"title":"Multiple clusters - dynamic PVCs try to access wrong storage account (of other resource group)","user":{"login":"DonMartin76","id":7326883,"avatar_url":"https://avatars0.githubusercontent.com/u/7326883?v=4","gravatar_id":"","url":"https://api.github.com/users/DonMartin76","html_url":"https://github.com/DonMartin76","followers_url":"https://api.github.com/users/DonMartin76/followers","following_url":"https://api.github.com/users/DonMartin76/following{/other_user}","gists_url":"https://api.github.com/users/DonMartin76/gists{/gist_id}","starred_url":"https://api.github.com/users/DonMartin76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DonMartin76/subscriptions","organizations_url":"https://api.github.com/users/DonMartin76/orgs","repos_url":"https://api.github.com/users/DonMartin76/repos","events_url":"https://api.github.com/users/DonMartin76/events{/privacy}","received_events_url":"https://api.github.com/users/DonMartin76/received_events","type":"User","site_admin":false},"labels":[{"id":460646258,"url":"https://api.github.com/repos/Azure/acs-engine/labels/orchestrator/k8s","name":"orchestrator/k8s","color":"2e64d2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-04-25T13:53:59Z","updated_at":"2018-04-30T22:43:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- Thanks for filing an issue! Before hitting the button, please answer these questions. It's helpful to search the existing GitHub issues first. It's likely that another user has already reported the issue you're facing, or it's a known issue that we're already aware of-->\r\n\r\n**Is this a request for help?**: Yes\r\n\r\n---\r\n\r\n**Is this an ISSUE or FEATURE REQUEST?** (choose one): Issue\r\n\r\n---\r\n\r\n**What version of acs-engine?**: 0.16.0\r\n\r\n---\r\n\r\n\r\n<!--\r\nIf this is a ISSUE, please:\r\n  - Fill in as much of the template below as you can.  If you leave out\r\n    information, we can't help you as well.\r\n\r\nIf this is a FEATURE REQUEST, please:\r\n  - Describe *in detail* the feature/behavior/change you'd like to see.\r\n\r\nIn both cases, be ready for followup questions, and please respond in a timely\r\nmanner.  If we can't reproduce a bug or think a feature already exists, we\r\nmight close your issue.  If we're wrong, PLEASE feel free to reopen it and\r\nexplain why.\r\n-->\r\n\r\n**Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)**: Kubernetes 1.9.7\r\n\r\n\r\n**What happened**: We are provisioning persistent volumes using the `default` storage class, and this worked fairly good in 1.9.6, but there were some issues when pods were rescehduled, and the volumes had to be reattached to a different node. Thus we upgraded to 1.9.7. How we reproduced:\r\n\r\n1. In resource group A, provision a cluster. There, create a PVC using dynamic provisioning. This creates (implicitly) a storage account in this resource group, seemingly called `ds<some hex number>`\r\n2. In a second resource group B (in the same subscription), create another cluster (this works), and then try to provision a dynamic volume. This fails with the following error message (in `kubectl describe pvc`):\r\n\r\n```\r\nFailed to provision volume with StorageClass \"default\": azureDisk - account ds6c822a4d484211eXXXXXX does not exist while trying to create/ensure default container\r\n```\r\n\r\nNow, the freaky part here is that this storage account, which is being referred to in resource group B, actually exists, **but in resource group A**.\r\n\r\n**What you expected to happen**: The cluster in resource group B must create its own storage account for dynamic volumes.\r\n\r\n---\r\n\r\nWe will revert to 1.9.6 to see whether that helps for now, but as stated, 1.9.6 has other issues :-(. Chances are \"good\" that the most recent 1.10.1 release also has this exact same problem."},"comment":{"url":"https://api.github.com/repos/Azure/acs-engine/issues/comments/385550710","html_url":"https://github.com/Azure/acs-engine/issues/2768#issuecomment-385550710","issue_url":"https://api.github.com/repos/Azure/acs-engine/issues/2768","id":385550710,"user":{"login":"jackfrancis","id":1494193,"avatar_url":"https://avatars0.githubusercontent.com/u/1494193?v=4","gravatar_id":"","url":"https://api.github.com/users/jackfrancis","html_url":"https://github.com/jackfrancis","followers_url":"https://api.github.com/users/jackfrancis/followers","following_url":"https://api.github.com/users/jackfrancis/following{/other_user}","gists_url":"https://api.github.com/users/jackfrancis/gists{/gist_id}","starred_url":"https://api.github.com/users/jackfrancis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackfrancis/subscriptions","organizations_url":"https://api.github.com/users/jackfrancis/orgs","repos_url":"https://api.github.com/users/jackfrancis/repos","events_url":"https://api.github.com/users/jackfrancis/events{/privacy}","received_events_url":"https://api.github.com/users/jackfrancis/received_events","type":"User","site_admin":false},"created_at":"2018-04-30T22:43:38Z","updated_at":"2018-04-30T22:43:38Z","author_association":"MEMBER","body":"We're gonna do this here: https://github.com/Azure/acs-engine/issues/2799\r\n\r\n@andyzhangx suggests that this is already the case; that if your VM supports managed disk, you'll get it by default. Let me know if you experience otherwise!"}}
{"actor":{"display_login":"jackfrancis"}}