PowerFlex: MDM-showevents.py misslyckas med ogiltig syntax
Summary: Körningen av showevents misslyckas med ett ogiltigt syntaxfel
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 installerad på en värd som kör Red Hat Enterprise Linux 8.x eller CentOS 8.x.
Symptom
Följande fel visas antingen när showevents.py utförs direkt eller med hjälp av ett annat verktyg, t.ex. "Få information".
File "/opt/emc/scaleio/mdm/bin/showevents.py", line 22 except ImportError,e: ^ SyntaxError: invalid syntax
Påverkan
Det går inte att visa eller samla in MDM-händelser.
Cause
Informationen showevents.py verktyget är endast kompatibelt med Python 2.
Resolution
Utför följande steg.
- Bekräfta att Python 2 är tillgängligt på alla MDM-hanterarvärdar.
-
Ändra verktygets tolk till Python 2.
Ändra verktygets första rad (shebang-sekvens) till följande:#!/usr/bin/python2
Additional Information
Versioner som påverkas
VxFlex OS 3.0.x
Åtgärdat i version
VxFlex OS 3.5
Affected Products
Red Hat Enterprise Linux Version 8, PowerFlex Software, VxFlex Product FamilyArticle 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.