2017-10-30 11 views
0

https://www.theurbanpenguin.com/installing-devstack-on-ubuntu-16-04/ 자습서를 따라 내 우분투 16.04 서버에 devstack (queens release)을 설치하십시오. devstack을 설치 한 후 http : // server-ip : 5000에 액세스 할 수 없음

설치 완료 후 나는 다음과 같은 명령
export OS_USERNAME=admin 
export OS_TENANT_NAME=admin 
export OS_PASSWORD=<password> 
export OS_AUTH_URL=http://server-ip:5000/v2.0 
openstack image create --public --disk-format qcow2 --container-format bare --file /home/cse3/ubuntu_images/ubuntu-14.04-server-cloudimg-amd64-disk1.img ubuntu 

하지만 브라우저에서 http://server-ip:5000/v2.0을 열 때마다 내가 오류를 연결할 수 없습니다 을 얻고을 달렸다. 내가

Failed to discover available identity versions when contacting http://server-ip:5000/v2.0. Attempting to parse version from URL. Unable to establish connection to http://server-ip:5000/v2.0/tokens: HTTPConnectionPool(host='server-ip', port=5000): Max retries exceeded with url: /v2.0/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f84ebecabd0>: Failed to establish a new connection: [Errno 111] Connection refused',))

사람이 오류를 제거하기 위해 따라야 할 어떤 단계를 제안 할 수 있습니다 다음과 같은 메시지를 얻을 명령 줄에서 이미지를 만들 때?

답변

0

Devstack을 설치 한 후 server-ip이 공개 IP 인 경우 OpenStack 대시 보드를 http://server-ip으로 볼 수 있습니다. AUTH_URL은 SDK 또는 클라이언트 라이브러리를 사용할 때 API를 인증 할 수 있도록합니다. 이것은 실제로 대시 보드 (Horizon)가 Keystone ID 서비스와 함께 작동하는 방식입니다.

server_ip이 공용 IP가 아닌 경우 서버와 브라우저에 프록시 포트를 설정해야합니다.

+0

브라우저에서'http : // server-ip'를 열면 OpenStack 대시 보드를 볼 수 있습니다. [OpenBaton] (https://openbaton.github.io/documentation/pop-registration/)에서 OpenStack VIM 인스턴스를위한 PoP를 생성하기 위해'http : // server-ip : 5000/v2.0'을 사용하고 싶습니다. –

+0

위대한, 그리고 PoP를 만드는 것에 관해서는, 내가 믿는이 질문의 범위를 벗어났습니다. 그것에 대해 다른 질문을해도 될까요? – Lucas