NetApp HCI - NDE scale failed during validation with error 'HciConfig Validation Errors: Password is not valid'
Applies to
- NetApp HCI
- NDE 1.7P1 and below
Issue
When adding a new compute node to an existing HCI cluster using NDE scale, the following error occurred even if the password is correct
2020-05-19T10:19:32.471735Z | 23392 | 1036294986 | HCI-MainThread | hci_compute_config:203 | INFO | Selecting ESXi version 6.7 for compute node 169.254.7.10
2020-05-19T10:19:32.472517Z | 23392 | 1036294987 | HCI-MainThread | static_validators:61 | DEBUG | Validate scale EULAs
2020-05-19T10:19:32.473162Z | 23392 | 1036294988 | HCI-MainThread | hci_config:338 | INFO | Validate Scale HciConfig
2020-05-19T10:19:32.474082Z | 23392 | 1036294989 | HCI-MainThread | hci_config:214 | INFO | Validate HciConfig
2020-05-19T10:19:32.476027Z | 23392 | 1036294991 | HCI-MainThread | setting_string_validators:90 | DEBUG | Failed password regex validation: [!@$]
2020-05-19T10:19:32.476794Z | 23392 | 1036294992 | HCI-MainThread | validator_util:28 | DEBUG | Credentials Validation Errors _errors=['Password is no
t valid']
2020-05-19T10:19:32.477645Z | 23392 | 1036294992 | HCI-MainThread | hci_cluster_config:111 | INFO | Not Implemented - validate IPs in the cluster respond before scaling
2020-05-19T10:19:32.478468Z | 23392 | 1036294993 | HCI-MainThread | validator_util:28 | DEBUG | Cluster Config Validation Errors _errors=['Password is not valid']
2020-05-19T10:19:32.481107Z | 23392 | 1036294995 | HCI-MainThread | static_validators:176 | DEBUG | Validate IP Addresses target_ips=['10.42.117.10', '10.42.146.133', '10.42.146.134', '10.199.152.20', '10.42.117.16', '10.42.146.140', '10.42.117.25'] additional_ips=['10.42.146.129', '10.126.162.11', '10.42.117.1', '10.126.162.10']
2020-05-19T10:19:32.482678Z | 23392 | 1036294997 | HCI-MainThread | static_validators:244 | DEBUG | Validate HCI networks
2020-05-19T10:19:32.484086Z | 23392 | 1036294999 | HCI-MainThread | validator_util:28 | DEBUG | HciConfig Validation Errors _errors=['Password is not valid']
2020-05-19T10:19:32.485129Z | 23392 | 1036295000 | HCI-MainThread | scale_api:179 | ERROR | HciConfig Validation Errors: ['Password is not valid']
Traceback (most recent call last):
File "sfprime/scale/scale_api.py", line 177, in post
File "sfprime/deploy/hci_config.py", line 340, in validate
File "sfprime/deploy/hci_config.py", line 252, in _validate
File "sfprime/nde/hci_config_object.py", line 181, in _raise_if_errors
File "sfprime/util/validator_util.py", line 30, in raise_if_errors
sfprime.deploy.errors.ValidationError: HciConfig Validation Errors: ['Password is not valid']