[ClusterLabs] ERROR: This Target already exists in configFS

Bryan K. Walton bwalton+1546953805 at leepfrog.com
Wed Feb 13 18:12:05 UTC 2019


On Tue, Feb 12, 2019 at 02:14:17PM -0600, Bryan K. Walton wrote:
> I'm giving it the following commands:
> 
> pcs resource create targetRHEVM ocf:heartbeat:iSCSITarget \
> 	iqn="iqn.2019-02.com.leepfrog:storage.rhevm" \
> 	allowed_initiators="iqn.1994-05.com.redhat:3d066d1f423e \
> 	iqn.1994-05.com.redhat:84f0f7458c58" \
> 	--group ISCSIGroup
> 
> 
> But when I do that, the resource fails to start:
> Operation start for targetRHEVM (ocf:heartbeat:iSCSITarget) returned:
> 'unknown error' (1)
>  >  stderr: Feb 12 14:06:19 INFO: Parameter auto_add_default_portal is
>  >  now 'false'. 
>   >  stderr: Feb 12 14:06:20 INFO: Created target
>   >  iqn.2019-02.com.leepfrog:storage.rhevm. Created TPG 1. 
>    >  stderr: Feb 12 14:06:20 ERROR: This Target already exists in
>    >  configFS

I wanted to reply here that I was able to fix this by downloading the
latest iSCSITarget resource agent from here:
https://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/iSCSITarget.in

Apparently, there is a bug in the agent, as shipped with Centos 7.

Thanks,
Bryan


More information about the Users mailing list