Single user factory: check that the migration script has been run before startup
Starting from 3.5 glideins owner will be the gfactory user, and not the frontend related users. To deal with already running pilots, we have a script that converts the ownership of those running pilots to gfactory. We need to make sure the script run before starting the factory.
#4 Updated by Marco Mambelli 22 days ago
- Assignee changed from Marco Mambelli to Marco Mascheroni
Our main platform is SL7, but SL6 is still supported. I merged the current version with a small change (exit code 150, outside the LSB reserved range). The SL6 init template should be edited as well, then the new commits will be merged.
#6 Updated by Marco Mascheroni 15 days ago
For testing (for a fresh 3.5 factory, not upgraded from 3.4):
1) Check that the factory starts correctly
2) Submit a jobs using a user different than gfactory and then verify that the factory does not start correctly (the script checks that all the jobs are owned by gfactory)
3) Modify the ownership of one of the log directories (e.g.: /var/log/gwms-factory/client/user_frontend) and verify the factory does not start if it not owned by gfactory