PowerFlex Manager 플랫폼 - 데이터 검증 오류로 인해 SMTP 경보 정책 생성 실패
Summary: "알림 정책" 섹션에서 SMTP 알람에 대한 정책을 만들려면 모든 필드를 작성해야 합니다. 필드를 비워 두면 실패합니다.
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
시나리오
"Notification Policies" 아래의 "Create New Policy" 옵션을 사용하여 SMTP 알람 정책을 생성하려고 하면 다음 오류와 함께 실패합니다.
Failed to add policy . Data Validation error.
Notifier Pod에서 'description' 필드가 누락되는 오류가 발생합니다.
2024-11-25T00:44:02.003744915-06:00 stdout F {"name": "notifier", "time": "2024-11-25 06:44:02", "level": "ERROR", "message": "{"http_status_code": null, "messages": [{"code": "NOTF-311", "timpstamp": null, "severity": "Error", "message": "Data validation error"}]}"}
2024-11-25T00:44:02.003755247-06:00 stdout F Traceback (most recent call last):
2024-11-25T00:44:02.003765667-06:00 stdout F File "/app/api/v1/dispatch_policies.py", line 44, in register_policy
2024-11-25T00:44:02.003776111-06:00 stdout F result = policy_controller.register_policy(data)
2024-11-25T00:44:02.003786347-06:00 stdout F ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-11-25T00:44:02.003796606-06:00 stdout F File "/app/scripts/tools/retry.py", line 48, in wrapper
2024-11-25T00:44:02.00380788-06:00 stdout F return func(*args, **kwargs)
2024-11-25T00:44:02.003821493-06:00 stdout F ^^^^^^^^^^^^^^^^^^^^^
2024-11-25T00:44:02.003834048-06:00 stdout F File "/app/controllers/Dispatch_Policies.py", line 83, in register_policy
2024-11-25T00:44:02.003844412-06:00 stdout F data = self.__validate_data(data)
2024-11-25T00:44:02.003854667-06:00 stdout F ^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-11-25T00:44:02.003866233-06:00 stdout F File "/app/controllers/Dispatch_Policies.py", line 178, in __validate_data
2024-11-25T00:44:02.003876458-06:00 stdout F verified_data = BasePayload(**data).dict()
2024-11-25T00:44:02.003887005-06:00 stdout F ^^^^^^^^^^^^^^^^^^^
2024-11-25T00:44:02.003897235-06:00 stdout F File "/usr/lib/python3.11/site-packages/pydantic/main.py", line 406, in __init__
2024-11-25T00:44:02.003907433-06:00 stdout F raise validation_error
2024-11-25T00:44:02.003917707-06:00 stdout F pydantic.error_wrappers.ValidationError: 1 validation error for BasePayload
2024-11-25T00:44:02.003927907-06:00 stdout F description <-------
2024-11-25T00:44:02.003938073-06:00 stdout F field required (type=value_error.missing) <-------
영향
PFMP UI에서 새 정책을 생성할 수 없음
Cause
SMTP 경보 정책을 구성할 때는 다음 필드가 필수입니다.
- 알림 정책 이름
- 설명
- 소스 유형
- 리소스 도메인
- 대상
이러한 필드를 하나라도 채우지 못하면 유효성 검사 오류가 트리거됩니다.
Resolution
정책을 저장하기 전에 Description 필드를 포함한 모든 필수 필드가 "Policy Configuration" 창에서 작성되었는지 확인합니다.
영향을 받는 버전
PowerFlex Manager 4.x
수정된 버전
미정
Affected Products
PowerFlex rack, ScaleIOArticle Properties
Article Number: 000268929
Article Type: Solution
Last Modified: 20 Jul 2025
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.