My Oracle Support Banner

Oracle VM DR Setup: Command chgnetid Failed with 'exceptions.SSLError: [Errno xxx] _ssl.c:341: error:xxx:SSL routines:SSL_CTX_use_PrivateKey_file:system lib ' (Doc ID 2434887.1)

Last updated on AUGUST 16, 2018

Applies to:

Oracle VM - Version 3.2.9 and later
Linux x86-64

Symptoms

Implemented Oracle VM DR setup with steps in 'SN21901: Implementing Networks for Disaster Recovery' in Doc ID 1959182.1

Command chgnetid failed with error below:

[root@ovcamn05r1 ~]# /opt/ovmdr/bin/chgnetid byfile /root/my-network-ids -p
Enter host name for the Oracle VM management server [q to quit]: ovcamn05r1
Make this tool remember ovcamn05r1 next time it is run? (y/n): n
Enter domain name for the Oracle VM management server [q to quit]: domain.internal
Make this tool remember domain.internal next time it is run? (y/n): n
Enter admin password for OVM Manager UI ovcamn05r1 [q to quit]:
Enter root password used to access all Oracle VM servers [q to quit]:
CRIT: Exiting script: run_cli() incorrect hostname or IP ovcamn05r1.domain.internal
[root@ovcamn05r1 ~]# /opt/ovmdr/bin/chgnetid byfile /root/my-network-ids -p
Enter host name for the Oracle VM management server [q to quit]: mppcamgmtvp1
Make this tool remember mppcamgmtvp1 next time it is run? (y/n): n
Enter domain name for the Oracle VM management server [q to quit]: domain.internal
Make this tool remember domain.internal next time it is run? (y/n): n
Enter admin password for OVM Manager UI mppcamgmtvp1 [q to quit]:
Enter root password used to access all Oracle VM servers [q to quit]:
Traceback (most recent call last):
  File "/opt/ovmdr/bin/chgnetid", line 47, in
  main()
  File "/opt/ovmdr/bin/chgnetid", line 35, in main
  ovmm = commonOvmM.OvmMgr(cl) # Set up DB model and gather basic info about ovmm
  File "/opt/ovmdr/lib/commonOvmM.py", line 107, in __init__
  self.chk_passwd_ovms_root() # Validate root passwd on manager if enabled
  File "/opt/ovmdr/lib/commonOvmDR.py", line 1040, in chk_passwd_ovms_root
  ovms_id = self.bld_idlist("server")[0] # Get ID of first OVM server
  File "/opt/ovmdr/lib/commonOvmDR.py", line 224, in bld_idlist
  rawdata = self.sess.get(uri).json()
  File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 476, in get
  return self.request('GET', url, **kwargs)
  File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 4

[root@ovcamn05r1 ~]# cat /root/my-network-ids
10203bad76 10688989e0

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!


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