Hey Just an update. this method of submitting and controlling the mining slaves has been working really well. The mining job gives up nodes when a rendering job appears.
We just switched to using a deadline user which runs the slave on each PC.
Other users log in and use the PC at the same time.
Some machines run fine and some give the error below. The machines are identical in terms of deadline privileges.
ps. If it helps - I know for a fact that a machine which previously gave the same error below is now fine, and vice versa, machines that were fine now have this error.
Any idea on the cause?
ERROR:
2022-04-20 09:56:42: 0: Got task!
2022-04-20 09:56:42: 0: Render Thread - Render State transition from = ‘ReceivedTask’ to = ‘Other’
2022-04-20 09:56:42: 0: Loading Job’s Plugin timeout is Disabled
2022-04-20 09:56:43: ERROR: 0: An exception occurred: Attempted to perform an unauthorized operation. (System.UnauthorizedAccessException)
2022-04-20 09:56:43: 0: Render Thread - Render State transition from = ‘Other’ to = ‘WaitingForTask’
2022-04-20 09:56:43: ERROR: Scheduler Thread - Render Thread 0 threw an unexpected error:
2022-04-20 09:56:43: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2022-04-20 09:56:43: Exception Details
2022-04-20 09:56:43: UnauthorizedAccessException – Attempted to perform an unauthorized operation.
2022-04-20 09:56:43: Exception.TargetSite: Int32 SetSecurityInfo(System.Security.AccessControl.ResourceType, System.String, System.Runtime.InteropServices.SafeHandle, System.Security.AccessControl.SecurityInfos, System.Security.Principal.SecurityIdentifier, System.Security.Principal.SecurityIdentifier, System.Security.AccessControl.GenericAcl, System.Security.AccessControl.GenericAcl)
2022-04-20 09:56:43: Exception.Data: ( )
2022-04-20 09:56:43: Exception.Source: System.Security.AccessControl
2022-04-20 09:56:43: Exception.HResult: -2147024891
2022-04-20 09:56:43: Exception.StackTrace:
2022-04-20 09:56:43: at System.Security.AccessControl.Win32.SetSecurityInfo(ResourceType type, String name, SafeHandle handle, SecurityInfos securityInformation, SecurityIdentifier owner, SecurityIdentifier group, GenericAcl sacl, GenericAcl dacl)
2022-04-20 09:56:43: at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, SafeHandle handle, AccessControlSections includeSections, Object exceptionContext)
2022-04-20 09:56:43: at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, AccessControlSections includeSections, Object exceptionContext)
2022-04-20 09:56:43: at System.Security.AccessControl.FileSystemSecurity.Persist(String fullPath)
2022-04-20 09:56:43: at FranticX.IO.Directory2.CreateWindowsDirectoryWithPermissions(String path, DirectorySecurity directorySecurity)
2022-04-20 09:56:43: at Deadline.IO.DeadlineClientPath.a(String bwj, UserInfo bwk)
2022-04-20 09:56:43: at Deadline.IO.DeadlineClientPath.CreateDirectoryWithMaxTwoUserAccess(String path, UserInfo additionalAllowedUser)
2022-04-20 09:56:43: at Deadline.IO.DeadlineClientPath.GetDeadlineClientSlaveJobPluginsFolder(String workerName, String jobId, Boolean createIfMissing, Boolean updatePermissions, UserInfo jobUser)
2022-04-20 09:56:43: at Deadline.Slaves.SlaveSettings.GetSlavePluginPath(String jobId, Boolean createIfMissing, Boolean updatePermissions, UserInfo jobUser)
2022-04-20 09:56:43: at Deadline.Slaves.SlaveRenderThread.e(String ajs, Job ajt, CancellationToken aju)
2022-04-20 09:56:43: at Deadline.Slaves.SlaveRenderThread.b(TaskLogWriter ajo, CancellationToken ajp)
2022-04-20 09:56:43: at Deadline.Slaves.SlaveRenderThread.a()
2022-04-20 09:56:43: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<