My Oracle Support Banner

SAN Server In OVM Fails To Refresh With Error "Target refresh failed: iscsiadm: No portal found" (Doc ID 2568223.1)

Last updated on MAY 26, 2021

Applies to:

Oracle VM - Version 3.2.10 and later
Linux x86-64

Symptoms

While attempting to add additional storage to the OVM farm the issues/errors are seen. When look at the storage tab via the OVM GUI the Name of the LUN is visible but the size is empty and it's not assigned to any server but shows online. When one tries to refresh the SAN Server or the LUN the below error is displayed.

 

 "Target refresh failed: iscsiadm: No portal found."

 

The following is seen on the ovs-agent logs.

 

[2019-06-21 13:56:39 27907] INFO (storageplugin:109) storage_plugin_refresh(oracle.generic.SCSIPlugin.GenericPlugin)
[2019-06-21 13:56:39 27907] DEBUG (OSCPlugin:1705) ENTER: refresh()
[2019-06-21 13:56:39 27907] ERROR (OSCPlugin:1752) Target refresh failed: iscsiadm: No portal found. <<<<<<<<<<<<<<==============
[2019-06-21 13:56:39 27907] INFO (storageplugin:125) Exception: 'Target refresh failed: iscsiadm: No portal found.\n'
[2019-06-21 13:56:39 27906] ERROR (common:47) dispatch error: storage_plugin_refresh: <Fault 1: "OSCPlugin.RefreshFailedEx
:'Target refresh failed: iscsiadm: No portal found.\\n'">
[2019-06-21 13:56:39 27906] ERROR (service:96) catch_error: <Fault 1: "OSCPlugin.RefreshFailedEx:'Target refresh failed: i
scsiadm: No portal found.\\n'">
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/agent/lib/service.py", line 94, in wrapper
return func(*args)
File "/usr/lib64/python2.4/site-packages/agent/api/common.py", line 45, in dispatch
return getattr(sp, func)(*args)
File "/usr/lib64/python2.4/site-packages/agent/utils/xmlrpclib.py", line 1099, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.4/site-packages/agent/utils/xmlrpclib.py", line 1386, in __request
verbose=self.__verbose
File "/usr/lib64/python2.4/site-packages/agent/utils/xmlrpclib.py", line 1150, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib64/python2.4/site-packages/agent/utils/xmlrpclib.py", line 1289, in _parse_response
return u.close()
File "/usr/lib64/python2.4/site-packages/agent/utils/xmlrpclib.py", line 746, in close
raise Fault(**self._stack[0])
Fault: <Fault 1: "OSCPlugin.RefreshFailedEx:'Target refresh failed: iscsiadm: No portal found.\\n'"> <<<<<<<<<<<<<<==============

 



Luns are presented to the Servers as shown on the multipath command but the LUNS are not available to OVM GUI as expected on the Servers and VMS tab, it is important to mention that this LUN can not be used since the JOB will time out while trying to create a repository for instance.



Changes

A New ISCSI target was created on the SAN server and presented to the OVS servers.

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.