- CheckMates
- :
- Products
- :
- CloudMates Products
- :
- Cloud Network Security
- :
- Discussion
- :
- HA Script Issue
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HA Script Issue
Hi Guys,
I've installed a cluster fw on AWS Environment.
I had a huge issue with the HA. At the moment I'm not able to do a failover.
Following the "$FWDIR/Python/bin/python -m aws_ha_test" output:
"Traceback (most recent call last):
File "/opt/CPsuite-R80.40/fw1/Python/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/opt/CPsuite-R80.40/fw1/Python/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/opt/CPsuite-R80.40/fw1/scripts/aws_ha_test.py", line 38, in <module>
http_proxy = urlparse(os.environ.get('http_proxy'))
File "/opt/CPsuite-R80.40/fw1/Python/lib/python2.7/urlparse.py", line 143, in urlparse
tuple = urlsplit(url, scheme, allow_fragments)
File "/opt/CPsuite-R80.40/fw1/Python/lib/python2.7/urlparse.py", line 201, in urlsplit
i = url.find(':')
AttributeError: 'NoneType' object has no attribute 'find'"
Could you help me to solve this issue?
Thanks and Best Regards
Francesco
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please try to use $FWDIR/Python/bin/python3 to execute the script, or simply run:
$FWDIR/scripts/azure_ha_test
The clustering scripts in R80.40 are based on Python 3.
The older Python is still there for backwards-compatibility reasons only.
Let me know if the issue persists.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please try to use $FWDIR/Python/bin/python3 to execute the script, or simply run:
$FWDIR/scripts/azure_ha_test
The clustering scripts in R80.40 are based on Python 3.
The older Python is still there for backwards-compatibility reasons only.
Let me know if the issue persists.
Thanks