Batch jobs not getting executed
Hello Team,
I have Pacbot operational and I see 96 pacman-batch-jobs in runnable state and 1000+ jobs in pacman-rule-engine but they are not getting executed. I can see the ECS cluster pacman-rule-engine-env_Batch_890b6ec2-2e9a-3364-ac05-a8e3ce496abe and there are no any running tasks in it. The lambda functions are getting executed every hour and I can see a bunch of EC2 instances (all healthy with proper instance profile roles) but since the jobs are not getting executed, I cannot see any data of AWS accounts.
Can you please help to fix this or provide any guidelines? I have added 100+ AWS accounts as per installation guidelines and the setup is running for more than 2 days now.
Thanks
--
Hello,
This problem has been resolved. The reason the jobs were not running was, both of my subnets which were defined in resources.json did not had 'Auto-assign public IPv4' setting enabled and because of that though the ECS instances were running, they were not having any Public IPs.
To resolve it, I enabled the auto assign public IPv4 settings from Subnet > Modify auto-assign IP settings and terminated the existing instances. This in turn, the auto-scaling group started new instances with Public IP and then the jobs started running.
I would recommend to use 'private subnets' rather than 'public subnets' however due to some considerations if you want to use public subnets, please ensure the above setting is enabled.
Thanks @johnakash for your help and support.
Hi, Modify auto-assign IP settings was there already but still I am not able to get data on PACBOT dashboard.

Still, batch jobs are not running.

@maheshdighe It seems to be unusual, Please let us know your availability we can have a quick session and fix your issues.
@johnakash, Thanks for prompt response. I will wait till next release expected in few days and re-install again PACBOT. Will get in touch with you if this issue still persist.