OpenUBMC2506 BMC固件升级失败

代码版本:2506
问题说明: 在2506增加自签名之后,编译成功,签名成功 在S920X20的环境上先刷了过渡包,之后刷自己编译的Openubmc固件包,提示升级失败,查看日志,在app.log的出现升级写入配置文件失败,请问怎么回事呀?
求助:1. 有没有详细的从华为版本到openubmc版本刷机的文档说明
2. openubmc刷入真机,增加签名外,还需要做什么修改呀

app.log的日志如下

2025-07-11 15:18:57.732976 bmc_time NOTICE: time_manager.lua(50): set time zone(UTC+08:00), updated timezone = UTC+08:00, offset = +08:00
2025-07-11 15:18:57.736849 bmc_time NOTICE: time_manager.lua(70): bmc_time config time zone, input: UTC+08:00(fmt: UTC+08:00), result: UTC+08:00, offset: +08:00
2025-07-11 15:18:58.033445 web_backend NOTICE: base.lua(456): processing_flow_3 foreach_1 timeout,[path=${ProcessingFlow[1]/Destination/NtpPaths[1]}, interface=bmc.kepler.Managers.Time], t1=42949802630, t2=42949803000, time=370
2025-07-11 15:18:58.035922 oms NOTICE: log_init.lua(338): DateTimeLocalOffset property is changed to +08:00
2025-07-11 15:19:38.205181 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-07-11 15:20:25.117631 storage ERROR: nvme_object.lua(665): update ResourceId failed! [repeated 58 times in 311s]
2025-07-11 15:20:38.414362 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-07-11 15:21:38.427500 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-07-11 15:15:39.900831 firmware_mgmt ERROR: hook.lua(66): database process commit list failed: ./opt/bmc/libmc/lualib/mc/context.lua:175: ./opt/bmc/libmc/lualib/mc/signal.lua:258: ./opt/bmc/libmc/lualib/mc/orm/object.lua:497: attempt to call field 'create_mdb_object' (a nil value) [repeated 1 times in 112s][flush]
2025-07-11 15:16:39.937585 event WARNING: init.lua(98): nil:0 > queue.lua:-1 > event_management.lua:918: Incorrect value of property State. [repeated 44 times in 126s][flush]
2025-07-11 15:15:38.661179 firmware_mgmt ERROR: init.lua(136): Already exists the same Id:[BCU_CPLD2_010101] to path /bmc/kepler/UpdateService/FirmwareInventory/:Id [repeated 112 times in 113s][flush]
2025-07-11 15:15:35.666624 firmware_mgmt ERROR: init.lua(136): Already exists the same Id:[EXU_CPLD_0101] to path /bmc/kepler/UpdateService/FirmwareInventory/:Id [repeated 109 times in 110s][flush]
2025-07-11 15:17:48.406452 firmware_mgmt ERROR: init.lua(136): Already exists the same Id:[BCU_CPLD1_010101] to path /bmc/kepler/UpdateService/FirmwareInventory/:Id [repeated 118 times in 128s][flush]
2025-07-11 15:14:08.181760 event NOTICE: object_manage.lua(174): start to add objects, path: /bmc/kepler/ObjectGroup/0101020501, position: 0101020501, life cycle id: 1, count: 4 [repeated 29 times in 17s][flush]
2025-07-11 15:14:08.967917 event NOTICE: hardware_event.lua(181): [Event_VPDReadFail_0101020501] property reading used invalid. [repeated 2 times in 1s][flush]
2025-07-11 15:14:08.445090 event NOTICE: object_manage.lua(223): add objects callback, path: /bmc/kepler/ObjectGroup/0101020501, position: 0101020501, life cycle id: 1, count: 4, took 260ms [repeated 31 times in 17s][flush]
2025-07-11 15:14:08.447487 event NOTICE: object_manage.lua(232): add objects completely, path: /bmc/kepler/ObjectGroup/0101020501, position: 0101020501, life cycle id: 1, took 0ms [repeated 31 times in 17s][flush]
2025-07-11 15:14:03.229851 event NOTICE: hardware_event.lua(238): [Event_Mem041Installed_01010117] received an invalid reading [repeated 66 times in 13s][flush]
2025-07-11 15:22:19.812424 web_backend NOTICE: init.lua(99): upload content length:number 87682108, remaining capacity space:number 133316608
2025-07-11 15:22:38.588932 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-07-11 15:22:48.298887 firmware_mgmt NOTICE: utils.lua(34): The file path is local.
2025-07-11 15:22:48.307375 firmware_mgmt NOTICE: init.lua(33): update status to FS_SIMPLE_UPGRADING.
2025-07-11 15:22:48.319800 firmware_mgmt NOTICE: task_service.lua(49): task create success, task id: 1523558284
2025-07-11 15:22:48.380800 firmware_mgmt NOTICE: file_transfer.lua(142): start to move file [rootfs_openUBMC.hpm] from tmp to shm
2025-07-11 15:22:48.916758 firmware_mgmt NOTICE: file_transfer.lua(147): move_file_s ok:true, err:0
2025-07-11 15:22:48.974858 firmware_mgmt NOTICE: validate_sign.lua(217): config cms sign enable:true
2025-07-11 15:22:48.979461 firmware_mgmt NOTICE: validate_sign.lua(138): the custom ca certificate is exist, load custom certificate
2025-07-11 15:22:49.007138 firmware_mgmt NOTICE: validate_sign.lua(159): verify signature successfully
2025-07-11 15:22:49.442998 firmware_mgmt NOTICE: action.lua(37): Validate signature successfully
2025-07-11 15:22:49.492398 bmc_core ERROR: l_crypt.c(929): RSA_private_decrypt failed.
2025-07-11 15:22:49.493614 firmware_mgmt WARNING: init.lua(98): hpm_package.lua:613 > hpm_package.lua:512 > hpm_package.lua:221: An error occurred during the firmware upgrade process. Details: Upgrade write config file failed
2025-07-11 15:22:49.494244 firmware_mgmt ERROR: control.lua(298): parse package(rootfs_openUBMC.hpm) failed, ret:FirmwareUpgradeError: An error occurred during the firmware upgrade process. Details: Upgrade write config file failed.
2025-07-11 15:22:49.727541 firmware_mgmt NOTICE: init.lua(33): update status to FS_IDLE.
2025-07-11 15:23:05.117054 cooling NOTICE: fans_data_keeping.lua(98): path:/bmc/kepler/Systems/1/Thermal/Fans/Fan_1_010103 | ExpectedPWM: 89 | Slot: 1 | path: /bmc/kepler/Systems/1/Thermal/Fans/Fan_1_010103 | RearStatus: 0 | SetFanPWM_PACKED: function: 0x425c0b9659c8 | RearPresence: 1 | FrontPresence: 1 | FrontStatus: 0 | MaxSupportedPWM: 255 | Model:  | FanId: 1
2025-07-11 15:23:05.117672 cooling NOTICE: fans_data_keeping.lua(98): path:/bmc/kepler/Systems/1/Thermal/Fans/Fan_3_010103 | ExpectedPWM: 89 | Slot: 3 | path: /bmc/kepler/Systems/1/Thermal/Fans/Fan_3_010103 | RearStatus: 0 | SetFanPWM_PACKED: function: 0x425c0bb68928 | RearPresence: 1 | FrontPresence: 1 | FrontStatus: 0 | MaxSupportedPWM: 255 | Model:  | FanId: 3
2025-07-11 15:23:05.118077 cooling NOTICE: fans_data_keeping.lua(98): path:/bmc/kepler/Systems/1/Thermal/Fans/Fan_4_010103 | ExpectedPWM: 89 | Slot: 4 | path: /bmc/kepler/Systems/1/Thermal/Fans/Fan_4_010103 | RearStatus: 0 | SetFanPWM_PACKED: function: 0x425c0bae0748 | RearPresence: 1 | FrontPresence: 1 | FrontStatus: 0 | MaxSupportedPWM: 255 | Model:  | FanId: 4
2025-07-11 15:23:05.118569 cooling NOTICE: fans_data_keeping.lua(98): path:/bmc/kepler/Systems/1/Thermal/Fans/Fan_2_010103 | ExpectedPWM: 89 | Slot: 2 | path: /bmc/kepler/Systems/1/Thermal/Fans/Fan_2_010103 | RearStatus: 0 | SetFanPWM_PACKED: function: 0x425c0baacee0 | RearPresence: 1 | FrontPresence: 1 | FrontStatus: 0 | MaxSupportedPWM: 255 | Model:  | FanId: 2
2025-07-11 15:23:05.121076 cooling NOTICE: fructl_data_keeping.lua(41): Current PowerState is OFF
2025-07-11 15:23:26.131375 bmc_network NOTICE: network_loop_task.lua(99): GC task start
2025-07-11 15:23:35.506446 network_adapter ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 301 times in 301s]
2025-07-11 15:23:38.780978 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-07-11 15:23:43.365721 storage ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 300 times in 301s]
2025-07-11 15:23:51.202362 compute ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 300 times in 301s]
2025-07-11 15:24:38.820410 pcie_device ERROR: topo_reader.lua(147): [BizTopoMonitor] read topo info fail [repeated 6 times in 360s]
2025-07-11 15:24:38.820938 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-07-11 15:25:30.656078 storage ERROR: nvme_object.lua(665): update ResourceId failed! [repeated 60 times in 305s]
2025-07-11 15:25:38.913965 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-07-11 15:26:38.940586 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-07-11 15:27:39.031003 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-07-11 15:28:36.688843 network_adapter ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 301 times in 301s]
2025-07-11 15:28:39.115147 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-07-11 15:28:44.721662 storage ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 301 times in 301s]
2025-07-11 15:28:52.536892 compute ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 301 times in 301s]
2025-07-11 15:29:39.177927 pcie_device ERROR: topo_reader.lua(147): [BizTopoMonitor] read topo info fail [repeated 5 times in 301s]
2025-07-11 15:29:39.178317 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-07-11 15:30:37.002185 storage ERROR: nvme_object.lua(665): update ResourceId failed! [repeated 60 times in 306s]
2025-07-11 15:33:37.905020 network_adapter ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 301 times in 301s]
2025-07-11 15:33:45.324230 storage ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 300 times in 301s]
2025-07-11 15:33:53.691923 compute ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 301 times in 301s]
2025-07-11 15:35:39.771462 pcie_device ERROR: topo_reader.lua(147): [BizTopoMonitor] read topo info fail [repeated 6 times in 360s]
2025-07-11 15:35:39.771686 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed. [repeated 5 times in 360s]
2025-07-11 15:35:42.809524 storage ERROR: nvme_object.lua(665): update ResourceId failed! [repeated 60 times in 306s]
2025-07-11 15:38:38.147261 network_adapter ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 300 times in 301s]
2025-07-11 15:38:46.332261 storage ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 300 times in 301s]
2025-07-11 15:38:54.825217 compute ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 301 times in 301s]
2025-07-11 15:40:40.223511 pcie_device ERROR: topo_reader.lua(147): [BizTopoMonitor] read topo info fail [repeated 5 times in 301s]
2025-07-11 15:40:40.223774 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed. [repeated 5 times in 301s]
2025-07-11 15:40:48.968433 storage ERROR: nvme_object.lua(665): update ResourceId failed! [repeated 60 times in 306s]
2025-07-11 15:43:39.326504 network_adapter ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 301 times in 301s]
2025-07-11 15:43:47.839089 storage ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 301 times in 301s]
2025-07-11 15:43:55.458667 compute ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 300 times in 301s]
2025-07-11 15:45:55.915758 storage ERROR: nvme_object.lua(665): update ResourceId failed! [repeated 60 times in 307s]
2025-07-11 15:46:18.324855 web_backend NOTICE: init.lua(99): upload content length:number 79188689, remaining capacity space:number 133316608
2025-07-11 15:46:40.998050 pcie_device ERROR: topo_reader.lua(147): [BizTopoMonitor] read topo info fail [repeated 6 times in 360s]
2025-07-11 15:46:40.998350 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed. [repeated 6 times in 360s]
2025-07-11 15:46:42.894996 firmware_mgmt NOTICE: utils.lua(34): The file path is local.
2025-07-11 15:46:42.902989 firmware_mgmt NOTICE: init.lua(33): update status to FS_SIMPLE_UPGRADING.
2025-07-11 15:46:42.915744 firmware_mgmt NOTICE: task_service.lua(49): task create success, task id: 2273928601
2025-07-11 15:46:42.973737 firmware_mgmt NOTICE: file_transfer.lua(142): start to move file [rootfs_openUBMC.hpm] from tmp to shm
2025-07-11 15:46:43.454534 firmware_mgmt NOTICE: file_transfer.lua(147): move_file_s ok:true, err:0
2025-07-11 15:46:43.514352 firmware_mgmt NOTICE: validate_sign.lua(217): config cms sign enable:true
2025-07-11 15:46:43.518829 firmware_mgmt NOTICE: validate_sign.lua(138): the custom ca certificate is exist, load custom certificate
2025-07-11 15:46:43.543643 firmware_mgmt NOTICE: validate_sign.lua(159): verify signature successfully
2025-07-11 15:46:43.933061 firmware_mgmt NOTICE: action.lua(37): Validate signature successfully
2025-07-11 15:46:43.974916 bmc_core ERROR: l_crypt.c(929): RSA_private_decrypt failed.
2025-07-11 15:46:43.976105 firmware_mgmt WARNING: init.lua(98): hpm_package.lua:613 > hpm_package.lua:512 > hpm_package.lua:221: An error occurred during the firmware upgrade process. Details: Upgrade write config file failed
2025-07-11 15:46:43.976679 firmware_mgmt ERROR: control.lua(298): parse package(rootfs_openUBMC.hpm) failed, ret:FirmwareUpgradeError: An error occurred during the firmware upgrade process. Details: Upgrade write config file failed.
2025-07-11 15:46:44.192407 firmware_mgmt NOTICE: init.lua(33): update status to FS_IDLE.
2025-07-11 15:47:00.319729 om ERROR: alm_callback.c(789): [license][alm] 0004[TIME]2025-07-11 15:47:00 lgen-ck err--350: Prd[1] ALM_LicGeneralQuery end 2030043238
2025-07-11 15:47:00.320381 license ERROR: license_dump.lua(110): Get revoke ticket from db failed
2025-07-11 15:47:00.321398 om ERROR: alm_callback.c(789): [license][alm] 0005[TIME]2025-07-11 15:47:00 lgen-ck err--350: Prd[1] ALM_LicGeneralQuery end 2030043238
2025-07-11 15:47:00.321791 license ERROR: license_dump.lua(65): failed to get feature key info, ret = 0x79000066
2025-07-11 15:47:00.322291 om ERROR: alm_callback.c(789): [license][alm] 0006[TIME]2025-07-11 15:47:00 lgen-ck err--350: Prd[1] ALM_LicGeneralQuery end 2030043238
2025-07-11 15:47:02.902196 web_backend NOTICE: base.lua(456): processing_flow_8 foreach_1 timeout,[path=/bmc/kepler/Managers/1/Security/TlsConfig/TlsVersion, interface=bmc.kepler.Managers.Security.TlsConfig.TlsVersion], t1=42951486630, t2=42951487870, time=1240
2025-07-11 15:47:02.971341 web_backend NOTICE: route_mapper.lua(280): uri:/UI/Rest/AccessMgnt/AdvancedSecurity, method:get timeout, t1=42951483630, t2=42951487940, time=4310
2025-07-11 15:47:03.454995 remote_console NOTICE: dump.lua(48): remote_console dump begin
2025-07-11 15:47:09.219715 hardware ERROR: mctp_dump.cpp(40): Failed to open /dev/mem
2025-07-11 15:47:09.220740 mctpd NOTICE: mctp_dump.lua(91): mctp info collect finish
2025-07-11 15:47:09.280488 pcie_device NOTICE: biz_topo.lua(946): [BizTopo] App log dump.
2025-07-11 15:47:09.320168 bios NOTICE: log_collector.lua(95): [bios]start to dump bios log
2025-07-11 15:47:09.320743 bios NOTICE: log_collector.lua(71): [bios]start collect bios info
2025-07-11 15:47:09.323907 general_hardware NOTICE: unit_manager.lua(390): unit_manager:on_dump_cb start.
2025-07-11 15:47:09.335763 network_adapter NOTICE: network_adapter.lua(993): optical module cnt is 0
2025-07-11 15:47:09.361093 bmc_soc NOTICE: uart_data.lua(446): start collecting all com logs
2025-07-11 15:47:09.464645 storage ERROR: storage_app.lua(107): open file failed, err: open_s file failed
2025-07-11 15:47:09.595756 unknown_service ERROR: screenshot_api.lua(48): get lastframe ready state failed
2025-07-11 15:47:09.596324 remote_console NOTICE: dump.lua(44): VCE info collect finish
2025-07-11 15:47:09.597041 remote_console NOTICE: dump.lua(58): remote_console dump end
2025-07-11 15:47:09.651618 bmc_network NOTICE: network_dump.lua(132): bmc_network dump begin.
2025-07-11 15:47:09.763056 event NOTICE: event_app.lua(245): event dump is started.
2025-07-11 15:47:09.862056 event NOTICE: event_app.lua(272): event dump is completed.
2025-07-11 15:47:10.008170 bmc_network NOTICE: network_dump.lua(142): bmc_network dump end.
2025-07-11 15:47:10.127846 pcie_device NOTICE: biz_topo.lua(966): [BizTopo] cable log dump.
2025-07-11 15:47:10.607923 bios NOTICE: log_collector.lua(97): [bios]finish to dump bios log
2025-07-11 15:47:11.103768 general_hardware NOTICE: unit.lua(474): CpuBoard1 collect finish
2025-07-11 15:47:11.116965 bmc_soc NOTICE: uart_data.lua(479): all com logs have been compressed
2025-07-11 15:47:11.301049 general_hardware NOTICE: unit.lua(474): ExpBoard1 collect finish
2025-07-11 15:47:11.418649 ipmi_core NOTICE: ipmi_dump.lua(54): ipmi_core dump begin.
2025-07-11 15:47:11.482960 ipmi_core NOTICE: ipmi_dump.lua(34): dump_route_table collect start.
2025-07-11 15:47:11.541553 ipmi_core NOTICE: ipmi_dump.lua(47): dump_route_table collect end.
2025-07-11 15:47:11.542821 ipmi_core NOTICE: ipmi_dump.lua(97): ipmi_core dump end.
2025-07-11 15:47:11.562017 general_hardware NOTICE: unit.lua(474): FanBoard1 collect finish
2025-07-11 15:47:11.936575 general_hardware NOTICE: unit.lua(474): DiskBP1 collect finish
2025-07-11 15:47:11.938712 general_hardware NOTICE: unit_manager.lua(448): EXP board info  collect finish
2025-07-11 15:47:11.940962 general_hardware NOTICE: unit_manager.lua(448): HDD Backplane Info  collect finish
2025-07-11 15:47:11.943657 general_hardware NOTICE: unit_manager.lua(448): FAN board Info  collect finish
2025-07-11 15:47:11.945597 general_hardware NOTICE: unit_manager.lua(448): CPU board Info  collect finish
2025-07-11 15:47:11.947854 general_hardware NOTICE: mcu_service.lua(151): mcu info collect finish
2025-07-11 15:47:11.950284 general_hardware NOTICE: mcu_service.lua(119): vrd ifx info collect finish
2025-07-11 15:47:11.953746 general_hardware NOTICE: vrd_manager.lua(185): vrd info collect finish
2025-07-11 15:47:14.606404 thermal_mgmt NOTICE: thermal_mgmt_app.lua(145): collect log finished
2025-07-11 15:47:19.387707 power_mgmt NOTICE: log_service.lua(173): collect power_mgmt log finished
2025-07-11 15:47:48.098988 oms WARNING: init.lua(487): service[bmc.kepler.oms] request timeout: remote service[bmc.kepler.hwproxy], path[/bmc/kepler/hwproxy/MicroComponent], interface[bmc.kepler.MicroComponent.Debug], method[Dump], used time[49s]
2025-07-11 15:47:51.739840 cli NOTICE: common.lua(163): open /opt/bmc/apps/cli/interface_config/config.json failed.

1 个赞

从日志分析,你的升级包不是社区包又没有做包的加密。
原因:
社区包会跳过验签和加解密。你的包没标注是社区包(前面走了验签),但是又没加密,会导致升级失败。
解决方法:
1、社区包要设置community_enable:true
2、非社区包要进行加解密

1 个赞

你好,

  1. 社区包和非社区包是怎么区分呢?

  2. 我的包是通过openubmc2506的源码包构建的是不是属于社区包?

  3. 构建过程中是有做签名的,加密是怎么实现?

hpm 构建成功 !!
切换工作目录到: /root/workspace/manifest/temp/build_openUBMC_release_rc/output
不能从 yaml 文件中获取到键值 base/signature/hpm_digest, 没有相关配置
构建 openUBMC hpm 包结束 !
切换工作目录到: /root/workspace/manifest/temp/build_openUBMC_release_rc/output
不能从 yaml 文件中获取到键值 base/signature/simple_signer_server, 没有相关配置
切换工作目录到: /root/workspace/manifest/temp/build_openUBMC_release_rc/output
不能从 yaml 文件中获取到键值 base/signature/simple_signer_server, 没有相关配置
切换工作目录到: /tmp/tmp45u6z5cg
>> openssl x509 -in /root/workspace/manifest/build/product/ca/rootca.der -inform der -outform pem -out rootca.pem
>> openssl crl -in /root/workspace/manifest/build/product/ca/rootca.crl -inform der -outform pem -out cms.crl.pem
>> hpm_signer -s /root/workspace/manifest/build/product/ca/signer.pem -t /root/workspace/manifest/build/product/ca/ts_signer.pem -T /root/workspace/manifest/build/product/ca/tsa.cnf -i /root/workspace/manifest/temp/build_openUBMC_release_rc/output/rootfs_openUBMC.filelist -o /root/workspace/manifest/temp/build_openUBMC_release_rc/output/rootfs_openUBMC.filelist.cms
>> hpm_verify -r rootca.pem -C cms.crl.pem -c /root/workspace/manifest/temp/build_openUBMC_release_rc/output/rootfs_openUBMC.filelist -s /root/workspace/manifest/temp/build_openUBMC_release_rc/output/rootfs_openUBMC.filelist.cms
使用 hpm_signer 自签名 /root/workspace/manifest/temp/build_openUBMC_release_rc/output/rootfs_openUBMC.filelist 成功
切换工作目录到: /root/workspace/manifest/temp/build_openUBMC_release_rc/output
给 hpm 包 rootfs_openUBMC.hpm 签名
>> cms_sign_hpm.sh 2 rootfs_openUBMC.hpm
复制 rootfs_openUBMC.hpm.signed 到 /root/workspace/manifest/output/rootfs_openUBMC.hpm
任务 work.task_sign_and_pack_hpm 完成
任务 work.task_buildhpm_ext4 完成
任务 work.task_buildgppbin 完成
任务 work.task_hpm_envir_prepare 完成
任务 work.task_build_rootfs_img 完成
开始生成全量接口配置
生成全量接口配置完成
任务 work.create_interface_config 完成
任务 personal 执行成功
root@Microsoft:~/workspace/manifest# 

