// 此模板仅供参考,如果不适用可以修改
问题描述
带内用ipmi命令设置BMC主机名成功后,再用ipmi命令查询BMC主机名失败
环境信息
-
操作系统:[如 Ubuntu 24.04]
-
软件版本:OpenUBMC2512
-
硬件配置:[如 CPU、内存等]
重现步骤
-
带内用ipmi命令设置BMC主机名
-
用ipmi命令查询BMC主机名
-
查看ipmi命令返回数据
期望结果
用ipmi命令查询BMC主机名成功
实际结果
用ipmi命令查询BMC主机名失败,返回0xce
尝试过的解决方案
带外用ipmi命令设置BMC主机名成功后,再用ipmi命令查询BMC主机名成功
分析结论
带内设置主机名
app.log
2026-05-14 16:21:31.527093 bmc_network NOTICE: lldp_manager.lua(152): Set LLDP system name to 44667788TXA449216923 successfully
2026-05-14 16:21:31.540216 nsm NOTICE: init.lua(360): [nginx] Assembly property changed
2026-05-14 16:21:31.539616 ddns NOTICE: ddns_config.lua(463): domain name or host name changed, set update dns flag to true
2026-05-14 16:21:31.542535 oms NOTICE: log_init.lua(377): HostName property is changed to 44667788TXA449216923
2026-05-14 16:21:31.941131 bmc_network NOTICE: dhcp_process.lua(1255): the field composed by dhcpv6 vendor class is empty string
2026-05-14 16:21:31.941648 bmc_network NOTICE: dhcp_process.lua(1016): eth2: no available prefix info, send_rs_and_parse_ra now
2026-05-14 16:21:32.362709 nsm NOTICE: webvnc_supported.lua(3): [webvnc] Webvnc is supported
2026-05-14 16:21:32.378020 nsm NOTICE: config.lua(109): [config] No change in nginx_ssl_protocol
2026-05-14 16:21:32.380281 nsm NOTICE: config.lua(109): [config] No change in nginx_ssl_certificate
2026-05-14 16:21:32.381784 nsm NOTICE: config.lua(109): [config] No change in nginx_ssl_alternate_certificate
2026-05-14 16:21:32.385277 nsm NOTICE: config.lua(109): [config] No change in nginx_ssl_verify_client
2026-05-14 16:21:32.409620 nsm NOTICE: config.lua(109): [config] No change in nginx_ssl_ciphersuite
2026-05-14 16:21:32.414638 nsm NOTICE: config.lua(109): [config] No change in nginx_http_config
2026-05-14 16:21:32.423395 nsm NOTICE: config.lua(109): [config] No change in nginx_https_config
2026-05-14 16:21:32.430034 nsm NOTICE: config.lua(109): [config] No change in nginx_http_customization.conf
2026-05-14 16:21:32.432595 nsm NOTICE: config.lua(109): [config] No change in nginx_https_customization.conf
2026-05-14 16:21:32.437622 nsm NOTICE: config.lua(109): [config] No change in kvmip_config
2026-05-14 16:21:32.439160 nsm NOTICE: config.lua(109): [config] No change in systemkvmip_config
2026-05-14 16:21:32.443890 nsm NOTICE: config.lua(109): [config] No change in virtualmedia_config
2026-05-14 16:21:32.445403 nsm NOTICE: config.lua(109): [config] No change in systemvirtualmedia_config
2026-05-14 16:21:32.451296 nsm NOTICE: config.lua(109): [config] No change in video_config
2026-05-14 16:21:32.453560 nsm WARNING: sms.lua(49): [nginx config] Invalid sms veth IpAddr Port
2026-05-14 16:21:32.453906 nsm WARNING: sms.lua(80): [nginx config] Get sms config items failed, to clear sms config file
2026-05-14 16:21:32.454896 nsm NOTICE: config.lua(109): [config] No change in nginx_sms_server
2026-05-14 16:21:32.457742 nsm NOTICE: config.lua(109): [config] No change in nginx_inter_chassis_config
2026-05-14 16:21:32.460353 nsm NOTICE: webvnc_supported.lua(3): [webvnc] Webvnc is supported
2026-05-14 16:21:32.463565 nsm NOTICE: ssl.lua(377): [nginx] get certificate upload status : 1
2026-05-14 16:21:33.166818 nsm NOTICE: ssl.lua(576): [nginx] Start to write nginx ssl fifo
2026-05-14 16:21:33.169167 nsm NOTICE: webvnc_supported.lua(3): [webvnc] Webvnc is supported
2026-05-14 16:21:33.333704 nsm NOTICE: ssl.lua(604): [nginx] Write nginx ssl fifo end
2026-05-14 16:21:33.334168 nsm NOTICE: ssl.lua(576): [nginx] Start to write nginx ssl fifo
2026-05-14 16:21:33.335685 nsm NOTICE: webvnc_supported.lua(3): [webvnc] Webvnc is supported
2026-05-14 16:21:33.455962 nsm NOTICE: ssl.lua(604): [nginx] Write nginx ssl fifo end
2026-05-14 16:21:33.458367 nsm NOTICE: control.lua(159): [nginx] Restart nginx service successfully
2026-05-14 16:21:34.543916 bmc_network NOTICE: dhcp_process.lua(506): udhcpc6 need to start, ethname = eth2
2026-05-14 16:21:34.555970 bmc_network NOTICE: dhcp_process.lua(1255): the field composed by dhcpv6 vendor class is empty string
2026-05-14 16:21:34.556595 bmc_network NOTICE: dhcp_process.lua(1016): eth2: no available prefix info, send_rs_and_parse_ra now
2026-05-14 16:21:36.728268 ipmi_core WARNING: init.lua(97): nil:-1 > ipmi_app.lua:186 > ipmi_self_cmds.lua:454: Cannot execute command, parameter not supported.
2026-05-14 16:21:38.085593 bmc_network NOTICE: network_resource_tree.lua(504): hostname has been changed, may restart dhcp client
2026-05-14 16:21:38.212849 unknown_service WARNING: btc.lua(118): btc[1] request process timeout: netfn=49, cmd=147, seq=128
2026-05-14 16:21:40.512674 general_hardware NOTICE: fructl_handler.lua(76): get_power_state: get power power ON
带外设置主机名


