payload: {"action":"created","issue":{"url":"https://api.github.com/repos/hpe-storage/python-hpedockerplugin/issues/648","repository_url":"https://api.github.com/repos/hpe-storage/python-hpedockerplugin","labels_url":"https://api.github.com/repos/hpe-storage/python-hpedockerplugin/issues/648/labels{/name}","comments_url":"https://api.github.com/repos/hpe-storage/python-hpedockerplugin/issues/648/comments","events_url":"https://api.github.com/repos/hpe-storage/python-hpedockerplugin/issues/648/events","html_url":"https://github.com/hpe-storage/python-hpedockerplugin/issues/648","id":455081079,"node_id":"MDU6SXNzdWU0NTUwODEwNzk=","number":648,"title":"Deleting the last share does not delete Vfs and fpg post mount and unmount of share ","user":{"login":"leenaj0hn","id":41140980,"node_id":"MDQ6VXNlcjQxMTQwOTgw","avatar_url":"https://avatars3.githubusercontent.com/u/41140980?v=4","gravatar_id":"","url":"https://api.github.com/users/leenaj0hn","html_url":"https://github.com/leenaj0hn","followers_url":"https://api.github.com/users/leenaj0hn/followers","following_url":"https://api.github.com/users/leenaj0hn/following{/other_user}","gists_url":"https://api.github.com/users/leenaj0hn/gists{/gist_id}","starred_url":"https://api.github.com/users/leenaj0hn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leenaj0hn/subscriptions","organizations_url":"https://api.github.com/users/leenaj0hn/orgs","repos_url":"https://api.github.com/users/leenaj0hn/repos","events_url":"https://api.github.com/users/leenaj0hn/events{/privacy}","received_events_url":"https://api.github.com/users/leenaj0hn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-06-12T08:35:22Z","updated_at":"2019-06-14T08:06:28Z","closed_at":null,"author_association":"NONE","body":"steps\r\n1. docker volume create -d hpe --name demo_share -o filePersona\r\nCreates the default fpg, vfs and share successfully\r\n2. docker run -it --rm --mount src=demo_share,dst=/data,volume-driver=hpe --name CONT-01 alpine /bin/sh \r\n\r\nOn the container created a file and exit\r\nShare was unmounted and container removed\r\n3. docker volume rm demo_share \r\nThis deletes only the file share, does not removed the FPG and vfs.\r\n\r\nThis is consistently reproducible on recent pulls on tab: hpestorage/legacyvolumeplugin:3.2-prerelease\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hpe-storage/python-hpedockerplugin/issues/comments/502012292","html_url":"https://github.com/hpe-storage/python-hpedockerplugin/issues/648#issuecomment-502012292","issue_url":"https://api.github.com/repos/hpe-storage/python-hpedockerplugin/issues/648","id":502012292,"node_id":"MDEyOklzc3VlQ29tbWVudDUwMjAxMjI5Mg==","user":{"login":"leenaj0hn","id":41140980,"node_id":"MDQ6VXNlcjQxMTQwOTgw","avatar_url":"https://avatars3.githubusercontent.com/u/41140980?v=4","gravatar_id":"","url":"https://api.github.com/users/leenaj0hn","html_url":"https://github.com/leenaj0hn","followers_url":"https://api.github.com/users/leenaj0hn/followers","following_url":"https://api.github.com/users/leenaj0hn/following{/other_user}","gists_url":"https://api.github.com/users/leenaj0hn/gists{/gist_id}","starred_url":"https://api.github.com/users/leenaj0hn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leenaj0hn/subscriptions","organizations_url":"https://api.github.com/users/leenaj0hn/orgs","repos_url":"https://api.github.com/users/leenaj0hn/repos","events_url":"https://api.github.com/users/leenaj0hn/events{/privacy}","received_events_url":"https://api.github.com/users/leenaj0hn/received_events","type":"User","site_admin":false},"created_at":"2019-06-14T08:06:28Z","updated_at":"2019-06-14T08:06:28Z","author_association":"NONE","body":"logs: could not paste the file here.  So pasted the snippet. Also the curl commands gave a \"Network\" error.\r\n\r\nCreated it on default FPG itself, but ensured that DockerFpg_0 have only one share( the share I created remaining)\r\nSo final output on the array looks like this\r\nCSSOS-SSA06 cli% showfpg\r\n                                 ------(GiB)-------\r\nFPG             ---Mountpath---- --Size-- Available ActiveStates -DefaultCpg- -------VVs------- State  Version\r\nDockerFpg_0     /DockerFpg_0     16384.00  16375.53 ACTIVATED    swap_fs_cpg  DockerFpg_0.1     normal 12.3\r\nnew_docker      /new_docker      16384.00  16375.57 ACTIVATED    swap_fs_cpg  new_docker.1      normal 12.3\r\nsandesh_new_fpg /sandesh_new_fpg 16384.00  16375.53 ACTIVATED    swap_fs_cpg  sandesh_new_fpg.1 normal 12.3\r\nswap_fpg2       /swap_fpg2       16384.00  16375.53 ACTIVATED    swap_fs_cpg  swap_fpg2.1       normal 12.3\r\n--------------------------------------------------------------------------------------------------------------\r\n              4 total            65536.00  65502.16\r\nCSSOS-SSA06 cli% showvfs\r\nVFS                 FPG             IPAddr        State  -----Comment------\r\nsandesh_new_fpg_vfs sandesh_new_fpg 192.168.110.2 normal Docker created VFS\r\nswap_fpg2_vfs       swap_fpg2       192.168.110.7 normal Docker created VFS\r\nDockerVfs_0         DockerFpg_0     192.168.110.5 normal Docker created VFS\r\n---------------------------------------------------------------------------\r\n                  3 total\r\nCSSOS-SSA06 cli% showfshare\r\nShareName    Protocol VFS                 FileStore    ShareDir State\r\ndoc_share1   nfs      sandesh_new_fpg_vfs doc_share1   ./       normal\r\npvfile-first nfs      sandesh_new_fpg_vfs pvfile-first ./       normal\r\npvfile-two   nfs      sandesh_new_fpg_vfs pvfile-two   ./       normal\r\nSH101        nfs      swap_fpg2_vfs       SH101        ./       normal\r\nshare_im_1   nfs      swap_fpg2_vfs       share_im_1   ./       normal\r\n----------------------------------------------------------------------\r\n\r\n"}}
other: {"actor":{"display_login":"leenaj0hn"}}