[PCA 2.3.1] Running ovmm_tuning.py Fails with "SyntaxError: invalid syntax"
(Doc ID 2315436.1)
Last updated on SEPTEMBER 06, 2023
Applies to:
Private Cloud Appliance - Version 2.3.1 and laterLinux x86-64
Symptoms
On Oracle Private Cloud appliance, release 2.3.1, when attempting to run the ovmm_tuning.py script e.g. when following a restore procedure, the script fails with :
[root@ovcamn05r1 ~]# ovm_shell.sh -u admin -p Welcome1 -i /var/lib/ovca/ovm_scripts/ovmm_tuning.py
Script Exception:
Traceback (most recent call last):
File "/u01/ovs_server_build_3.4.2/manager/build/mgmt_core_201706151808_1398/management/MgmtInstall/ovm_shell/ovm_shell_v.py", line 0, in executeScript
File "/var/lib/ovca/ovm_scripts/ovmm_tuning.py", line 5, in ?
import ovmws_utils
File "/var/lib/ovca/ovm_scripts/ovmws_utils.py", line 54
return 0 if v1 == v2 else -1 if v1 < v2 else 1
^
SyntaxError: invalid syntax
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |