Closed wdurairaj closed 5 years ago
Recreate steps:
[root@ecostor-b13 ~]# docker volume create -d hpe --name m_conf_delay_vol1 -o size=1 m_conf_delay_vol1 [root@ecostor-b13 ~]# docker volume inspect m_conf_delay_vol1 [ { "Driver": "hpe", "Labels": {}, "Mountpoint": "/", "Name": "m_conf_delay_vol1", "Options": { "size": "1" }, "Scope": "global", "Status": { "volume_detail": { "3par_vol_name": "dcv-Kj9c18FyR5.nh2MSbZQoGw", "backend": "DEFAULT", "compression": null, "cpg": "FC_r1", "domain": "Chef_Test", "flash_cache": null, "fsMode": null, "fsOwner": null, "mountConflictDelay": 30, "provisioning": "thin", "size": 1, "snap_cpg": "FC_r1" } } } ] [root@ecostor-b13 ~]# docker run -it -v m_conf_delay_vol1:/data1 --rm busybox /bin/sh / # login as: root root@15.213.65.60's password: Access denied root@15.213.65.60's password: Last failed login: Fri Jul 5 17:43:40 IST 2019 from cssos-ts01.in.rdlabs.hpecorp.net on ssh:notty There was 1 failed login attempt since the last successful login. Last login: Fri Jul 5 17:38:22 2019 from cssos-ts01.in.rdlabs.hpecorp.net ABRT has detected 1 problem(s). For more info run: abrt-cli list --since 1562328502 [root@ecostor-b13 ~]# docker run -it -v m_conf_delay_vol1:/data1 --rm --name c1 busybox /bin/sh /usr/bin/docker-current: Error response from daemon: error while mounting volume '/opt/hpe/data/hpedocker-dm-uuid-mpath-360002ac00000000001008506000187b7': HPE Docker Volume Plugin Mount Failed: ('exception is : %s', '\n\n RAN: /bin/mount -t ext4 /dev/dm-3 /opt/hpe/data/hpedocker-dm-uuid-mpath-360002ac00000000001008506000187b7\n\n STDOUT:\n\n\n STDERR:\nmount: /opt/hpe/data/hpedocker-dm-uuid-mpath-360002ac00000000001008506000187b7: /dev/mapper/360002ac00000000001008506000187b7 already mounted on /opt/hpe/data/hpedocker-dm-uuid-mpath-360002ac00000000001008506000187b7.\n'). [root@ecostor-b13 ~]#
Log snippet
2019-07-05 12:14:08,370 [DEBUG] sh.stream_bufferer [139705761946344] STDOUT/ERR thread for pid 137 got buffering lock for flushing buffer 2019-07-05 12:14:08,370 [DEBUG] sh.stream_bufferer [139705761946344] STDOUT/ERR thread for pid 137 released buffering lock for flushing buffer 2019-07-05 12:14:08,371 [DEBUG] sh.streamreader [139705761946344] STDOUT/ERR thread for pid 137 got chunk size 0 to flush: b'' 2019-07-05 12:14:08,371 [INFO] sh.command [139705938107272] MainThread <Command '/bin/grep -E /opt/hpe/data/hpedocker-dm-uuid-mpath-360002ac00000000001008506000187b7', pid 137>: process completed 2019-07-05 12:14:08,371 [INFO] sh.command [139705938107272] MainThread <Command '/bin/grep -E /opt/hpe/data/hpedocker-dm-uuid-mpath-360002ac00000000001008506000187b7', pid 137>: process completed 2019-07-05 12:14:08,372 [INFO] hpedockerplugin.volume_manager [139705938107272] MainThread Volume mounted on a different node. Waiting for other node to gracefully unmount the volume...
This is caused by regression from PR https://github.com/hpe-storage/python-hpedockerplugin/pull/650
Fixed and available in latest 3.2 tag.
To be verified by Raghavendra C on the final RC build of 7/10
Verified and closing by Raghavendra on 3.2 tag build.
Recreate steps:
Log snippet
This is caused by regression from PR https://github.com/hpe-storage/python-hpedockerplugin/pull/650