globus / globus-connect-server

Globus Connect Server
6 stars 10 forks source link

Update __init__.py #11

Closed danpowers closed 6 years ago

danpowers commented 6 years ago

Prevent falsely detecting Azure nodes as ec2 nodes.

globus-connect-server-setup was falsely detecting a user's Azure node as an ec2 node, and dumping the 404 message that 'value = urlopen(url).read()' was getting into the GridFTP config data_interface value as a result. This change modifies the line that detects if a 404 was returned from 'value = urlopen(url).read()' so that it also catches the 404 returned in Azure's environment. Issue was detected in ticket #308313 and user verified that change resolved their issue.