Help Pls: installing devstack multi-node on Ubuntu 14.04

asked 2015-05-01 11:43:47 -0500

SuperCraig gravatar image

I am deploying a multi-node devstack cluster on Ubuntu 14.04, and this is time sensitive. I am using devstack in order to get a testing environment running, while I figure out how to install from the ground up. I have been hitting errors that I can not find ANY answers to on google.

The environment is to be one controller, and then 2 computes. I am able to get the controller installed with a little bit of work, but the compute is giving me issues. I am using the latest build, which is kilo. I am also using a localrc, as regardless of what I do, devstack complains that it can not determine the host_ip when I am using the local.conf, so that is why it is only the localrc.

The first run of stack.sh gave me: ERROR: You must provide a user name through --os-username or env[OS_USERNAME]

So, I gave it the os_username, password, and tenant id, then I get this error at the same spot: WARNING:keystoneclient.auth.identity.base:Failed to contact the endpoint at http;//10.0.0.50:8776/v1/cdab131b4af849689e5470b66b3daf35 for discovery. Fallback to using that endpoint as the base url

AND ERROR: Volume Type lvmdriver-1 already exists. (HTTP 409) (Request-ID: req-681ad35c-220f-40db-9a66-ca3084b954ee

Here is some background info, AND A "SNIPPET" of the errors:

#

LOCALRC

#

HOST_IP=10.0.0.61 FLAT_INTERFACE=eth0 FIXED_RANGE=10.4.128.0/20 FIXED_NETWORK_SIZE=4096 FLOATING_RANGE=10.0.0.240/25 MULTI_HOST=1 LOGFILE=/opt/stack/logs/stack.sh.log ADMIN_PASSWORD=Mypass MYSQL_PASSWORD=Mypass RABBIT_PASSWORD=Mypass SERVICE_PASSWORD=Mypass SERVICE_TOKEN=Mypass DATABASE_TYPE=mysql SERVICE_HOST=10.0.0.60 MYSQL_HOST=10.0.0.60 RABBIT_HOST=10.0.0.60 GLANCE_HOSTPORT=10.0.0.60:9292 ENABLED_SERVICES=n-cpu,n-net,n-api,c-sch,c-api,c-vol NOVA_VNC_ENABLED=True NOVNCPROXY_URL="http://10.0.0.60:6080/vnc_auto.html"

#

INITIAL ERROR

#########2015-05-01 14:27:38.395 | + create_volume_types

2015-05-01 14:27:38.396 | + is_service_enabled c-api 2015-05-01 14:27:38.398 | + return 0 2015-05-01 14:27:38.398 | + [[ -n lvm:lvmdriver-1 ]] 2015-05-01 14:27:38.398 | + local be be_name be_type 2015-05-01 14:27:38.398 | + for be in '${CINDER_ENABLED_BACKENDS//,/ }' 2015-05-01 14:27:38.398 | + be_type=lvm 2015-05-01 14:27:38.398 | + be_name=lvmdriver-1 2015-05-01 14:27:38.398 | + cinder type-create lvmdriver-1 2015-05-01 14:27:39.141 | ERROR: You must provide a user name through --os- username or env[OS_USERNAME].

#

ERROR AFTER OS_USERNAME

#

2015-05-01 16:02:35.118 | + screen -S stack -p c-vol -X stuff '/usr/local/bin/cinder-volume --config-file /etc/cinder/cinder.conf & echo $! >/opt/stack/status/stack/c-vol.pid; fg || echo "c-vol failed to start" | tee "/opt/stack/status/stack '/c-vol.failure 2015-05-01 16:02:35.127 | + local be be_name be_type 2015-05-01 16:02:35.127 | + for be in '${CINDER_ENABLED_BACKENDS//,/ }' 2015-05-01 16:02:35.127 | + be_type=lvm 2015-05-01 16:02:35.127 | + be_name=lvmdriver-1 2015-05-01 16:02:35.127 | + cinder type-create lvmdriver-1 2015-05-01 16:02:35.958 | WARNING:keystoneclient.auth.identity.base:Failed to contact the endpoint at http;//10.0.0.50:8776/v1 ... (more)

edit retag flag offensive close merge delete