My Oracle Support Banner

chgnetid Command Doesn't Work During Disaster Recovery Process (Doc ID 2538134.1)

Last updated on JUNE 05, 2020

Applies to:

Oracle VM - Version 3.4.5 and later
Linux x86-64

Symptoms

Not able to change the network id's from OVM manager while implementing networks for Disaster recovery.

The Error is as follows:

[root@manager name bin]#./chgnetid 1xxxxxxxxx 1yyyyyyyyy -p
Enter host name for the Oracle VM management server [q to quit]: manager name
Make this tool remember (manager name) next time it is run? (y/n): n
Enter domain name for the Oracle VM management server [q to quit]:domain name
Make this tool remember (domain name) next time it is run? (y/n): n

Enter admin password for OVM Manager UI (manager name) [q to quit]:
Enter root password used to access all Oracle VM servers [q to quit]:

Traceback (most recent call last):
File "./chgnetid", line 47, in <module>
main()
File "./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 1037, 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.7/site-packages/requests/sessions.py", line 476, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 464, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 431, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: hostname 'manager name.domain name' doesn't match '10.x.x.x'



Changes

 No changes

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
Changes
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.