eWaterCycle / infra

Instructions for system administrators to deploy the eWaterCycle platform
Apache License 2.0
0 stars 0 forks source link

Home dirs are not owned by user #119

Closed sverhoeven closed 2 years ago

sverhoeven commented 2 years ago

Reusing a existing storage item on SRC gave the users of the CO different user ids and group ids causing permission problems.

sverhoeven commented 2 years ago

Some users where OK, but others had userid that does not exist.

On test VM on SRC I ran chown -R <user>.<user> /home/<user> for the bad users.

Seems user ids are not stable. We should either make them stable or start with empty storage items each time a napplication is instantiated.

sverhoeven commented 2 years ago

Not needed as recreating VM without changes to CO results in same user ids.

sverhoeven commented 2 years ago

To quickly check if user ids where correct I started a workspace and as soon as it was running the ewatercycle roles I logged in using ip from log and checked userids. After that I killed the runnig ansible task so I dont have to wait for it to complete, as the VM gets deleted automaticly when a ansble task fails.