2
私はKollaをAIOにデプロイしようとしています。
私はコマンドを使用して画像を構築:Kolla AIOの展開に失敗しました:rabbitMQコンテナの起動中にホスト名がIPアドレスを解決する必要がありますか?
kolla-build -p default -b ubuntu -t binary
私は私のローカルシステムでそれを展開しています。 私はubuntu 16.04のビルドされたイメージを使用しています。私はローカルレジストリを使用していません。私のホスト名は、ホストの出力デスクトップ
あるRabbitMQの を開始しながら、
kolla-ansible deploy
細かい
kolla-ansible precheck
実行は私にエラーを与える127.0.0.1 localhostの 127.0.1.1デスクトップ
::1 ip6-localhost ip6-loopback <br>
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
cat /etc/hosts
を提出エラーは次のようになります
TASK: [rabbitmq | fail msg="Hostname has to resolve to IP address of api_interface"] ***
failed: [localhost] => (item={u'cmd': [u'getent', u'ahostsv4', u'DESKTOP'], u'end': u'2017-02-26 00:45:10.399323', u'stderr': u'', u'stdout': u'127.0.1.1 STREAM DESKTOP\n127.0.1.1 DGRAM \n127.0.1.1 RAW ', u'changed': False, u'rc': 0, 'item': 'localhost', u'warnings': [], u'delta': u'0:00:00.001585', 'invocation': {'module_name': u'command', 'module_complex_args': {}, 'module_args': u'getent ahostsv4 DESKTOP'}, 'stdout_lines': [u'127.0.1.1 STREAM DESKTOP', u'127.0.1.1 DGRAM ', u'127.0.1.1 RAW '], u'start': u'2017-02-26 00:45:10.397738'}) => {"failed": true, "item": {"changed": false, "cmd": ["getent", "ahostsv4", "DESKTOP"], "delta": "0:00:00.001585", "end": "2017-02-26 00:45:10.399323", "invocation": {"module_args": "getent ahostsv4 DESKTOP", "module_complex_args": {}, "module_name": "command"}, "item": "localhost", "rc": 0, "start": "2017-02-26 00:45:10.397738", "stderr": "", "stdout": "127.0.1.1 STREAM DESKTOP\n127.0.1.1 DGRAM \n127.0.1.1 RAW ", "stdout_lines": ["127.0.1.1 STREAM DESKTOP", "127.0.1.1 DGRAM ", "127.0.1.1 RAW "], "warnings": []}}
msg: Hostname has to resolve to IP address of api_interface
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/ravichandran/site.retry
localhost : ok=84 changed=11 unreachable=0 failed=1
助けてください。また、追加情報が必要な場合はお知らせください。