Open leenaj0hn opened 5 years ago
Need to check
Assigned to Bhagyashree
This behavior is seen on 3PAR as well.
CSSOSBE03-B01:~ # docker volume inspect volu4321 [ { "Driver": "hpe", "Labels": {}, "Mountpoint": "/", "Name": "volu4321", "Options": { "importVol": "snap1234" }, "Scope": "global", "Status": { "snap_detail": { "3par_vol_name": "dcs-3gN8Z1yvS5W4aZgRGI21Qw", "backend": "DEFAULT", "compression": null, "expiration_hours": 0, "fsMode": null, "fsOwner": null, "is_snap": true, "mountConflictDelay": 30, "parent_id": "e0ea8db9-4d76-41c5-9f67-71b9bf2dfe8e", "parent_volume": "volu8765", "provisioning": "thin", "retention_hours": 0.0002777777777777778, "size": 10, "snap_cpg": "Sandesh" } } } ]
@leenaj0hn @sonawane-shashikant Fix merged https://github.com/hpe-storage/python-hpedockerplugin/pull/727. Please verify.
This bug is verified as FIXED.
[root@master-node ~]# docker volume inspect VOLUME_SNAP [ { "Driver": "hpe", "Labels": {}, "Mountpoint": "/", "Name": "VOLUME_SNAP", "Options": { "importVol": "TEST_SNAP" }, "Scope": "global", "Status": { "snap_detail": { "3par_vol_name": "dcs-BQnQ8SuGS7az9FJcgx1iWQ", "backend": "DEFAULT", "compression": null, "expiration_hours": 48, "fsMode": null, "fsOwner": null, "id": "0509d0f1-2b86-4bb6-b3f4-525c831d6259", "is_snap": true, "mountConflictDelay": 30, "parent_id": "a42275eb-d7bb-4359-86ac-1972a6a932c2", "parent_volume": "VOLUME_1", "provisioning": "thin", "retention_hours": 23.99972222222222, "size": 10, "snap_cpg": "SHASHI_SRC_CPG" } } } ] [root@master-node ~]# @leenaj0hn please close this issue.
Created a sv of a volume on merlin setting the exp and retention time for 2D (2days) and 1D (one day) respectively. on importing these volumes on docker, the exp and retention hours shows up as pasted below:
[root@cssosecostor-b10 ~]# docker volume inspect import_snap_test_leena [ { "CreatedAt": "0001-01-01T00:00:00Z", "Driver": "hpe", "Labels": {}, "Mountpoint": "", "Name": "import_snap_test_leena", "Options": { "importVol": "snap_test_leena" }, "Scope": "global", "Status": { "snap_detail": { "3par_vol_name": "dcs-XNb1qRHISqqphb9-PMYAWw", "backend": "DEFAULT", "compression": true, "expiration_hours": 0, "fsMode": null, "fsOwner": null, "is_snap": true, "mountConflictDelay": 30, "parent_id": "d5f97733-2c6f-4b03-a561-996e6c8c65bf", "parent_volume": "import_test_leena", "provisioning": "thin", "retention_hours": 0.0002777777777777778, "size": 16, "snap_cpg": "sandesh" } } } ]