OSDCloud icon indicating copy to clipboard operation
OSDCloud copied to clipboard

Errors in OSDCloudGUI related to HP modules

Open hotzenwalder opened this issue 2 years ago • 4 comments

When running the latest version of OSDCloud (22.6.30.1) we get a few errors after starting the imaging process

20220701_110752

The errors are related to specific HP modules or functions like Get-HPBIOSupdates or osdcloud-HPBIOSDetermine.

Made sure we updated our USB sticks and also mounted the boot.wim to check if all the OSD related files were present. Seems like everything is in order.

Contents of the folder Program Files\WindowsPowerShell\Modules\OSD\22.6.30.1\Projects\OSDCloudGUI in boot.wim Schermafbeelding 2022-07-01 111812

All the contents of the folder ..\OSD\22.6.30.1 Schermafbeelding 2022-07-01 111956

We are testing this on a HP EliteBook 850 G8 with product ID 8846 with Windows 10 21H2 Enterprise nl-NL as the OS

hotzenwalder avatar Jul 01 '22 09:07 hotzenwalder

20220701_112826 20220701_112841

More errors we see during the OSDcloud preparations...

hotzenwalder avatar Jul 01 '22 09:07 hotzenwalder

Sorry about this, I didn't test that scenario. I made an assumption people were enabling cloud functions before they ran OSDCloud.

I've disabled all of the new Functions that require cloud connection. I'm running tests now, if successful, we'll update the module to remove the recent HyperV / HP functionality.

If the machine you're testing on has Internet functionality... If you launch powershell, then run: iex (irm sandbox.osdcloud.com) Then run Start-OSDCloudGUI, everything should work, including the new functions... until we remove them later.

gwblok avatar Jul 02 '22 01:07 gwblok

There might be some situations where a device has no access to the internet and is using OSDCloud from an USB stick, but in our case we always have internet connectivity, so hold off on killing all those nice functions. Might be a better idea to check if sandbox.osdcloud.com is invoked and if not, just skip the parts in OSDCloud which rely on sanbox.osdcloud.com or just invoke sandbox.osdcloud.com automatically after an internet connections is established?

Especially for us as a HP customer the new functions add value to the mix and not having them available anymore in OSDcloud would be a shame so just adding some checks in the modules might be a better solution.

Thanks for all your contributions so far... for your information, we are not using this in a production environment, just for testing so keep the beta stuff coming

hotzenwalder avatar Jul 02 '22 06:07 hotzenwalder

100% Agree. That is the long term plan, but I'm heading out of town for the week and don't have time to implement that right now.

I plan to do several checks, and quite a bit of rewrite to eventually support most of the HP functions in offline mode as well, but that will take a lot of time.

For now, I've disabled the recent changes to allow folks to continue as normal. (once the module is updated on Gallery)

If you want to continue to test the HP functions, they will be available in Start-OSDCloudGUIDev, along with other pre-release functions. Just make sure you run the sandbox first.

gwblok avatar Jul 02 '22 13:07 gwblok