PowerFlex: MDM showevents.py Fails With Invalid Syntax

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

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

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

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.