Skip to content
New issue

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syslog.Syslog_Update metod error #588

Open
Po-temkin opened this issue Aug 17, 2022 · 0 comments
Open

Syslog.Syslog_Update metod error #588

Po-temkin opened this issue Aug 17, 2022 · 0 comments
Labels

Comments

@Po-temkin
Copy link

Po-temkin commented Aug 17, 2022

Describe the bug

Exception on call "Syslog_Update" with "1" arguments: "ExceptionType : VMware.Hv.UnexpectedFault
ErrorMessage : An internal error has occurred.
CauseString : Internal error has occurred.
CauseStackTrace :
ErrorCode :
ErrorAttributes :
ErrorMessage : Please contact administrator for further assistance."
string:6 symbol:1
+ $ViewAPI.Syslog.Syslog_Update($MapEntry)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : VimException

Reproduction steps

$ViewAPI = Connect-HVServer -server '$fqdn' -user '$user' -password '$pass' -domain '$domain'
$ViewAPI = $ViewAPI.ExtensionData
$SyslogFileData = New-Object VMware.Hv.SyslogFileData -Property @{enabled=$false}
$SyslogUDPData = New-Object VMware.Hv.SyslogUDPData -Property @{enabled=$true;networkAddresses=@('192.168.1.2:514','192.168.1.3:514')}
$MapEntry1 = New-Object VMware.Hv.MapEntry -Property @{Key='fileData';Value=$SyslogFileData}
$MapEntry2 = New-Object VMware.Hv.MapEntry -Property @{Key='udpData';Value=$SyslogUDPData}
$MapEntry = @($MapEntry1,$MapEntry2)
$ViewAPI.Syslog.Syslog_Update($MapEntry)

Expected behavior

Metod succesfully update Syslog settings.

Additional context

Horizon Connection Server 8.6.0 build - 20099816
No response

@Po-temkin Po-temkin added the bug label Aug 17, 2022
@Po-temkin Po-temkin changed the title Syslog.Syslog_Update metod erorr Syslog.Syslog_Update metod error Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant