We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have basic ansible task for install win agent works fine on 2022 server but not in 2019 server
Task cohesity_win_agent: cluster: "{{ cohesity_server }}" username: "{{ cohesity_username }}" password: "{{ cohesity_password }}" validate_certs: false state: "{{ state | default('present') }}" preserve_settings: "{{ preserve_settings | default(False) }}" install_type: "{{ install_type | default('allcbt') }}"
error i get when i run for 2019 server
{ "exception": "Cannot remove item C:\Users\winuser\AppData\Local\Temp\05169a79-4c19-4fa5-9da3-8cc2a904d9e8: The directory is not empty.\r\n\r\nAt line:247 char:7\r\n+ Remove-Item $tmpdir -Confirm:$False -Force -Recurse\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n + CategoryInfo : WriteError: (C:\Users\winuser....a3-8cc2a904d9e8:DirectoryInfo) [Remove-Item], IOException\r\n + FullyQualifiedErrorId : RemoveFileSystemItemIOError,Microsoft.PowerShell.Commands.RemoveItemCommand\r\n\r\nScriptStackTrace:\r\nat Install-CohesityAgent, : line 247\r\nat , : line 382\r\n\r\nSystem.IO.IOException: The directory is not empty.\r\n\r\n at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)\r\n at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)\r\n at Microsoft.PowerShell.Commands.FileSystemProvider.RemoveFileSystemItem(FileSystemInfo fileSystemInfo, Boolean force)", "msg": "Unhandled exception while executing module: The directory is not empty.\r\n", "_ansible_no_log": null, "changed": false }
The text was updated successfully, but these errors were encountered:
naveena-maplelabs
No branches or pull requests
馃悰 Bug Report
I have basic ansible task for install win agent works fine on 2022 server but not in 2019 server
Task
cohesity_win_agent:
cluster: "{{ cohesity_server }}"
username: "{{ cohesity_username }}"
password: "{{ cohesity_password }}"
validate_certs: false
state: "{{ state | default('present') }}"
preserve_settings: "{{ preserve_settings | default(False) }}"
install_type: "{{ install_type | default('allcbt') }}"
error i get when i run for 2019 server
{
"exception": "Cannot remove item C:\Users\winuser\AppData\Local\Temp\05169a79-4c19-4fa5-9da3-8cc2a904d9e8: The directory is not empty.\r\n\r\nAt line:247 char:7\r\n+ Remove-Item $tmpdir -Confirm:$False -Force -Recurse\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n + CategoryInfo : WriteError: (C:\Users\winuser....a3-8cc2a904d9e8:DirectoryInfo) [Remove-Item], IOException\r\n + FullyQualifiedErrorId : RemoveFileSystemItemIOError,Microsoft.PowerShell.Commands.RemoveItemCommand\r\n\r\nScriptStackTrace:\r\nat Install-CohesityAgent, : line 247\r\nat , : line 382\r\n\r\nSystem.IO.IOException: The directory is not empty.\r\n\r\n at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)\r\n at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)\r\n at Microsoft.PowerShell.Commands.FileSystemProvider.RemoveFileSystemItem(FileSystemInfo fileSystemInfo, Boolean force)",
"msg": "Unhandled exception while executing module: The directory is not empty.\r\n",
"_ansible_no_log": null,
"changed": false
}
The text was updated successfully, but these errors were encountered: