PowerFlex Manager: 無法接收 HCI 服務:「Error: 「程序」:nil:nilClass」未定義的方法'ManagedBy'

Summary: 無法將 HCI 服務消化至 PowerFlex Manager。

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

嘗試將超融合服務或資源群組納入 PowerFlex Manager 失敗,異常記錄中出現下列錯誤:

nil:NilClass error thrown when service ingestion is attempted.

 

部署日誌中描述了此問題的更詳細說明:

#<NoMethodError: undefined method `managedBy' for nil:NilClass>
/opt/asm-deployer/lib/asm/provider/cluster/vmware.rb:1963:in `block in find_vcls_vms'
/org/jruby/RubyArray.java:1865:in `each'
/opt/asm-deployer/lib/asm/provider/cluster/vmware.rb:1958:in `find_vcls_vms'
/opt/asm-deployer/lib/asm/lazy_connection.rb:101:in `block in with_connection'
/opt/asm-deployer/lib/asm/lazy_connection.rb:86:in `with_connection'
/opt/asm-deployer/lib/asm/lazy_connection.rb:100:in `block in with_connection'
/opt/asm-deployer/lib/asm/provider/cluster/vmware.rb:1961:in `block in find_vcls_vms'
/org/jruby/RubyArray.java:1865:in `each'
/opt/asm-deployer/lib/asm/provider/cluster/vmware.rb:1958:in `find_vcls_vms'
/opt/asm-deployer/lib/asm/lazy_connection.rb:101:in `block in with_connection'
/opt/asm-deployer/lib/asm/lazy_connection.rb:86:in `with_connection'
/opt/asm-deployer/lib/asm/lazy_connection.rb:100:in `block in with_connection'
/opt/asm-deployer/lib/asm/provider/cluster/vmware.rb:1949:in `vcls_vms'
/opt/asm-deployer/lib/asm/lazy_connection.rb:101:in `block in with_connection'
/opt/asm-deployer/lib/asm/lazy_connection.rb:86:in `with_connection'
/opt/asm-deployer/lib/asm/lazy_connection.rb:100:in `block in with_connection'
/opt/asm-deployer/lib/asm/provider/cluster/vmware.rb:1802:in `update_allowed_datastore_config'
/opt/asm-deployer/lib/asm/lazy_connection.rb:101:in `block in with_connection'
/opt/asm-deployer/lib/asm/lazy_connection.rb:86:in `with_connection'
/opt/asm-deployer/lib/asm/lazy_connection.rb:100:in `block in with_connection'
/opt/asm-deployer/lib/asm/service_deployment.rb:3853:in `process_cluster_post_ops'
/opt/asm-deployer/lib/asm/service_deployment.rb:1511:in `block in create_component_thread'

 

影響

無法消化服務。

 

Cause

此程序含使用特定程式碼來找出和識別 VMware 叢集中的 vSphere 叢集服務虛擬機器 (vCLS VM)。此代碼會存取 vCenter,針對叢集中存在的所有 VM 進行全方位掃描。如果其中一個 VM 目前無法存取,則會傳回 nilClass 空白錯誤,進而導致故障。任何無法訪問的 VM 都會觸發此錯誤。

 

Resolution

透過從備份還原或從清查移除 VM 的方式,解決無法存取 VM 的問題。完成此作業後,重試作業應會成功。

 

受影響的版本

PowerFlex Manager 3.x

PowerFlex Manager 4.x

 

已修正問題的版本

PowerFlex Manager 3.8.7

PowerFlex Manager 4.6

 

Affected Products

PowerFlex rack, PowerFlex Appliance
Article Properties
Article Number: 000220301
Article Type: Solution
Last Modified: 11 Jun 2024
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.