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

CMDLet errors when UUID of 00000000-0000-0000-0000-000000000000 is found #643

Open
MSHAFFER64 opened this issue Jul 13, 2023 · 1 comment

Comments

@MSHAFFER64
Copy link

MSHAFFER64 commented Jul 13, 2023

When creating a array variable from Get-OVServer CMDlet that has a Server UUID containing 00000000-0000-0000-0000-000000000000, this causes other piped CMLets to fail and array or variable not getting set.

Requesting fix for 6.60 and newest OV CMDlet versions.

Expected Behavior

Looking for Get-OVserver to report the issue but do not include in output, this will resolve the issue array variable not containing the issue/error and continue to create the variable/array.

Actual Behavior

Steps to reproduce Example:

$serverlist =Get-OVServer
$rss = $serverlist | Get-OVRemoteSupportSetting

Get-OVRemoteSupportSetting : The requested resource '/rest/support/server-hardware/00000000-0000-0000-0000-000000000000' could not be found. An existing device id must be provided.

At line:27 char:22
+ $rss = $serverlist | Get-OVRemoteSupportSetting
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~
   + CategoryInfo          : ObjectNotFound: (URI:String) [Get-OVRemoteSupportSetting], ResourceNotFoundException
@MSHAFFER64 MSHAFFER64 added the Bug label Jul 13, 2023
@ChrisLynchHPE ChrisLynchHPE self-assigned this Sep 21, 2023
@ChrisLynchHPE
Copy link
Member

You need to resolve this issue on the appliance. This isn't a use case the library can really handle. The UUID being all null means that the system board was replaced, but the Product ID or Serial Number was not replaced correctly. Both are required to calculate the server UUID, which OneView then uses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants