代码版本: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.
