openstorage
openstorage copied to clipboard
Volumes created through docker volume commands do not persist the labels
Is this a BUG REPORT or FEATURE REQUEST?: BUG REPORT
What happened:
Volumes created using the docker volume create
command with labels passed through --opt
argument do not contain the provided labels
What you expected to happen: A volume created with labels should have the labels.
How to reproduce it (as minimally and precisely as possible):
sudo docker volume create -d pxd --name=dcVol1 --opt size=10 --opt fs=ext4 --opt block_size=4 --opt repl=1 --opt label=name=sqldisk,type=production
The new volume dcVol1
does not have the expected label sqldisk,type=production