PowerFlex 管理平台 - Cisco Nexus 交換器升級因 SSH 逾時而失敗
Summary: 在 Cisco Nexus 交換器韌體升級期間,透過 SSH 傳輸 NX-OS 映像檔案時,程序會因逾時錯誤而失敗。
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
案例
初始化 Cisco Nexus 交換器升級後,系統會嘗試傳輸韌體檔案,如以下部署日誌所示:
INFO [2024-10-08T11:41:43.149490] 315108: provider/base.rb:239:in `process!': Resources for cisconexus5k-fdoXXXXXXX:
{"asm::firmware"=>
{"cisconexus5k-fdoXXXXXXX"=>
{"asm_hostname"=>"10.10.26.16",
"decrypt"=>false,
"force_restart"=>true,
"http_password"=>"test",
"http_user"=>"test",
"install_type"=>"uri",
"path"=>
"https://test:test@10.10.10.15:443/httpshare/download/8aaa8037910dd23d01910f4a911b159c/nxos64-cs.10.4.2.F.bin",
"product"=>"cisconexus5k",
"server_firmware"=>
"[{\"instance_id\":null,\"component_id\":\"31148\",\"uri_path\":\"https://dellpowerflex.com:443/httpshare/download/8aaa8037910dd23d01910f4a911b159c/nxos64-cs.10.4.2.F.bin\",\"version\":null}]",
"version"=>"10.4(2)"}}}
在此傳輸期間,該過程在停止前運行約 3-5 分鐘,從而導致連接超時。異常記錄會擷取下列詳細資料:
#<RuntimeError: env --unset=RUBYOPT --unset=GEM_HOME --unset=RUBYLIB --unset=GEM_PATH --unset=BUNDLE_BIN_PATH RUBYLIB=/opt/service/lib:/opt/asm-deployer/lib:/opt/puppetlabs/puppet/lib:/opt/dependencies/dell-asm-util/lib PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin puppet asm process_node --debug --trace --filename /opt/Dell/ASM/deployments/Job-5c4d4f5b-5fb2-4948-9fe7-8ece57b4b2e7-2/resources/cisconexus5k-fdoXXXXXXX.yaml --run_type apply --statedir /opt/Dell/ASM/deployments/Job-5c4d4f5b-5fb2-4948-9fe7-8ece57b4b2e7-2/resources --always-override cisconexus5k-fdoXXXXXXX failed; output in /opt/Dell/ASM/deployments/Job-5c4d4f5b-5fb2-4948-9fe7-8ece57b4b2e7-2/cisconexus5k-fdoXXXXXXX.out>
在這個階段,升級會失敗,並且 cisconexus5k-fdoXXXXXXX.out 檔案顯示以下錯誤:
Debug: SSH send only: copy https://test:test@10.10.10.15:443/httpshare/download/8aaa8037910dd23d01910f4a911b159c/nxos64-cs.10.4.2.F.bin bootflash: vrf management
Error: execution expired
Error: /Stage[main]/Asm::Resource_wrapper/Asm::Firmware[cisconexus5k-fdoXXXXXX]/Cisconexus5k_firmwareupdate[firmware_update]/returns: change from to '#' failed: execution expired
影響
無法使用 PFxM 升級交換器。
Cause
注意:任何類型的網路中斷都可能導致此問題。
使用下列命令對基本網路問題進行故障診斷:
From Switch:
ping <MVM-MGMT> packet-size 1500 count 1000 vrf management
copy https://X.X.X.X:443/httpshare/download/<PATH> bootflash: vrf management
show vrf
show ip route vrf management
traceroute
元件詳細資料:
- Cisco 交換器裝置:
- 介面:mgmt0
- IP 位址:10.10.26.23/25
- VRF:VRF 管理
- PowerFlex 管理平台主機:
- 多個網路介面:
- eth0:10.10.10.23/25(管理網路)
- eth1:10.10.26.12/25 (OOB)
主要問題是 MVM 上的非對稱路由 :
- Cisco 交換器和 PFMP 主機的介面位於 10.10.26.16/25 子網路 (OOB 網路) 內。
- 已在 PFMP 管理網路上設定路由,以從管理路由到 OOB。
- 來自 Cisco 交換器 (10.10.26.23) 的檔案傳輸要求使用 eth1 (10.10.26.12) 到達 PFMP1。然後傳出回應從 eth0 (10.10.10.23) 離開。
- 由於網路配置(包括防火牆設置、安全策略和網路規則)導致檔案傳輸停止。出現此問題的原因在於,要求已在介面 eth1 上傳送至 PFMP1,但回應卻從 PFMP1 的 eth0 介面路由回交換器,導致連線中斷。
Resolution
若要解決此問題,應採取下列動作:
停用 eth1 介面 (NIC):
關閉 PFMP 上的 eth1 介面電源:
ip link set dev eth1 down
從網路組態中移除 eth1:
刪除或移動 eth1 的網路配置檔,以防止它在重新引導時被提起。
例如,在 Linux 系統上:
mv /etc/sysconfig/network-scripts/ifcfg-eth1 /etc/sysconfig/network-scripts/ifcfg-eth1.bak
Additional Information
受影響的版本
PFMP 4.x
已修正問題的版本
N/A - 按預期工作
Affected Products
PowerFlex rack RCM SoftwareArticle Properties
Article Number: 000244763
Article Type: Solution
Last Modified: 04 Feb 2025
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.