Conjure-up --bootstrap-to 실패

Conjure-up --bootstrap-to 실패

이 문제는 다음과 유사합니다.JUJU 부트스트랩이 amd64용 Juju Agent 버전 2.0.2를 가져오는 중 멈췄습니다.

나는 다음에 대한 지침을 따르고 있습니다:https://www.ubuntu.com/download/cloud/autopilot

OpenStack을 배포하기 위해 Autopilot을 실행하려고 합니다. 내 MAAS 서버가 실행 중이고 5개의 노드가 커미셔닝되었습니다. MAAS 컨트롤러에서 Conjure-up을 실행하고 있습니다.

conjure-up --bootstrap-to {READY 상태의 MAAS 위임 노드}를 실행할 때 Landscape를 선택한 다음 maas를 내 클라우드 유형으로 선택하고 자격 증명과 엔드포인트를 입력합니다. Conjure-up은 노드를 성공적으로 진행하고 배포합니다.

Conjure-up은 이 시점에서 중단됩니다. conjure-up.....bootstrap.err의 출력은 다음과 같습니다.

Creating Juju controller "conjure-up-cloud-maas-0d1-93a" on cloud-maas-0d1
Looking for packaged Juju agent version 2.2.2 for amd64  
Launching controller instance(s) on cloud-maas-0d1...
 - te3f68 (arch=amd64 mem=32G cores=8)   
Fetching Juju GUI 2.7.5  
Attempting to connect to 192.168.2.15:22  
sudo: unable to resolve host quiet-boa: Connection timed out*

**Following is from my MAAS server**:  
$ which juju  
/snap/bin/juju  
$ which conjure-up  
/snap/bin/conjure-up  
$ which lxd  
/usr/bin/lxd  
$ juju version  
2.2.2-xenial-amd64  
$ conjure-up --version  
conjure-up 2.2.2  
$ lxd --version  
2.0.10  
$ lsb_release -a  
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:    16.04
Codename:   xenial

다음은 conjure-up.log의 출력입니다.

2017-07-31 10:43:31,964 [INFO] conjure-up/_unspecified_spell - events.py:178 - Watching for shutdown
2017-07-31 10:43:32,011 [DEBUG] conjure-up/_unspecified_spell - events.py:55 - Awaiting Shutdown at conjureup/events.py:180
2017-07-31 10:43:37,404 [DEBUG] conjure-up/landscape - download.py:60 - Path is local filesystem, copying /snap/conjure-up/561/spells/landscape to /home/ernie/.cache/conjure-up/landscape
2017-07-31 10:43:37,410 [DEBUG] conjure-up/landscape - utils.py:392 - Pulling bundle for landscape-dense-maas from channel: stable
2017-07-31 10:46:11,237 [INFO] conjure-up/landscape - common.py:77 - Bootstrapping Juju controller.
2017-07-31 10:46:11,238 [DEBUG] conjure-up/landscape - juju.py:170 - bootstrap cmd: ['juju', 'bootstrap', 'cloud-maas-0d1', 'conjure-up-cloud-maas-0d1-93a', '--default-model', 'conjure-landscape-1b1', '--config', 'image-stream=daily', '--config', 'enable-os-upgrade=false', '--to', 'trusty-cicada', '--bootstrap-series', 'xenial', '--credential', 'conjure-cloud-maas-0d1-fee']
2017-07-31 10:46:11,257 [DEBUG] conjure-up/landscape - events.py:55 - Awaiting ModelConnected at conjureup/controllers/deploy/common.py:23
2017-07-31 10:46:11,261 [DEBUG] conjure-up/landscape - juju.py:179 - waiting for proc
2017-07-31 10:46:11,471 [DEBUG] conjure-up/landscape - maas.py:401 - Found endpoint: http://maas:5240/MAAS for cloud: cloud-maas-0d1
2017-07-31 10:46:11,472 [DEBUG] conjure-up/landscape - events.py:55 - Setting MAASConnected at conjureup/controllers/deploy/gui.py:285
2017-07-31 10:46:36,934 [DEBUG] conjure-up/landscape - gui.py:13 - Rendering bootstrap wait
2017-07-31 10:46:37,034 [DEBUG] conjure-up/landscape - events.py:55 - Awaiting MAASConnected at conjureup/controllers/deploy/gui.py:209 in task _do_deploy at conjureup/controllers/deploy/gui.py:239
2017-07-31 10:46:37,035 [DEBUG] conjure-up/landscape - events.py:55 - Received MAASConnected at conjureup/controllers/deploy/gui.py:209 in task _do_deploy at conjureup/controllers/deploy/gui.py:239
2017-07-31 10:46:37,036 [DEBUG] conjure-up/landscape - events.py:55 - Awaiting PreDeployComplete at conjureup/juju.py:517 in task _do_deploy at conjureup/controllers/deploy/gui.py:239
2017-07-31 10:46:37,130 [DEBUG] conjure-up/landscape - events.py:55 - Awaiting MAASConnected at conjureup/controllers/deploy/gui.py:209 in task _do_deploy at conjureup/controllers/deploy/gui.py:239
2017-07-31 10:46:37,131 [DEBUG] conjure-up/landscape - events.py:55 - Received MAASConnected at conjureup/controllers/deploy/gui.py:209 in task _do_deploy at conjureup/controllers/deploy/gui.py:239
2017-07-31 10:46:37,132 [DEBUG] conjure-up/landscape - events.py:55 - Awaiting PreDeployComplete at conjureup/juju.py:517 in task _do_deploy at conjureup/controllers/deploy/gui.py:239
2017-07-31 10:46:37,226 [DEBUG] conjure-up/landscape - events.py:55 - Awaiting MAASConnected at conjureup/controllers/deploy/gui.py:209 in task _do_deploy at conjureup/controllers/deploy/gui.py:239
2017-07-31 10:46:37,227 [DEBUG] conjure-up/landscape - events.py:55 - Received MAASConnected at conjureup/controllers/deploy/gui.py:209 in task _do_deploy at conjureup/controllers/deploy/gui.py:239
2017-07-31 10:46:37,228 [DEBUG] conjure-up/landscape - events.py:55 - Awaiting PreDeployComplete at conjureup/juju.py:517 in task _do_deploy at conjureup/controllers/deploy/gui.py:239
2017-07-31 10:46:37,322 [DEBUG] conjure-up/landscape - events.py:55 - Awaiting MAASConnected at conjureup/controllers/deploy/gui.py:209 in task _do_deploy at conjureup/controllers/deploy/gui.py:239
2017-07-31 10:46:37,323 [DEBUG] conjure-up/landscape - events.py:55 - Received MAASConnected at conjureup/controllers/deploy/gui.py:209 in task _do_deploy at conjureup/controllers/deploy/gui.py:239
2017-07-31 10:46:37,324 [DEBUG] conjure-up/landscape - events.py:55 - Awaiting PreDeployComplete at conjureup/juju.py:517 in task _do_deploy at conjureup/controllers/deploy/gui.py:239
2017-07-31 10:46:37,330 [DEBUG] conjure-up/landscape - events.py:55 - Awaiting Bootstrapped at conjureup/controllers/bootstrapwait/gui.py:37
2017-07-31 10:46:37,336 [DEBUG] conjure-up/landscape - events.py:55 - Awaiting RelationsAdded:landscape-server at /snap/conjure-up/561/usr/lib/python3.6/asyncio/events.py:127 in task wait at conjureup/events.py:95
2017-07-31 10:46:37,338 [DEBUG] conjure-up/landscape - events.py:55 - Awaiting RelationsAdded:rabbitmq-server at /snap/conjure-up/561/usr/lib/python3.6/asyncio/events.py:127 in task wait at conjureup/events.py:95
2017-07-31 10:46:37,340 [DEBUG] conjure-up/landscape - events.py:55 - Awaiting RelationsAdded:postgresql at /snap/conjure-up/561/usr/lib/python3.6/asyncio/events.py:127 in task wait at conjureup/events.py:95
2017-07-31 10:46:37,341 [DEBUG] conjure-up/landscape - events.py:55 - Awaiting RelationsAdded:haproxy at /snap/conjure-up/561/usr/lib/python3.6/asyncio/events.py:127 in task wait at conjureup/events.py:95
2017-07-31 11:01:00,945 [DEBUG] conjure-up/landscape - juju.py:181 - proc done
2017-07-31 11:01:00,945 [ERROR] conjure-up/landscape - common.py:36 - Error bootstrapping controller: ['Creating Juju controller "conjure-up-cloud-maas-0d1-93a" on cloud-maas-0d1', 'Looking for packaged Juju agent version 2.2.2 for amd64', 'Launching controller instance(s) on cloud-maas-0d1...', ' - te3f68 (arch=amd64 mem=32G cores=8) ', 'Fetching Juju GUI 2.7.5', 'Waiting for address', 'Attempting to connect to 192.168.2.17:22', 'sudo: unable to resolve host trusty-cicada: Connection timed out', 'Connection to 192.168.2.17 closed by remote host.', 'ERROR failed to bootstrap model: subprocess encountered error code 255']
2017-07-31 11:01:00,947 [DEBUG] conjure-up/landscape - events.py:55 - Setting Error at conjureup/events.py:147
2017-07-31 11:01:01,028 [ERROR] conjure-up/landscape - events.py:166 - Unhandled exception
Traceback (most recent call last):
  File "/snap/conjure-up/561/lib/python3.6/site-packages/conjureup/controllers/bootstrap/common.py", line 39, in do_bootstrap
    app.current_cloud_type))
Exception: Unable to bootstrap (cloud type: maas)
2017-07-31 11:01:01,033 [DEBUG] conjure-up/landscape - __init__.py:21 - Showing dialog for exception: Unable to bootstrap (cloud type: maas)

답변1

제출자에 따르면 문제는 DNS 구성 오류였습니다.

예, 문제를 발견했습니다. VLAN의 DNS 서버가 제대로 구성되지 않았습니다. MAAS 서버 IP 주소를 사용하여 이 문제를 해결했습니다. — 어니스트 마르티네즈

관련 정보