PowerFlex 3.x Échec de l’approbation du certificat LIA Le nombre d’adresses IP de confiance dépasse MAX_TRUSTED_IPS [6]
Summary: Impossible d’installer VxFlex OS. Échec de la commande d’erreur : Échec de l’approbation du certificat LIA (nœud : [IP1, IP2]) en raison de: Erreur interne
Symptoms
Dans le fichier scaleIO.log sur la passerelle, les erreurs suivantes s’affichent lors de l’installation lorsqu’elle échoue :-
2
018-07-26 11:52:33,398 [executor-41] INFO c.e.s.s.d.i.c.ApproveLiaCertificateCommand - running pre-executor for .ApproveLiaCertificateCommand 2018-07-26 11:52:33,398 [executor-41] INFO c.e.s.s.d.i.c.ApproveLiaCertificateCommand - running pre-executor for .ApproveLiaCertificateCommand complete in 0 ms 2018-07-26 11:52:33,399 [executor-41] INFO c.e.s.s.i.s.i.c.LIANodeConnection - Creating LIANodeConnection for LinuxSystemNode[nodeName=<null>,nodeIPs=[10.40.XX.XX, 10.40.XX.YY],credentials=<null>] 2018-07-26 11:52:33,399 [executor-41] INFO c.e.s.s.i.s.i.c.LIANodeConnection - Get and approve certificate to LinuxSystemNode[nodeName=<null>,nodeIPs=[10.40.121.38, 10.40.121.8],credentials=<null>] 2018-07-26 11:52:33,399 [executor-41] ERROR c.e.s.s.i.s.i.c.LIANodeConnection - Failed retrieving certificate of 10.40.XX.XX 2018-07-26 11:52:33,401 [executor-41] ERROR c.e.s.s.i.s.i.c.LIANodeConnection - Failed retrieving certificate of 10.40.XX.YY 2018-07-26 11:52:33,401 [executor-41] ERROR c.e.s.s.i.s.i.c.LIANodeConnection - Failed to get LIA certificate from all ips: [10.40.XX.XX, 10.40.XX.YY] 2018-07-26 11:52:33,401 [executor-41] ERROR c.e.s.s.d.i.c.ApproveLiaCertificateCommand - Error Failed to approve LIA certificate (node: [10.40.XX.XX, 10.40.XX.YY]) due to: Internal Error executing command .ApproveLiaCertificateCommand (retry) : com.emc.s3g.scaleio.im.services.installation.connectors.LIANodeConnection.getAndApproveNodeCertificate(LIANodeConnection.java:3171) com.emc.s3g.scaleio.domain.installation.commands.ApproveLiaCertificateCommand.executeScaleIONodeCommand(ApproveLiaCertificateCommand.java:26) com.emc.s3g.scaleio.domain.installation.commands.ApproveLiaCertificateCommand.executeScaleIONodeCommand(ApproveLiaCertificateCommand.java:16) com.emc.s3g.scaleio.domain.installation.commands.ScaleIONodeCommand.executeNodeCommand(ScaleIONodeCommand.java:31) com.emc.s3g.scaleio.domain.installation.commands.NodeCommand.executeCommand(NodeCommand.java:92) com.emc.s3g.scaleio.domain.installation.commands.BaseCommand.call(BaseCommand.java:515) java.util.concurrent.FutureTask.run(FutureTask.java:266) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) java.lang.Thread.run(Thread.java:74
En examinant la trace des journaux LIA trace.0 dans le dossier LIA, nous voyons l’erreur suivante :
30/07 09:08:50.071281 0x1b4aeb0:liaNet_Init:01683: Number of Trusted IPs exceeds MAX_TRUSTED_IPS [6] - check config file , ignore rest of IP's
Conformément au Guide de déploiement :-
Pour restreindre les adresses IP de la passerelle qui peuvent accéder au LIA, ajoutez ces adresses IP à cette ligne dans le fichier conf.txt :
lia_trusted_ips=<IP_ADDRESS_1 IP_ADDRESS_2
><>
Pour le définir lors de l’installation du LIA, définissez la variable d’environnement TRUSTED_IPS. Par exemple :
TRUSTED_IPS=IP1,IP2 rpm -i lia.rpm
Le guide de déploiement ne mentionne pas le nombre d’adresses IP que vous pouvez utiliser dans la liste de TRUSTED_IPS ci-dessus.
Cause
Utilisation de plus de 6 adresses IP