'status juju -e maas --debug' mostrando conexão recusada

0

ao tentar consultar o status de um ambiente, estou recebendo os seguintes erros.

juju status --debug
2016-03-31 09:44:05 DEBUG juju.api apiclient.go:337 error dialing "wss://10.1.0.11:17070/environment/b61d8832-5b0a-43cd-8447-c70b33caf157/api", will retry: websocket.Dial wss://10.1.0.11:17070/environment/b61d8832-5b0a-43cd-8447-c70b33caf157/api: dial tcp 10.1.0.11:17070: connection refused
    
por Dilip Renkila 31.03.2016 / 11:49

1 resposta

0

Eu resolvi adicionando regras ao iptables

  sudo sysctl -w net.ipv4.ip_forward=1

iptables -A FORWARD -i <interface without internet> -o <interface with internet> -j ACCEPT

iptables -A FORWARD -i <interface with internet> -o <interface without internet> -m state --state ESTABLISHED,RELATED -j ACCEPT

iptables -t nat -A POSTROUTING -o <interface with internet> -j MASQUERADE

    
por Dilip Renkila 14.04.2016 / 03:39