Expose the AdminServer on load balancer machines
This allows clients to make Admin API calls to either load
balancer. Until we migrate from SCP to storing the application
assets in an object store, the client will need to make the
versions.create call to the same machine that it SCP'd the tarball
to.
@@ -4330,7 +4330,7 @@ HOSTS
start_cmd << ' --verbose' if @options['verbose'].downcase == 'true'
MonitInterface.start(:admin_server, start_cmd, nil,
{'PATH' => ENV['PATH']})
- if my_node.is_shadow?
+ if my_node.is_load_balancer?
Nginx.add_service_location('appscale-administration', my_node.private_ip,
service_port, nginx_port, '/')
end
