安装openstack遇到的奇怪问题
参照官方安装文档在Xubuntu 14.04上安装openstack kilo版,前面步骤虽然遇到一些问题,但都解决通过。然而在验证keystone安装部署时出现一个奇怪的问题已尝试命令:1.赋值:export OS_SERVICE_ENDPOINT=http://kilo:35357/v2.0
export OS_SERVICE_TOKEN=admin_token
2.连接数据库:keystone_manage db_sync
keystone user-list等均正常。
去看下日志
/var/log/keystone
openstack-config --set /etc/keystone/keystone.conf database connection mysql://keystone:000000@controller/keystone
su -s /bin/sh -c "keystone-manage db_sync" keystone
ADMIN_TOKEN=$(openssl rand -hex 10)
echo $ADMIN_TOKEN
openstack-config --set /etc/keystone/keystone.conf DEFAULT admin_token $ADMIN_TOKEN
keystone-manage pki_setup --keystone-user keystone --keystone-group keystone
chown -R keystone:keystone /etc/keystone/ssl
chmod -R o-rwx /etc/keystone/ssl
讲真,我有点懒,直接沾上 export OS_SERVICE_TOKEN=$ADMIN_TOKEN
export OS_SERVICE_ENDPOINT=http://controller:35357/v2.0 alilin 发表于 2016-5-27 16:18
openstack-config --set /etc/keystone/keystone.conf database connection mysql ...
openstack-config:命令未找到
页:
[1]