Giter Site home page Giter Site logo

Comments (6)

thpang avatar thpang commented on July 24, 2024

I @Vladislaff , the code here: https://github.com/sassoftware/viya4-deployment/blob/main/playbooks/playbook.yaml#L34-L51 creates the needed directories under the /mnt/viya-share/ location. It should create those with 0777 as the perms and be owned by: nobody:nobody Can you verify that after the viya,install these directories are there with the correct permissions. You will need to logon to the Jump server and very.

from viya4-deployment.

thpang avatar thpang commented on July 24, 2024

Also, with these items being set when you run the deployment with the viya,install task and action, SAS Studio should work without any modifications. Have you also tried this to very?

from viya4-deployment.

Vladislaff avatar Vladislaff commented on July 24, 2024

Hi @thpang ,

For some reason the directories were not created for me automatically.
Probably the jump host was not picked up from the tfstate.
Just tried:
sudo chown nobody:nobody -R /export/mynamespace/
sudo chmod 0777 -R /export/mynamespace/
Did not help.

In SASStudio the showServerFiles was not on after the installation, so I don't see how the home dir would work without any modifications.

I am using my own openldap if that matters.

from viya4-deployment.

thpang avatar thpang commented on July 24, 2024

The Jump server is required as it's the conduit into the NFS component setup for the cluster. If you cannot access your Jump server, then neither can the viya4-deployment code base. You need to be sure to have your key pairs setup for ssh use with that box prior to running the viya4-deployment code base.

from viya4-deployment.

Vladislaff avatar Vladislaff commented on July 24, 2024

I have the jump server and I can access it. The key pairs are set up correctly.
I also have a public ip on the nfs vm and can access it directly.

My question is not regarding the jump host - I am asking about the permissions on the nfs share.
Why is the home dir created with root as owner?

from viya4-deployment.

Vladislaff avatar Vladislaff commented on July 24, 2024

I made a workaround for this. I set up sssd on the nfs server and made a cron script to create home folders.

getent passwd | grep ${sasgroup} | awk -F':' '{print $1}' | while read -r user ; do
   if [[ ! -e /export/dfmvpdev/homes/$user ]]; then
      sudo mkdir -p /export/dfmvpdev/homes/$user
      sudo chown -R $user:sasusers /export/dfmvpdev/homes/$user
      sudo chmod -R 750 /export/dfmvpdev/homes/$user
   fi
done

from viya4-deployment.

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.