rexray: s3fs plugin v.0.9.2 not works as expected

Summary

s3fs plugin v.0.9.2 not works.

Bug Reports

Version

Please paste the output of rexray version. For example:

docker plugin ls
ID                  NAME                DESCRIPTION                                     ENABLED
d11c3fca772e        rexray/s3fs:0.9.2   REX-Ray FUSE Driver for Amazon Simple Stor...   true

Expected Behavior

I expect that rexray just works 😃

Actual Behavior

s3fs not mounts s3 buckets inside containers. Instead, it is mounting a local host folder inside container.

Steps To Reproduce

Please, check this video: https://youtu.be/6AwtcBBgJVw

Configuration Files

[
    {
        "Config": {
            "Args": {
                "Description": "",
                "Name": "",
                "Settable": null,
                "Value": null
            },
            "Description": "REX-Ray FUSE Driver for Amazon Simple Storage Service (S3FS)",
            "DockerVersion": "17.06.0-ce",
            "Documentation": "https://github.com/codedellemc/rexray/.docker/plugin/s3fs",
            "Entrypoint": [
                "/rexray.sh",
                "rexray",
                "start",
                "-f",
                "--nopid"
            ],
            "Env": [
                {
                    "Description": "",
                    "Name": "REXRAY_LOGLEVEL",
                    "Settable": [
                        "value"
                    ],
                    "Value": "warn"
                },
                {
                    "Description": "",
                    "Name": "S3FS_ACCESSKEY",
                    "Settable": [
                        "value"
                    ],
                    "Value": ""
                },
                {
                    "Description": "",
                    "Name": "S3FS_DISABLEPATHSTYLE",
                    "Settable": [
                        "value"
                    ],
                    "Value": ""
                },
                {
                    "Description": "",
                    "Name": "S3FS_OPTIONS",
                    "Settable": [
                        "value"
                    ],
                    "Value": ""
                },
                {
                    "Description": "",
                    "Name": "S3FS_REGION",
                    "Settable": [
                        "value"
                    ],
                    "Value": ""
                },
                {
                    "Description": "",
                    "Name": "S3FS_SECRETKEY",
                    "Settable": [
                        "value"
                    ],
                    "Value": ""
                }
            ],
            "Interface": {
                "Socket": "rexray.sock",
                "Types": [
                    "docker.volumedriver/1.0"
                ]
            },
            "IpcHost": false,
            "Linux": {
                "AllowAllDevices": true,
                "Capabilities": [
                    "CAP_SYS_ADMIN"
                ],
                "Devices": null
            },
            "Mounts": [
                {
                    "Description": "",
                    "Destination": "/dev",
                    "Name": "",
                    "Options": [
                        "rbind"
                    ],
                    "Settable": null,
                    "Source": "/dev",
                    "Type": "bind"
                }
            ],
            "Network": {
                "Type": "host"
            },
            "PidHost": false,
            "PropagatedMount": "/var/lib/libstorage/volumes",
            "User": {},
            "WorkDir": "",
            "rootfs": {
                "diff_ids": [
                    "sha256:560997edcfd321c5270a81239de02f0c8df486d1caf8242dbe06fb0cd483eb6a"
                ],
                "type": "layers"
            }
        },
        "Enabled": true,
        "Id": "d11c3fca772e00e2d9170948c6e9826ee4bd1f00b259f58327ff3206f1972ca4",
        "Name": "rexray/s3fs:0.9.2",
        "PluginReference": "docker.io/rexray/s3fs:0.9.2",
        "Settings": {
            "Args": [],
            "Devices": [],
            "Env": [
                "REXRAY_LOGLEVEL=debug",
                "S3FS_ACCESSKEY=AKIAJWZHTY4N4AGXAUUQ",
                "S3FS_DISABLEPATHSTYLE=",
                "S3FS_OPTIONS=allow_other,nonempty",
                "S3FS_REGION=sa-east-1",
                "S3FS_SECRETKEY=HMn6Z9k8FD65jg/E7fhpXn7peY/brttUJiVluXbz"
            ],
            "Mounts": [
                {
                    "Description": "",
                    "Destination": "/dev",
                    "Name": "",
                    "Options": [
                        "rbind"
                    ],
                    "Settable": null,
                    "Source": "/dev",
                    "Type": "bind"
                }
            ]
        }
    }
]

Logs

For security reasons, I can’t share logs because it contains a lot of private info from all of my buckets. But, looking at it, there are no errors related to rexray/s3fs plugin.

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Comments: 40 (16 by maintainers)

Most upvoted comments

Is there an AMI you are using that you can share?

On Thu, Jun 29, 2017 at 5:13 PM, Bruno Galindro da Costa < notifications@github.com> wrote:

@clintkitson https://github.com/clintkitson In your tests, you have used latest version of rexray with docker-engine 17.06.0-ce. In my tests, I’ve used rexray 0.9.2 and docker-engine 17.05.0-ce. Please, try to use the same versions and try to create the bucket before container startup. This way you could make sure that the simulation will be very equal. Use an Ubuntu 16.04.2 LTS too with the lastest updates (apt dist-upgrade -y).

For the tests, I’ve started the plugin with REXRAY_DEBUG=true. I’ll try to hide some bucket names from log (for security reasons) before post it here.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/codedellemc/rexray/issues/908#issuecomment-312140927, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVMMew5xHAEKBlZzoPfVuV9aj8cPF0rks5sJD2mgaJpZM4OJ87n .

@galindro By the way, I am not sure why you manually created the bucket in S3. That should not be necessary.