PowerFlex: Creating SMTP Alarm Policy Fails with Data Validation Error

Summary: Policy creation for SMTP alarms under the "Notification Policies" section requires all fields to be completed. Leaving any field empty results in failure

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

Attempts to create an SMTP alarm policy using the "Create New Policy" option under "Notification Policies" fail with the error:

Failed to add policy . Data Validation error.

Data Validation error.

notifier pod throws the error of missing the 'description' field

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)  <------- 

 

Impact

Unable to create new policies from the PFMP UI.

Cause

The following fields are mandatory when configuring an SMTP alarm policy:

  • Notification Policy Name
  • Description
  • Source Type
  • Resource Domain
  • Destination

Failure to populate any of these fields triggers a validation error.

Resolution

Ensure all required fields, including the Description field, are completed in the "Policy Configuration" window before saving the policy.

In PowerFlex Manager 4.8, an asterisk (*) is added to the Description field to indicate the field is mandatory.

 

Impacted Version

PowerFlex Manager 4.x

Fixed In Version

PFMP 4.8

Products

PowerFlex rack
Article 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.