We see below errors in applmgmt.log
File "/usr/lib/applmgmt/networking/py/vmware/appliance/networking/utils.py", line 1193, in _getDNSConfigCB
raise Exception('netmgr --get failed with error. Err = %s', err)
Exception: ('netmgr --get failed with error. Err = %s', b'Error: value not found\n')
2024-01-31T17:35:33 PM UTC [3009]DEBUG:vmware.appliance.networking.impl:IPv6 Default gateway is not configured on the nic0 interface
2024-01-31T17:35:33 PM UTC [3009]DEBUG:vmware.appliance.networking.impl:com.vmware.appliance.version1.networking.dns.hostname.get()
2024-01-31T17:35:33 PM UTC [3009]DEBUG:vmware.appliance.networking.impl:com.vmware.appliance.version1.networking.dns.servers.get()
2024-01-31T17:35:33 PM UTC [3009]ERROR:vmware.appliance.networking.utils:netmgr --get failed with error = 204
2024-01-31T17:35:33 PM UTC [3009]ERROR:vmware.vapi.provider.local:Error in invoking com.vmware.appliance.networking in get - ('netmgr --get failed with error. Err = %s', b'Error: value not found\n')
Traceback (most recent call last):
File "/usr/lib/applmgmt/vapi/lib/vapi_runtime-2.100.0-py2.py3-none-any.whl/vmware/vapi/provider/local.py", line 277, in invoke
service_id, operation_id, input_value, ctx)
File "/usr/lib/applmgmt/vapi/lib/vapi_runtime-2.100.0-py2.py3-none-any.whl/vmware/vapi/provider/local.py", line 248, in _invoke_int
method_result = iface.invoke(ctx, method_id, input_value)
File "/usr/lib/applmgmt/vapi/lib/vapi_runtime-2.100.0-py2.py3-none-any.whl/vmware/vapi/bindings/skeleton.py", line 371, in invoke
meth_output = method(**meth_args)
File "/usr/lib/applmgmt/base/py/vmware/vherd/base/thread_utils.py", line 43, in wrapper
return sync_call_from_thread(func, *args, **kw)
File "/usr/lib/applmgmt/base/py/vmware/vherd/base/thread_utils.py", line 13, in sync_call_from_thread
return threads.blockingCallFromThread(reactor, func, *args, **kw)
File "/usr/lib/python3.7/site-packages/twisted/internet/threads.py", line 122, in blockingCallFromThread
result.raiseException()
File "/usr/lib/python3.7/site-packages/twisted/python/failure.py", line 488, in raiseException
raise self.value.with_traceback(self.tb)
File "/usr/lib/python3.7/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/lib/applmgmt/networking/py/vmware/appliance/networking/utils.py", line 1193, in _getDNSConfigCB
raise Exception('netmgr --get failed with error. Err = %s', err)
Exception: ('netmgr --get failed with error. Err = %s', b'Error: value not found\n')
Tried to manually update network configuration.
1. Login to VCSA via putty and run /opt/vmware/share/vami/vami_config_net
2. Try configuring DNS again from here
3. if this fails. take a backup and delete this file /etc/resolv.conf
4. Reboot vCenter, file would be recreated
5. Go to VAMI page or /opt/vmware/share/vami/vami_config_net to reconfigure DNS
The above steps also did not work.