app.log
2026-05-14 16:03:40.248052 bmc_network NOTICE: lldp_manager.lua(152): Set LLDP system name to 44667788TXA449216925 successfully
2026-05-14 16:03:40.256088 nsm NOTICE: init.lua(360): [nginx] Assembly property changed
2026-05-14 16:03:40.258257 ddns NOTICE: ddns_config.lua(463): domain name or host name changed, set update dns flag to true
2026-05-14 16:03:40.259069 oms NOTICE: log_init.lua(377): HostName property is changed to 44667788TXA449216925
2026-05-14 16:03:40.416116 general_hardware NOTICE: fructl_handler.lua(76): get_power_state: get power power ON
2026-05-14 16:03:40.641059 nsm NOTICE: config.lua(109): [config] No change in nginx_ssl_protocol
2026-05-14 16:03:40.644132 nsm NOTICE: config.lua(109): [config] No change in nginx_ssl_certificate
2026-05-14 16:03:40.646334 nsm NOTICE: config.lua(109): [config] No change in nginx_ssl_alternate_certificate
2026-05-14 16:03:40.648537 bmc_network NOTICE: dhcp_process.lua(1255): the field composed by dhcpv6 vendor class is empty string
2026-05-14 16:03:40.649446 bmc_network NOTICE: dhcp_process.lua(1016): eth2: no available prefix info, send_rs_and_parse_ra now
2026-05-14 16:03:40.650178 nsm NOTICE: config.lua(109): [config] No change in nginx_ssl_verify_client
2026-05-14 16:03:40.694253 nsm NOTICE: config.lua(109): [config] No change in nginx_ssl_ciphersuite
2026-05-14 16:03:40.702964 nsm NOTICE: config.lua(109): [config] No change in nginx_http_config
2026-05-14 16:03:40.714507 nsm NOTICE: config.lua(109): [config] No change in nginx_https_config
2026-05-14 16:03:40.722445 nsm NOTICE: config.lua(109): [config] No change in nginx_http_customization.conf
2026-05-14 16:03:40.725535 nsm NOTICE: config.lua(109): [config] No change in nginx_https_customization.conf
2026-05-14 16:03:40.731115 nsm NOTICE: config.lua(109): [config] No change in kvmip_config
2026-05-14 16:03:40.733000 nsm NOTICE: config.lua(109): [config] No change in systemkvmip_config
2026-05-14 16:03:40.738659 nsm NOTICE: config.lua(109): [config] No change in virtualmedia_config
2026-05-14 16:03:40.741466 nsm NOTICE: config.lua(109): [config] No change in systemvirtualmedia_config
2026-05-14 16:03:40.747223 nsm NOTICE: config.lua(109): [config] No change in video_config
2026-05-14 16:03:40.750664 nsm WARNING: sms.lua(49): [nginx config] Invalid sms veth IpAddr Port
2026-05-14 16:03:40.751182 nsm WARNING: sms.lua(80): [nginx config] Get sms config items failed, to clear sms config file
2026-05-14 16:03:40.752333 nsm NOTICE: config.lua(109): [config] No change in nginx_sms_server
2026-05-14 16:03:40.757695 nsm NOTICE: config.lua(109): [config] No change in nginx_inter_chassis_config
2026-05-14 16:03:40.767939 nsm NOTICE: ssl.lua(377): [nginx] get certificate upload status : 1
2026-05-14 16:03:41.422969 nsm NOTICE: ssl.lua(576): [nginx] Start to write nginx ssl fifo
2026-05-14 16:03:41.607551 nsm NOTICE: ssl.lua(604): [nginx] Write nginx ssl fifo end
2026-05-14 16:03:41.607872 nsm NOTICE: ssl.lua(576): [nginx] Start to write nginx ssl fifo
2026-05-14 16:03:41.724364 nsm NOTICE: ssl.lua(604): [nginx] Write nginx ssl fifo end
2026-05-14 16:03:41.726727 nsm NOTICE: control.lua(159): [nginx] Restart nginx service successfully
2026-05-14 16:03:44.800923 bmc_network NOTICE: dhcp_process.lua(506): udhcpc6 need to start, ethname = eth2
2026-05-14 16:03:44.809211 bmc_network NOTICE: dhcp_process.lua(1255): the field composed by dhcpv6 vendor class is empty string
2026-05-14 16:03:44.810608 bmc_network NOTICE: dhcp_process.lua(1016): eth2: no available prefix info, send_rs_and_parse_ra now
2026-05-14 16:03:45.955854 bmc_network NOTICE: network_resource_tree.lua(504): hostname has been changed, may restart dhcp client
2026-05-14 16:03:53.323063 general_hardware NOTICE: fructl_handler.lua(76): get_power_state: system[1] get power power ON
2026-05-14 16:04:01.663425 bmc_network NOTICE: dhcp_process.lua(1255): the field composed by dhcpv6 vendor class is empty string
2026-05-14 16:04:01.663878 bmc_network NOTICE: dhcp_process.lua(1016): eth2: no available prefix info, send_rs_and_parse_ra now
2026-05-14 16:04:02.932832 rmcpd WARNING: init.lua(97): nil:-1 > reg_command.lua:196 > lan_config.lua
Cannot execute command, parameter not supported.
2026-05-14 16:04:10.415935 general_hardware NOTICE: fructl_handler.lua(76): get_power_state: get power power ON




