HewlettPackard / POSH-HPEOneView

PowerShell language bindings library for HPE OneView.
http://hewlettpackard.github.io/POSH-HPEOneView/
125 stars 52 forks source link

Error while collecting firmware report #645

Open miloskasalica opened 1 year ago

miloskasalica commented 1 year ago

I'm trying to collect firmware for all servers in Synergy Frame with command:

$servers = Get-OVserver | Sort-Object locationuri, {[int]$_.position}
Foreach ($server in $servers)
{
     Get-OVServer -Name $server.name | Format-Table  position, name, serverName, mpModel, model, serialNumber, memoryMb, state, powerState | Out-File output/$IP.txt -Append
     **(Send-OVRequest -Uri ($server.serverFirmwareInventoryUri)).components | Format-Table componentName, componentLocation, componentVersion**
}

or with command:

Show-OVFirmwareReport $server

and I get correct output for some servers and error for other. I don't see any reason for that kind of behavior.

Expected Behavior

componentName                                                                componentLocation              componentVersion                    
-------------                                                                -----------------              ----------------                    
qlnativefc: QLogic Fibre Channel HBA Driver                                                                 4.1.22.0-1OEM.700.1.0.15843807      
Intelligent Platform Abstraction Data                                        System Board                   15.1.0 Build 33                     
lpfc: Broadcom Emulex Connectivity Division lpfc driver for FC adapters                                     12.8.329.1-1OEM.700.1.0.15843807    
Intel NVME Driver with VMD Technology                                                                       2.0.0.1055-5vmw.701.0.0.16850804    
System ROM                                                                   System Board                   I42 v2.72 (09/29/2022)              
Network ENS driver for VMware vmxnet3 Virtual Ethernet Controller                                           2.0.0.22-1vmw.701.0.0.16850804      
HPE 2SFF NVMe/SAS/uFF Backplane                                              Box=1                          1.20                                
VMware Native AHCI Driver                                                                                   2.0.5-2vmw.701.0.0.16850804         
ATA Driver                                                                                                  0.1-1vmw.701.0.25.17325551          
rste: SCU SAS/SATA for VMware ESX                                                                           2.0.2.0088-7vmw.701.0.0.16850804    
QLogic NetXtreme II 10 Gigabit Network/iSCSI/FCoE E3 drivers for VMware ESXi                                3.0.140.2-1OEM.700.1.0.15843807     
Mellanox NATIVE_NMST Drivers                                                                                4.14.3.3-1OEM.700.1.0.15525992      
INTEL VMD LSU Management Plugin                                                                             1.0.0-2vmw.701.0.0.16850804         
ESXi Install/Upgrade Component                                                                              7.0.1-0.30.17551050                 
Mellanox Native OFED ConnectX-3 Drivers                                                                     3.19.70.1-1OEM.670.0.0.8169922      
igbn: Network driver for Intel(R) 1 Gigabit Server NIC                                                      1.5.2.0-1OEM.700.1.0.15843807       
NVME PCIe LSU Management Plugin                                                                             1.0.0-1vmw.701.0.0.16850804         
PVSCSI Driver                                                                                               0.1-2vmw.701.0.0.16850804           
Synergy 5330C 32Gb FC HBA                                                    Mezzanine Slot 2               12.8.352.12                         
Command line tool for interacting with the iLO Rest API.                                                    700.3.1.0.43-15843807               
Broadcom NetXtreme-E VMKAPI network and RoCE driver                                                         218.0.243.0-1OEM.700.1.0.15843807   
cru: cru driver                                                                                             700.10.16-1OEM.700.0.0.14828939     
smartpqi: SmartPqi Native driver                                                                            70.4054.2.118-1OEM.700.1.0.15843807 
amshelprComponent: Agentless Management Service for Gen9                                                    701.11.7.0.14-1                     
sut: Integrated Smart Update Tool                                                                           700.2.8.0.20-0                      
HPE Utility Component for ESXi 7.0 10.5.0-63                                                                10.5.0-63                           
Networking Driver for Intel PRO/1000 Family Adapters                                                        0.8.4-11vmw.701.0.0.16850804        
Redundant System ROM                                                         System Board                   I42 v2.54 (09/03/2021)              
Network driver for VMware vmxnet3 Virtual Ethernet Controller                                               2.0.0.30-1vmw.701.0.0.16850804      
Marvell Technology Network/iSCSI/FCoE/RDMA E4 drivers for VMware ESXi                                       5.0.254.0-1OEM.700.1.0.15843807     
SMARTPQI LSU Management Plugin                                                                              1.0.0-4vmw.701.0.0.16850804         
smx:WBEM Providers for ESXi 7.0                                                                             700.03.16.00.12-14828939            
NVMe Drive                                                                   NVMe Drive Port 1A Box 1 Bay 2 HPK3                                
Mellanox Native OFED ConnectX-4-5 Drivers                                                                   4.19.70.1-1OEM.700.1.0.15525992     
Virtual NIC Enablement Bundle for ESXi                                                                      700.1.00.12-1                       
net driver for VMware ESX                                                                                   12.0.1250.0-5vmw.701.0.0.16850804   
NVMe Backplane Firmware                                                      System Board                   1.20                                
Intelligent Provisioning                                                     System Board                   3.40.192                            
NVMe Drive                                                                   NVMe Drive Port 1A Box 1 Bay 1 HPK3                                
Innovation Engine (IE) Firmware                                              System Board                   0.2.2.0                             
Server Platform Services (SPS) Firmware                                      System Board                   4.1.4.423                           
OEM HP LSU Management Plugin                                                                                1.0.0-1vmw.701.0.0.16850804         
net driver for VMware ESX                                                                                   11.4.62.0-1vmw.701.0.0.16850804     
Broadcom NetXtreme I ESX VMKAPI ethernet driver                                                             4.1.5.0-0vmw.701.0.0.16850804       
brcmnvmefc: Broadcom NVMeF FC Driver                                                                        12.8.329.0-1OEM.700.1.0.15843807    
Network driver for QLogic NetXtreme II PCI/PCIe Gigabit Ethernet Adapters                                   1.1.0.11-1vmw.701.0.0.16850804      
Network driver for Intel(R) X722 RDMA Adapters                                                              1.1.2.6-1vmw.701.0.0.16850804       
Broadcom Native MegaRAID SAS                                                                                7.712.51.00-1vmw.701.0.0.16850804   
Emulex FCoE Driver                                                                                          12.0.1500.0-1vmw.701.0.0.16850804   
icen: Network driver for Intel(R) E810 Adapters                                                             1.4.2.0-1OEM.700.1.0.15843807       
i40en: Network driver for Intel(R) X710/XL710/XXV710/X722 Adapters                                          1.10.9.0-1OEM.700.1.0.15525992      
HPE Smart Array S100i SR Gen10                                               Embedded Device                2.04-0                              
Non-Volatile memory controller driver                                                                       1.2.3.9-2vmw.701.0.0.16850804       
Synergy 6820C 25/50Gb CNA                                                    Mezzanine Slot 3               8.55.22                             
Power Management Controller FW Bootloader                                    System Board                   1.1                                 
System Programmable Logic Device                                             System Board                   0x0D                                
IMA plugin for elxiscsi driver                                                                              12.0.1200.0-3vmw.701.0.0.16850804   
Server Platform Services (SPS) Descriptor                                    System Board                   1.2 0                               
Smart Storage Administrator CLI for ESXi                                                                    5.10.45.1-7.0.0                     
HPSA native driver                                                                                          70.0051.0.100-2vmw.701.0.25.17325551
ESXi Component - core ESXi VIBs                                                                             7.0.1-0.30.17551050                 
VMware NVME over RDMA Driver                                                                                1.0.1.2-1vmw.701.0.20.17325020      
ilo: ilo driver                                                                                             700.10.7.0.6-1OEM.700.1.0.15843807  
HPSA LSU Management Plugin                                                                                  1.0.0-3vmw.701.0.0.16850804         
iLO 5                                                                        System Board                   2.70 May 16 2022                    
Power Management Controller Firmware                                         System Board                   1.0.7                               
LSI NATIVE DRIVERS LSU Management Plugin                                                                    1.0.0-4vmw.701.0.0.16850804         
iscsi driver for VMware ESX                                                                                 12.0.1200.0-2vmw.701.0.0.16850804   
Fiber Channel and Storage Enablement Bundle for ESXi                                                        700.3.7.0.5-1                       
esxcli plugin for VMware nvme driver                                                                        1.2.0.38-1vmw.701.0.0.16850804      
Native Software FCoE Driver for VMware ESX                                                                  1.0.0.2-1vmw.701.0.20.17325020      
amsdComponent: Agentless Management Service for Gen10 and Gen10Plus                                         701.11.7.1.3-1                      
VMware Native iSER Driver                                                                                   1.1.0.1-1vmw.701.0.0.16850804       
HPE Upgrade Component for ESXi 7.0.0                                                                        1.1.4-1OEM.700.1.0.15843807         
ixgben: Network driver for Intel(R) 10 Gigabit Adapters                                                     1.8.9.0-1OEM.700.1.0.15525992       
USB Driver                                                                                                  0.1-1vmw.701.0.25.17325551   

Actual Behavior

Line |
 125 |       (Send-OVRequest -Uri ($server.serverFirmwareInventoryUri)).compo …
     |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | An unexpected and unhandled runtime exception occurred. Please contact your authorized support representative
     | and provide them with a support dump.

Steps to reproduce

Maybe it isn't relevant but all servers with error had warning: "BIOS settings do not match the expected values.". Even after BIOS reconfiguration and server restart, error after above command stay the same.

Module version 8.00, PowerShell 7.3.5, OneView version 8.10

Error is reproducible. Am I missing something?

ChrisLynchHPE commented 1 year ago

Is there a reason why you are not using Show-OVFirmwareReport?

miloskasalica commented 1 year ago

Hi Chris,

Same error and output is with Show-OVFirmwareReport.

Regards,

Miloš Kasalica Customer Support Engineer

Hewlett Packard Enterprise operated by Selectium

@.**@.> +381 63 290 014<tel:+381%2063%20290%20014> Mobile [cid:storage_emulated_0_Android_data_com_samsung_android_email_provider_files__EmailTempImage_1_TempSignature_signature_image004_jpg_1663253366251]

-------- Original message -------- From: Chris Lynch @.> Date: 22/09/2023 00:49 (GMT+01:00) To: HewlettPackard/POSH-HPEOneView @.> Cc: Milos Kasalica @.>, Author @.> Subject: Re: [HewlettPackard/POSH-HPEOneView] Error while collecting firmware report (Issue #645)

Is there a reason why you are not using Show-OVFirmwareReporthttps://hpe-docs.gitbook.io/posh-hpeoneview/cmdlets/v8.00/servers/show-ovfirmwarereport?

— Reply to this email directly, view it on GitHubhttps://github.com/HewlettPackard/POSH-HPEOneView/issues/645#issuecomment-1730448999, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBMZVTHK5XJPFWATEVGR4VLX3S777ANCNFSM6AAAAAA2RSJHUY. You are receiving this because you authored the thread.Message ID: @.***>

This email is from an external domain! Caution is required when opening any attachments or external links