Confirmed bug in the current release of the vSEC AMI (ogu-13-233.raw).
From Check Point:
We have found the issue with the failover within WAS for version ogu-13-233.raw.
[Expert@gw-addef0:0]# cat /etc/in-aws
ogu-13-233.raw
The fix is to vi the files listed below and add the "shell=True" to lines 373 and 376 on the aws_had.py file and lines 40 and 43 on the aws_ha_test.py file
To get the line numbers, after you run the vi <file_name> and are in vi, enter the : and set number <enter> and the lines numbers will show.
$FWDIR/scripts/aws_had.py
371 if proxy_address != '' and proxy_port.isdigit():
372 conf['proxy'] = proxy_address + ':' + proxy_port
373 subprocess.call('fw ctl set int fw_os_proxy_port ' + proxy_port, shell=True)
374 else:
375 conf['proxy'] = None
376 subprocess.call('fw ctl set int fw_os_proxy_port 0', shell=True)
$FWDIR/scripts/aws_ha_test.py
38 if proxy_address != '' and proxy_port.isdigit():
39 HTTP_PROXY = proxy_address + ':' + proxy_port
40 subprocess.call('fw ctl set int fw_os_proxy_port ' + proxy_port, shell=True)
41 else:
42 HTTP_PROXY = None
43 subprocess.call('fw ctl set int fw_os_proxy_port 0', shell=True)
Please let me know if you have any questions.
I beleive R&D will provide a new image to AWS, but in the meantime, this is the workaround for this image and we will publish an SK.
After modifying the files, you will need to run the following command to reconfigure the files:
Expert@HostName]# $FWDIR/Python/bin/python $FWDIR/scripts/aws_ha_cli.py reconf
Reboot vSEC for changes to take effect.