rexray: docker / openstack cinder : unable to find files in volume
Summary
I configured rexray on 2 openstack nodes (manualy, I do not use Vagrant). I launch the demo : http://rexray.readthedocs.io/en/stable/user-guide/examples/demo/#node-0 I can not get the persistence. Wrong config ?
Version
$ rexray version
REX-Ray
-------
Binary: /usr/bin/rexray
Flavor: client+agent+controller
SemVer: 0.11.0
OsArch: Linux-x86_64
Commit: 508023f4b0e4974f1844c26b39af7c4219f4c7a9
Formed: Mon, 16 Oct 2017 09:07:06 CEST
# docker version
Client:
Version: 17.09.0-ce
API version: 1.32
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:42:18 2017
OS/Arch: linux/amd64
Server:
Version: 17.09.0-ce
API version: 1.32 (minimum version 1.12)
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:40:56 2017
OS/Arch: linux/amd64
Experimental: false
Expected Behavior
I would like to see the file(s) created from node0.
Actual Behavior
I can not see the file(s) created from node0.
Steps To Reproduce
On node0 :
root@node0:~# docker volume create --driver rexray --opt size=1 \
> --name hellopersistence
hellopersistence
root@node0:~# docker run -tid --volume-driver=rexray \
> -v hellopersistence:/mystore \
> --name temp01 busybox
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
03b1be98f3f9: Pull complete
Digest: sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7
Status: Downloaded newer image for busybox:latest
090838ad26048f3e92deaba5713eea73067eef5b7597532be62c0b7cfe313f35
root@node0:~#
root@node0:~# docker exec temp01 touch /mystore/myfile
root@node0:~# docker exec temp01 ls -l /mystore/myfile
-rw-r--r-- 1 root root 0 Oct 16 14:29 /mystore/myfile
root@node0:~# docker rm -f temp01
On node1 :
ubuntu@node1:~$ docker run -tid --volume-driver=rexray \
> -v hellopersistence:/mystore \
> --name temp01 busybox
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
03b1be98f3f9: Pull complete
Digest: sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7
Status: Downloaded newer image for busybox:latest
63e9d12c087327835368a35087f22146ff9394ed2bca82db0ee554082da1a336
ubuntu@node1:~$ docker exec temp01 ls -l /mystore
total 20
drwx------ 2 root root 4096 Oct 16 14:31 data
drwx------ 2 root root 16384 Oct 16 14:31 lost+found
Configuration Files
root@node0:/etc/rexray# cat config.yml
libstorage:
integration:
volume:
operations:
remove:
force: true
disable: true
unmount:
ignoreusedcount: true
mount:
preempt: true
rootPath: "/"
retrywait: "40s"
create:
default:
size: 1
service: cinder
logging:
level: debug
httpRequests: true
httpResponses: true
server:
services:
cinder:
driver: cinder
cinder:
authUrl: "https://mycompany.com:5000/v3"
authVersion: "3"
identityApiVersion: "2"
username: "xxxxx"
tenantId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
password: "xxxxxxxxxxx"
domainName: "xxxxxxxxxx"
cacert: "/ca-certificates.crt"
Any help will be appreciated, Thanks.
About this issue
- Original URL
- State: open
- Created 7 years ago
- Comments: 17 (9 by maintainers)
We would love to see a community contribution to get this updated. In fact there is another issue for OpenStack that can also use some attention https://github.com/thecodeteam/rexray/issues/1113.
The team has been busy making some pretty big shifts the CSI implementations. This would actually be a great time to think about doing a
csi-openstackdriver with these updates.