Code Monkey home page Code Monkey logo

Comments (9)

xlucas avatar xlucas commented on May 28, 2024

Hello,

svfs doesn't handle symlinks for now.

This should be documented better.

from svfs.

boscorelly avatar boscorelly commented on May 28, 2024

Ok thanks. It will be supported later ?

Also, the documentation about svfs and PCS is not good. I was unable to connect to PCS.

from svfs.

xlucas avatar xlucas commented on May 28, 2024

It will be.

What is/was your issue with PCS ?

from svfs.

boscorelly avatar boscorelly commented on May 28, 2024
root@orange:~
 ./openrc.sh
Please enter your OpenStack Password:

root@orange:~
echo $OS_PASSWORD_INPUT

root@orange:~
nano openrc.sh

root@orange:~
./openrc.sh

root@orange:
 echo ${OS_PASSWORD}

root@orange:~
 echo $OS_PASSWORD

root@orange:~
 echo $OS_USERNAME

root@orange:~
 mkdir /mnt/GRA1

root@orange:~
 mount -t svfs -o username=$OS_USERNAME,password=$OS_PASSWORD,tenant=$OS_TENANT_NAME,region=$OS_REGION_NAME pcs /mnt/GRA1/

root@orange:~
 2016/05/21 15:49:25 Bad Request

from svfs.

xlucas avatar xlucas commented on May 28, 2024

Well, please don't paste your raw console output, tailor it to the relevant part, it would be easier to read.

So if I read it well, and you are not somehow hiding your actions output, your issue is that your environnement variables are not exported, right ?

from svfs.

boscorelly avatar boscorelly commented on May 28, 2024

It seems to be that :(

I also just add this error :
rsync: mkstemp "/mnt/svfs/hubic/.composer/cache/files/symfony/polyfill-mbstring/.624d730be0ea9edd5c8cfeb4aaf5d697d56f706b.zip.IzhuLp" failed: Operation not supported (95) rsync: mkstemp "/mnt/svfs/hubic/.composer/cache/files/symfony/polyfill-php56/.0b8ec31a480b955b9d3857ce91ffe0e358f4aa18.zip.mfZnbg" failed: Operation not supported (95) rsync: mkstemp "/mnt/svfs/hubic/.composer/cache/files/symfony/polyfill-util/.ab2b2f259f5533304e6e115a16e5789eb2544a6a.zip.e9X1iP" failed: Operation not supported (95)

from svfs.

xlucas avatar xlucas commented on May 28, 2024

Ok, so if that's your raw terminal output then it seems normal to me these actions produce what you see : you are executing the openrc.sh script instead of sourcing it. The PCS documentation is fine on this part. The consequence is : you are not exporting environment variables in the current shell process but in a subprocess. Also, you don't need root access, edit keep_env in the sudoers file so you can pass these openstack credentials during mount.

Regarding the last error, this is expected if you use any process opening a file in append mode inside svfs. This is documented in the limitations section. Particular rsync options are required if you synchronize data from/to an svfs mountpoint and these are documented in the FAQ. Note that the FAQ also explains modification time change can only be processed when enabling extend attributes (extra_attr=true).

If you have further problems, please open a ticket for each kind of issue. This way it's much easier to maintain the project.

from svfs.

xlucas avatar xlucas commented on May 28, 2024

See #62 for symlink implementation.

from svfs.

xlucas avatar xlucas commented on May 28, 2024

README and FAQ have been updated.

Hopefully this will catch people attention when it comes to run rsync with svfs.

from svfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.