PowerFlex:系统日志消息缺少主机名信息
Summary: PowerFlex 管理平台 (PFMP) 生成省略发送服务器主机名的系统日志消息,这违反了标准格式并影响审核日志保留。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
将 PFMP 配置为日志记录到外部系统日志目标时,日志将以系统日志格式发送,按预期传递 pod/服务名称,但不会将服务器主机名作为日志源。
这不遵循正常的系统日志格式,使得系统识别和长期保留变得困难,有时甚至无法实现。
影响
具有 PCI 或其他法规遵从性要求的客户无法可靠地通过原始系统标记或保留日志,从而导致潜在的审核差距。
Cause
版本 4.5 中引入的 PFMP 系统日志格式器发布时没有解析主机名的代码。格式器使用 {hostname} 元素,容器运行时间随后将其替换为 Pod 标识符。因此,传输的消息从不包含实际的服务器主机名。
当前代码实施显示,主机名字段填充自 Kubernetes Pod 元数据,而不是配置的节点名称。
预期系统日志格式
{priority} {version} {timestamp} {hostname} {appname} {proc_id} {msg_id} {structured_data} {msg}
缺少系统日志格式
<14>1 2025-07-15T11:57:45.779Z - block-mdm - 078423d567f5adfd - {"code": "20010027", "name": "MDM_CLI_CONF_COMMAND_RECEIVED", "description": "Command enter_storage_node_maintenance_mode received, User: 'block-legacy-gateway'. [27227847]. Storage Node: with ID 48c2012600000002; components: all, force another node in mm: FALSE, force degraded or failed FALSE, force failed node FALSE", "severity": "INFORMATION", "category": "AUDIT", "details": {"command_name": "enter_storage_node_maintenance_mode", "user": "block-legacy-gateway", "seq": "27227847", "command_payload": ". Storage Node: with ID 48c2012600000002; components: all, force another node in mm: FALSE, force degraded or failed FALSE, force failed node FALSE", "system-id": "5ba64259cd5bf50f"}, "domain": "BLOCK", "id": "078423d567f5adfd", "timestamp": "2025-07-15T11:57:45.779Z", "resource_type": "block-config", "resource_name": "", "resource_id": "5ba64259cd5bf50f", "service_name": "block-mdm", "service_version": "5.0.0", "service_instance_id": "5ba64259cd5bf50f", "originating_application_name": "MDM Service", "request_id": null, "related_events": null, "job_id": "f2942b491e2b90c479ff8f46e01aeb33", "trace_parent": "00-f2942b491e2b90c479ff8f46e01aeb33-305f463900006b6a-01", "trace_state": "block-mdm=15afa4566be3ad55,block-legacy-gw=305f463900006b6a", "source_ip": null, "user_id": "block-legacy-gateway", "is_internal": null}
修复了系统日志格式
<14>1 2025-07-15T11:57:45.779Z pfmp-hostname.delllabs.net block-mdm - 078423d567f5adfd - {"code": "20010027", "name": "MDM_CLI_CONF_COMMAND_RECEIVED", "description": "Command enter_storage_node_maintenance_mode received, User: 'block-legacy-gateway'. [27227847]. Storage Node: with ID 48c2012600000002; components: all, force another node in mm: FALSE, force degraded or failed FALSE, force failed node FALSE", "severity": "INFORMATION", "category": "AUDIT", "details": {"command_name": "enter_storage_node_maintenance_mode", "user": "block-legacy-gateway", "seq": "27227847", "command_payload": ". Storage Node: with ID 48c2012600000002; components: all, force another node in mm: FALSE, force degraded or failed FALSE, force failed node FALSE", "system-id": "5ba64259cd5bf50f"}, "domain": "BLOCK", "id": "078423d567f5adfd", "timestamp": "2025-07-15T11:57:45.779Z", "resource_type": "block-config", "resource_name": "", "resource_id": "5ba64259cd5bf50f", "service_name": "block-mdm", "service_version": "5.0.0", "service_instance_id": "5ba64259cd5bf50f", "originating_application_name": "MDM Service", "request_id": null, "related_events": null, "job_id": "f2942b491e2b90c479ff8f46e01aeb33", "trace_parent": "00-f2942b491e2b90c479ff8f46e01aeb33-305f463900006b6a-01", "trace_state": "block-mdm=15afa4566be3ad55,block-legacy-gw=305f463900006b6a", "source_ip": null, "user_id": "block-legacy-gateway", "is_internal": null}
Resolution
将 PowerFlex Manager 升级到版本 4.8 或更高版本,其中添加了缺少的系统日志格式器代码,并且正确填充了主机名字段。
升级后,通过查看外部系统日志系统中转发的日志示例来验证合规性。
受影响的版本
PFMP 4.5.x.x
PFMP 4.6.x.x
已修复问题的版本
PFMP 4.8
Affected Products
PowerFlex rack, ScaleIOArticle Properties
Article Number: 000491427
Article Type: Solution
Last Modified: 22 Jul 2026
Version: 1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.