Solved! Go to Solution.
Ok it seems the problem was curl and proxy settings, the setup script error is really misleading and I only found out the problem when I opened up the individual scripts. Basically apigee-adminapi.sh is using curl to connect to the management server, and curl is ignoring networks and wildcards in no_proxy environment variable, so it keeps trying to connect to the management server via proxy. Now I've added each IP in the no_proxy and the setup manages to complete. It also explains why nobody else had this issue. 😞