Prevent Container Network Function (CNF) instantiation failures by allowing a CNF to accept up to 5MB of data across all helm charts while instantiating and upgrading a CNF instance.
When instantiating a CSAR with large values file, the following error caused the deployment to fail:
In TCA UI:
Failed to Instantiate CNF
In Kafka logs:
2022-08-18 08:30:01,453] WARN [SocketServer brokerId=0] Unexpected error from /127.0.0.1; closing connection (org.apache.kafka.common.network.Selector)
org.apache.kafka.common.network.InvalidReceiveException: Invalid receive (size = 2094093 larger than 2000000)
at org.apache.kafka.common.network.NetworkReceive.readFrom(NetworkReceive.java:105)
at org.apache.kafka.common.network.KafkaChannel.receive(KafkaChannel.java:448)
at org.apache.kafka.common.network.KafkaChannel.read(KafkaChannel.java:398)
at org.apache.kafka.common.network.Selector.attemptRead(Selector.java:678)
at org.apache.kafka.common.network.Selector.pollSelectionKeys(Selector.java:580)
at org.apache.kafka.common.network.Selector.poll(Selector.java:485)
at kafka.network.Processor.poll(SocketServer.scala:861)
at kafka.network.Processor.run(SocketServer.scala:760)
at java.base/java.lang.Thread.run(Unknown Source)
2.1
Resolved in TCA 2.1.1.
Update the nfv_vim_service-1.0.jar
and nfv_placement_service-1.0.jar
files on the TCA Manager (TCA-M) and all TCA Control Planes (TCA-CP) managed by this instance of TCA-M.
cd /tmp
nfv_vim_service-1.0.jar
and the nfv_placement_service-1.0.jar
filescp /opt/vmware/Services/nfv_vim_service_1.0/nfv_vim_service-1.0.jar nfv_vim_service-1.0_original.jar
cp /opt/vmware/Services/nfv_placement_service_1.0/nfv_placement_service-1.0.jar nfv_placement_service-1.0_original.jar
nfv_vim_service-1.0.jar
and the nfv_placement_service-1.0.jar
files.cp nfv_vim_service-1.0.jar /opt/vmware/Services/nfv_vim_service_1.0/nfv_vim_service-1.0.jar
cp nfv_placement_service-1.0.jar /opt/vmware/Services/nfv_placement_service_1.0/nfv_placement_service-1.0.jar
su -
systemctl restart app-engine
cd /tmp
nfv_vim_service-1.0.jar
and the nfv_placement_service-1.0.jar
filescp /opt/vmware/Services/nfv_vim_service_1.0/nfv_vim_service-1.0.jar nfv_vim_service-1.0_original.jar
cp /opt/vmware/Services/nfv_placement_service_1.0/nfv_placement_service-1.0.jar nfv_placement_service-1.0_original.jar
nfv_vim_service-1.0.jar
and the nfv_placement_service-1.0.jar
files.cp nfv_vim_service-1.0.jar /opt/vmware/Services/nfv_vim_service_1.0/nfv_vim_service-1.0.jar
cp nfv_placement_service-1.0.jar /opt/vmware/Services/nfv_placement_service_1.0/nfv_placement_service-1.0.jar
su -
systemctl restart app-engine
TCA limits after patch is applied