부트스트랩은 할 수 있지만 주주 상태를 볼 수 없습니다.
Error details:
no instances found
이는 juju --debug --show-log 및 MAAS 부트스트랩을 수행할 때 표시되지만 환경이 이미 부트스트랩임을 보여줍니다.
Juju -- devops distilled
https://juju.ubuntu.com/
Juju provides easy, intelligent service orchestration on top of environments
such as Amazon EC2, HP Cloud, OpenStack, MaaS, or your own local machine.
Basic commands:
juju init generate boilerplate configuration for juju environments
juju bootstrap start up an environment from scratch
juju deploy deploy a new service
juju add-relation add a relation between two services
juju expose expose a service
juju help bootstrap more help on e.g. bootstrap command
juju help commands list all commands
juju help glossary glossary of terms
juju help topics list all help topics
Provider information:
juju help azure use on Windows Azure
juju help ec2 use on Amazon EC2
juju help hpcloud use on HP Cloud
juju help local use on this computer
juju help openstack use on OpenStack
2013-11-12 13:28:49 INFO juju supercommand.go:286 command finished
디버그 -v 상태입니다
2013-11-12 13:33:52 DEBUG juju.provider.maas environprovider.go:33 opening environment "maas".
2013-11-12 13:33:52 DEBUG juju state.go:160 waiting for DNS name(s) of state server instances []
2013-11-12 13:33:52 DEBUG juju state.go:165 error getting state instances: no instances found
2013-11-12 13:33:52 ERROR juju supercommand.go:282 Unable to connect to environment "".
Please check your credentials or use 'juju bootstrap' to create a new environment.
Error details:
no instances found
답변1
Juju Boostrap 노드에 도달하기 위해 DNS가 작동하지 않는 것 같습니다.
MaaS 설정 페이지의 "네트워크 구성"에서 "새 노드에 대한 기본 도메인"에 대해 MaaS에서 무엇을 설정했습니까?
의 출력은 무엇입니까 cat /etc/resolv.conf
?
MaaS 서버의 IP 주소는 무엇입니까?
DNS가 문제라는 것이 맞다면 실행 sudo nano /etc/resolvconf/resolv.conf.d/head
한 다음 줄을 입력하고 nameserver <ip_of_your_maas_server>
파일을 저장한 다음 실행 sudo resolvconf -u
하고 juju status 명령을 다시 시도해야 합니다.