My Oracle Support Banner

[PCA] Exception while trying to add network custom_network to compute node ovcacnXXr1: expected string or buffer (Doc ID 2767647.1)

Last updated on APRIL 27, 2021

Applies to:

Private Cloud Appliance - Version 2.3.1 and later
Linux x86-64

Symptoms

On a Xsigo/IB based PCA rack 2.4.3, add network to a compute node failed with error:

[2021-03-24 05:09:19 1765115] ERROR (network_manager:696) Error while adding a compute node: ovcacn27r1, to network: custom_network. State: init.
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/ovca/core/network/network_manager.py", line 622, in add_compute_node_to_network
if not data_network_manager.create_vnic(network_name, node_name, ipaddress):
File "/usr/lib/python2.6/site-packages/ovca/core/network/data/data_network_manager.py", line 47, in wrapper
return func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/ovca/core/network/data/data_network_manager.py", line 124, in create_vnic
return fabric_manager.create_vnic(network_name, server_name)
File "/usr/lib/python2.6/site-packages/ovca/core/network/data/xsigo/fabric_manager.py", line 60, in inner_func
return func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/ovca/core/network/data/xsigo/fabric_manager.py", line 380, in create_vnic
ofm_session):
File "/usr/lib/python2.6/site-packages/ovca/core/network/data/xsigo/fabric_manager.py", line 49, in inner_func
return func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/ovca/core/network/data/xsigo/fabric_manager.py", line 423, in check_and_fix_io_profile
guid = regex.findall(switch_guid)[0]
TypeError: expected string or buffer
[2021-03-24 05:09:19 1765115] DEBUG (util:56) ===> Entering [logout] <===
[2021-03-24 05:09:19 1765115] DEBUG (util:58) ===> Exiting [logout] <===
[2021-03-24 05:09:19 1765115] ERROR (api_util:38) Error while invoking API.
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/ovca/api/api_util.py", line 36, in inner
ret = func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/ovca/api/api_util.py", line 68, in new_function
return func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/ovca/api/internal_api.py", line 1056, in add_compute_node_to_network
str(e))
OvcaApiException: Error (NETWORK_000): Exception while trying to add network custom_network to compute node ovcacn27r1: expected string or buffer

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.