Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
FWNinja
Contributor
Jump to solution

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

0 Kudos
1 Solution

Accepted Solutions
Dmitry_Gorn
Employee
Employee

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

View solution in original post

0 Kudos
1 Reply
Dmitry_Gorn
Employee
Employee

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

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.