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 직접 수행되거나 '정보 가져오기'와 같은 다른 유틸리티를 사용하여 수행됩니다.
 

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

 

영향

MDM 이벤트는 보거나 수집할 수 없습니다.

Cause

이 showevents.py 유틸리티는 Python 2와만 호환됩니다.

Resolution

다음 단계를 수행합니다.

  • 모든 MDM 관리자 호스트에서 Python 2를 사용할 수 있는지 확인합니다.
  • 유틸리티의 인터프리터를 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.