pacbot icon indicating copy to clipboard operation
pacbot copied to clipboard

Batch jobs not getting executed

Open sachin6128 opened this issue 8 years ago • 4 comments

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

--

sachin6128 avatar Nov 15 '18 09:11 sachin6128

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.

sachin6128 avatar Nov 16 '18 23:11 sachin6128

Hi, Modify auto-assign IP settings was there already but still I am not able to get data on PACBOT dashboard.

image

Still, batch jobs are not running.

image

maheshdighe avatar Jan 15 '19 10:01 maheshdighe

@maheshdighe It seems to be unusual, Please let us know your availability we can have a quick session and fix your issues.

johnakash avatar Jan 16 '19 06:01 johnakash

@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.

maheshdighe avatar Jan 16 '19 07:01 maheshdighe