My Oracle Support Banner

Oracle Linux OL7: Invoking targetcli Fails With "/usr/bin/targetcli", line 24 ... "ImportError: cannot import name ALUATargetPortGroup" During iSCSI Configuration (Doc ID 2320994.1)

Last updated on OCTOBER 27, 2022

Applies to:

Linux OS - Version Oracle Linux 7.3 with Unbreakable Enterprise Kernel [4.1.12] to Oracle Linux 7.3 with Unbreakable Enterprise Kernel [4.1.12] [Release OL7U3]
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64


A cluster, such as the Oracle Grid Infrastructure and database, installation needs some shared storage between Linux nodes using iSCSI technology.

Note that on Linux 7, the server side "scsi-target-utils" on previous OS versions has been replaced by "targetcli".

The package targetcli can be installed by the yum(8) utility.  Trying to run targetcli gives error:



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.