community_enable:true有设置

1 个赞

参考自签名指导
https://discuss.openubmc.cn/t/topic/1665

1 个赞

提示 改页面不存在或者是一个不公开页面,需要申请访问权限吗?@Larry_Li

是的,请联系PAE申请访问权限。


2025-08-14 22:36:54.209624 firmware_mgmt NOTICE: init.lua(33): update status to FS_SIMPLE_UPGRADING.
2025-08-14 22:36:54.218447 firmware_mgmt NOTICE: task_service.lua(49): task create success, task id: 2741219775
2025-08-14 22:36:54.277646 firmware_mgmt NOTICE: file_transfer.lua(142): start to move file [rootfs_openUBMC.hpm] from tmp to shm
2025-08-14 22:36:54.780279 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-08-14 22:36:54.839548 firmware_mgmt NOTICE: file_transfer.lua(147): move_file_s ok:true, err:0
2025-08-14 22:36:54.898192 firmware_mgmt NOTICE: validate_sign.lua(217): config cms sign enable:true
2025-08-14 22:36:54.902615 firmware_mgmt NOTICE: validate_sign.lua(138): the custom ca certificate is exist, load custom certificate
2025-08-14 22:36:54.929256 firmware_mgmt NOTICE: validate_sign.lua(159): verify signature successfully
2025-08-14 22:36:55.358222 firmware_mgmt NOTICE: action.lua(37): Validate signature successfully
2025-08-14 22:36:55.510467 firmware_mgmt NOTICE: hpm_package.lua(424): get obj table: 0x5c42f68bc148 for Id=25
2025-08-14 22:36:55.512939 firmware_mgmt NOTICE: hpm_package.lua(393): System product info:ProductId(0), ProductVendorID(0x00000001), ProductUniqueID(0x030ABF00)
2025-08-14 22:36:55.513186 firmware_mgmt NOTICE: hpm_package.lua(307): check product id successfully
2025-08-14 22:36:55.513414 firmware_mgmt NOTICE: hpm_package.lua(332): check product uid successfully
2025-08-14 22:36:55.513660 firmware_mgmt NOTICE: hpm_package.lua(417): get obj table: 0x5c42f68bc148 for Id=25
2025-08-14 22:36:55.513990 firmware_mgmt NOTICE: hpm_package.lua(439): hard_revision:0, soft_revision:0
2025-08-14 22:36:55.514184 firmware_mgmt NOTICE: hpm_package.lua(452): revision number check successfully. Target revision=(0, 0) and hpm revision=20
2025-08-14 22:36:57.449095 firmware_mgmt NOTICE: action.lua(47): Parse hpm package successfully
2025-08-14 22:36:57.450478 firmware_mgmt NOTICE: control.lua(237): upgrade_task file_name=rootfs_openUBMC.hpm, FirmwareType=BMC, fw_num=1, UniqueIDList=table: 0x5c4304627d88
2025-08-14 22:36:57.548339 firmware_mgmt NOTICE: info_mgmt.lua(71): create_info: info_key=1BMC, FirmwareType=BMC, task_id=2741219775
2025-08-14 22:36:57.649467 firmware_mgmt NOTICE: action.lua(85): public initialize action
2025-08-14 22:36:57.649705 firmware_mgmt NOTICE: info_mgmt.lua(169): info_key(1BMC) upgrade set_stage: INITIALIZE -> DIFF_PREPARE, 5
2025-08-14 22:36:57.751423 general_hardware NOTICE: dpu_service.lua(481): [DPU] firmware_type:BMC
2025-08-14 22:36:57.752618 bmc_upgrade NOTICE: upgrade.lua(111): base_ver = 5.07.00.01, target_ver = 25.06.00.01
2025-08-14 22:36:57.753018 bmc_upgrade NOTICE: update_mgmt.lua(34): get_downgrade_allowed: DowngradeAllowed true
2025-08-14 22:36:57.758882 firmware_mgmt NOTICE: info_mgmt.lua(169): info_key(1BMC) upgrade set_stage: DIFF_PREPARE -> COMMON_PREPARE, 5
2025-08-14 22:36:57.841795 firmware_mgmt NOTICE: action.lua(89): public prepare action
2025-08-14 22:36:57.912311 firmware_mgmt NOTICE: [worker](9): start action in worker
2025-08-14 22:36:57.984967 firmware_mgmt NOTICE: [worker](14): execute before action script successfully
2025-08-14 22:36:58.910741 firmware_mgmt NOTICE: info_mgmt.lua(169): info_key(1BMC) upgrade set_stage: COMMON_PREPARE -> PROCESS, 15
2025-08-14 22:36:59.001236 firmware_mgmt NOTICE: control.lua(151): sys_id=1, fw_type=BMC, filename=/dev/shm/upgrade/2741219775/Firmware1
2025-08-14 22:36:59.102778 bmc_upgrade NOTICE: fw_decrypt_work.lua(80): start fw decrypt work
2025-08-14 22:36:59.283708 compute ERROR: cpu_service.lua(369): get bma object failed
2025-08-14 22:37:05.172296 bmc_upgrade NOTICE: fw_decrypt_work.lua(105): end fw decrypt work, use time:6.35207
2025-08-14 22:37:06.333318 bmc_upgrade NOTICE: fw_pkg_work.lua(22): start write package to flash
2025-08-14 22:37:07.981782 power_mgmt NOTICE: psu.lua(139): ps1 not match manufacturer(HUAWEI), model(PAC2000S12-B1)
2025-08-14 22:37:09.498198 power_mgmt NOTICE: psu.lua(139): ps2 not match manufacturer(HUAWEI), model(PAC2000S12-B1)
2025-08-14 22:37:15.495031 compute ERROR: cpu_service.lua(369): get bma object failed
2025-08-14 22:37:31.678511 compute ERROR: cpu_service.lua(369): get bma object failed
2025-08-14 22:37:31.793540 bmc_upgrade NOTICE: fw_pkg.lua(353): rootfs image file len: 394268672
2025-08-14 22:37:32.708305 bmc_upgrade NOTICE: fw_pkg_work.lua(36): end write package to flash, use time:7.5917
2025-08-14 22:37:33.617526 bmc_upgrade NOTICE: decompress_img.lua(64): begin to extract img file
2025-08-14 22:37:47.565519 bmc_upgrade NOTICE: utils.lua(153): before unzip check [rootfs_img.tar.gz] file count:1, total size:394268672
2025-08-14 22:37:47.896135 compute ERROR: cpu_service.lua(369): get bma object failed
2025-08-14 22:37:49.112528 ipmi_core NOTICE: route_table_mgmt.lua(303): The numbers of ipmi_cmds in routing table are 591.
2025-08-14 22:37:54.917591 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-08-14 22:37:55.544474 general_hardware NOTICE: fw_init.lua(97): register BCU_CPLD2_010101 FirmwareInventory successfully
2025-08-14 22:38:01.183941 bmc_upgrade ERROR: decompress_img.lua(57): tar rootfs img to flash failed, ret: 1
2025-08-14 22:38:02.336733 bmc_upgrade NOTICE: process.lua(60): end extract rootfs img to flash
2025-08-14 22:38:02.339349 bmc_upgrade ERROR: process.lua(118): Write bmc package to flash failed
2025-08-14 22:38:02.344129 firmware_mgmt ERROR: control.lua(377): Upgrade BMC process failed, ret=1
2025-08-14 22:38:02.344539 firmware_mgmt NOTICE: info_mgmt.lua(169): info_key(1BMC) upgrade set_stage: PROCESS -> COMMON_FINISH, 95
2025-08-14 22:38:02.417154 firmware_mgmt NOTICE: control.lua(107): wait_msg_result stage=COMMON_FINISH, timeout=7200S, loop=632
2025-08-14 22:38:02.417426 firmware_mgmt NOTICE: info_mgmt.lua(220): info_key(1BMC) upgrade failed, set_stage: COMMON_FINISH -> COMPLETED
2025-08-14 22:38:02.756383 firmware_mgmt NOTICE: info_mgmt.lua(169): info_key(1BMC) upgrade set_stage: COMPLETED -> COMPLETED, 100
2025-08-14 22:38:02.757243 firmware_mgmt ERROR: task_service.lua(83): Update task failed, task_id: 2741219775, res: -9
2025-08-14 22:38:02.765320 firmware_mgmt NOTICE: init.lua(33): update status to FS_IDLE.
2025-08-14 22:38:04.118410 compute ERROR: cpu_service.lua(369): get bma object failed
2025-08-14 22:38:20.279368 compute ERROR: cpu_service.lua(369): get bma object failed
2025-08-14 22:38:43.895641 network_adapter ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 295 times in 301s]
2025-08-14 22:38:54.961744 pcie_device ERROR: topo_reader.lua(147): [BizTopoMonitor] read topo info fail [repeated 22 times in 305s]
2025-08-14 22:38:54.961965 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-08-14 22:39:02.845977 storage ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 297 times in 301s]
2025-08-14 22:39:14.971894 compute ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 300 times in 301s]
2025-08-14 22:39:55.122878 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-08-14 22:40:38.157847 storage ERROR: nvme_object.lua(665): update ResourceId failed! [repeated 55 times in 305s]
2025-08-14 22:40:55.162697 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-08-14 22:41:55.343135 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-08-14 22:42:55.374612 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-08-14 22:35:52.888457 firmware_mgmt ERROR: hook.lua(66): database process commit list failed: ./opt/bmc/libmc/lualib/mc/context.lua:175: ./opt/bmc/libmc/lualib/mc/signal.lua:258: ./opt/bmc/libmc/lualib/mc/orm/object.lua:497: attempt to call field 'create_mdb_object' (a nil value) [repeated 1 times in 119s][flush]
2025-08-14 22:36:51.863967 event WARNING: init.lua(98): nil:0 > queue.lua:-1 > event_management.lua:918: Incorrect value of property State. [repeated 44 times in 126s][flush]
2025-08-14 22:35:51.507590 firmware_mgmt ERROR: init.lua(136): Already exists the same Id:[BCU_CPLD1_010101] to path /bmc/kepler/UpdateService/FirmwareInventory/:Id [repeated 112 times in 122s][flush]
2025-08-14 22:35:49.512235 firmware_mgmt ERROR: init.lua(136): Already exists the same Id:[EXU_CPLD_0101] to path /bmc/kepler/UpdateService/FirmwareInventory/:Id [repeated 110 times in 119s][flush]
2025-08-14 22:37:54.547238 firmware_mgmt ERROR: init.lua(136): Already exists the same Id:[BCU_CPLD2_010101] to path /bmc/kepler/UpdateService/FirmwareInventory/:Id [repeated 118 times in 121s][flush]
2025-08-14 22:34:28.288095 event NOTICE: object_manage.lua(174): start to add objects, path: /bmc/kepler/ObjectGroup/0101020E01, position: 0101020E01, life cycle id: 1, count: 4 [repeated 30 times in 17s][flush]
2025-08-14 22:34:28.383760 event NOTICE: object_manage.lua(223): add objects callback, path: /bmc/kepler/ObjectGroup/0101020E01, position: 0101020E01, life cycle id: 1, count: 4, took 100ms [repeated 32 times in 17s][flush]
2025-08-14 22:34:28.385196 event NOTICE: object_manage.lua(232): add objects completely, path: /bmc/kepler/ObjectGroup/0101020E01, position: 0101020E01, life cycle id: 1, took 0ms [repeated 32 times in 17s][flush]
2025-08-14 22:34:15.488200 event NOTICE: hardware_event.lua(238): [Event_Drive9RebuildEnd_010102] received an invalid reading [repeated 10 times in 15s][flush]
2025-08-14 22:43:16.274311 cooling ERROR: fans_data_keeping.lua(160): Duplicated fan obj(path:/bmc/kepler/Systems/1/Thermal/Fans/Fan_1_010103)
2025-08-14 22:43:16.283582 cooling ERROR: fans_data_keeping.lua(160): Duplicated fan obj(path:/bmc/kepler/Systems/1/Thermal/Fans/Fan_2_010103)
2025-08-14 22:43:16.303811 cooling ERROR: fans_data_keeping.lua(160): Duplicated fan obj(path:/bmc/kepler/Systems/1/Thermal/Fans/Fan_4_010103)
2025-08-14 22:43:16.305287 cooling NOTICE: fans_data_keeping.lua(98): path:/bmc/kepler/Systems/1/Thermal/Fans/Fan_2_010103 | ExpectedPWM: 76 | Slot: 2 | RearStatus: 0 | FrontStatus: 0 | SetFanPWM_PACKED: function: 0x5a68d4901bc0 | RearPresence: 1 | FrontPresence: 1 | path: /bmc/kepler/Systems/1/Thermal/Fans/Fan_2_010103 | MaxSupportedPWM: 255 | Model: 02314BLG 8038+ | FanId: 2
2025-08-14 22:43:16.306978 cooling NOTICE: fans_data_keeping.lua(98): path:/bmc/kepler/Systems/1/Thermal/Fans/Fan_4_010103 | ExpectedPWM: 76 | Slot: 4 | RearStatus: 0 | FrontStatus: 0 | SetFanPWM_PACKED: function: 0x5a68d47a5d70 | RearPresence: 1 | FrontPresence: 1 | path: /bmc/kepler/Systems/1/Thermal/Fans/Fan_4_010103 | MaxSupportedPWM: 255 | Model: 02314BLG 8038+ | FanId: 4
2025-08-14 22:43:16.308264 cooling NOTICE: fans_data_keeping.lua(98): path:/bmc/kepler/Systems/1/Thermal/Fans/Fan_1_010103 | ExpectedPWM: 76 | Slot: 1 | RearStatus: 0 | FrontStatus: 0 | SetFanPWM_PACKED: function: 0x5a68d4873168 | RearPresence: 1 | FrontPresence: 1 | path: /bmc/kepler/Systems/1/Thermal/Fans/Fan_1_010103 | MaxSupportedPWM: 255 | Model: 02314BLG 8038+ | FanId: 1
2025-08-14 22:43:16.309564 cooling NOTICE: fans_data_keeping.lua(98): path:/bmc/kepler/Systems/1/Thermal/Fans/Fan_3_010103 | ExpectedPWM: 76 | Slot: 3 | RearStatus: 0 | FrontStatus: 0 | SetFanPWM_PACKED: function: 0x5a68d47c9b48 | RearPresence: 1 | FrontPresence: 1 | path: /bmc/kepler/Systems/1/Thermal/Fans/Fan_3_010103 | MaxSupportedPWM: 255 | Model: 02314BLG 8038+ | FanId: 3
2025-08-14 22:43:16.312958 cooling NOTICE: fructl_data_keeping.lua(41): Current PowerState is ON
2025-08-14 22:43:27.618364 compute ERROR: cpu_service.lua(369): get bma object failed [repeated 18 times in 307s]
2025-08-14 22:43:37.077880 bmc_network NOTICE: network_loop_task.lua(99): GC task start
2025-08-14 22:43:44.065821 network_adapter ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 300 times in 301s]
2025-08-14 22:43:55.557215 pcie_device ERROR: topo_reader.lua(147): [BizTopoMonitor] read topo info fail [repeated 5 times in 301s]
2025-08-14 22:43:55.557598 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-08-14 22:44:03.174965 storage ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 300 times in 301s]
2025-08-14 22:44:15.080662 compute ERROR: tasks.lua(84): task [load bma mdb object task] error: org.freedesktop.DBus.Error.ServiceUnknown: The name bmc.kepler.host_agent was not provided by any .service files [repeated 300 times in 301s]
2025-08-14 22:44:55.646620 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-08-14 22:45:45.652016 storage ERROR: nvme_object.lua(665): update ResourceId failed! [repeated 56 times in 307s]
2025-08-14 22:45:55.772412 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-08-14 22:46:23.785448 om ERROR: alm_callback.c(789): [license][alm] 0001[TIME]2025-08-14 22:46:23 lgen-ck err--350: Prd[1] ALM_LicGeneralQuery end 2030043238
2025-08-14 22:46:23.785828 license ERROR: license_dump.lua(110): Get revoke ticket from db failed
2025-08-14 22:46:23.786411 om ERROR: alm_callback.c(789): [license][alm] 0002[TIME]2025-08-14 22:46:23 lgen-ck err--350: Prd[1] ALM_LicGeneralQuery end 2030043238
2025-08-14 22:46:23.786625 license ERROR: license_dump.lua(65): failed to get feature key info, ret = 0x79000066
2025-08-14 22:46:23.787041 om ERROR: alm_callback.c(789): [license][alm] 0003[TIME]2025-08-14 22:46:23 lgen-ck err--350: Prd[1] ALM_LicGeneralQuery end 2030043238
2025-08-14 22:46:23.808470 license NOTICE: init.lua(80): register to bus for class, error name: kepler.class.NullObjectName
2025-08-14 22:46:26.820424 remote_console NOTICE: dump.lua(48): remote_console dump begin
2025-08-14 22:46:32.838452 hardware ERROR: mctp_dump.cpp(40): Failed to open /dev/mem
2025-08-14 22:46:32.857863 bios NOTICE: log_collector.lua(95): [bios]start to dump bios log
2025-08-14 22:46:32.858443 bios NOTICE: log_collector.lua(71): [bios]start collect bios info
2025-08-14 22:46:32.862783 mctpd NOTICE: mctp_dump.lua(91): mctp info collect finish
2025-08-14 22:46:32.887734 general_hardware NOTICE: unit_manager.lua(390): unit_manager:on_dump_cb start.
2025-08-14 22:46:32.926537 unknown_service ERROR: screenshot_api.lua(48): get lastframe ready state failed
2025-08-14 22:46:32.928541 remote_console NOTICE: dump.lua(44): VCE info collect finish
2025-08-14 22:46:32.930978 remote_console NOTICE: dump.lua(58): remote_console dump end
2025-08-14 22:46:32.919317 network_adapter NOTICE: network_adapter.lua(993): optical module cnt is 0
2025-08-14 22:46:32.966004 bmc_soc NOTICE: uart_data.lua(446): start collecting all com logs
2025-08-14 22:46:32.995838 pcie_device NOTICE: biz_topo.lua(946): [BizTopo] App log dump.
2025-08-14 22:46:33.016277 storage ERROR: storage_app.lua(107): open file failed, err: open_s file failed
2025-08-14 22:46:33.264480 bmc_network NOTICE: network_dump.lua(132): bmc_network dump begin.
2025-08-14 22:46:33.429785 event NOTICE: event_app.lua(245): event dump is started.
2025-08-14 22:46:33.637209 bmc_network NOTICE: network_dump.lua(142): bmc_network dump end.
2025-08-14 22:46:33.708490 pcie_device NOTICE: biz_topo.lua(966): [BizTopo] cable log dump.
2025-08-14 22:46:33.786755 event NOTICE: event_app.lua(272): event dump is completed.
2025-08-14 22:46:34.464274 bios NOTICE: log_collector.lua(97): [bios]finish to dump bios log
2025-08-14 22:46:35.062623 general_hardware NOTICE: unit.lua(474): CpuBoard1 collect finish
2025-08-14 22:46:35.296218 bmc_soc NOTICE: uart_data.lua(479): all com logs have been compressed
2025-08-14 22:46:35.433132 general_hardware NOTICE: unit.lua(474): ExpBoard1 collect finish
2025-08-14 22:46:35.775709 general_hardware NOTICE: unit.lua(474): FanBoard1 collect finish
2025-08-14 22:46:35.828624 general_hardware NOTICE: unit.lua(474): DiskBP1 collect finish
2025-08-14 22:46:35.834748 general_hardware NOTICE: unit_manager.lua(448): CPU board Info  collect finish
2025-08-14 22:46:35.839750 general_hardware NOTICE: unit_manager.lua(448): EXP board info  collect finish
2025-08-14 22:46:35.845420 general_hardware NOTICE: unit_manager.lua(448): HDD Backplane Info  collect finish
2025-08-14 22:46:35.848346 general_hardware NOTICE: unit_manager.lua(448): FAN board Info  collect finish
2025-08-14 22:46:35.853469 general_hardware NOTICE: mcu_service.lua(151): mcu info collect finish
2025-08-14 22:46:36.748886 general_hardware NOTICE: smc_interface.lua(453): [VrdDump]get vrd dump cnt 120
2025-08-14 22:46:36.752737 general_hardware NOTICE: mcu_service.lua(119): vrd ifx info collect finish
2025-08-14 22:46:36.762469 general_hardware NOTICE: vrd_manager.lua(185): vrd info collect finish
2025-08-14 22:46:38.768971 ipmi_core NOTICE: ipmi_dump.lua(54): ipmi_core dump begin.
2025-08-14 22:46:38.848539 ipmi_core NOTICE: ipmi_dump.lua(34): dump_route_table collect start.
2025-08-14 22:46:38.950663 ipmi_core NOTICE: ipmi_dump.lua(47): dump_route_table collect end.
2025-08-14 22:46:38.952708 ipmi_core NOTICE: ipmi_dump.lua(97): ipmi_core dump end.
2025-08-14 22:46:39.039188 thermal_mgmt NOTICE: thermal_mgmt_app.lua(145): collect log finished
2025-08-14 22:46:43.259240 power_mgmt NOTICE: log_service.lua(173): collect power_mgmt log finished
2025-08-14 22:46:55.798002 pcie_device ERROR: topo_monitor.lua(496): [BizTopoMonitor] Read topo info failed.
2025-08-14 22:47:03.303471 oms WARNING: init.lua(487): service[bmc.kepler.oms] request timeout: remote service[bmc.kepler.hwproxy], path[/bmc/kepler/hwproxy/MicroComponent], interface[bmc.kepler.MicroComponent.Debug], method[Dump], used time[41s]
2025-08-14 22:47:07.572224 cli NOTICE: common.lua(163): open /opt/bmc/apps/cli/interface_config/config.json failed. ```

57): tar rootfs img to flash failed, ret: 1
2025-08-14 22:38:02.336733 bmc_upgrade NOTICE: process.lua(60): end extract rootfs img to flash
2025-08-14 22:38:02.339349 bmc_upgrade ERROR: process.lua(118): Write bmc package to flash failed
2025-08-14 22:38:02.344129 firmware_mgmt ERROR: control.lua(377): Upgrade BMC process failed, ret=1

解压失败,是由于空间不够导致的吗?对固件大小有限制吗

还没有解决吗? 可以参考这个帖子的步骤执行一下看看有没有帮助。
V2升级openUBMC2506升级问题解决经验分享 - 交流互助区 / 鲲鹏专区 - openUBMC 论坛

你好,请问下过渡包 是怎么弄的呀? 也是自己编译出来的吗?服务器上目前是iBMC 3.11.08.92 +6.18T BIOS 的搭配

李工,你好,请问下从过渡包升级到25.09不管 有没有设置community_enable:true 都会走签名逻辑吗,我用过渡包升级openUBMC25.09的话 app.log里面就会提示验签失败,然后web界面提示升级包无效。

firmware_mgmt NOTICE: file_transfer.lua(142): start to move file [rootfs_openUBMC.hpm] from tmp to shm

1970-01-01 00:03:04.300879 firmware_mgmt NOTICE: file_transfer.lua(147): move_file_s ok:true, err:0

1970-01-01 00:03:04.371860 firmware_mgmt NOTICE: validate_sign.lua(217): config cms sign enable:true

1970-01-01 00:03:04.373811 firmware_mgmt NOTICE: validate_sign.lua(138): the custom ca certificate is exist, load custom certificate

1970-01-01 00:03:04.381047 firmware_mgmt WARNING: init.lua(98): nil:253 > validate_sign.lua:-1 > validate_sign.lua:148: An error occurred during the firmware upgrade process. Details: add crl file is error, file is: /dev/shm/cms.crl, code 88200102

1970-01-01 00:03:04.381499 firmware_mgmt ERROR: validate_sign.lua(255): FirmwareUpgradeError: An error occurred during the firmware upgrade process. Details: add crl file is error, file is: /dev/shm/cms.crl, code 88200102

1970-01-01 00:03:04.382329 firmware_mgmt ERROR: action.lua(34): Validate package sign failed

1970-01-01 00:03:04.382751 firmware_mgmt ERROR: control.lua(298): parse package(rootfs_openUBMC.hpm) failed, ret:nil.

1970-01-01 00:03:04.598166 firmware_mgmt NOTICE: init.lua(33): update status to FS_IDLE.

分2种情况

  • 升级社区无签名的openUBMC固件包, 过渡包中必须设置community_enable:true 即社区无签名模式。
  • 升级自制签名的固件包,过渡包不设置community_enable:true,且需要构建时将自值签名根ca证书,打包到opt/bmc/trust/partner

好的,李工,上面第二点中提到的是将自签名的根ca证书放到构建过渡包的opt/bmc/trust/partner/目录下吧?

从我当前升级的情况来看,这个过渡包里面community_enable应该是没设置的,请问下这个能升级社区无签名的openUBMC的过渡包是要找接口人提供吗?我当前的这份是从友商拿的。

  1. 是的。 2种过渡包对应不同的场景,不要混用
  2. 是的。

好的,现在清楚了,非常感谢

李工,你好,再打扰下,有个其它的事请教下,因为我之前的openUBMC的构建过程有些问题,导致构建出来的包 通过iBMC web界面升级后,无法通过ssh登录,串口也被切换到CPU侧了,仅能短暂的使用,在短暂的使用过程中通过ipmcset -d rollback想回退到iBMC,串口中打印内部服务报错。

我的问题是还有啥其它方法可以回退吗? 比如在uboot中进行操作,回退到iBMC的版本

你好,我们碰到和你一样的问题了。我们过度包做了两个,一个开启了community_enable:true,一个没有开启。这两个过度包升级openUBMC出的签名包都会出现一样的问题。你们这边现在解决了吗?如何解决的?

没,我回退到iBMC版本 直接升到openUBMC了。没用过渡包的方式了

另外你可以看下是啥原因导致的升级失败,如果是验签不过或者解密失败,web界面会提示无效的升级包

日志提示和firmware_mgmt WARNING: init.lua(98): nil:253 > validate_sign.lua:-1 > validate_sign.lua:148: An error occurred during the firmware upgrade process. Details: add crl file is error, file is: /dev/shm/cms.crl, code 88200102一样。现在不管怎么搞都无法从过度包升级到openUBMC。现在有点怀疑过度包问题了

你这个看上去像是验签失败,你制作自签名的固件包的私钥和你过渡包里面用来验签的公钥是一对吗?

或者你可以试试直接回退到iBMC,直接升级到openUBMC固件的方式,我现在就是这么干的,这个得话就是得要有个crypto_tool工具,加密一下你的固件包,否则升级的时候也会提示 无效的升级包。