PowerFlex:MDM showevents.py が無効な構文で失敗する

Summary: showevents の実行が無効な構文エラーで失敗する

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

Red Hat Enterprise Linux 8.xまたはCentOS 8.xを実行しているホストにインストールされているMDM。

現象

次の場合は、次のエラーが表示されます。 showevents.py は、直接実行することも、「Get Info」などの別のユーティリティを使用して実行することもできます。
 

File "/opt/emc/scaleio/mdm/bin/showevents.py", line 22
except ImportError,e:
^
SyntaxError: invalid syntax

 

問題

MDMイベントを表示または収集することはできません。

Cause

「 showevents.py ユーティリティは Python 2 とのみ互換性があります。

Resolution

次の手順を実行します。

  • Python 2がすべてのMDMマネージャー ホストで使用可能であることを確認します。
  • ユーティリティのインタプリタを Python 2.
    に変更しますユーティリティの最初の行 (シバン シーケンス) を次のように変更します。

    #!/usr/bin/python2
    	

Additional Information

問題が発生するバージョン

VxFlex OS 3.0.x

修正されたバージョン

VxFlex OS 3.5

Affected Products

Red Hat Enterprise Linux Version 8, PowerFlex Software, VxFlex Product Family
Article Properties
Article Number: 000063351
Article Type: Solution
Last Modified: 03 Nov 2025
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.