juju gomaasapi: получена ошибка с сервера: 504 Время ожидания шлюза

juju bootstrap error

    juju bootstrap --debug --> Fails 
    but
    juju bootstrap --upload-tools --debug  --> Success

    juju bootstrap --debug ----Error below

    Error 1:gomaasapi: got error back from server: 504 Gateway Timeout
    The system cannot communicate with the external server ( 170.x.x.x ).  

Note: 170.x.x.x is eth0 non PXE interface (This is where internet is) ....eth1 is 10.x.x.x network ..PXE boot interface..

     Error 2: The Internet server may be busy, may be permanently down, or may be
    unreachable because of network problems

   environment.yaml Proxy defined under openstack and maas....as well defined in different combinations ie defined under openstack only or maas only or both

    openstack:
     type:  openstack
        juju set-env http-proxy: http://x.x.x.x:80
        juju set-env https-proxy: http://x.x.x.x:80
        juju set-env no-proxy: localhost,10.1.1.0/24,170.x.x.x/26
    Also under 
      maas:
          type:maas
          juju set-env http-proxy: http://x.x.x.x:80
          juju set-env https-proxy: http://x.x.x.x:80
          juju set-env no-proxy: localhost,10.1.1.0/24,170.x.x.x/26
Also http, https and no proxy define in env ie export http_proxy etc

tail -f   /var/log/maas/regiond.log

    Error:3 
    2016-05-09 13:19:01 [-] 127.0.0.1 - - [09/May/2016:20:19:01 +0000] "GET   /MAAS/rpc/ HTTP/1.1" 200 388 "-"  "provisioningserver.rpc.clusterservice.ClusterClientService"
    2016-05-09 13:19:05 [HTTPChannel,14,127.0.0.1] Opening connection with  IPv4Address(TCP, '127.0.0.1', 56410)
    2016-05-09 13:19:05 [-] Closing connection:  (u'Failed to authenticate user.')
    2016-05-09 13:19:11 [HTTPChannel,15,127.0.0.1] Opening connection with IPv4Address(TCP, '127.0.0.1', 56414)
    2016-05-09 13:19:11 [-] Closing connection:  (u'Failed to authenticate user.')
    2016-05-09 13:19:17 [HTTPChannel,16,127.0.0.1] Opening connection with IPv4Address(TCP, '127.0.0.1', 56418)
    2016-05-09 13:19:17 [-] Closing connection:  (u'Failed to authenticate user.')
1
задан 10 May 2016 в 00:12

1 ответ

Если инструменты загрузки работают, и это не делает без, возможности - Вы, нуждаются в следующем , порты брандмауэра открывают :

МААС, его узлы и Автопилот должны будут смочь достигнуть Интернета или по крайней мере этих сайтов (http и https):

  • maas.ubuntu.com
  • cloud-images.ubuntu.com
  • streams.canonical.com
  • архив Ubuntu (archive.ubuntu.com или зеркало)
  • api.jujucharms.com
  • manage.jujucharms.com
  • jujucharms.com
  • store.juju.ubuntu.com
  • keyserver.ubuntu.com
  • ppa.launchpad.net
  • usn.ubuntu.com

, Если вводные дыры в брандмауэре, быть внимательным, что эти адреса могут разрешить нескольким дюйм/с

3
ответ дан 10 May 2016 в 10:12
  • 1
    Спасибо! причина, которую я хочу 17.10, более чем 16,04 - то, потому что я хочу испытать новую среду Gnome (который теперь работает исходно).:) – Alan Jameson 22 October 2017 в 18:04

Другие вопросы по тегам:

Похожие вопросы: