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

get all bios attributes is not working for pending commands #138

Open
IonutDanNica opened this issue Apr 8, 2024 · 1 comment
Open

get all bios attributes is not working for pending commands #138

IonutDanNica opened this issue Apr 8, 2024 · 1 comment

Comments

@IonutDanNica
Copy link

https://github.com/lenovo/powershell-redfish-lenovo/blob/master/examples/get_all_bios_attributes.psm1

This is not working for when used for retrieving pending settings.

from what i could figure out, this endoing @Redfish.Settings, does not exist on the converted_object variable

if($bios_get -eq "pending")
{
$pending_url ="https://$ip" + $converted_object."@Redfish.Settings".SettingsObject."@odata.id"
$response = Invoke-WebRequest -Uri $bios_url -Headers $JsonHeader -Method Get -UseBasicParsing
$converted_object = $response.Content | ConvertFrom-Json

            # Output result
            $converted_object.Attributes
@jixj5
Copy link
Contributor

jixj5 commented Apr 10, 2024

Thank you to report this issue. Could you tell us your platform such as SR650 and XCC/UEFI's firmware versions? And if possible, could you help to collect the service data (.tzz file, you can download it from Web GUI of XCC) and upload it to https://logupload.lenovo.com/ so that we can make detailed investigation based on the service data? Thanks.

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

No branches or pull requests

2 participants