Skip to content

Commit f122afd

Browse files
feat: Add master node IP validation when installing a cluster slave node (1Panel-dev#9857)
1Panel-dev#9840
1 parent 37308b5 commit f122afd

File tree

9 files changed

+9
-0
lines changed

9 files changed

+9
-0
lines changed

frontend/src/lang/modules/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3716,6 +3716,7 @@ const message = {
37163716
replicaStatus: 'Master-Slave Status',
37173717
unhealthyDeleteError: 'The installation node status is abnormal, please check the node list and try again!',
37183718
replicaStatusError: 'Status acquisition is abnormal, please check the master node.',
3719+
masterHostError: 'The master node IP cannot be 127.0.0.1',
37193720
},
37203721
},
37213722
};

frontend/src/lang/modules/ja.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3596,6 +3596,7 @@ const message = {
35963596
unhealthyDeleteError:
35973597
'インストールノードのステータスが異常です。ノードリストを確認してから再試行してください!',
35983598
replicaStatusError: 'ステータスの取得が異常です。マスターノードを確認してください。',
3599+
masterHostError: 'マスターノードのIPは127.0.0.1にできません',
35993600
},
36003601
},
36013602
};

frontend/src/lang/modules/ko.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3530,6 +3530,7 @@ const message = {
35303530
replicaStatus: '마스터-슬레이브 상태',
35313531
unhealthyDeleteError: '설치 노드 상태가 비정상입니다. 노드 목록을 확인한 후 다시 시도하세요!',
35323532
replicaStatusError: '상태 획득이 비정상입니다. 마스터 노드를 확인하세요.',
3533+
masterHostError: '마스터 노드의 IP는 127.0.0.1이 될 수 없습니다',
35333534
},
35343535
},
35353536
};

frontend/src/lang/modules/ms.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3678,6 +3678,7 @@ const message = {
36783678
replicaStatus: 'Utama-Hamba Status',
36793679
unhealthyDeleteError: 'Status nod pemasangan tidak normal, sila periksa senarai nod dan cuba lagi!',
36803680
replicaStatusError: 'Pengambilan status tidak normal, sila periksa nod utama.',
3681+
masterHostError: 'IP nod utama tidak boleh 127.0.0.1',
36813682
},
36823683
},
36833684
};

frontend/src/lang/modules/pt-br.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3688,6 +3688,7 @@ const message = {
36883688
unhealthyDeleteError:
36893689
'O status do nó de instalação está anormal, verifique a lista de nós e tente novamente!',
36903690
replicaStatusError: 'A aquisição do status está anormal, verifique o nó mestre.',
3691+
masterHostError: 'O IP do nó mestre não pode ser 127.0.0.1',
36913692
},
36923693
},
36933694
};

frontend/src/lang/modules/ru.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3679,6 +3679,7 @@ const message = {
36793679
unhealthyDeleteError:
36803680
'Состояние узла установки аномально, пожалуйста, проверьте список узлов и повторите попытку!',
36813681
replicaStatusError: 'Получение статуса аномально, пожалуйста, проверьте главный узел.',
3682+
masterHostError: 'IP главного узла не может быть 127.0.0.1',
36823683
},
36833684
},
36843685
};

frontend/src/lang/modules/tr.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3758,6 +3758,7 @@ const message = {
37583758
unhealthyDeleteError:
37593759
'Yükleme düğümü durumu anormal, lütfen düğüm listesini kontrol edin ve tekrar deneyin!',
37603760
replicaStatusError: 'Durum alımı anormal, lütfen ana düğümü kontrol edin.',
3761+
masterHostError: "Ana düğüm IP'si 127.0.0.1 olamaz",
37613762
},
37623763
},
37633764
};

frontend/src/lang/modules/zh-Hant.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3464,6 +3464,7 @@ const message = {
34643464
replicaStatus: '主從狀態',
34653465
unhealthyDeleteError: '安裝節點狀態異常,請在節點列表檢查後重試!',
34663466
replicaStatusError: '狀態獲取異常,請檢查主節點。',
3467+
masterHostError: '主節點 IP 不能為 127.0.0.1',
34673468
},
34683469
},
34693470
};

frontend/src/lang/modules/zh.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3444,6 +3444,7 @@ const message = {
34443444
replicaStatus: '主从状态',
34453445
unhealthyDeleteError: '安装节点状态异常,请在节点列表检查后重试!',
34463446
replicaStatusError: '状态获取异常 请检查主节点',
3447+
masterHostError: '主节点 IP 不能为 127.0.0.1',
34473448
},
34483449
},
34493450
};

0 commit comments

Comments
 (0)