Open rudolphpienaar opened 9 years ago
This task should "simplify" the general operation of ChRIS. Currently a validated user to the system preserves their uid/gid when running jobs on the backend cluster. The problem with this is that users can have all sorts of custom environments and setup scripts resulting in a lot of work to get a particular user working well.
Only a single backend user will now be used for all ChRIS users.
Feed controller
Commits:
File controller
Commits:
Launcher
could user shell_exec('ssh something....') http://phpseclib.sourceforge.net/ssh/auth.html
Commits:
Runner
Commits:
User controller
Commits:
Utils
Note: do not touch config file location yet because we need a folder chris can access to load assets (i.e. background image)
Api
Commmits:
WIP: remote jobs (on the cluster).
Some issues with quotes escaping as PHP "magic quote is ON".
Will turn it off tomorrow morning (Boston night), so we can ensure production ChRIS not affected, and if affected, time to fix it.
chris@chris:/neuro/users/chris $>sudo vim /etc/php5/cli/php.ini
chris@chris:/neuro/users/chris $>sudo service apache2 restart
we didn't turn off magic quotes as it maybe have unexpected side effects, solution to deal with escaping hell it to have extra scripts (https://github.com/FNNDSC/chrisreloaded/commit/95e92bdfb37a3f3d119e72cb9941aacd1a15ebb7)
ChRIS switch to single cluster user