PowerFlex: MDM showevents.py Fails With Invalid Syntax

Summary: The execution of showevents fails with an invalid syntax error

Acest articol se aplică pentru Acest articol nu se aplică pentru Acest articol nu este legat de un produs specific. Acest articol nu acoperă toate versiunile de produs existente.

Symptoms

MDM installed on a host running Red Hat Enterprise Linux 8.x or CentOS 8.x.

Symptoms

The following error appears, either when showevents.py is performed directly or using another utility, such as 'get info'.
 

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

 

Impact

MDM events cannot be viewed or collected.

Cause

The showevents.py utility is only compatible with Python 2.

Resolution

Perform the following steps.

  • Confirm that Python 2 is available on all the MDM manager hosts.
  • Change the utility's interpreter to Python 2.
    Change the utility's first line (shebang sequence) to the following:

    #!/usr/bin/python2
    	

Additional Information

Impacted Versions

VxFlex OS 3.0.x

Fixed in Version

VxFlex OS 3.5

Produse afectate

Red Hat Enterprise Linux Version 8, PowerFlex Software, VxFlex Product Family
Proprietăți articol
Article Number: 000063351
Article Type: Solution
Ultima modificare: 03 nov. 2025
Version:  6
Găsiți răspunsuri la întrebările dvs. de la alți utilizatori Dell
Servicii de asistență
Verificați dacă dispozitivul dvs. este acoperit de serviciile de asistență.