Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.4.0
-
Reviewed
Description
There are some placement rules in FS which are currently not handled properly by fs2cs:
<queuePlacementPolicy> <rule name="user" create="true"/> <rule name="primaryGroup" create="true"/> </queuePlacementPolicy>
The first rule means that if the user queue doesn't exist, it should be created as root.<user>.
The second means the same thing, except refers to the primary group instead of the submitting user: root.<primaryGroup>.
The problem is that in order for the create="true" setting to take effect, we must set the parent queue in the generated JSON:
Current:
{ "rules" : [ { "type" : "user", "matches" : "*", "policy" : "user", "fallbackResult" : "skip", "create" : true }, { "type" : "user", "matches" : "*", "policy" : "primaryGroup", "fallbackResult" : "skip", "create" : true } ] }
Expected:
{ "rules" : [ { "type" : "user", "matches" : "*", "policy" : "user", "fallbackResult" : "skip", "parentQueue": "root", "create" : true }, { "type" : "user", "matches" : "*", "policy" : "primaryGroup", "fallbackResult" : "skip", "parentQueue": "root", "create" : true } ]
This is missing right now and it need to be fixed.