PowerFlex: MDM-showevents.py mislukt met ongeldige syntaxis

Summary: De uitvoering van showevents mislukt met een ongeldige syntaxisfout

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 geïnstalleerd op een host waarop Red Hat Enterprise Linux 8.x of CentOS 8.x wordt uitgevoerd.

Symptomen

De volgende fout wordt weergegeven wanneer showevents.py rechtstreeks of met behulp van een ander hulpprogramma wordt uitgevoerd, zoals 'informatie ophalen'.
 

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

 

Impact

MDM-gebeurtenissen kunnen niet worden bekeken of verzameld.

Cause

De showevents.py hulpprogramma is alleen compatibel met Python 2.

Resolution

Voer de volgende stappen uit.

  • Controleer of Python 2 beschikbaar is op alle MDM Manager-hosts.
  • Wijzig de interpreter van het hulpprogramma in Python 2.
    Wijzig de eerste regel van het hulpprogramma (shebang-sequentie) in het volgende:

    #!/usr/bin/python2
    	

Additional Information

Versies waarop dit van toepassing is

VxFlex OS 3.0.x

Opgelost in versie

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.