My Oracle Support Banner

[PCA] pca_upgrader tool fails with ERROR (pca_upgrader:87) invalid literal for int() with base 10 (Doc ID 2513561.1)

Last updated on JULY 14, 2020

Applies to:

Private Cloud Appliance - Version 2.3.1 to 2.3.4 [Release 2.0]
Linux x86-64

Symptoms

 While running pre-upgrade checks for upgrading to PCA 2.3.4, the pca_upgrader tool in verify mode (-V) fails with:

[2019-03-01 10:13:58 2887343] ERROR (validate_rack:63) Failed to compare PCA
versions between the management nodes.
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pca_upgrader/util/validate_rack.py",
line 55, in check_version_standby
remote_mn_pca_version = get_remote_ovca_version()['release']
File "/usr/lib/python2.6/site-packages/pca_upgrader/util/validate_rack.py",
line 95, in get_remote_ovca_version
remote_management = mgmt.remoteMgmtSession()
File "/usr/lib/python2.6/site-packages/ovca/mgmt.py", line 1329, in __init__
mgmtSession.__init__(self)
File "/usr/lib/python2.6/site-packages/ovca/mgmt.py", line 96, in __init__
tmpstr = re.sub("0x", "", hex(int(i)))
ValueError: invalid literal for int() with base 10: ''
[2019-03-01 10:13:58 2887343] ERROR (pca_upgrader:87) invalid literal for
int() with base 10: ''
Traceback (most recent call last):
File "/usr/sbin/pca_upgrader", line 66, in main
if validate_rack.check_version_standby():
File "/usr/lib/python2.6/site-packages/pca_upgrader/util/validate_rack.py",
line 55, in check_version_standby
remote_mn_pca_version = get_remote_ovca_version()['release']
File "/usr/lib/python2.6/site-packages/pca_upgrader/util/validate_rack.py",
line 95, in get_remote_ovca_version
remote_management = mgmt.remoteMgmtSession()
File "/usr/lib/python2.6/site-packages/ovca/mgmt.py", line 1329, in __init__
mgmtSession.__init__(self)
File "/usr/lib/python2.6/site-packages/ovca/mgmt.py", line 96, in __init__
tmpstr = re.sub("0x", "", hex(int(i)))
ValueError: invalid literal for int() with base 10: ''

 

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.