ECS:服務主控台:IP 位址變更後「靜態路由驗證失敗」
Summary: 服務主控台:IP 位址變更後「靜態路由驗證失敗」
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
IP 位址已變更。
變更後,服務主控台執行狀況檢查失敗,並顯示錯誤 「靜態路由驗證」失敗。
在上述範例中,已變更網路分隔的 IP 位址,啟用 public.mgmt。
介面的 wicked ifstatus 顯示 裝置未執行。
若要檢查此項目,請執行下列命令 - 租約顯示: ipv4 static 失敗
變更後,服務主控台執行狀況檢查失敗,並顯示錯誤 「靜態路由驗證」失敗。
20200205 17:23:52.703: | Static routes validation INFO: On node 1XX.2XX.1.1 NAN managed static routes configured for networks: ['mgmt'] 20200205 17:23:54.563: | | FAIL (1 sec) [ERROR] 'Static routes validation' failed: [1XX.2XX.1.1]: Command failed: 'sshpass ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -T root@1XX.2XX.1.1 $'(1>&2 echo connect7); wicked ifstatus public.mgmt 2>&1' < /dev/null' Output: public.mgmt device-not-running link: #10, state up, mtu 1500 type: vlan public[1474], hwaddr a4:bf:01:1f:c3:ea config: compat:suse:/etc/sysconfig/network/ifcfg-public.mgmt leases: ipv4 static failed leases: ipv6 auto granted addr: ipv4 10.1.2.3/24 [static] route: ipv4 10.4.5.6/27 via 10.1.2.1 [static] route: ipv4 10.4.5.7/27 via 10.1.2.1 [static] route: ipv6 default via fe80::218:74ff:fe1c:8640 metric 1024 proto ra
介面的 wicked ifstatus 顯示 裝置未執行。
若要檢查此項目,請執行下列命令 - 租約顯示: ipv4 static 失敗
viprexec -if ~/VDCLIST wicked ifstatus <interface name> |grep <interface name> -A 4 admin@node-a:~> viprexec -if ~/VDCLIST wicked ifstatus public.mgmt |grep public.mgmt -A 4 Output from host : 1XX.2XX.1.1 public.mgmt device-not-running link: #10, state up, mtu 1500 type: vlan public[1474], hwaddr a4:bf:01:1f:c3:ea config: compat:suse:/etc/sysconfig/network/ifcfg-public.mgmt leases: ipv4 static failed Output from host : 1XX.2XX.1.2 public.mgmt device-not-running link: #10, state up, mtu 1500 type: vlan public[1474], hwaddr a4:bf:01:1f:c3:eb config: compat:suse:/etc/sysconfig/network/ifcfg-public.mgmt leases: ipv4 static failed Output from host : 1XX.2XX.1.3 public.mgmt device-not-running link: #10, state up, mtu 1500 type: vlan public[1474], hwaddr a4:bf:01:1f:c3:ec config: compat:suse:/etc/sysconfig/network/ifcfg-public.mgmt leases: ipv4 static failed Output from host : 1XX.2XX.1.4 public.mgmt device-not-running link: #10, state up, mtu 1500 type: vlan public[1474], hwaddr a4:bf:01:1f:c3:ed config: compat:suse:/etc/sysconfig/network/ifcfg-public.mgmt leases: ipv4 static failed
Cause
靜態路由是在 public.mgmt 介面上配置的。
Resolution
執行以下命令以檢視靜態路由:
現在,它無法使用舊路由重新啟動邪惡的介面。必須先移除路由。
警告:在刪除之前,請務必驗證此路由上沒有生產流量運行。刪除錯誤的路由可能會導致 DU。在刪除任何路由之前獲取執行此操作更改的許可權!
雙方同意後,刪除舊路線。
您可以一次移除一個路由,或透過建立包含所有命令的檔案來移除。命令是:
的輸出中複製並貼上 例如,建立一個檔案:
getrackinfo -t admin@node-a:~> getrackinfo -t Static route list ================= Node ID Network Netmask Gateway Interface 1 10.1.2.23 255.255.255.224 10.1.2.1 public.mgmt 1 11.2.3.4 255.255.255.0 11.2.3.1 public.mgmt 2 10.1.2.23 255.255.255.224 10.1.2.1 public.mgmt 2 11.2.3.4 255.255.255.0 11.2.3.1 public.mgmt 3 10.1.2.23 255.255.255.224 10.1.2.1 public.mgmt 3 11.2.3.4 255.255.255.0 11.2.3.1 public.mgmt 4 10.1.2.23 255.255.255.224 10.1.2.1 public.mgmt 4 11.2.3.4 255.255.255.0 11.2.3.1 public.mgmt在上述範例中,假設舊路由為 10.1.2.23,屬於 Secure Remote Services (SRS) 閘道,而新路由則為 11.2.3.4。
現在,它無法使用舊路由重新啟動邪惡的介面。必須先移除路由。
警告:在刪除之前,請務必驗證此路由上沒有生產流量運行。刪除錯誤的路由可能會導致 DU。在刪除任何路由之前獲取執行此操作更改的許可權!
雙方同意後,刪除舊路線。
您可以一次移除一個路由,或透過建立包含所有命令的檔案來移除。命令是:
sudo setrackinfo --static-route-del <node id> <destination> <netmask> <gateway> <interface>或者,直接從 getrackinfo -t
的輸出中複製並貼上 例如,建立一個檔案:
vi delete-old-routes輸入要執行以下目標的路由清單:
sudo setrackinfo --static-route-del 1 10.1.2.23 255.255.255.224 10.1.2.1 public.mgmt sudo setrackinfo --static-route-del 2 10.1.2.23 255.255.255.224 10.1.2.1 public.mgmt sudo setrackinfo --static-route-del 3 10.1.2.23 255.255.255.224 10.1.2.1 public.mgmt sudo setrackinfo --static-route-del 4 10.1.2.23 255.255.255.224 10.1.2.1 public.mgmt儲存檔案並使其可執行:
chmod +x delete-old-routes執行檔案:
./delete-old-routesWicked 介面現在應變更為 up:
viprexec -if ~/VDCLIST wicked ifstatus <interface name> |grep <interface name> -A 1
viprexec -if ~/VDCLIST wicked ifstatus public.mgmt |grep public.mgmt -A 1 Output from host : 1XX.2XX.1.1 public.mgmt up Output from host : 1XX.2XX.1.2 public.mgmt up Output from host : 1XX.2XX.1.3 public.mgmt up Output from host : 1XX.2XX.1.4 public.mgmt up
Affected Products
ECS ApplianceProducts
ECS Appliance, ECS Appliance Hardware Series, ECS Appliance Software with Encryption, ECS Appliance Software without EncryptionArticle Properties
Article Number: 000058102
Article Type: Solution
Last Modified: 26 Apr 2024
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.