microsoft / diskspd

DISKSPD is a storage load generator / performance test tool from the Windows/Windows Server and Cloud Server Infrastructure Engineering teams
MIT License
1.16k stars 216 forks source link

Measure-FleetCoreWorkload - Import-Counter function #191

Open jayr0x opened 2 years ago

jayr0x commented 2 years ago

Hello guys, for context, I had to set my locale OS to English US to be able to run the script. After the first run, I've encountered the error below. image

in the coreworkload log : -11-10T20:18:31: COMPLETION CHECK 7 : 64/64 done (0,02s, total 12,59s) PS>TerminatingError(Import-Counter): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: L’objet spécifié n’a pas été trouvé sur l’ordinateur."

TerminatingError(Import-Counter): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: L’objet spécifié n’a pas été trouvé sur l’ordinateur." TerminatingError(Import-Counter): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: L’objet spécifié n’a pas été trouvé sur l’ordinateur." TerminatingError(Import-Counter): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: L’objet spécifié n’a pas été trouvé sur l’ordinateur." TerminatingError(Import-Counter): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: L’objet spécifié n’a pas été trouvé sur l’ordinateur." 2022-11-10T20:18:53: Iteration file content saved to C:\ClusterStorage\collect\result\error for triage PS>TerminatingError(Import-Counter): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: L’objet spécifié n’a pas été trouvé sur l’ordinateur." TerminatingError(Import-Counter): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: L’objet spécifié n’a pas été trouvé sur l’ordinateur."


Windows PowerShell transcript end End time: 20221110201853


Do you have any idea what could be missing ? The error says : the specified object can't be found on the computer. My guess would be a specific counter name can't be found ?

dl2n commented 2 years ago

Could you look at the output of "typeperf -q" and/or tell me if the performance counter set names are localized when in the French fr-fr locale? (I assume that was your original)

jayr0x commented 2 years ago

when the os is in french, the names are localized. but since i switch to english, to make the script working (at least the first run) it is correctly localized. here is the export of the command typeperf -q typeperf.txt

the only thing that I did not change since I think it would not matter for the reports are the Format. image image

jayr0x commented 2 years ago

any update possible on this "issue" ?

dl2n commented 1 year ago

Sorry, just to be clear: when the localization is fr-fr (or not en-us), are the names of the counter sets (the output of typeperf -q) localized? That is what I was looking for when asking for that output - in the fr-fr localization.

Your txt output shows what I am already familiar with in the en-us case.

jayr0x commented 1 year ago

Yes like I said above, they are localized when the OS is in french version. But I don't think that matters because I've switched to EN-US when running the script. typeperf_FR.txt

KaiKirste commented 1 year ago

Hello!

I have the same issue. Same VMFleet Version. The Cluster-OS was setup with de-de Language and then set to en-us for the script to start running. But it stops after the first run with the same error. One question: where ist $Blg set? I found nothing that fills the variable with input. Could this be the Problem?

Greetings from Germany

KaiKirste commented 1 year ago

Good news (for me)!

It works after i have setup my nodes and cluster from scratch with English Windows Server 2019 Core Setup. Prio test with German GUI Setup including change of systemlanguage to english and complete Setup of English GUI doesn't work.

Greetings