{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/59755","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/59755/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/59755/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/59755/events","html_url":"https://github.com/kubernetes/kubernetes/issues/59755","id":296373898,"number":59755,"title":"Unable to connect to SQL-lite db mounted on AzureFile/AzureDisks [SQLITE_BUSY: database is locked]","user":{"login":"mfaizanse","id":9897945,"avatar_url":"https://avatars1.githubusercontent.com/u/9897945?v=4","gravatar_id":"","url":"https://api.github.com/users/mfaizanse","html_url":"https://github.com/mfaizanse","followers_url":"https://api.github.com/users/mfaizanse/followers","following_url":"https://api.github.com/users/mfaizanse/following{/other_user}","gists_url":"https://api.github.com/users/mfaizanse/gists{/gist_id}","starred_url":"https://api.github.com/users/mfaizanse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfaizanse/subscriptions","organizations_url":"https://api.github.com/users/mfaizanse/orgs","repos_url":"https://api.github.com/users/mfaizanse/repos","events_url":"https://api.github.com/users/mfaizanse/events{/privacy}","received_events_url":"https://api.github.com/users/mfaizanse/received_events","type":"User","site_admin":false},"labels":[{"id":105146071,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/bug","name":"kind/bug","color":"e11d21","default":false},{"id":621158926,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/azure","name":"sig/azure","color":"d2b48c","default":false},{"id":169428334,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/storage","name":"sig/storage","color":"d2b48c","default":false}],"state":"closed","locked":false,"assignee":{"login":"andyzhangx","id":4178417,"avatar_url":"https://avatars1.githubusercontent.com/u/4178417?v=4","gravatar_id":"","url":"https://api.github.com/users/andyzhangx","html_url":"https://github.com/andyzhangx","followers_url":"https://api.github.com/users/andyzhangx/followers","following_url":"https://api.github.com/users/andyzhangx/following{/other_user}","gists_url":"https://api.github.com/users/andyzhangx/gists{/gist_id}","starred_url":"https://api.github.com/users/andyzhangx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyzhangx/subscriptions","organizations_url":"https://api.github.com/users/andyzhangx/orgs","repos_url":"https://api.github.com/users/andyzhangx/repos","events_url":"https://api.github.com/users/andyzhangx/events{/privacy}","received_events_url":"https://api.github.com/users/andyzhangx/received_events","type":"User","site_admin":false},"assignees":[{"login":"andyzhangx","id":4178417,"avatar_url":"https://avatars1.githubusercontent.com/u/4178417?v=4","gravatar_id":"","url":"https://api.github.com/users/andyzhangx","html_url":"https://github.com/andyzhangx","followers_url":"https://api.github.com/users/andyzhangx/followers","following_url":"https://api.github.com/users/andyzhangx/following{/other_user}","gists_url":"https://api.github.com/users/andyzhangx/gists{/gist_id}","starred_url":"https://api.github.com/users/andyzhangx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyzhangx/subscriptions","organizations_url":"https://api.github.com/users/andyzhangx/orgs","repos_url":"https://api.github.com/users/andyzhangx/repos","events_url":"https://api.github.com/users/andyzhangx/events{/privacy}","received_events_url":"https://api.github.com/users/andyzhangx/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2018-02-12T13:26:08Z","updated_at":"2018-05-21T04:54:45Z","closed_at":"2018-04-22T12:41:44Z","author_association":"NONE","body":"<!-- This form is for bug reports and feature requests ONLY! \r\n\r\nIf you're looking for help check [Stack Overflow](https://stackoverflow.com/questions/tagged/kubernetes) and the [troubleshooting guide](https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/).\r\n-->\r\n\r\n**Is this a BUG REPORT or FEATURE REQUEST?**:\r\n\r\n> Uncomment only one, leave it on its own line: \r\n>\r\n/kind bug\r\n/azure\r\n/storage\r\n> /kind feature\r\n\r\n\r\n**What happened**:\r\nI have a application which uses SQL-lite db to store/retrieve data inside the container. For providing persistent storage for this db file I tried Azure File and also Azure Disks using the storage classes for these. The problem is that the application fails to connect/query the SQL-lite db file throwing error 500. If I remove the Persistent Volume then the application works fine. The mounted volume is ReadWriteOnce.\r\n\r\nOne of my sample application works with a simple text file for storing data and it works fine. So, I think the issue is specific to a SQL-lite db file.\r\n\r\n**What you expected to happen**:\r\nThe application should be able to connect/query the SQL-lite db file on Azure File/Disks mounted volume.\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\nRun a application which generates a SQL-lite db file on mount volume and try to connect/query it.\r\n\r\n**Anything else we need to know?**:\r\n\r\n**Environment**:\r\n- Kubernetes version (use `kubectl version`): 1.8.1\r\n- Cloud provider or hardware configuration: Azure Kubernetes Service\r\n- OS (e.g. from /etc/os-release): linux\r\n- Kernel (e.g. `uname -a`): linux\r\n- Install tools: AKS\r\n- Others:\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/390552876","html_url":"https://github.com/kubernetes/kubernetes/issues/59755#issuecomment-390552876","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/59755","id":390552876,"user":{"login":"codefetcher","id":14290680,"avatar_url":"https://avatars0.githubusercontent.com/u/14290680?v=4","gravatar_id":"","url":"https://api.github.com/users/codefetcher","html_url":"https://github.com/codefetcher","followers_url":"https://api.github.com/users/codefetcher/followers","following_url":"https://api.github.com/users/codefetcher/following{/other_user}","gists_url":"https://api.github.com/users/codefetcher/gists{/gist_id}","starred_url":"https://api.github.com/users/codefetcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codefetcher/subscriptions","organizations_url":"https://api.github.com/users/codefetcher/orgs","repos_url":"https://api.github.com/users/codefetcher/repos","events_url":"https://api.github.com/users/codefetcher/events{/privacy}","received_events_url":"https://api.github.com/users/codefetcher/received_events","type":"User","site_admin":false},"created_at":"2018-05-21T04:54:45Z","updated_at":"2018-05-21T04:54:45Z","author_association":"NONE","body":"Thanks @andyzhangx 👍 "}}
{"actor":{"display_login":"codefetcher"}}