[openstack-qa] I'm trying install OpenStack on XenServer 6.1 by devstack.

浅田裕介 r0s2p5.pon at gmail.com
Sat Dec 8 02:08:56 UTC 2012


Hello,

I'm trying install OpenStack on XenServer 6.1 by devstack.

I refer to the follwing page:
https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md

But stack.sh has not finished well at the next message.
The message on console is "Unable to communicate with identity
service: (503, 'Service Unavailable'). (HTTP 400)".

I checked keystone process  and the status 5000 and 35357 port number listening.

I can't guess cause this error, Plase tell me the cause and the configuration.


■ps -ef:
stack at DevStackOSDomU:~$ ps -ef | grep keystone | grep -v grep
stack     3992  3987  0 08:55 pts/3    00:00:00 python
/opt/stack/keystone/bin/keystone-all --config-file
/etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d
--debug

■netstat -an:
stack at DevStackOSDomU:~$ netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:42182           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:5000            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:4369            0.0.0.0:*               LISTEN
tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:35357           0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:38863         127.0.0.1:4369          ESTABLISHED
tcp        0      0 127.0.0.1:4369          127.0.0.1:38863         ESTABLISHED
tcp        0      0 192.168.178.70:22       192.168.169.253:42369   ESTABLISHED
tcp        0      0 192.168.178.70:22       192.168.169.253:59391   ESTABLISHED
tcp6       0      0 :::5672                 :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
udp        0      0 0.0.0.0:58882           0.0.0.0:*
udp        0      0 192.168.122.1:53        0.0.0.0:*
udp        0      0 0.0.0.0:67              0.0.0.0:*
udp        0      0 0.0.0.0:68              0.0.0.0:*


■localrc
---
QL_PASSWORD=stack
SERVICE_TOKEN=stack
ADMIN_PASSWORD=stack
SERVICE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=stack
# This is the password for your guest (for both stack and root users)
GUEST_PASSWORD=stack
# IMPORTANT: The following must be set to your dom0 root password!
XENAPI_PASSWORD=P at ssw0rd
# Do not download the usual images yet!
IMAGE_URLS=""
# Explicitly set virt driver here
VIRT_DRIVER=xenserver
# Explicitly set multi-host
MULTI_HOST=1
# Give extra time for boot
ACTIVE_TIMEOUT=45
# Interface on which you would like to access services
HOST_IP_IFACE=eth3
# First time Ubuntu network install params
NETINSTALLIP=192.168.178.90
NAMESERVERS=""
NETMASK=255.255.255.192
GATEWAY=192.168.178.126

ENABLE_TENANT_TUNNELS=True

NOVA_BRANCH=stable/folsom
GLANCE_BRANCH=stable/folsom
KEYSTONE_BRANCH=stable/folsom
HORIZON_BRANCH=stable/folsom
CINDER_BRANCH=stable/folsom
QUANTUM_BRANCH=stable/folsom
NOVACLIENT_BRANCH=2.9.0 # 2.9.0 21Sep2012: cdebf729b0
GLANCECLIENT_BRANCH=0.5.1 # 0.5.1 11Sep2012: 3f67c461da
KEYSTONECLIENT_BRANCH=a8f7879fcf # 29Sep2012: a8f7879fcf
CINDERCLIENT_BRANCH=1.0.0 # 1.0.0 20Sep2012: 2e6be694c1
QUANTUM_CLIENT_BRANCH=3e19fc0a56 # 2.1 14Sep2012: bc7ba5e19d
NOVNC_BRANCH=8dfd916946 # 21Sep2012: 8dfd916946

http_proxy=http://${proxy_user}:${proxy_pass}@192.168.190.241:9000/
https_proxy=https://${proxy_user}:${proxy_pass}@192.168.190.241:9000/

GIT_BASE=http://github.com
CEILOMETER_REPO=${GIT_BASE}/openstack/ceilometer.git
CINDER_REPO=${GIT_BASE}/openstack/cinder
CINDERCLIENT_REPO=${GIT_BASE}/openstack/python-cinderclient
NOVA_REPO=${GIT_BASE}/openstack/nova.git
SWIFT_REPO=${GIT_BASE}/openstack/swift.git
SWIFT3_REPO=http://github.com/fujita/swift3.git
SWIFTCLIENT_REPO=${GIT_BASE}/openstack/python-swiftclient
GLANCE_REPO=${GIT_BASE}/openstack/glance.git
GLANCECLIENT_REPO=${GIT_BASE}/openstack/python-glanceclient
KEYSTONE_REPO=${GIT_BASE}/openstack/keystone.git
NOVNC_REPO=http://github.com/kanaka/noVNC.git
HORIZON_REPO=${GIT_BASE}/openstack/horizon.git
NOVACLIENT_REPO=${GIT_BASE}/openstack/python-novaclient.git
OPENSTACKCLIENT_REPO=${GIT_BASE}/openstack/python-openstackclient.git
KEYSTONECLIENT_REPO=${GIT_BASE}/openstack/python-keystoneclient
QUANTUM_REPO=${GIT_BASE}/openstack/quantum
QUANTUM_CLIENT_REPO=${GIT_BASE}/openstack/python-quantumclient
TEMPEST_REPO=${GIT_BASE}/openstack/tempest.git
HEAT_REPO=${GIT_BASE}/heat-api/heat.git
HEATCLIENT_REPO=${GIT_BASE}/heat-api/python-heatclient.git
RYU_REPO=http://github.com/osrg/ryu.git
DATABASE_PASSWORD=9c74661142f45f950de6
---

■the console log:
---
+ timeout 60 sh -c 'while ! http_proxy= curl -s
http://192.168.178.70:5000/v2.0/ >/dev/null; do sleep 1; done'
+ SERVICE_ENDPOINT=http://192.168.178.70:35357/v2.0
+ ADMIN_PASSWORD=stack
+ SERVICE_TENANT_NAME=service
+ SERVICE_PASSWORD=stack
+ SERVICE_TOKEN=stack
+ SERVICE_ENDPOINT=http://192.168.178.70:35357/v2.0
+ SERVICE_HOST=192.168.178.70
+ S3_SERVICE_PORT=3333
+ KEYSTONE_CATALOG_BACKEND=sql
+ DEVSTACK_DIR=/opt/stack/devstack
+
ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,mysql
+ HEAT_API_CFN_PORT=
+ HEAT_API_PORT=
+ bash -x /opt/stack/devstack/files/keystone_data.sh
+ ADMIN_PASSWORD=stack
+ SERVICE_PASSWORD=stack
+ export SERVICE_TOKEN=stack
+ SERVICE_TOKEN=stack
+ export SERVICE_ENDPOINT=http://192.168.178.70:35357/v2.0
+ SERVICE_ENDPOINT=http://192.168.178.70:35357/v2.0
+ SERVICE_TENANT_NAME=service
++ get_id keystone tenant-create --name=admin
+++ awk '/ id / { print $4 }'
+++ keystone tenant-create --name=admin
No handlers could be found for logger "keystoneclient.client"
Unable to communicate with identity service: (503, 'Service
Unavailable'). (HTTP 400)
++ echo
---

Thanks.



More information about the openstack-qa mailing list