-
Notifications
You must be signed in to change notification settings - Fork 21
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
After update - Variable "ErrorActionPreference" or common parameter is set to Stop #329
Comments
Hi, did you enable "VI" collect for this vcenter ? |
what the vi log says? |
Yes, VI log |
can you share what the VI log says? This is the inventory log. |
I just went in to check the log and those errors no longer appear. I've restarted it several times with no errors. Seems like it just needed time after the update. Thanks a lot for everything! |
strange but ok, if it appears again we'll dig into it. thanks for reporting |
Hi,
After updating to the latest version I see this in the log:
Transcript started, output file is /var/log/sexigraf/ViOfflineInventory.log
2023-01-20T17:28:16.4593792+00:00 [INFO] ViOfflineInventory v0.9.68
2023-01-20T17:28:16.4653737+00:00 [INFO] Importing PowerCli and Graphite PowerShell modules ...
2023-01-20T17:28:19.1938797+00:00 [INFO] Looking for another ViOfflineInventory ...
2023-01-20T17:28:19.2090493+00:00 [INFO] VI servers listing ...
PS>TerminatingError(Get-Content): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot find path '/tmp/vmw_vcsa_lab.key' because it does not exist."
2023-01-20T17:28:19.2422041+00:00 [WARN] SessionToken not found, invalid or connection failure
2023-01-20T17:28:19.2428040+00:00 [WARN] Attempting explicit connection ...
2023-01-20T17:28:22.1161223+00:00 [INFO] Connected to vCenter vcsa.lab version 6.7.0 build 19299595
2023-01-20T17:28:22.1226587+00:00 [INFO] Start processing vCenter/ESX vcsa.lab ...
2023-01-20T17:28:22.2038893+00:00 [INFO] Collecting objects in vcsa.local ...
2023-01-20T17:28:22.9333035+00:00 [INFO] Building hashtables ...
2023-01-20T17:28:23.1743338+00:00 [INFO] Writing Vm Inventory files ...
2023-01-20T17:28:23.1811093+00:00 [INFO] Writing Esx Inventory files ...
2023-01-20T17:28:23.1823215+00:00 [INFO] Writing Datastore Inventory files ...
PS>$global:?
True
PowerShell transcript end
End time: 20230120172823
What should I do?
Thanks.
The text was updated successfully, but these errors were encountered: