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 25, 2017

Applies to:

Linux OS - Version Oracle Linux 7.3 with Unbreakable Enterprise Kerne [4.1.12] to Oracle Linux 7.3 with Unbreakable Enterprise Kerne [4.1.12] [Release OL7U3]
Information in this document applies to any platform.

Symptoms

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:

 

Cause

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 hundreds of Community platforms