I have MAAS 1.9.1 and commissioned a node. The node is in ready state. I am behind proxy and can apt get or update. There are two interface on MAAS eth0 is on 170.x.x.x and eth 1 is on 10.x.x.x. I have eth1 setup for ip forward and masquerade. When I commissioned a new node it has no issues and downloaded Ubuntu packages etc. environment.yaml has all correct ip, keys etc. Now whether I do

1. juju quickstart
2. juju bootstrap

or sudo openstack-install

Juju Fails. This prevents me install Landscape - Autopilot etc

I have ran debug commands etc but no further details beside some posted below.

Some juju errors below: 

```
The system cannot communicate with the external server (&nbsp;170.22.143.154&nbsp;).
The Internet server may be busy, may be permanently down, or may be
unreachable because of network problems.

aavam@maas-dev6-1:~/.cloud-install$ juju bootstrap
WARNING ignoring environments.yaml: using bootstrap config in file "/home/aavam/.juju/environments/maas.jenv"
ERROR cannot determine if environment is already bootstrapped.: could not access file 'e3b6a06b-9a7e-456f-8a51-a313d7d2beda-provider-state': gomaasapi: got error back from server: 504 Gateway Timeout (<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Notification: Gateway Timeout</title>

~$ juju quickstart
juju quickstart v2.2.4
ssh-agent has been started.
To interact with Juju or quickstart again after quickstart
finishes, please run the following in a terminal to start ssh-agent:
  eval `ssh-agent`

bootstrapping the maas environment
reusing the already bootstrapped maas environment
retrieving the environment status
juju-quickstart: error: the state server is not ready:
ERROR Unable to connect to environment "maas".
Please check your credentials or use 'juju bootstrap' to create a new environment.

Error details:
could not access file 'e3b6a06b-9a7e-456f-8a51-a313d7d2beda-provider-state': gomaasapi: got error back from server: 504 Gateway Timeout (<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

```