hpe-storage / python-hpedockerplugin

HPE Native Docker Plugin
Apache License 2.0
36 stars 64 forks source link

File Persona: Share gets deleted from docker but fpg remains in backend 3PAR #664

Closed sandesh-desai closed 5 years ago

sandesh-desai commented 5 years ago

File Persona: Share gets deleted from docker but remains in backend 3PAR

Testbed Details: Host:192.168.68.43 Host OS: Red Hat Enterprise Linux Server release 7.6 (Maipo) Docker version:17.06.2-ee-21 3PAR array: 192.168.67.6 [DEFAULT]

Steps as follows: 1) docker volume create -d hpe --name Default_Share -o filePersona 2) docker volume create -d hpe --name Default_Share -o filePersona -o fpg=DockerFpg_5 -o cpg=Sandesh-snap -o size=2048 --(DockerFpg_5) fpg created during 1st step. 3) docker volume create -d hpe --name Default_Share1 -o filePersona -o fpg=DockerFpg_5 -o cpg=Sandesh-snap -o size=2048 4) docker volume create -d hpe --name Default_Share2 -o filePersona -o fpg=DockerFpg_5 -o cpg=Sandesh-snap -o size=15000 --- Failed Reason: FPG DockerFpg_5 does not have enough capacity" 5) docker volume create -d hpe --name Default_Share3 -o filePersona -o cpg=Sandesh-snap -o size=15000 --- This will create another fpg 6) docker volume create -d hpe --name Default_Share4 -o filePersona -o fpg=DockerFpg_5 -o cpg=Sandesh-snap -o size=3500 7) [root@CSSOSBE03-B13 ~]# docker volume ls DRIVER VOLUME NAME hpe Default_Share hpe Default_Share1 hpe Default_Share2 hpe Default_Share3 hpe Default_Share4 8) docker volume rm Default_Share4 9) docker volume rm Default_Share3 Default_Share2 Default_Share1 Default_Share

Actual result: Only 1 fpg get deleted from 3PAR. Expected Result: From 3PAR both the fpg should get deleted successfully.

sandesh-desai commented 5 years ago

Attaching the logs: Docker output.txt Messages file.txt 3par.txt

sandesh-desai commented 5 years ago

Verified with the latest build and working as expected. closing the bug. Attaching the messages file. Messages file.txt 3PAR data.txt